That's very interesting. So I poked around a little bit based on what you discovered. Namely that usbmodules behaves differently. Turns out that comes from the package usbutils. In portage there are four versions available: 0.71-r1 0.71 0.11-r6 0.11-r5
I thought perhaps it was a patch that Gentoo was applying that allowed it to work. I don't believe that is the case anymore. I was running 0.11-r5 since up until yesterday that was the one marked stable under amd64. Long story short: I tried out all four versions, and both of the 0.11 versions work nicely (and looking at the patches applied, none seem to apply to me). However, neither of the 0.71 versions work. I did notice lsusb -v have differences while detecting the device, as well. Would you try downgrading your usbutils to version 0.11 and see if that fixes the problem for you? If so, perhaps we can narrow the problem down more with what's changed from 0.11 -> 0.71. Would the output of lsusb -v (and a diff of that output between versions) be useful perhaps? -AF On 2/16/06, Michael Alladin <[EMAIL PROTECTED]> wrote: > > Andrew, > > Your instructions do not work on Slack 10.1 (2.6.15.1 kernel). Joydev is > loaded automatically and device node is created, however no keystrokes are > registered. > > Out of curiosity, I loaded an older Gentoo livecd I had lying around. And > the joypad worked exactly like you described. > > One thing I noticed, in Slack (with newer kernel) usbmodule returns 'usbhid' > for joypad device, and in Gentoo, it returns nothing. > > I tried disabling usbhid mapping in /lib/modules/2.6.15.1/modules.usbmap > but that didn't change anything. > > So, I'm guessing Gentoo does something special in its init scripts. > > Michael > > >From: Andrew Fuller <[EMAIL PROTECTED]> > >To: Michael Alladin <[EMAIL PROTECTED]> > >CC: linux-usb-devel@lists.sourceforge.net > >Subject: Re: Wisegroup MP-8866 Dual USB Joypad > >Date: Tue, 7 Feb 2006 19:45:11 -0500 > > > >Sorry it took me so long to get back you to. Been busy. > > > >I neglected to mention in my first post that I manually modprobe'd > >joydev, as hotplug doesn't seem to do it for me. I tried adding an > >entry in the *.usermap, but it still doesn't seem to load it. But > >that's a hotplug issue not a USB issue. > > > >I also have usbhid due to my USB mouse (and possibly this keyboard uses > >it). > > > >I tested this on a separate machine to verify, and if it's a fluke, > >then it's a fluke that repeatedly works and separate machines. > > > >machine #1: > >Linux 2.6.14-ck5 #16 PREEMPT Wed Jan 25 19:35:56 EST 2006 Mobile AMD > >Athlon(tm) 64 Processor 3200+ AuthenticAMD > > > >machine #2: > >Linux 2.6.14-gentoo-r5 #2 PREEMPT Mon Jan 2 21:46:32 EST 2006 Mobile > >AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD > > > >So yes they're both similar, both Gentoo systems, both 64bit, and both > >running 2.6.14 kernels. > > > >My guess is that you didn't have joydev loaded when you tried it. > > > >Here are the steps I did to test this: > > > >1. Wisegroup unplugged, joydev not loaded. > >2. cat /dev/input/js0 (doesn't exist) > >3. plug Wisegroup in. > >4. cat /dev/input/js0 (still doesn't exist) > >5. modprobe joydev (hotplug is at fault for not doing this for us) > >6. cat /dev/input/js0 (now exists, spits out a small bit of > >garbage, but then is silent and does not respond to anything from the > >joystick) > >7. lsusb to find where it's plugged in, 003-018 for me in this test > >8. usbmodules --device /proc/bus/usb/003/018 (replace 003/018 with > >your location) > >9. cat /dev/input/js0 (it now works!!!) > > > >/etc/hotplug/hotplug.functions can be hacked to execute this command > >automatically for us, done by changing line 85 from > > > >*) LISTER="" ;; > > > >to > > > >*) LISTER=`type -p ${TYPE}modules` > > > >This effectively renders the kernel version check pointless (lines > >83-86), so it's not a happy workaround. So why is this usbmodules > >having the (wonderful!) side effect of making this Wisegroup thing > >work?? I would really like a proper solution to this problem. > > > >I will email you my kernel .config privately (I don't suppose the > >whole list wants to see it) in case these steps don't work for you. > > > >Please mention if it works for you. > > > >-Andrew > > > >On 1/26/06, Michael Alladin <[EMAIL PROTECTED]> wrote: > > > No, for me that doesn't do anything at all. Not on older kernel, not on > > > 2.6.15.1. > > > > > > I suspect that's just a fluke you're having. Do you have usbhid loaded > > > before you run that command? And how do you know it's working? Do you > >get > > > some output from jstest? > > > > > > And finally, what distro and kernel version are you using -- can you > >mail me > > > your kernel config file? > > > > > > Michael > > > > > > >From: Andrew Fuller <[EMAIL PROTECTED]> > > > >To: linux-usb-devel@lists.sourceforge.net, Michael Alladin > > > ><[EMAIL PROTECTED]> > > > >Subject: Wisegroup MP-8866 Dual USB Joypad > > > >Date: Sat, 21 Jan 2006 11:46:45 -0500 > > > > > > > > > The basic problem that I'm having is that Playstation controllers > > > >connected > > > > > via a USB adapter are not working. I've posted on usb-users and was > > > >advised > > > > > to post here. > > > > > > > >I've been trying to debug this adapter, as well. > > > > > > > >So far I've found out that if you run: > > > >usbmodules --device /proc/bus/usb/###/### > > > > > > > >(after you've plugged it in, of course) then it'll start to work. > > > > > > > >according to man usbmodules, this is only supposed to list which > > > >modules can be used for this device, so why it has this (useful) side > > > >effect, I have no clue. > > > > > > > >It would be nice to automate this. > > > > > > > >Write back if it also worked for you. > > > > > > > >-Andrew > > > > > > _________________________________________________________________ > > > Express yourself instantly with MSN Messenger! Download today it's FREE! > > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > > > > > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel