Page 2 of 2

Re: Cronusmax ps4 six-axis support released

Posted: Tue Feb 02, 2016 9:17 am
by Kekskrümel
Yes all games with motion sense, also blue estate are working fine. And I can see the acc data in the cronus software, so it should send them over usb.

Re: Cronusmax ps4 six-axis support released

Posted: Tue Feb 02, 2016 9:47 am
by Matlo
I can't promise I'll work on it. A capture is helpful and welcome.

Re: Cronusmax ps4 six-axis support released

Posted: Tue Feb 02, 2016 5:20 pm
by Kekskrümel

Code: Select all

nils@ubuntu:/usr/bin$ sudo ./serialusb-capture.sh 
Available USB to UART adapters:
0: /dev/ttyUSB0
Select the USB to UART adapter number: 0
Selected: /dev/ttyUSB0
Overwrite /usr/bin/capture.pcap? [y/n] y
Available USB devices:
 0 VID 0x1d6b (Linux Foundation) PID 0x0002 (2.0 root hub) PATH 01
 1 VID 0x10c4 (Cygnal Integrated Products, Inc.) PID 0xea60 (CP210x UART Bridge / myAVR mySmartUSB light) PATH 02:02:01
 2 VID 0x0e0f (VMware, Inc.) PID 0x0002 (Virtual USB Hub) PATH 02:02
 3 VID 0x0e0f (VMware, Inc.) PID 0x0003 (Virtual Mouse) PATH 02:01
 4 VID 0x1d6b (Linux Foundation) PID 0x0001 (1.1 root hub) PATH 02
Select the USB device number: 1
Opened device: VID 0x10c4 PID 0xea60 PATH 02:02:01
configuration: 1
  interface: 0:0
    endpoint: IN BULK 1
      endpoint 1 won't be configured (not an INTERRUPT endpoint)
    endpoint: OUT BULK 1 -> 2
      endpoint 2 won't be configured (not an INTERRUPT endpoint)
lib/gasync/src/common/linux/async.c:82 open failed with error: No such file or directory
Capture failed.
Running in VMWare ubuntu-14.04.3 64 bit

libusb is installed

Code: Select all

nils@ubuntu:~/Downloads/libusb-1.0.20$ sudo make install
Making install in libusb
make[1]: Entering directory `/home/nils/Downloads/libusb-1.0.20/libusb'
make[2]: Entering directory `/home/nils/Downloads/libusb-1.0.20/libusb'
make[3]: Entering directory `/home/nils/Downloads/libusb-1.0.20/libusb'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libusb-1.0.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libusb-1.0.so.0.1.0 /usr/local/lib/libusb-1.0.so.0.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.1.0 libusb-1.0.so.0 || { rm -f libusb-1.0.so.0 && ln -s libusb-1.0.so.0.1.0 libusb-1.0.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.1.0 libusb-1.0.so || { rm -f libusb-1.0.so && ln -s libusb-1.0.so.0.1.0 libusb-1.0.so; }; })
libtool: install: /usr/bin/install -c .libs/libusb-1.0.lai /usr/local/lib/libusb-1.0.la
libtool: install: /usr/bin/install -c .libs/libusb-1.0.a /usr/local/lib/libusb-1.0.a
libtool: install: chmod 644 /usr/local/lib/libusb-1.0.a
libtool: install: ranlib /usr/local/lib/libusb-1.0.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/include/libusb-1.0'
 /usr/bin/install -c -m 644 libusb.h '/usr/local/include/libusb-1.0'
make[3]: Leaving directory `/home/nils/Downloads/libusb-1.0.20/libusb'
make[2]: Leaving directory `/home/nils/Downloads/libusb-1.0.20/libusb'
make[1]: Leaving directory `/home/nils/Downloads/libusb-1.0.20/libusb'
Making install in doc
make[1]: Entering directory `/home/nils/Downloads/libusb-1.0.20/doc'
make[2]: Entering directory `/home/nils/Downloads/libusb-1.0.20/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nils/Downloads/libusb-1.0.20/doc'
make[1]: Leaving directory `/home/nils/Downloads/libusb-1.0.20/doc'
make[1]: Entering directory `/home/nils/Downloads/libusb-1.0.20'
make[2]: Entering directory `/home/nils/Downloads/libusb-1.0.20'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libusb-1.0.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory `/home/nils/Downloads/libusb-1.0.20'
make[1]: Leaving directory `/home/nils/Downloads/libusb-1.0.20'
nils@ubuntu:~/Downloads/libusb-1.0.20$ 

Re: Cronusmax ps4 six-axis support released

Posted: Tue Feb 02, 2016 7:00 pm
by Matlo
I advise you to run Ubuntu from a USB key. Virtual machines can affect performances and make the capture fail.
You actually have to select the cronusmax as the usb device, not the CP2102 adapter.

Re: Cronusmax ps4 six-axis support released

Posted: Tue Feb 02, 2016 8:05 pm
by Kekskrümel

Code: Select all

Proxy started sucessfully.

/lib/gasync/src/usb/gusb.c:854 handle_interfaces: libusb_release_interface failed with error: No such device (it may have been disconnected)
Live usb stick

ps4 controller <-> cronus <-> pc <-> USB to UART adapter ↔ atmega32u4 ↔ ps4

Re: Cronusmax ps4 six-axis support released

Posted: Wed Feb 03, 2016 7:59 am
by Matlo
I think the cronuxmax may disconnect and reconnect due to the console detection.
Try to set the console type to PS4 using Gtuner.

Re: Cronusmax ps4 six-axis support released

Posted: Wed Feb 03, 2016 8:12 am
by Kekskrümel
Yes I can see the reconnect in the cronus led display.

Same if I set ps4.