public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Excessive rc polling interval in dvb_usb_dib0700 causes interference with USB soundcard
@ 2010-03-03 23:35 Pedro Ribeiro
  2010-03-03 23:48 ` Devin Heitmueller
  0 siblings, 1 reply; 11+ messages in thread
From: Pedro Ribeiro @ 2010-03-03 23:35 UTC (permalink / raw)
  To: linux-media

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?


Regards,
Pedro

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-03-15 19:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03 23:35 Excessive rc polling interval in dvb_usb_dib0700 causes interference with USB soundcard Pedro Ribeiro
2010-03-03 23:48 ` Devin Heitmueller
2010-03-04  1:00   ` Pedro Ribeiro
2010-03-04  1:06     ` Devin Heitmueller
2010-03-04  4:18       ` Mauro Carvalho Chehab
2010-03-04 11:14         ` Pedro Ribeiro
2010-03-04 19:39           ` Devin Heitmueller
     [not found]             ` <74fd948d1003041244s513dce3s69567cb9dbe31ae1@mail.gmail.com>
2010-03-04 20:52               ` Devin Heitmueller
2010-03-14 15:06                 ` Pedro Ribeiro
2010-03-15  3:55                   ` Devin Heitmueller
2010-03-15 19:36                     ` Pedro Ribeiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox