I'm trying to get a PSX to PC converter working in Linux.  It is a Red
Octane branded "Super Dual Box" USB device.  I could only find one person
who said they used it on Linux here:
http://www.consoleplus.co.uk/product_reviews_info.php?products_id=380&reviews_id=180
but not much useful information...

The USB id is 0925:8866 which is in usb.ids as:

0925  Wisegroup, Ltd
  8866  MP-8866 Dual USB Joypad

I'm running kernel 2.6.5 as supplied with ArchLinux.  I've also tried a
custom built kernel 2.6.5-mm3 on Debian.  They both behave the same way.

I'm using devfs and the device shows up as /dev/input/js0.  When I "cat
/dev/input/js0" I get a short stream of characters which then stops (see
below for raw data) but when I press buttons nothing happens.

StepMania appears to detect it (via SDL?) as:
Found 1 joysticks
   0: '0925:8866' axes: 18, hats: 0, buttons: 24
but again, pressing buttons doesn't do anything.

My entire kernel config is here:
http://www.functionalfuture.com/usb/config2.6.5
Which is basically stock ArchLinux 0.6.  The only USB-related module I
load is "joydev" and that creates the /dev/input/js0 node.

Here is what's printed from the kernel:
usb 1-1: new low speed USB device using address 2
drivers/usb/core/message.c: error getting string descriptor 0 (error=-32)
drivers/usb/core/message.c: error getting string descriptor 0 (error=-32)
drivers/usb/input/hid-core.c: ctrl urb status -32 received
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.00 Joystick [0925:8866] on usb-0000:00:07.2-1

Not sure if those errors are critical.

/proc/bus/usb/devices:
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0925 ProdID=8866 Rev= 2.88
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=400mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   7 Ivl=10ms

I wrote a little program to read from /dev/input/js0.  If I only read 336
bytes at a time (then close and re-open the device) it will continue to
read forever.

The stream looks like:
01 65 2E 00 00 00 81 00 01 65 2E 00 00 00 81 01 01 65 2E 00 00 00 81 02

Which seems to be an 8-byte pattern with some of the values changing over
time.  I logged about 500k of data which you can get here:
http://www.functionalfuture.com/usb/raw.dat.gz

As far as I know the device is functioning normally.  If I run Windows on
the same machine it works fine.

Let me know if I can provide any more information, I'd really like to see
this thing working in Linux.

-- 
// Chris


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to