opera1.c 14 KB

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