Re: [PATCH 1/1] media: dvb-usb/af9015, fix disconnection crashes

2010-02-05 Thread Pekka Sarnila
Mauro Carvalho Chehab wrote: Pekka Sarnila wrote: So dvb is both as a place and a name misleading. It happens that almost all tv products (analog or digital) come with some IR support. But you can find also some products that are just IR. That's why we're moving it to be outside

Re: dvb-usb-remote woes [was: HID: ignore afatech 9016]

2010-02-05 Thread Pekka Sarnila
Most of the question here are already answered or no more actual, but for clarity: Jiri Slaby wrote: The remote is visible to the system as a usb interrupt end point. Interrupt endpoint tells the system the polling interval (by endpoint report). From the USB specs on the interval: The USB

Re: [PATCH 1/1] media: dvb-usb/af9015, fix disconnection crashes

2010-02-04 Thread Pekka Sarnila
. But HID problem still remains. I have some hacks in my mind to test to kill HID. One is to configure HID wrongly to see if it stops outputting characters. Other way is try to read remote codes directly from the chip memory. Yes, Pekka Sarnila has added this workaround to the HID driver

Re: [PATCH 1/1] media: dvb-usb/af9015, fix disconnection crashes

2010-02-04 Thread Pekka Sarnila
Yes, my comment maybe criticizes more the basic architectural structure of usb putting it's own work up to higher layer. The only practical thing is that, if there is a non-HID device suffering from that FULLSPEED problem, the quirk won't help it. Anyway in current kernel structure usb layer

Re: [PATCH 1/1] media: dvb-usb/af9015, fix disconnection crashes

2010-02-04 Thread Pekka Sarnila
Mauro Carvalho Chehab wrote: Pekka Sarnila wrote: The problem using vendor class is that there is no standard. Each vendor can define its own way using endpoints (and has done so e.g Logitech joysticks). Thus each usb ir receiver must have its own specific driver. However then you get

Re: dvb-usb-remote woes [was: HID: ignore afatech 9016]

2010-02-02 Thread Pekka Sarnila
Slaby wrote: On 02/01/2010 07:28 PM, Jiri Kosina wrote: On Mon, 1 Feb 2010, Pekka Sarnila wrote: I pulled few days ago latest git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git and compiled it. Everything works fine including the tv-stick and the remote. However I get

Re: dvb-usb-remote woes [was: HID: ignore afatech 9016]

2010-02-02 Thread Pekka Sarnila
Please, no mail to this address, use only sarn...@adit.fi. Pekka Antti Palosaari wrote: On 02/01/2010 09:42 PM, Jiri Slaby wrote: On 02/01/2010 07:28 PM, Jiri Kosina wrote: On Mon, 1 Feb 2010, Pekka Sarnila wrote: I pulled few days ago latest git://git.kernel.org/pub/scm/linux

Re: dvb-usb-remote woes [was: HID: ignore afatech 9016]

2010-02-02 Thread Pekka Sarnila
: On 02/01/2010 07:28 PM, Jiri Kosina wrote: On Mon, 1 Feb 2010, Pekka Sarnila wrote: 3af9015: command failed:255 3dvb-usb: error while querying for an remote control event. Yes, I saw this quite recently too. For me it appears when it is booted up with the stick in. It's still to be fixed