DJHero Turntables

Discuss everything to do with GIMX here
Post Reply
palesius
Posts: 2
Joined: Sat Jan 16, 2021 7:25 pm

DJHero Turntables

Post by palesius »

Hi,
I'm one of the guys behind USBProxy, which you mention on your wiki for using the BBB as a sniffer.

Anyway, I originally worked on USBProxy as a way of controlling nonstandard peripherals (guitars/drums/etc) from the PC.
I use it with a parser that turns midi files from Guitar Hero or Rock Band into a series of button presses that get replayed on the controller through USBProxy.

Those wired controllers aren't an issue, as on the 360 at least, what tells the console the type of controller is an undocumented descriptor under interface0.
For a standard controller it looks like
11 21 00 01 01 25 81 14 00 00 00 00 13 01 08 00 00
guitar
11 21 10 01 07 25 81 14 03 03 03 04 13 02 08 03 03
drum
11 21 10 01 08 25 81 14 03 03 03 04 13 02 08 03 03

however the dj hero controller is normally wireless, although some wired units seem to exist (mostly from in store demo units)
since it's wireless I can't sniff the controller traffic and determine the right header
(I suspect only byte 4 is actually significant since that's all that differs between the guitar and drum)

But was wondering if anyone either magically has the wired version or has some insight on how I could capture the traffic.
I do have the USB wireless receiver from microsoft, but that hasn't (that's i've found) exposed any of the connected devices info in an easy to see way on either linux or windows.
And it makes USBProxy segfault, so I can't look at the traffic it's sending.

I'm going to try usbmon on a linux box and see if it sends anything meaningful.
I can also try digging through the windows device APIs for HID devices, as the connected controller does show up as a HID device, just not a USB one.
Failing that I can just try iterating through different values for byte 4.
Post Reply