Re: [linux-dvb] LITE-ON DVBT USB adapter
On Thu, 19 Jul 2007, Pedro Aranda wrote: > Hi folks, > Problem: MT-2060 doesn't register => no frontend > > Solution: attached patch > > Request: include it in the mainstream ASAP: I'm really sick of > having to recompile the DVB subsystem everytime a kernel update > happens > > THANKS a lot Try reading README.patches and following the guidlines for submitting a patch. You might also try not writing html emails, they don't seem to be very popular on linux-centric lists. Anyway, I don't think think patch adds the delay in the right place. You're adding a 1 second delay to all usb dvb devices. Obviously they don't all need it. I think the problem is not enough delay after the power control, but I don't have any information. I'm CCing Patrick since he's the only one who really knows anything about the dibcom stuff. Anyway, try this patch. If that doesn't work, increase the 100 to 250 then 500 then 1000 and see what it takes. diff -r 3929198de6a7 linux/drivers/media/dvb/dvb-usb/dibusb-common.c --- a/linux/drivers/media/dvb/dvb-usb/dibusb-common.c Tue Jul 17 16:36:20 2007 -0300 +++ b/linux/drivers/media/dvb/dvb-usb/dibusb-common.c Thu Jul 19 02:46:28 2007 -0700 @@ -63,7 +63,7 @@ int dibusb_power_ctrl(struct dvb_usb_dev b[1] = DIBUSB_IOCTL_CMD_POWER_MODE; b[2] = onoff ? DIBUSB_IOCTL_POWER_WAKEUP : DIBUSB_IOCTL_POWER_SLEEP; ret = dvb_usb_generic_write(d,b,3); - msleep(10); + msleep(onoff ? 100 : 10); return ret; } EXPORT_SYMBOL(dibusb_power_ctrl); ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] LITE-ON DVBT USB adapter
Am Donnerstag, 19. Juli 2007 10:40:51 schrieb timecop: > On 7/19/07, Pedro Aranda <[EMAIL PROTECTED]> wrote: > > Hi folks, > > > > System description: > > > > [EMAIL PROTECTED]>uname -a > > Linux paag 2.6.21-2-686 #1 SMP Wed Jul 11 03:53:02 UTC 2007 i686 > > GNU/Linux > > > > Distro: up-to-date Debian testing > > > > Problem: MT-2060 doesn't register => no frontend > > > > Solution: attached patch > > > > Request: include it in the mainstream ASAP: I'm really sick of > > having to recompile the DVB subsystem everytime a kernel update > > happens > > > > THANKS a lot > > You didn't include: > 1) Signed off by > 2) You expect this merged NOW which means it will happen in at least > half a year from now Correction: . it will happen in at least 1,5 years from now or even never And it will only happen at all if you start and continue to lick the butts of the "illustrious." > 3) The patch was not "tested" and will "break various other hardware" > and will never be approved 4) The "illustrious" do not have any time for merging USB drivers, but they indeed have lots of time for chatting around on /linuxtv/irc, day by day. 5) You yourself do not belong to the "illustrious", that's your biggest fault. > > -tc > > ___ > linux-dvb mailing list > linux-dvb@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb Uwe ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] LITE-ON DVBT USB adapter
On 7/19/07, Pedro Aranda <[EMAIL PROTECTED]> wrote: > > Hi folks, > > System description: > > [EMAIL PROTECTED]>uname -a > Linux paag 2.6.21-2-686 #1 SMP Wed Jul 11 03:53:02 UTC 2007 i686 GNU/Linux > > Distro: up-to-date Debian testing > > Problem: MT-2060 doesn't register => no frontend > > Solution: attached patch > > Request: include it in the mainstream ASAP: I'm really sick of > having to recompile the DVB subsystem everytime a kernel update > happens > > THANKS a lot You didn't include: 1) Signed off by 2) You expect this merged NOW which means it will happen in at least half a year from now 3) The patch was not "tested" and will "break various other hardware" and will never be approved -tc ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
[linux-dvb] LITE-ON DVBT USB adapter
Hi folks, System description: [EMAIL PROTECTED]>uname -a Linux paag 2.6.21-2-686 #1 SMP Wed Jul 11 03:53:02 UTC 2007 i686 GNU/Linux Distro: up-to-date Debian testing Problem: MT-2060 doesn't register => no frontend Solution: attached patch Request: include it in the mainstream ASAP: I'm really sick of having to recompile the DVB subsystem everytime a kernel update happens THANKS a lot ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ --- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c Sun Apr 01 19:29:16 2007 -0300 +++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c Tue Apr 10 13:32:12 2007 +0200 @@ -174,8 +174,8 @@ int dvb_usb_adapter_frontend_init(struct err("strange: '%s' #%d doesn't want to attach a frontend.",adap->dev->desc->name, adap->id); return 0; } - +msleep(1000); /* re-assign sleep and wakeup functions */ if (adap->props.frontend_attach(adap) == 0 && adap->fe != NULL) { adap->fe_init = adap->fe->ops.init; adap->fe->ops.init = dvb_usb_fe_wakeup; ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb