On Wednesday 10 March 2004 12:07, Andrew de Quincey wrote: > Hi, I've just tried my USB DVB-T device under kernel 2.6.. no go; it just > seems to hang when I insert the dvb-ttusb-budget module. > > I've tried 2.6.0 -> 2.6.3. Oh, and this is with the latest dvb-kernel from > CVS (making sure DVB is NOT enabled in the kernel itself). > > I see there are some 2.6 fixes in there, so I assume those were for a -pre > version of 2.6... does anyone know which?
Ah, I think I've found it.... ttusb_probe() calls usb_set_configuration(). In the source for usb_set_configuration(), it says specifically: " * This call is synchronous. The calling context must be able to sleep, * and must not hold the driver model lock for USB; usb device driver * probe() methods may not use this routine." Sounds like the device init needs rearranged... maybe move the actual device initialisation to the first stc_open() call. Can anyone with more USB experience confirm this? -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
