opera1.c 14 KB

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