Page 3 of 6

Re: xbox classic support

Posted: Mon Jul 03, 2017 2:08 pm
by Matlo
neo451 wrote: Mon Jul 03, 2017 1:39 pm You mean the original XBOX controller to PC, right?
Exactly.
neo451 wrote: Mon Jul 03, 2017 1:39 pm Can SerialUSB work on RPI3 with Ubuntu build or it has to be done on real PC?
The provided package can only work with Linux Mint 17.3 64bit (or Ubuntu 14.04 64bit).
neo451 wrote: Mon Jul 03, 2017 1:39 pm I don't see build for ARMHF. Will it compile on that platform?
I see no reason why it would not compile.

Re: xbox classic support

Posted: Mon Jul 03, 2017 4:15 pm
by neo451
I got it working.

Code: Select all

Available USB to UART adapters:
0: /dev/ttyUSB0
Select the USB to UART adapter number: 0
Selected: /dev/ttyUSB0
Overwrite /home/user/serialusb-0.5/build/serialusb-0.5/capture.pcap? [y/n] y
Available USB devices:
 0 VID 0x10c4 (Cygnal Integrated Products, Inc.) PID 0xea60 (CP210x UART Bridge / myAVR mySmartUSB light) PATH 01:01:05
 1 VID 0x045e (Microsoft Corp.) PID 0x0289 (Xbox Controller S) PATH 01:01:04:01
 2 VID 0x045e (Microsoft Corp.) PID 0x0288 (Xbox Controller S Hub) PATH 01:01:04
 3 VID 0x045e (Microsoft Corp.) PID 0x0745 (Nano Transceiver v1.0 for Bluetooth) PATH 01:01:02
 4 VID 0x0424 (Standard Microsystems Corp.) PID 0xec00 (SMSC9512/9514 Fast Ethernet Adapter) PATH 01:01:01
 5 VID 0x0424 (Standard Microsystems Corp.) PID 0x9514 (SMC9514 Hub) PATH 01:01
 6 VID 0x1d6b (Linux Foundation) PID 0x0002 (2.0 root hub) PATH 01
Select the USB device number: 1
lib/gasync/src/usb/gusb.c:793 get_lang_id_0: libusb_control_transfer failed with error: Pipe error
Opened device: VID 0x045e PID 0x0289 PATH 01:01:04:01
configuration: 1
  interface: 0:0
    endpoint: IN INTERRUPT 1
    endpoint: OUT INTERRUPT 2
Proxy started successfully. Press ctrl+c to stop it.
When I selected "2 VID 0x045e (Microsoft Corp.) PID 0x0288 (Xbox Controller S Hub) PATH 01:01:04" noting happened but when "1 VID 0x045e (Microsoft Corp.) PID 0x0289 (Xbox Controller S) PATH 01:01:04:01" was selected controller started working on XBOX.

Capture file -> http://www.mediafire.com/file/8c4o2u468sytl2w/xbox.pcap

Re: xbox classic support

Posted: Mon Jul 03, 2017 6:04 pm
by Matlo
Could you please make a second capture? This will be useful to see if there is some kind of authentication.

Re: xbox classic support

Posted: Mon Jul 03, 2017 6:16 pm
by neo451
Second capture -> http://www.mediafire.com/file/l36757s7q ... xbox2.pcap
Both times adapter was connected to 1st port on XBOX.

Re: xbox classic support

Posted: Mon Jul 03, 2017 7:46 pm
by Matlo
Here's a new firmware:
xbox_emu.hex.zip
(3.48 KiB) Downloaded 619 times

Re: xbox classic support

Posted: Mon Jul 03, 2017 8:23 pm
by neo451
Still no response on XBOX side but there new debug packet line in log -> https://pastebin.com/6mfEgTqZ

Re: xbox classic support

Posted: Thu Jul 06, 2017 8:59 pm
by Matlo
Hi,

I think there may be some kind of authentication involved.

I uploaded test versions here:
https://gimx.fr/download/613d56c181b87a ... mu.hex.zip
https://gimx.fr/download/613d56c181b87a ... _armhf.deb

Make sure to have your Xbox Controller S plugged to your Pi before starting GIMX.

Please make a log file with adapter debug messages enabled, and let me know the result.

Re: xbox classic support

Posted: Thu Jul 06, 2017 9:45 pm
by neo451
Matlo wrote: Thu Jul 06, 2017 8:59 pm I think there may be some kind of authentication involved.
Make sure to have your Xbox Controller S plugged to your Pi before starting GIMX.
Please make a log file with adapter debug messages enabled, and let me know the result.
Hi,
Still no reaction on console either with DS4 or Xbox Controller S but maybe the log can tell more -> https://pastebin.com/nGedRU4H - the pass-through device (XCS) was recognized. Both controllers were connected before starting GIMX.
I can capture more with SerialUSB if you want to be sure there is some additional authentication between the controller and XBOX.

Re: xbox classic support

Posted: Fri Jul 07, 2017 9:42 pm
by Matlo
I don't think it will be necessary.
I need some time to develop a tool that can replay capture files.
I'll keep you posted.

Re: xbox classic support

Posted: Sat Nov 25, 2017 8:03 am
by neo451
Matlo wrote: Fri Jul 07, 2017 9:42 pm I need some time to develop a tool that can replay capture files.
I'll keep you posted.
Hi,
Any progress? I can do more captures if they could help.