08-10-2016, 08:54 AM
Hello all, first time noob posting...
I've just got the Pine64+ 2GB model, installed the latest Debian XFCE image and did all of the updates suggested. I've successfully installed XMAME following this tutorial and now I'm trying to configure a gamepad to work with it. I've tried 2 separate USB devices, one is a PS2/PS3 compliant device and the other one is a DragonRise gamepad, but unfortunately both of them didn't work.
Here's the log from dmesg when I connect a gamepad:
Here's an output from lsusb:
...but there's no device detected in the /dev/input/ folder (/dev/input/js0 is missing). I've tried "cat" and "evtest" on every /dev/input/eventX device, but with no luck. I can see that both the "joydev" and "evdev" modules are built in, and I've installed the "joystick" and "xserver-xorg-input-joystick" packages, but nothing seems to help.
As I've seen on a Gentoo forum post, I've looked at /usr/src/linux-headers-3.10.102-2-pine64-longsleep/.config and I found that
and
...so I guess this is the problem the system isn't detecting the gamepad devices. Now, I guess I need to somehow enable kernel support for those two, but I have no idea how and it doesn't seem like a one-liner...
Can anyone give me pointers or help?
I've just got the Pine64+ 2GB model, installed the latest Debian XFCE image and did all of the updates suggested. I've successfully installed XMAME following this tutorial and now I'm trying to configure a gamepad to work with it. I've tried 2 separate USB devices, one is a PS2/PS3 compliant device and the other one is a DragonRise gamepad, but unfortunately both of them didn't work.
Here's the log from dmesg when I connect a gamepad:
Code:
[ 1299.821184] ehci_irq: highspeed device connect
[ 1299.948456] ohci_irq: fullspeed or lowspeed device connect
[ 1300.342055] usb 3-1: new full-speed USB device number 3 using sunxi-ohci
Here's an output from lsusb:
Code:
Bus 004 Device 002: ID 1997:2433
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
...but there's no device detected in the /dev/input/ folder (/dev/input/js0 is missing). I've tried "cat" and "evtest" on every /dev/input/eventX device, but with no luck. I can see that both the "joydev" and "evdev" modules are built in, and I've installed the "joystick" and "xserver-xorg-input-joystick" packages, but nothing seems to help.
As I've seen on a Gentoo forum post, I've looked at /usr/src/linux-headers-3.10.102-2-pine64-longsleep/.config and I found that
Code:
# CONFIG_HID_DRAGONRISE is not set
and
Code:
# CONFIG_HID_SONY is not set
...so I guess this is the problem the system isn't detecting the gamepad devices. Now, I guess I need to somehow enable kernel support for those two, but I have no idea how and it doesn't seem like a one-liner...
Can anyone give me pointers or help?