You are not logged in.

#1 2014-01-16 23:27:47

alex404
Member
Registered: 2009-12-03
Posts: 51

Logitech F310 Gamepad only works with Display Manager [SOLVED]

So I bought a couple Logitech F310 gamepads, for, well, gaming, and I had a hell of a time trying to get my games to respond to them. I run XMonad, and boot it directly via xinit. On a whim, I tried activating gdm and logging into a gnome session, and presto, my controllers worked. I got a bare bones xmonad session file going, and eventually switched over to lxdm just for testing purposes, and the controllers would continue to work like a charm.

Now, I would prefer to not to have to use a display manager, though it's not a deal breaker (though they seem to introduce other problems -- now systemd hangs on shutdown when I'm using lxdm). Still, I'm curious as to what kind of an effect the mere activation of a display manager could have on the system which would cause it to properly recognize the gamepads. To be clear, without a display manager, the pads are detected, are correctly listed in /dev/input. and I can even run jstest and see that they respond well (though they seem oddly configured), but games will not recognize their existence, and so they're effectively useless.

Any help would be appreciated.

Last edited by alex404 (2014-04-08 21:16:07)

Offline

#2 2014-01-26 04:40:37

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: Logitech F310 Gamepad only works with Display Manager [SOLVED]

I'm not able to get this controller to work with Awesome windows manager. I installed Gnome, but it didn't work.

Last edited by shadeless (2014-01-26 05:47:44)

Offline

#3 2014-01-26 05:47:17

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: Logitech F310 Gamepad only works with Display Manager [SOLVED]

I also tried installing xboxdrv and using the xboxdrv --mimic-xpad command. It said that it couldn't find an xbox controller.

Last edited by shadeless (2014-01-26 05:49:48)

Offline

#4 2014-01-28 12:01:51

alex404
Member
Registered: 2009-12-03
Posts: 51

Re: Logitech F310 Gamepad only works with Display Manager [SOLVED]

It would appear that this is related to this post as well:

https://bbs.archlinux.org/viewtopic.php?pid=1368721

Here's a list of processes that run when I'm using LXDM, versus XMonad:

kworker/u16:8
kworker/6:2
irq/46-iwlwifi
login
xinit
irq/44-iwlwifi
kworker/2:2
kworker/2:3
lxdm-binary
lxdm-session
gnome-keyring-d
pulseaudio
rtkit-daemon
gconf-helper
gconfd-2


The modules being listed are the same. Definitely an odd problem. I'm just resorting to using LXDM for now, even though I'd rather not.

Offline

#5 2014-01-30 02:40:09

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: Logitech F310 Gamepad only works with Display Manager [SOLVED]

The weird thing is, now it seems to be working out of the box for me, even with using Awesome WM. Some games don't really play well with this controller, but that doesn't seem to be the fault of linux or the windows manager. For example, Trine 2 doesn't work well with the controller. To make it do so, I have to do

sudo rmmod xpad
sudo xboxdrv --silent --mimic-xpad

I hope that helps.

Offline

#6 2014-04-08 21:15:47

alex404
Member
Registered: 2009-12-03
Posts: 51

Re: Logitech F310 Gamepad only works with Display Manager [SOLVED]

Okay, I finally figured it out and then did a huge face palm. I've always been starting X11 with xinit rather than startx. startx is of course the one you're actually supposed to run, and running it fixed a couple other bugs I've always had too. Cheers.

Offline

Board footer

Powered by FluxBB