xbox classic support

General Chat, Feel Free To talk about anything here.
neo451
Posts: 12
Joined: Fri Jun 23, 2017 10:27 pm

Re: xbox classic support

Post by neo451 »

The Xbox Classic controller is very special, it contains a hub which connects a gamepad and a memory controller to the console.
The provided firmware only implements the gamepad, not the hub and the memory controller. Maybe this is a problem.
I see... but why it was previously (with the 5.8 firmware) recognized by my PC as XBOX controller (I used XBCD)? It was just sending the right VID&PID but that's all? So there is no way to use GIMX with OG XBOX? I can do some new firmware testing or capture smth if that could help.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: xbox classic support

Post by Matlo »

neo451 wrote: Tue Jun 27, 2017 6:56 am but why it was previously (with the 5.8 firmware) recognized by my PC as XBOX controller (I used XBCD)?
Start GIMX and the device will appear.
neo451 wrote: Tue Jun 27, 2017 6:56 am I can do some new firmware testing or capture smth if that could help.
Connect the adapter to your Xbox. Then in gimx-launcher, select "Messages>debug", click on start, select log file, select adapter. Activate some inputs and exit. Post the log file.
GIMX creator
neo451
Posts: 12
Joined: Fri Jun 23, 2017 10:27 pm

Re: xbox classic support

Post by neo451 »

Matlo wrote: Tue Jun 27, 2017 7:27 am Start GIMX and the device will appear.
You're absolutely right (I dunno what I was doing wrong yesterday). It appeared and was working as a XBOX controller in Windows.
Matlo wrote: Tue Jun 27, 2017 7:27 am Connect the adapter to your Xbox. Then in gimx-launcher, select "Messages>debug", click on start, select log file, select adapter. Activate some inputs and exit. Post the log file.
Debug log file -> https://pastebin.com/HzEQ0AN9 - seems to be pretty similar to my previous log
Controller config file -> https://pastebin.com/y7LJBZmF - the sticks need some work but that's for later
Last edited by neo451 on Wed Jun 28, 2017 8:04 pm, edited 1 time in total.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: xbox classic support

Post by Matlo »

Thanks. I'll have to make another firmware to get better traces.
GIMX creator
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: xbox classic support

Post by Matlo »

Here's a new firmware:
xbox_emu.hex.zip
(3.49 KiB) Downloaded 622 times
GIMX creator
neo451
Posts: 12
Joined: Fri Jun 23, 2017 10:27 pm

Re: xbox classic support

Post by neo451 »

New debug log -> https://pastebin.com/9kWh59RF - there are some new "debug packet received" lines.
Still no reaction on XBOX as expected since it's a debug firmware.
This time I run it on RPI3 with GIMX updated to 6.8 version (my previous RPI2 was busy).
If you want I can try it on previous device but I don't think it's necessary.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: xbox classic support

Post by Matlo »

Here's another one:
xbox_emu.hex.zip
(3.32 KiB) Downloaded 617 times
I think it would go faster if you can get a capture with the serialusb tool:
https://github.com/matlo/serialusb
GIMX creator
neo451
Posts: 12
Joined: Fri Jun 23, 2017 10:27 pm

Re: xbox classic support

Post by neo451 »

New debug log with latest firmware -> https://pastebin.com/00ETEYtN
I think it would go faster if you can get a capture with the serialusb tool:
https://github.com/matlo/serialusb
I will try to use serialusb tool later today.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: xbox classic support

Post by Matlo »

To make a protocol capture with serialusb you have to connect a controller to your computer.
You'll need an adapter cable as it uses a proprietary USB connector.
GIMX creator
neo451
Posts: 12
Joined: Fri Jun 23, 2017 10:27 pm

Re: xbox classic support

Post by neo451 »

Matlo wrote: Mon Jul 03, 2017 1:27 pm To make a protocol capture with serialusb you have to connect a controller to your computer.
You mean the original XBOX controller to PC, right?
SerialUSB acts as a proxy between the controller and console as I remember.
Matlo wrote: Mon Jul 03, 2017 1:27 pm You'll need an adapter cable as it uses a proprietary USB connector.
I have it.

Can SerialUSB work on RPI3 with Ubuntu build or it has to be done on real PC?
I don't see build for ARMHF. Will it compile on that platform?
Post Reply