Comment 7 for bug 115284

Revision history for this message
Austin Lund (austin-lund) wrote :

I came across this bug after I bought a Banksia dvb usb tuner.

It seems that a major rewrite of the kernel code to handle multiple streams which appeared in 2.6.18 (19?) broke the driver.

For some reason the max number of URBs is set to 10, but these devices are somehow set for 20. I don't understand why this is the case.

Try a custom kernel changing drivers/media/dvb/dvb-usb/dvb-usb.h from:

#define MAX_NO_URBS_FOR_DATA_STREAM 10

to

#define MAX_NO_URBS_FOR_DATA_STREAM 20

This has cleared many problems for me.

It also seems that the stream->urbs_initialized variable which counts the number of URBs initialized is not explicitly preset to zero. Changing this would also be advised.