diff options
author | Patrick Boettcher <devnull@localhost> | 2005-03-21 14:11:29 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-03-21 14:11:29 +0000 |
commit | e43f16a7898fd04cad4bdf4d65a802d5fd670e2b (patch) | |
tree | 602e43a0a445b71abbe0856de4a3cd93e8ad9780 /linux/drivers/media/dvb/dibusb | |
parent | 5c5f250158edc0ca2909b6c703e21395b999ed60 (diff) | |
download | mediapointer-dvb-s2-e43f16a7898fd04cad4bdf4d65a802d5fd670e2b.tar.gz mediapointer-dvb-s2-e43f16a7898fd04cad4bdf4d65a802d5fd670e2b.tar.bz2 |
- comment changes
Diffstat (limited to 'linux/drivers/media/dvb/dibusb')
-rw-r--r-- | linux/drivers/media/dvb/dibusb/dvb-fe-dtt200u.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-fe-dtt200u.c b/linux/drivers/media/dvb/dibusb/dvb-fe-dtt200u.c index a1d3990eb..f2995e3b5 100644 --- a/linux/drivers/media/dvb/dibusb/dvb-fe-dtt200u.c +++ b/linux/drivers/media/dvb/dibusb/dvb-fe-dtt200u.c @@ -16,12 +16,12 @@ * 82 - crash - do not touch * 83 - crash - do not touch * 84 - remote control - * 85 - crash - do not touch (OK, stop this) - * 88 - locking ??? 2 bytes (0x80 0x40 == no signal, 0x89 0x20 == nice signal) + * 85 - crash - do not touch (OK, stop testing here) + * 88 - locking 2 bytes (0x80 0x40 == no signal, 0x89 0x20 == nice signal) * 89 - noise-to-signal * 8a - unkown 1 byte - signal_strength * 8c - ber ??? - * 8d - ber ??? + * 8d - ber * 8e - unc * * write @@ -49,6 +49,7 @@ static int dtt200u_fe_read_status(struct dvb_frontend* fe, fe_status_t *stat) struct dtt200u_fe_state *state = fe->demodulator_priv; u8 bw[1] = { 0x81 }; u8 br[3] = { 0 }; +// u8 bdeb[5] = { 0 }; dibusb_readwrite_usb(state->dib,bw,1,br,3); switch (br[0]) { @@ -62,6 +63,12 @@ static int dtt200u_fe_read_status(struct dvb_frontend* fe, fe_status_t *stat) moan("br[0]",0x81); break; } + +// bw[0] = 0x88; +// dibusb_readwrite_usb(state->dib,bw,1,bdeb,5); + +// deb_info("%02x: %02x %02x %02x %02x %02x\n",bw[0],bdeb[0],bdeb[1],bdeb[2],bdeb[3],bdeb[4]); + return 0; } static int dtt200u_fe_read_ber(struct dvb_frontend* fe, u32 *ber) @@ -129,7 +136,6 @@ static int dtt200u_fe_set_frontend(struct dvb_frontend* fe, u16 freq = fep->frequency / 250000; u8 bw,bwbuf[2] = { 0x03, 0 }, freqbuf[3] = { 0x02, 0, 0 }; - deb_info("set_frontend\n"); switch (fep->u.ofdm.bandwidth) { case BANDWIDTH_8_MHZ: bw = 8; break; case BANDWIDTH_7_MHZ: bw = 7; break; |