opera1.c 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  1. /* DVB USB framework compliant Linux driver for the Opera1 DVB-S Card
  2. *
  3. * Copyright (C) 2006 Mario Hlawitschka (dh1pa@amsat.org)
  4. * Copyright (C) 2006 Marco Gittler (g.marco@freenet.de)
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the Free
  8. * Software Foundation, version 2.
  9. *
  10. * see Documentation/dvb/README.dvb-usb for more information
  11. */
  12. #define DVB_USB_LOG_PREFIX "opera"
  13. #include "dvb-usb.h"
  14. #include "stv0299.h"
  15. #define OPERA_READ_MSG 0
  16. #define OPERA_WRITE_MSG 1
  17. #define OPERA_I2C_TUNER 0xd1
  18. #define READ_FX2_REG_REQ 0xba
  19. #define READ_MAC_ADDR 0x08
  20. #define OPERA_WRITE_FX2 0xbb
  21. #define OPERA_TUNER_REQ 0xb1
  22. #define REG_1F_SYMBOLRATE_BYTE0 0x1f
  23. #define REG_20_SYMBOLRATE_BYTE1 0x20
  24. #define REG_21_SYMBOLRATE_BYTE2 0x21
  25. #define ADDR_B600_VOLTAGE_13V (0x02)
  26. #define ADDR_B601_VOLTAGE_18V (0x03)
  27. #define ADDR_B1A6_STREAM_CTRL (0x04)
  28. #define ADDR_B880_READ_REMOTE (0x05)
  29. struct opera1_state {
  30. u32 last_key_pressed;
  31. };
  32. struct opera_rc_keys {
  33. u32 keycode;
  34. u32 event;
  35. };
  36. static int dvb_usb_opera1_debug;
  37. module_param_named(debug, dvb_usb_opera1_debug, int, 0644);
  38. MODULE_PARM_DESC(debug,
  39. "set debugging level (1=info,xfer=2,pll=4,ts=8,err=16,rc=32,fw=64 (or-able))."
  40. DVB_USB_DEBUG_STATUS);
  41. DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
  42. static int opera1_xilinx_rw(struct usb_device *dev, u8 request, u16 value,
  43. u8 * data, u16 len, int flags)
  44. {
  45. int ret;
  46. u8 r;
  47. u8 u8buf[len];
  48. unsigned int pipe = (flags == OPERA_READ_MSG) ?
  49. usb_rcvctrlpipe(dev,0) : usb_sndctrlpipe(dev, 0);
  50. u8 request_type = (flags == OPERA_READ_MSG) ? USB_DIR_IN : USB_DIR_OUT;
  51. if (flags == OPERA_WRITE_MSG)
  52. memcpy(u8buf, data, len);
  53. ret =
  54. usb_control_msg(dev, pipe, request, request_type | USB_TYPE_VENDOR,
  55. value, 0x0, u8buf, len, 2000);
  56. if (request == OPERA_TUNER_REQ) {
  57. if (usb_control_msg(dev, usb_rcvctrlpipe(dev, 0),
  58. OPERA_TUNER_REQ, USB_DIR_IN | USB_TYPE_VENDOR,
  59. 0x01, 0x0, &r, 1, 2000)<1 || r!=0x08)
  60. return 0;
  61. }
  62. if (flags == OPERA_READ_MSG)
  63. memcpy(data, u8buf, len);
  64. return ret;
  65. }
  66. /* I2C */
  67. static int opera1_usb_i2c_msgxfer(struct dvb_usb_device *dev, u16 addr,
  68. u8 * buf, u16 len)
  69. {
  70. int ret = 0;
  71. u8 request;
  72. u16 value;
  73. if (!dev) {
  74. info("no usb_device");
  75. return -EINVAL;
  76. }
  77. if (mutex_lock_interruptible(&dev->usb_mutex) < 0)
  78. return -EAGAIN;
  79. switch (addr>>1){
  80. case ADDR_B600_VOLTAGE_13V:
  81. request=0xb6;
  82. value=0x00;
  83. break;
  84. case ADDR_B601_VOLTAGE_18V:
  85. request=0xb6;
  86. value=0x01;
  87. break;
  88. case ADDR_B1A6_STREAM_CTRL:
  89. request=0xb1;
  90. value=0xa6;
  91. break;
  92. case ADDR_B880_READ_REMOTE:
  93. request=0xb8;
  94. value=0x80;
  95. break;
  96. default:
  97. request=0xb1;
  98. value=addr;
  99. }
  100. ret = opera1_xilinx_rw(dev->udev, request,
  101. value, buf, len,
  102. addr&0x01?OPERA_READ_MSG:OPERA_WRITE_MSG);
  103. mutex_unlock(&dev->usb_mutex);
  104. return ret;
  105. }
  106. static int opera1_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
  107. int num)
  108. {
  109. struct dvb_usb_device *d = i2c_get_adapdata(adap);
  110. int i = 0, tmp = 0;
  111. if (!d)
  112. return -ENODEV;
  113. if (mutex_lock_interruptible(&d->i2c_mutex) < 0)
  114. return -EAGAIN;
  115. for (i = 0; i < num; i++) {
  116. if ((tmp = opera1_usb_i2c_msgxfer(d,
  117. (msg[i].addr<<1)|(msg[i].flags&I2C_M_RD?0x01:0),
  118. msg[i].buf,
  119. msg[i].len
  120. )!= msg[i].len)) {
  121. break;
  122. }
  123. if (dvb_usb_opera1_debug & 0x10)
  124. info("sending i2c mesage %d %d", tmp, msg[i].len);
  125. }
  126. mutex_unlock(&d->i2c_mutex);
  127. return num;
  128. }
  129. static u32 opera1_i2c_func(struct i2c_adapter *adapter)
  130. {
  131. return I2C_FUNC_I2C;
  132. }
  133. static struct i2c_algorithm opera1_i2c_algo = {
  134. .master_xfer = opera1_i2c_xfer,
  135. .functionality = opera1_i2c_func,
  136. };
  137. static int opera1_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)
  138. {
  139. static u8 command_13v[1]={0x00};
  140. static u8 command_18v[1]={0x01};
  141. struct i2c_msg msg[] = {
  142. {.addr = ADDR_B600_VOLTAGE_13V,.flags = 0,.buf = command_13v,.len = 1},
  143. };
  144. struct dvb_usb_adapter *udev_adap =
  145. (struct dvb_usb_adapter *)(fe->dvb->priv);
  146. if (voltage == SEC_VOLTAGE_18) {
  147. msg[0].addr = ADDR_B601_VOLTAGE_18V;
  148. msg[0].buf = command_18v;
  149. }
  150. i2c_transfer(&udev_adap->dev->i2c_adap, msg, 1);
  151. return 0;
  152. }
  153. static int opera1_stv0299_set_symbol_rate(struct dvb_frontend *fe, u32 srate,
  154. u32 ratio)
  155. {
  156. stv0299_writereg(fe, 0x13, 0x98);
  157. stv0299_writereg(fe, 0x14, 0x95);
  158. stv0299_writereg(fe, REG_1F_SYMBOLRATE_BYTE0, (ratio >> 16) & 0xff);
  159. stv0299_writereg(fe, REG_20_SYMBOLRATE_BYTE1, (ratio >> 8) & 0xff);
  160. stv0299_writereg(fe, REG_21_SYMBOLRATE_BYTE2, (ratio) & 0xf0);
  161. return 0;
  162. }
  163. static u8 opera1_inittab[] = {
  164. 0x00, 0xa1,
  165. 0x01, 0x15,
  166. 0x02, 0x00,
  167. 0x03, 0x00,
  168. 0x04, 0x7d,
  169. 0x05, 0x05,
  170. 0x06, 0x02,
  171. 0x07, 0x00,
  172. 0x0b, 0x00,
  173. 0x0c, 0x01,
  174. 0x0d, 0x81,
  175. 0x0e, 0x44,
  176. 0x0f, 0x19,
  177. 0x10, 0x3f,
  178. 0x11, 0x84,
  179. 0x12, 0xda,
  180. 0x13, 0x98,
  181. 0x14, 0x95,
  182. 0x15, 0xc9,
  183. 0x16, 0xeb,
  184. 0x17, 0x00,
  185. 0x18, 0x19,
  186. 0x19, 0x8b,
  187. 0x1a, 0x00,
  188. 0x1b, 0x82,
  189. 0x1c, 0x7f,
  190. 0x1d, 0x00,
  191. 0x1e, 0x00,
  192. REG_1F_SYMBOLRATE_BYTE0, 0x06,
  193. REG_20_SYMBOLRATE_BYTE1, 0x50,
  194. REG_21_SYMBOLRATE_BYTE2, 0x10,
  195. 0x22, 0x00,
  196. 0x23, 0x00,
  197. 0x24, 0x37,
  198. 0x25, 0xbc,
  199. 0x26, 0x00,
  200. 0x27, 0x00,
  201. 0x28, 0x00,
  202. 0x29, 0x1e,
  203. 0x2a, 0x14,
  204. 0x2b, 0x1f,
  205. 0x2c, 0x09,
  206. 0x2d, 0x0a,
  207. 0x2e, 0x00,
  208. 0x2f, 0x00,
  209. 0x30, 0x00,
  210. 0x31, 0x1f,
  211. 0x32, 0x19,
  212. 0x33, 0xfc,
  213. 0x34, 0x13,
  214. 0xff, 0xff,
  215. };
  216. static struct stv0299_config opera1_stv0299_config = {
  217. .demod_address = 0xd0>>1,
  218. .min_delay_ms = 100,
  219. .mclk = 88000000UL,
  220. .invert = 1,
  221. .skip_reinit = 0,
  222. .lock_output = STV0299_LOCKOUTPUT_0,
  223. .volt13_op0_op1 = STV0299_VOLT13_OP0,
  224. .inittab = opera1_inittab,
  225. .set_symbol_rate = opera1_stv0299_set_symbol_rate,
  226. };
  227. static int opera1_frontend_attach(struct dvb_usb_adapter *d)
  228. {
  229. if ((d->fe =
  230. dvb_attach(stv0299_attach, &opera1_stv0299_config,
  231. &d->dev->i2c_adap)) != NULL) {
  232. d->fe->ops.set_voltage = opera1_set_voltage;
  233. return 0;
  234. }
  235. info("not attached stv0299");
  236. return -EIO;
  237. }
  238. static int opera1_tuner_attach(struct dvb_usb_adapter *adap)
  239. {
  240. dvb_attach(
  241. dvb_pll_attach, adap->fe, 0xc0>>1,
  242. &adap->dev->i2c_adap, DVB_PLL_OPERA1
  243. );
  244. return 0;
  245. }
  246. static int opera1_power_ctrl(struct dvb_usb_device *d, int onoff)
  247. {
  248. u8 val = onoff ? 0x01 : 0x00;
  249. if (dvb_usb_opera1_debug)
  250. info("power %s", onoff ? "on" : "off");
  251. return opera1_xilinx_rw(d->udev, 0xb7, val,
  252. &val, 1, OPERA_WRITE_MSG);
  253. }
  254. static int opera1_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
  255. {
  256. static u8 buf_start[2] = { 0xff, 0x03 };
  257. static u8 buf_stop[2] = { 0xff, 0x00 };
  258. struct i2c_msg start_tuner[] = {
  259. {.addr = ADDR_B1A6_STREAM_CTRL,.buf = onoff ? buf_start : buf_stop,.len = 2},
  260. };
  261. if (dvb_usb_opera1_debug)
  262. info("streaming %s", onoff ? "on" : "off");
  263. i2c_transfer(&adap->dev->i2c_adap, start_tuner, 1);
  264. return 0;
  265. }
  266. static int opera1_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid,
  267. int onoff)
  268. {
  269. u8 b_pid[3];
  270. struct i2c_msg msg[] = {
  271. {.addr = ADDR_B1A6_STREAM_CTRL,.buf = b_pid,.len = 3},
  272. };
  273. if (dvb_usb_opera1_debug)
  274. info("pidfilter index: %d pid: %d %s", index, pid,
  275. onoff ? "on" : "off");
  276. b_pid[0] = (2 * index) + 4;
  277. b_pid[1] = onoff ? (pid & 0xff) : (0x00);
  278. b_pid[2] = onoff ? ((pid >> 8) & 0xff) : (0x00);
  279. i2c_transfer(&adap->dev->i2c_adap, msg, 1);
  280. return 0;
  281. }
  282. static int opera1_pid_filter_control(struct dvb_usb_adapter *adap, int onoff)
  283. {
  284. int u = 0x04;
  285. u8 b_pid[3];
  286. struct i2c_msg msg[] = {
  287. {.addr = ADDR_B1A6_STREAM_CTRL,.buf = b_pid,.len = 3},
  288. };
  289. if (dvb_usb_opera1_debug)
  290. info("%s hw-pidfilter", onoff ? "enable" : "disable");
  291. for (; u < 0x7e; u += 2) {
  292. b_pid[0] = u;
  293. b_pid[1] = 0;
  294. b_pid[2] = 0x80;
  295. i2c_transfer(&adap->dev->i2c_adap, msg, 1);
  296. }
  297. return 0;
  298. }
  299. static struct dvb_usb_rc_key opera1_rc_keys[] = {
  300. {0x5fa0, KEY_1},
  301. {0x51af, KEY_2},
  302. {0x5da2, KEY_3},
  303. {0x41be, KEY_4},
  304. {0x0bf5, KEY_5},
  305. {0x43bd, KEY_6},
  306. {0x47b8, KEY_7},
  307. {0x49b6, KEY_8},
  308. {0x05fa, KEY_9},
  309. {0x45ba, KEY_0},
  310. {0x09f6, KEY_UP}, /*chanup */
  311. {0x1be5, KEY_DOWN}, /*chandown */
  312. {0x5da3, KEY_LEFT}, /*voldown */
  313. {0x5fa1, KEY_RIGHT}, /*volup */
  314. {0x07f8, KEY_SPACE}, /*tab */
  315. {0x1fe1, KEY_ENTER}, /*play ok */
  316. {0x1be4, KEY_Z}, /*zoom */
  317. {0x59a6, KEY_M}, /*mute */
  318. {0x5ba5, KEY_F}, /*tv/f */
  319. {0x19e7, KEY_R}, /*rec */
  320. {0x01fe, KEY_S}, /*Stop */
  321. {0x03fd, KEY_P}, /*pause */
  322. {0x03fc, KEY_W}, /*<- -> */
  323. {0x07f9, KEY_C}, /*capture */
  324. {0x47b9, KEY_Q}, /*exit */
  325. {0x43bc, KEY_O}, /*power */
  326. };
  327. static int opera1_rc_query(struct dvb_usb_device *dev, u32 * event, int *state)
  328. {
  329. struct opera1_state *opst = dev->priv;
  330. u8 rcbuffer[32];
  331. const u16 startmarker1 = 0x10ed;
  332. const u16 startmarker2 = 0x11ec;
  333. struct i2c_msg read_remote[] = {
  334. {.addr = ADDR_B880_READ_REMOTE,.buf = rcbuffer,.flags = I2C_M_RD,.len = 32},
  335. };
  336. int i = 0;
  337. u32 send_key = 0;
  338. if (i2c_transfer(&dev->i2c_adap, read_remote, 1) == 1) {
  339. for (i = 0; i < 32; i++) {
  340. if (rcbuffer[i])
  341. send_key |= 1;
  342. if (i < 31)
  343. send_key = send_key << 1;
  344. }
  345. if (send_key & 0x8000)
  346. send_key = (send_key << 1) | (send_key >> 15 & 0x01);
  347. if (send_key == 0xffff && opst->last_key_pressed != 0) {
  348. *state = REMOTE_KEY_REPEAT;
  349. *event = opst->last_key_pressed;
  350. return 0;
  351. }
  352. for (; send_key != 0;) {
  353. if (send_key >> 16 == startmarker2) {
  354. break;
  355. } else if (send_key >> 16 == startmarker1) {
  356. send_key =
  357. (send_key & 0xfffeffff) | (startmarker1 << 16);
  358. break;
  359. } else
  360. send_key >>= 1;
  361. }
  362. if (send_key == 0)
  363. return 0;
  364. send_key = (send_key & 0xffff) | 0x0100;
  365. for (i = 0; i < ARRAY_SIZE(opera1_rc_keys); i++) {
  366. if (rc5_scan(&opera1_rc_keys[i]) == (send_key & 0xffff)) {
  367. *state = REMOTE_KEY_PRESSED;
  368. *event = opera1_rc_keys[i].event;
  369. opst->last_key_pressed =
  370. opera1_rc_keys[i].event;
  371. break;
  372. }
  373. opst->last_key_pressed = 0;
  374. }
  375. } else
  376. *state = REMOTE_NO_KEY_PRESSED;
  377. return 0;
  378. }
  379. static struct usb_device_id opera1_table[] = {
  380. {USB_DEVICE(USB_VID_CYPRESS, USB_PID_OPERA1_COLD)},
  381. {USB_DEVICE(USB_VID_OPERA1, USB_PID_OPERA1_WARM)},
  382. {}
  383. };
  384. MODULE_DEVICE_TABLE(usb, opera1_table);
  385. static int opera1_read_mac_address(struct dvb_usb_device *d, u8 mac[6])
  386. {
  387. u8 command[] = { READ_MAC_ADDR };
  388. opera1_xilinx_rw(d->udev, 0xb1, 0xa0, command, 1, OPERA_WRITE_MSG);
  389. opera1_xilinx_rw(d->udev, 0xb1, 0xa1, mac, 6, OPERA_READ_MSG);
  390. return 0;
  391. }
  392. static int opera1_xilinx_load_firmware(struct usb_device *dev,
  393. const char *filename)
  394. {
  395. const struct firmware *fw = NULL;
  396. u8 *b, *p;
  397. int ret = 0, i,fpgasize=40;
  398. u8 testval;
  399. info("start downloading fpga firmware %s",filename);
  400. if ((ret = request_firmware(&fw, filename, &dev->dev)) != 0) {
  401. err("did not find the firmware file. (%s) "
  402. "Please see linux/Documentation/dvb/ for more details on firmware-problems.",
  403. filename);
  404. return ret;
  405. } else {
  406. p = kmalloc(fw->size, GFP_KERNEL);
  407. opera1_xilinx_rw(dev, 0xbc, 0x00, &testval, 1, OPERA_READ_MSG);
  408. if (p != NULL && testval != 0x67) {
  409. u8 reset = 0, fpga_command = 0;
  410. memcpy(p, fw->data, fw->size);
  411. /* clear fpga ? */
  412. opera1_xilinx_rw(dev, 0xbc, 0xaa, &fpga_command, 1,
  413. OPERA_WRITE_MSG);
  414. for (i = 0; i < fw->size;) {
  415. if ( (fw->size - i) <fpgasize){
  416. fpgasize=fw->size-i;
  417. }
  418. b = (u8 *) p + i;
  419. if (opera1_xilinx_rw
  420. (dev, OPERA_WRITE_FX2, 0x0, b , fpgasize,
  421. OPERA_WRITE_MSG) != fpgasize
  422. ) {
  423. err("error while transferring firmware");
  424. ret = -EINVAL;
  425. break;
  426. }
  427. i = i + fpgasize;
  428. }
  429. /* restart the CPU */
  430. if (ret || opera1_xilinx_rw
  431. (dev, 0xa0, 0xe600, &reset, 1,
  432. OPERA_WRITE_MSG) != 1) {
  433. err("could not restart the USB controller CPU.");
  434. ret = -EINVAL;
  435. }
  436. }
  437. }
  438. kfree(p);
  439. if (fw) {
  440. release_firmware(fw);
  441. }
  442. return ret;
  443. }
  444. static struct dvb_usb_device_properties opera1_properties = {
  445. .caps = DVB_USB_IS_AN_I2C_ADAPTER,
  446. .usb_ctrl = CYPRESS_FX2,
  447. .firmware = "dvb-usb-opera-01.fw",
  448. .size_of_priv = sizeof(struct opera1_state),
  449. .power_ctrl = opera1_power_ctrl,
  450. .i2c_algo = &opera1_i2c_algo,
  451. .rc_key_map = opera1_rc_keys,
  452. .rc_key_map_size = ARRAY_SIZE(opera1_rc_keys),
  453. .rc_interval = 200,
  454. .rc_query = opera1_rc_query,
  455. .read_mac_address = opera1_read_mac_address,
  456. .generic_bulk_ctrl_endpoint = 0x00,
  457. /* parameter for the MPEG2-data transfer */
  458. .num_adapters = 1,
  459. .adapter = {
  460. {
  461. .frontend_attach = opera1_frontend_attach,
  462. .streaming_ctrl = opera1_streaming_ctrl,
  463. .tuner_attach = opera1_tuner_attach,
  464. .caps =
  465. DVB_USB_ADAP_HAS_PID_FILTER |
  466. DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
  467. .pid_filter = opera1_pid_filter,
  468. .pid_filter_ctrl = opera1_pid_filter_control,
  469. .pid_filter_count = 252,
  470. .stream = {
  471. .type = USB_BULK,
  472. .count = 10,
  473. .endpoint = 0x82,
  474. .u = {
  475. .bulk = {
  476. .buffersize = 4096,
  477. }
  478. }
  479. },
  480. }
  481. },
  482. .num_device_descs = 1,
  483. .devices = {
  484. {"Opera1 DVB-S USB2.0",
  485. {&opera1_table[0], NULL},
  486. {&opera1_table[1], NULL},
  487. },
  488. }
  489. };
  490. static int opera1_probe(struct usb_interface *intf,
  491. const struct usb_device_id *id)
  492. {
  493. struct usb_device *udev = interface_to_usbdev(intf);
  494. if (udev->descriptor.idProduct == USB_PID_OPERA1_WARM &&
  495. udev->descriptor.idVendor == USB_VID_OPERA1 &&
  496. opera1_xilinx_load_firmware(udev, "dvb-usb-opera1-fpga-01.fw") != 0
  497. ) {
  498. return -EINVAL;
  499. }
  500. if (0 != dvb_usb_device_init(intf, &opera1_properties,
  501. THIS_MODULE, NULL, adapter_nr))
  502. return -EINVAL;
  503. return 0;
  504. }
  505. static struct usb_driver opera1_driver = {
  506. .name = "opera1",
  507. .probe = opera1_probe,
  508. .disconnect = dvb_usb_device_exit,
  509. .id_table = opera1_table,
  510. };
  511. static int __init opera1_module_init(void)
  512. {
  513. int result = 0;
  514. if ((result = usb_register(&opera1_driver))) {
  515. err("usb_register failed. Error number %d", result);
  516. }
  517. return result;
  518. }
  519. static void __exit opera1_module_exit(void)
  520. {
  521. usb_deregister(&opera1_driver);
  522. }
  523. module_init(opera1_module_init);
  524. module_exit(opera1_module_exit);
  525. MODULE_AUTHOR("Mario Hlawitschka (c) dh1pa@amsat.org");
  526. MODULE_AUTHOR("Marco Gittler (c) g.marco@freenet.de");
  527. MODULE_DESCRIPTION("Driver for Opera1 DVB-S device");
  528. MODULE_VERSION("0.1");
  529. MODULE_LICENSE("GPL");