Re: Excessive rc polling interval in dvb_usb_dib0700 causes interference with USB soundcard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 3, 2010 at 6:35 PM, Pedro Ribeiro <pedrib@xxxxxxxxx> wrote:
> Hello all,
>
> yesterday I sent a message asking for help with a problem I was having
> with a dib0700 USB adapter and my USB audio soundcard.
>
> Basically I discovered that the remote control polling in dvb_usb
> module was causing it. For reference, my original message is here
> http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/16782
> and I also file a kernel bug here
> http://bugzilla.kernel.org/show_bug.cgi?id=15430
>
> Looking at dmesg when I plug the DVB adapter it says
> dvb-usb: schedule remote query interval to 50 msecs.
>
> This seemed to me extremely excessive, so I solved the problem by
> doing a quick dirty hack. In linux/drivers/media/dvb/dvb-usb-remote.c
> I changed d->props.rc_interval to 10000, instead of the default 50
> msec.
>
> So now when I load the driver, I get
> dvb-usb: schedule remote query interval to 10000 msecs.
>
> And not only the USB audio card is working properly with the DVB
> adapter but also the remote control is working perfectly, without any
> delay at all!
>
> So my question is: why is this set to an excessive 50 msec? This is
> waaaaaaay too much for remote control polling, and its proven it
> causes trouble in the USB bus!
> Also, I know my hack was dirty, what the is the proper way to change this?

It's already been fixed.  Just update to the latest v4l-dvb code.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux