Page 1 of 1

Error: No game controller was found on USB ports

Posted: Thu Mar 14, 2019 4:15 am
by pvshura
Hi Guys,

Could you please advise? RPI2.

Thank you a lot!

pi@raspberrypi:~ $ sudo /usr/bin/gimx -p /dev/ttyAMA0 -c LogitechG27_G29.xml --nograb
controller #1: option -p with value `/dev/ttyAMA0'
now reading arguments for controller #2
global option -c with value `LogitechG27_G29.xml'
grab flag is unset
GIMX adapter detected, controller type is: G29 PS4.
Error: No game controller was found on USB ports.
*** Error in `/usr/bin/gimx': munmap_chunk(): invalid pointer: 0x0129da38 ***
Aborted
pi@raspberrypi:~ $ sudo lsusb
Bus 001 Device 007: ID 046d:c29b Logitech, Inc. G27 Racing Wheel
Bus 001 Device 005: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 004: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Re: Error: No game controller was found on USB ports

Posted: Thu Mar 14, 2019 5:54 am
by kaiba_seto2004
I've moved your thread to support section.

Did you plug dualshock 4 controller to RPi usb port?

Re: Error: No game controller was found on USB ports

Posted: Fri Mar 15, 2019 9:49 pm
by pvshura
Eventually I realized the controller wasn't detected due to a usb webcam. DS4 periodically disappeared from the system. When I removed webcam it worked. Probably Rpi doesn't have enough power to run so many devices.

Re: Error: No game controller was found on USB ports

Posted: Sat Mar 16, 2019 7:22 am
by kaiba_seto2004
That's right. RPi needs at least 5V - 2.5A