Off-Topic > Off-Topic - Tiny Core Lounge

[Solved] xbox controller not working on TCL16 x86_64

<< < (13/19) > >>

GNUser:
I think the problem in TCL has something to do with ACL.

When I plug the controller in, this appears in /var/log/messages (strangely, the time in the ACL-related timestamps is incorrect):

--- Code: ---Dec 30 09:43:36 x230 kern.info kernel: usb 3-2: new full-speed USB device number 2 using xhci_hcd
Dec 30 09:43:36 x230 kern.info kernel: input: Generic X-Box pad as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/input/input17
Dec 30 09:43:36 x230 kern.info kernel: usbcore: registered new interface driver xpad
Dec 30 14:43:36 x230 daemon.err elogind-uaccess-command[7313]: Failed to apply ACL: Operation not supported
Dec 30 14:43:36 x230 daemon.err elogind-uaccess-command[7314]: Failed to apply ACL: Operation not supported

--- End code ---

Also, note in my previous post how  /dev/input/js0  in Devuan has a  +  in the permissions, whereas in TCL there is no  +

--- Code: ---TCL$ ls -l /dev/input/js0
crw-r--r--    1 root     root       13,   0 Dec 30 09:43 /dev/input/js0
--- End code ---
Does TCL support ACL (access control lists)?

EDIT: I was surprised to find that  acl.tcz  is already loaded (it must be a dependency of one of my extensions):

--- Code: ---$ tce-status -i | grep acl
acl
--- End code ---
Maybe my root filesystem needs to be mounted with the acl option? How would I do that?

Rich:
Hi GNUser

--- Quote from: GNUser on December 30, 2025, 09:47:40 AM --- ... Also, note in my previous post how  /dev/input/js0  in Devuan has a  +  in the permissions, whereas in TCL there is no  +

--- Code: ---TCL$ ls -l /dev/input/js0
crw-r--r--    1 root     root       13,   0 Dec 30 09:43 /dev/input/js0
--- End code ---
...
--- End quote ---
I did not notice that. It's like an extra bit appended to the permissions field.
I searched my entire /dev directory and could not find a single plus sign anywhere.

I did notice your js0 is  "root     root"  while Devuan is set as  "root input"

Rich:
Hi GNUser
I've never had to deal with ACLs, but this suggests that's what
the plus sign indicates:
https://serverfault.com/questions/227852/what-does-a-mean-at-the-end-of-the-permissions-from-ls-l

Rich:
Hi GNUser

--- Quote from: Rich on December 30, 2025, 10:01:27 AM ---  ... I did notice your js0 is  "root     root"  while Devuan is set as  "root input"
--- End quote ---
And Devuan has rw for group permissions.

GNUser:

--- Quote from: Rich on December 30, 2025, 10:01:27 AM ---I did notice your js0 is  "root     root"  while Devuan is set as  "root input"

--- End quote ---
Hi Rich. Yes, I noticed the "root input" ownership of  /dev/input/js0  in Devuan. But since I'm not part of the  input  group in Devuan, I think it's ACL and the extra  +  permission bit that's allowing my normal user to use input device without sudo.

Here https://wiki.archlinux.org/title/Access_Control_Lists#Enable_ACL it says that filesystem must be mounted with the  acl  option for ACL to work. My frugal TCL install is in /dev/sda1...

--- Code: ---TCL$ cat /etc/fstab
# /etc/fstab
proc            /proc        proc    defaults          0       0
sysfs           /sys         sysfs   defaults          0       0
devpts          /dev/pts     devpts  defaults          0       0
tmpfs           /dev/shm     tmpfs   defaults          0       0
/dev/zram0      swap         swap    defaults,noauto   0       0
/dev/sda1       /mnt/sda1       ext4     noauto,users,exec    0 0 # Added by TC
/dev/sda2       /mnt/sda2       ext4     noauto,users,exec    0 0 # Added by TC
/dev/sda3       /mnt/sda3       ext4     noauto,users,exec    0 0 # Added by TC
/dev/sda4       /mnt/sda4       ext4     noauto,users,exec    0 0 # Added by TC
/dev/sda6       /mnt/sda6       vfat     noauto,users,exec,umask=000 0 0 # Added by TC
--- End code ---
...but I'm not sure whether adding  acl  to the options for /dev/sda1 would help since TCL's root filesystem is in RAM. How do I change options of TCL's root filesystem?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version