/srv/irclogs.ubuntu.com/2019/06/29/#xubuntu.txt

psilordHello, I just upgraded from 16.04 to 18.04 and ran into a problem where my xbox controller is being recognized by the kernel, but not by anything else. I looked around on line, but I didn't really see anything that might fix it. Anyone willing to help?04:46
psilorddmesg sees it, lsusb sees it, but xboxdrv doesn't.04:47
well_laid_lawnpsilord:  does this help https://www.reddit.com/r/linux_gaming/comments/9l7qdn/how_to_enable_xbox_one_controller_on_ubuntu_1804/04:49
psilordwell_laid_lawn: Here is a paste of the info: https://paste.ubuntu.com/p/y9nBpjf7F5/04:51
psilordchecking your link.04:51
psilordAh, I'm not using Steam. I'm writing my own games and using SDL2, etc.04:52
Alabalisticnow check groups and permissions04:52
psilordI have a wired xbox one clone.04:52
psilordone sec.04:52
AlabalisticI had the problem where the user cant read nothing on the cd, couse belong to root.04:54
psilordcrw-rw-r--+ 1 root input 13, 0 Jun 28 22:00 /dev/input/js004:54
psilord 04:54
psilordaha! I'm not in the input group.04:55
psilordBut, it is still r for other, so it should work?04:55
psilordI'll add myself to the input group, which seems plausible.04:55
psilordOr, do I need to add some udev rules, which I didn't need before.04:55
psilordHrm, when I run xboxdrv with sudo, it STILL doesn't tell me there are any devices.04:58
psilordSo, while there could be problems with persmissions, I don't think fixing that will help since root should have seen it.04:58
psilordI also, as root, did modprobe -r xpand, modprobe xpad, to reload the driver, no dice.04:59
AlabalisticSorry realy no other ideas. good lick05:00
psilordI did see something about fwupd not working correctly in 18.04, but it was only one post and I can't corroborate it wrt the xbox controller driver.05:00
psilordAlabalistic: thank you for your time.05:01
psilordAlabalistic: after a logout/in add myself to the input group didn't fix it.05:24
psilordjstest-gtk sees the controller, but no input from it gets registered.05:25
psilordAnd, most importantly, the light on the controller is off after it is plugged in.05:27
psilordSo, I found the answer. Apparently, it used ot be in the 16.04 kernels that more PDP xbox clone controllers were supported. But, somehow that support didn't get propogated to the 18.04 kernels.06:39
psilordAnd, in thr 4.18+ (I think kernels) ALL PDP controllers are likely supported automatically, as opposed to random subsets of them which is how it is in 18.04 right now.06:39
psilordSo, I ransacked a box full of PDP xbox one controllers I had until I found one that happened to be in the xpad module in code database for the kernel revision I have.06:40
psilordSo extremely sadly, that's the answer.06:40
Alabalisticgreat feedback06:41
psilordHere is the patch that fixes them all: https://github.com/torvalds/linux/commit/a6754fae1e66e9a40fed406290d7ca3f2b4d227c06:42
psilordbut I'm not sure what kernel revision that went into.06:42
psilordkernel 4.15 was supposed to have full support for PDP controllers, but it doesn't appear to be the case.06:50
psilordAh well, I have a working solution, though not a general one. Good enough to keep writing my game. Thanks all.06:52
psilord[Maybe that patch can be backported into the 4.15.0 base revision that xubunti 18.04 uses-hint hint!]06:55
psilordAh, my mistake, that patch that fixes all of them is actually in kernel revision 4.20. So, hopefully it'll get back ported. The fix is small and adds support for a LOT of cheap generic controllers.07:14
fradim on 18.04. While logging in I see a stylized sun or circle (yellow) on a dark blue canvas. If this is the splash screen, how do I get rid of it?14:42
uvizachanI feel you, frad. I wish I could set up the log in screen's resolution, but I can't. Two different buggering situations17:38

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!