Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-07 Thread Alan Stern
On Wed, 6 Dec 2006, Adam Sulmicki wrote: > FWIW, this is the fix I use for my own needs. > > http://www.missl.cs.umd.edu/~adam/cy/linux-2.6.18-intervieo-clearn-n-halt.diff Okay, that's fine for your own use. But it's not appropriate for the standard kernel, mainly because it doesn't really sol

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-06 Thread Adam Sulmicki
FWIW, this is the fix I use for my own needs. http://www.missl.cs.umd.edu/~adam/cy/linux-2.6.18-intervieo-clearn-n-halt.diff Adam -- Adam Sulmicki http://www.eax.com The Supreme Headquarters of the 32 bit registers -

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-05 Thread Alan Stern
On Tue, 5 Dec 2006, Adam Sulmicki wrote: > > Probably the Clear-Halt is what sometimes gets the remote going again. > > You are right. > > I have written a little command line utility that sends libusb's > usb_clear_halt() to device. > > I have tested it with > * remote on power on >

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-04 Thread Alan Stern
On Sun, 3 Dec 2006, Adam Sulmicki wrote: > sigh. It seems now I have to eat my own words :-( > after reboot the change does not seem to make difference at all :( > > >> However, once I unplug remote and plug it in, I still need to reload > >> either of the modules. There does not seems to more sl

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-03 Thread Adam Sulmicki
hello, some more stuff: http://www.missl.cs.umd.edu/~adam/cy/lsusb3.txt * I have discored that if I do 'lsusb' on the device before I load usbhid, I get whole 201 lines output compared to meleasy 59 lines after I load usbhid. * I have discoverd that doing lsusb when remote works, wil

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-03 Thread Adam Sulmicki
On Sun, 3 Dec 2006, Alan Stern wrote: >> I can confirm that it makes difference. >> Before I had to reload usbkbd module to make remote work. >> Now, I can reload usbhid module to make remote work. >> So it is progress. > > Can you post a usbmon for the patched usbhid module? sigh. It seems now I

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-03 Thread Alan Stern
On Sat, 2 Dec 2006, Adam Sulmicki wrote: > > Do you feel up to patching your kernel? The change needed is a simple > > one. In the source file drivers/usb/input/hid-core.c, find the > > hid_set_idle() routine and simply stick a "return 0;" line at its start. > > ah, sweet! > > I can confirm th

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-02 Thread Adam Sulmicki
>>> The usbmon log on that web site don't show what happens when you unload >>> the drivers. And the dmesg log doesn't say what you are doing at each >>> stage. >> >> sorry about that. here are complete annoatated logs of : >> reboot >> modprobeusbhid >> modprobe -r usbhid >>

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-02 Thread Alan Stern
On Sat, 2 Dec 2006, Adam Sulmicki wrote: > now, this is bizzare, according to usbmon 'modprobe usbkbd' generages > a single event : > > c8be93c0 709211974 S Ii:004:01 -115 8 < > > It seems this single event is enough for the remote to work again. No, you have misinterpreted what is hap

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-02 Thread Alan Stern
On Sat, 2 Dec 2006, Adam Sulmicki wrote: > On Sat, 2 Dec 2006, Alan Stern wrote: > > > The usbmon log on that web site don't show what happens when you unload > > the drivers. And the dmesg log doesn't say what you are doing at each > > stage. > > sorry about that. here are complete annoatated

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-02 Thread Adam Sulmicki
On Sat, 2 Dec 2006, Alan Stern wrote: > The usbmon log on that web site don't show what happens when you unload > the drivers. And the dmesg log doesn't say what you are doing at each > stage. sorry about that. here are complete annoatated logs of : reboot modprobeusbhid

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-02 Thread Alan Stern
On Sat, 2 Dec 2006, Adam Sulmicki wrote: > Adam Sulmicki wrote: > > > is there some way to run USB in polled mode? > > > > It seems I have lots of trouble getting the USB remote > > to work in IRQ driven mode. > > Oliver Neukum wrote: > > > What exactly do you mean by that? On a bus

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-02 Thread Adam Sulmicki
now, this is bizzare, according to usbmon 'modprobe usbkbd' generages a single event : c8be93c0 709211974 S Ii:004:01 -115 8 < It seems this single event is enough for the remote to work again. full log at : http://www.missl.cs.umd.edu/~adam/cy/usbmon.txt

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-01 Thread Adam Sulmicki
Adam Sulmicki wrote: > is there some way to run USB in polled mode? > > It seems I have lots of trouble getting the USB remote > to work in IRQ driven mode. Oliver Neukum wrote: > What exactly do you mean by that? On a bus level USB is a polling > protocol. This, unfortunately

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-11-29 Thread Oliver Neukum
Am Mittwoch, 29. November 2006 15:06 schrieb Adam Sulmicki: > > Hello folks, > is there some way to run USB in polled mode? > > It seems I have lots of trouble getting the USB remote > to work in IRQ driven mode. What exactly do you mean by that? On a bus level USB is a polling

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-11-29 Thread Adam Sulmicki
Hello folks, is there some way to run USB in polled mode? It seems I have lots of trouble getting the USB remote to work in IRQ driven mode. -- Adam Sulmicki http://www.eax.com The Supreme Headquarters of the 32 bit registers --

[linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-11-06 Thread Adam Sulmicki
Hello, I have said remote. I plug it into computer, and sometimes it works, sometimes it does not. When it works it behaves like keyboard. ex pressing "1" will output 1 on xterm, pressing up/down arrows will move across bash history. Most often it works when