Re: Problem with remote control

"Guenther Sohler" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Dear Alan,

Thank you for your valuable reply.

> You don't have to unload usbhid in order to unbind it.  cd to the 
> /sys/bus/usb/drivers/usbhid directory and find the filename corresponding 
> to your device.  Let's say it is 1-4:1.0 -- then you can do (as root):
> 
> 	echo -n 1-4:1.0 >unbind

thank you for the tip. this is very valuable info.


> Find out what's wrong with the input parsing and fix it, so that you don't
> need a special driver.


There seem to be some starting problems for me. Everything is very new for me and i have to understand first, how is the data flow.

I i understand today, it is as follow

ir_control->ir->ir_receiver->cypress_chip->usb_cable->usb_hostcontroller
->usb_hostdriver->usb-input_driver->/dev/input/event3->evexec

And our idea is that the usb_input_driver is not working correctly.
It swallows 4 bytes of data each, but does not give any output.

I already has some look at the driver, but i do not yet understand it.
there is much done about "report" structures.

So i think, i need to put in more debug information to really find out, how data flows. This is not really easy, as i said, the usbhid is compiled into a kernel. how can i then debug the usbhid stack ?
I need to recompile the kernel leaving usbhud as a module, right ?

but i am using FC6, and i did not manage to actually find its kernel source code(no yum package seen)

Any idea, how to proceed ?

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.