Friday, July 24, 2009

USB Snooping - Super Box4 - 2 Player

Currently trying to figure out how to get rumble to work on the Playstation2 controller or more specifically the Playstation 2 controller connected to a blue "Super Box4 - 2 Player" converter box (cheap thing bought on ebay a long while ago). As the driver of this thing isn't compatible with Windows Vista, I had to switch to a different USB snoopying tool and to Windows98, the resulting log is available at:
As far as I can tell, this is what makes it rumble:

-- URB_FUNCTION_CLASS_INTERFACE:
TransferFlags = 00000000 (USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000004
TransferBuffer = e41f98f5
TransferBufferMDL = 00000000
00000000: 02 01 00 ff
UrbLink = 00000000
RequestTypeReservedBits = 00000022
Request = 00000009
Value = 00000202
Index = 00000000

The 02 should be the controller number, ff the rumble strength, there is also something going on with the other bytes, I think the 00 might be the other motor. However so far I haven't been able to replicate the rumble on Linux. Using usbdebug from xboxdrv source tree I get:

usb> ctrl 22 09 202 0 02 01 00 ff
Sending to ctrl: 34 9 514 0: [4] { 0x02, 0x01, 0x00, 0xff } -> -2 'No such file or directory'

Randomly varying some numbers gives other error messages, so it shouldn't be quite close to the solution. Not sure what is going wrong, maybe I am overlooking something obvious.

7 comments:

rmontes said...

Hello i got the same adaptor Superbox 4 and it dosent work for windows seven some aplicationes recognice and some aplications dont. Do you know some way to fix this thing or something that i can do ???

Grumbel said...

The problem is that the SuperBox4 driver isn't compatible with Vista or Windows7, but only with earlier Windows releases. So the device can only be used as standard HID device which is likely what is causing trouble.

I don't think there is a proper solution for this. Some generic joystick configuration tools might however help in some games (such as joy2key or xpadder).

rmontes said...

I Use Joy2key.. i think that my only solution is buy a new adaptor..

Thanks For your time

isitmi said...

http://reabo.co.uk/_tutorials/usbadaptervista.aspx

The drivers there works for SuperBox4 for windows7, i tested earlier. :)

rmontes said...

I installed this drivers but it dosent work for me. I use windows 7 64bits. when i update drivers windows said that already updeted.

isitmi said...
This comment has been removed by the author.
Justin said...
This comment has been removed by the author.