Off-Topic > Off-Topic - Tiny Core Lounge
[Solved] xbox controller not working on TCL16 x86_64
GNUser:
I'd like to investigate whether these errors in /var/log/messages have anything to do with the problem:
--- Code: ---Dec 30 16:32:31 x230 daemon.err elogind-uaccess-command[19418]: Failed to apply ACL: Operation not supported
Dec 30 16:32:31 x230 daemon.err elogind-uaccess-command[19419]: Failed to apply ACL: Operation not supported
--- End code ---
Can anyone assist me in enabling acl on TCL's root filesystem? I tried adding acl to options in /etc/fstab , adding /etc/fstab to my backup, then booting with the nofstab bootcode, but that causes my system to hang during boot.
I also tried remixing the rootfs--replacing the default /etc/fstab in corepure64.gz with version copied from my running system, just adding acl by the partition that contains my frugal install. This also causes a hang during boot.
Juanito:
--- Quote from: GNUser on December 30, 2025, 11:31:31 AM ---EDIT: No luck with your idea, Juanito
--- End quote ---
..strange, see:
--- Code: ---grep staff /etc/udev/rules.d/*
--- End code ---
GNUser:
Hi Juanito. I made the appropriate edit, going into etc/udev/rules.d/50-udev-default.rules and changing this line:
--- Code: ---KERNEL=="js[0-9]*", MODE="0644"
--- End code ---
to this:
--- Code: ---KERNEL=="js[0-9]*", MODE="0664", GROUP="staff"
--- End code ---
The change has the expected effect: When I plugin the gamepad now, /dev/input/js0 is owned by root:staff and has 664 permissions.
By "no luck" I meant that the above did not solve my problem--running the game with sudo is still needed for game to respond to gamepad input.
GNUser:
--- Quote from: GNUser on December 30, 2025, 10:44:27 AM ---Maybe one of the steps involved in launching the game uses a command in /sbin that requires sudo?
--- End quote ---
To answer my own question: No. I renamed /sbin to /__sbin and /usr/sbin to /usr/__sbin then launched the game with and without sudo: Game launches just fine, but gamepad works only when launched with sudo.
So here is where I am at the moment:
1. everything in the game's directory is owned by my regular user (bruno), with rwx permissions
2. game does not need anything in /sbin or /usr/sbin (so presumably there are no sudo-requiring steps to launching or running the game)
3. I downgraded ownership of /dev/input/js0 from root:root to root:staff (and also tried bruno:staff)
Yet:
4. game only recognizes button presses if game is run with sudo
It doesn't seem to make sense. It seems I've eliminated all the obvious possibilities. The cause of this problem must be something strange and un-unix-like. I think I'm ready to throw in the towel :(
patrikg:
I think you can solved it with strace, but i think you need a lot of storage :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version