You are not logged in.

#1 2014-06-13 19:26:43

kaizervonmaanen
Member
Registered: 2014-06-13
Posts: 3

Gamepad not working on ARCH LINUX

Please guys, I want to get my Logitech gamepad F310 running on my arch!

It does not work and I am trying to do it with xboxdrv because that seems to be mentioned everywhere , when I do 'lsusb' it lists with

Bus 002 Device 011: ID 046d:c21d Logitech, Inc. F310 Gamepad [XInput Mode]

So it DOES recognize it somewhat, then I do

sudo rmmod xpad
sudo modprobe uinput
sudo modprobe joydev

And then I get this:

$ sudo xboxdrv
xboxdrv 0.8.6 - http://pingus.seul.org/~grumbel/xboxdrv/ 
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de> 
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This program comes with ABSOLUTELY NO WARRANTY. 
This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details. 

Controller:        Logitech F310
Vendor/Product:    046d:c21d
USB Path:          002:011
Controller Type:   Xbox360

-- [ ERROR ] ------------------------------------------------------

Error: No stuitable uinput device found, tried:

  /dev/input/uinput: No such file or directory
  /dev/uinput: No such device
  /dev/misc/uinput: No such file or directory

Troubleshooting:
  * make sure uinput kernel module is loaded 
  * make sure joydev kernel module is loaded 
  * make sure you have permissions to access the uinput device
  * start the driver with ./xboxdrv -v --no-uinput to see if the driver itself works

It does not show up on my jstest-gtk and do not seem to work.
It does not show up as an event in /dev/input/ either. I am at a loss. It works flawlessly on ubuntu. I am a pretty new arch user

It tells me to run 'xboxdrv -v --no-uinput ' and when I do I get this

 $ sudo xboxdrv -v --no-uinput 
xboxdrv 0.8.6 - http://pingus.seul.org/~grumbel/xboxdrv/ 
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de> 
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This program comes with ABSOLUTELY NO WARRANTY. 
This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details. 

Controller:        Logitech F310
Vendor/Product:    046d:c21d
USB Path:          002:011
Controller Type:   Xbox360
Starting without uinput

Your Xbox/Xbox360 controller should now be available as:
  /dev/input/js0
  /dev/input/event17

Press Ctrl-c to quit, use '--silent' to suppress the event output

So it SEEMS to work it makes these numbers when I push the buttons:

X1:   128 Y1:   128  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:1 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:   128  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:   128  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:1  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:   128  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0

But no /dev/input/js0 or /dev/input/event17 turns up and I can not actually use it in games

Last edited by kaizervonmaanen (2014-06-15 18:39:50)

Offline

#2 2014-06-14 23:23:45

eta-carinae
Member
Registered: 2014-06-14
Posts: 8

Re: Gamepad not working on ARCH LINUX

I have an f310 I've been using on my ubuntu desktop for a couple of years.  I switched back to xpad after using xboxdrv for several months and found it had greatly improved.  The axes and buttons were mapped more consistently in jstest than under xboxdrv and most steam games worked better with less configuration.

I just tested it on my (headless) Arch server and it seemed to work just fine with xpad.  udev autodetected it, loaded xpad, and created the input device.  I installed joyutils and ran jstest and everything looked as reasonable as I could tell from a console-based joystick tester.

Offline

#3 2014-06-15 09:55:31

kaizervonmaanen
Member
Registered: 2014-06-13
Posts: 3

Re: Gamepad not working on ARCH LINUX

alright... what did you do exactly?

Im gonna remove my xboxdrv... and udev is that something i am supposed to have?
I already have joyutils. It don't seem to work. I do not know how to install that udev-thing

where can I find info about xpad? I downloaded something like that, but that is a note-taking application.

I followed some pages advice and did this after removing the xboxdrv

$ modprobe xpad
$ modprobe joydev
$ jstest /dev/js0
jstest: No such device or address


did not help at all.

What does "created the input device" mean?

Last edited by kaizervonmaanen (2014-06-15 15:22:42)

Offline

#4 2014-06-16 10:45:46

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Gamepad not working on ARCH LINUX

After rebooting with the gamepad connected:

tree /dev/input

From the output of xboxdrv you still need uinput.

kaizervonmaanen wrote:

Im gonna remove my xboxdrv... and udev is that something i am supposed to have?

where can I find info about xpad?

Do you know how to use google?

man udev

Xpad is a kernel module:

modinfo xpad
kaizervonmaanen wrote:

I followed some pages advice and did this after removing the xboxdrv

A bad habit, you should rather search Arch Linux's wiki and forums here. Did you took a look here?

Offline

#5 2014-06-16 15:27:16

kaizervonmaanen
Member
Registered: 2014-06-13
Posts: 3

Re: Gamepad not working on ARCH LINUX

Yeah I pretty much done everything in the wiki and scoured anything that looks remotely relevant.

$ tree /dev/input
/dev/input
├── by-id
│   ├── usb-Logitech_Gamepad_F310_A697C155-event-joystick -> ../event17
│   ├── usb-Logitech_Gamepad_F310_A697C155-joystick -> ../js0
│   ├── usb-Logitech_USB_Receiver-event-if01 -> ../event4
│   ├── usb-Logitech_USB_Receiver-event-kbd -> ../event1
│   ├── usb-Logitech_USB_Receiver-event-mouse -> ../event3
│   ├── usb-Logitech_USB_Receiver-if01-event-mouse -> ../event2
│   ├── usb-Logitech_USB_Receiver-if01-mouse -> ../mouse0
│   ├── usb-Logitech_USB_Receiver-mouse -> ../mouse1
│   └── usb-Sonix_Technology_Co.__Ltd._CNF9055-event-if00 -> ../event15
├── by-path
│   ├── pci-0000:00:1a.0-usb-0:1.1:1.0-event-kbd -> ../event1
│   ├── pci-0000:00:1a.0-usb-0:1.1:1.1-event-mouse -> ../event2
│   ├── pci-0000:00:1a.0-usb-0:1.1:1.1-mouse -> ../mouse0
│   ├── pci-0000:00:1a.0-usb-0:1.2:1.0-event-mouse -> ../event3
│   ├── pci-0000:00:1a.0-usb-0:1.2:1.0-mouse -> ../mouse1
│   ├── pci-0000:00:1a.0-usb-0:1.2:1.1-event -> ../event4
│   ├── pci-0000:00:1a.0-usb-0:1.4:1.0-event -> ../event15
│   ├── pci-0000:00:1d.0-usb-0:1.2:1.0-event-joystick -> ../event17
│   ├── pci-0000:00:1d.0-usb-0:1.2:1.0-joystick -> ../js0
│   ├── platform-i8042-serio-0-event-kbd -> ../event0
│   ├── platform-i8042-serio-2-event-mouse -> ../event16
│   ├── platform-i8042-serio-2-mouse -> ../mouse2
│   └── platform-pcspkr-event-spkr -> ../event10
├── event0
├── event1
├── event10
├── event11
├── event12
├── event13
├── event14
├── event15
├── event16
├── event17
├── event2
├── event3
├── event4
├── event5
├── event6
├── event7
├── event8
├── event9
├── js0
├── mice
├── mouse0
├── mouse1
└── mouse2

$ jstest /dev/js0
jstest: No such file or directory

Hey... wait a minute... Suddenly it works... What did I do? restarting? How do I mark for solved in this forum?

Last edited by kaizervonmaanen (2014-06-16 15:28:02)

Offline

#6 2014-06-16 15:33:07

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Gamepad not working on ARCH LINUX

Edit the first post and prepend [SOLVED] to the topic.

Offline

Board footer

Powered by FluxBB