[linux-dvb] Nebula DigiTV USB Driver
Patrick Boettcher
patrick.boettcher at desy.de
Thu Jun 2 10:20:29 CEST 2005
Hi Michael,
On Wed, 1 Jun 2005, Michael Hutchinson wrote:
> No that's all. I've been trying to look into this a little futher and it
> appears that contary what's stated in the log messages the firmware is not
> loading. The criteria for the main for loop in routine
> usb_cypress_load_firmware
Where did you get the firmware? The correct firmware size is 4965 bytes.
> for(i = 0; p[i+3] == 0 && i < fw->size; ) {
>
> evaluates to false, as p[3]==2 so no data is
> actually transferred!
I think your firmware is wrong. The one I mean (in CVS) is 0 at offset 4.
> I can get a little bit further if I initialise the device in Windows and then
> reboot in linux. In this case the following messages are written to the log:
>
> dvb-usb: found a 'Nebula Electronics uDigiTV DVB-T USB2.0)' in warm state.
> dvb-usb: will pass the complete MPEG2 transport stream to the demuxer.
> DVB: registering new adapter (Nebula Electronics uDigiTV DVB-T USB2.0)).
> dvb-usb: no frontend was attached by 'Nebula Electronics uDigiTV DVB-T
> USB2.0)'
> dvb-usb: schedule remote query interval to 1000 msecs.
> dvb-usb: Nebula Electronics uDigiTV DVB-T USB2.0) successfully initialized and
> connected.
> usbcore: registered new driver Nebula Electronics uDigiTV DVB-T USB2.0 device
Did you activate debugging for the dvb-usb.ko-module? (debug=0x03)
Please apply the attached patch before your next try. It should fix a
problem I created.
regards,
Patrick.
--
Mail: patrick.boettcher at desy.de
WWW: http://www.wi-bw.tfh-wildau.de/~pboettch/
-------------- next part --------------
Index: digitv.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/dvb-usb/digitv.c,v
retrieving revision 1.6
diff -u -3 -p -r1.6 digitv.c
--- digitv.c 29 Apr 2005 17:06:05 -0000 1.6
+++ digitv.c 2 Jun 2005 08:14:01 -0000
@@ -33,7 +33,7 @@ static int digitv_ctrl_msg(struct dvb_us
sndbuf[1] = vv;
sndbuf[2] = wo ? wlen : rlen;
- if (!wo) {
+ if (wo) {
memcpy(&sndbuf[3],wbuf,wlen);
dvb_usb_generic_write(d,sndbuf,7);
} else {
@@ -251,7 +251,7 @@ static struct dvb_usb_properties digitv_
}
},
- .num_device_descs = 2,
+ .num_device_descs = 1,
.devices = {
{ "Nebula Electronics uDigiTV DVB-T USB2.0)",
{ &digitv_table[0], NULL },
More information about the linux-dvb
mailing list