USB driver not detecting mouse? (lots of detail)
I got the 2.3 USB code from cvs.on.openprojects.net. I had to update it a bit to include the 2.2 spinlock.h since it seems to have moved in the 2.3 kernel. If I think of it, I'll try to make some patches once I get home...
Where are these patches you speak of? From reading the docs in the USB driver, these patches have made it into the USB tree...or are there non-USB patches that need to be applied?
David
Quoted 29 lines · --- Ira K Weiny
I get similar results with the 2.2 kernel. Have you tried Paul's patches for
the USB code? Or I should ask where you got the 2.3 USB code. I could not get
the 2.3 code to compile with the 2.2 kernel. But I have the cvs 2.3 which I
know is like bleeding edge and I am sure the directions on the USB-HowTo don't
take that into account. I get tons of include file missing and symbols errors...So I though I would compile it against the 2.3 kernel and see if I can run that. Of course now I have to get the 2.3 kernel to actually run!!!
Anyway Paul has patches to the 2.3 USB which take into acount endianes issues
which LinuxPPC needs.I can look up the web page if you want for the patches. Alternativly the 2.3
cvs source has the endianess issues in the code and no need to patch, which I
for one can never get to work. ;-(Good luck. If I get anything working I will let you know. Ira Weiny
Quoted 2 lines
I have a Kensington USB Mouse-In-A-Box Scroll mouse which works fine
Quoted 18 lines
under
Quoted 1 line
MacOS, so I know there's nothing wrong with the mouse or the Entegra
4-Port
Quoted 1 line
USB card it's connected to. I have a Power Tower Pro 225 (if that makes
a
Quoted 1 line
difference)
...
Quoted 8 lines
Sep 20 18:20:57 dhay kernel: bEndpointAddress = 81 (in) Sep 20 18:20:57 dhay kernel: bmAttributes = 03 (Interrupt)Sep 20 18:20:57 dhay kernel: wMaxPacketSize = 0001 Sep 20 18:20:57 dhay kernel: bInterval = ff Sep 20 18:20:57 dhay kernel: ohci-control thread sleeping
===
------------------------------------------------------------
David Hay \|/ ____ \|/ [email protected] ~@-/ oO \-@~ http://home.earthlink.net/~dhay/ /_( \__/ )_\
~ Live well ~ Laugh often ~ Love much ~ \__U_/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 5 lines
I got the 2.3 USB code from cvs.on.openprojects.net. I had to update it a bit to include the 2.2
spinlock.hsince it seems to have moved in the 2.3 kernel. If I think of it, I'll try to make some patches once I get home...
Right... And you had to change the pci_dev structure access to the old struct correct?
Ok I decided to do it your way and I get things working sort of. My machine does not crash, which is a HUGE milestone for me. ;-) (knock on wood at least not crashed yet.
Quoted 5 lines
Where are these patches you speak of? From reading the docs in the USB driver, these patches have made it into the USB tree...or are there non-USB patches that need to be applied?
I don't think you need the patches. You got the source from the same place I did. I was getting some data access exceptions/crashes and that was because I got my source from kernel.org BEFORE.
The cvs source should be good. Now why it does not work? I don't know. I had my fiance try the mouse but I think I may have XF86 set up wrong? I have to get home to try it. But when she (un)pluged the mouse in the software recongnized it and printed associated messages in my kernel.log so that is good.
I will let you do the patches. I can't figure patches out... ;-0
Sorry
Ira Weiny
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/