On Sat, 18 Feb 2006, Andrew Fuller wrote:

> On 2/18/06, David Brownell <[EMAIL PROTECTED]> wrote:
> > Nobody should be using "usbmodules" on kernels newer than 2.5, so
> > don't bother with that.  Just use the most current "usbutils", which
> > is going to be a 0.71 or CVS version.
> 
> With the most current usbutils (0.71) my PS2->USB adapter does not
> work.  That's what we've been attempting to solve in this thread.
> 
> I've done some additional hacking to find a more precise event that's
> "enabling" this device we're fighting with.  I've gone through the old
> usbmodules and found what part of it is making it all work.  I've
> picked out the pieces to make a stand alone program to address the
> issue.  I've attached the file to this email.  (does the mailing list
> take attachments?  if not, I'll send it in the body of a message; it's
> only ~75 lines long)
> 
> It seems to be the single ioctl call which is working the magic.  But
> what all the parameters mean I truly haven't the foggiest.  If anyone
> here can explain to me what's going on it would be greatly appreciated
> and might help us know if there's a better way to address the issue. 
> Otherwise perhaps someone could point the way to where we could get
> some similar code executed automatically so that this thing works when
> plugged in.

That program does nothing but ask the device to send its device
descriptor.  Linux does that already as one of the first things whenever a
new device is plugged in.  It's not clear why the program should make your
Joypad work; it must work around some defect in the device.

Alan Stern



-------------------------------------------------------
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&kid=103432&bid=230486&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to