Hopefully not just a simple linux issue, but we’re using the Colibri iMX8 with a custom image for a new project. It’s connected to a serial rfid reader on UART A on device ‘/dev/ttyLP3’. This defaults to -
crw–w---- 1 root tty 239, 3 Jul 13 13:15 /dev/ttyLP3
and has a symlink to -
lrwxrwxrwx 1 root root 6 Jul 13 16:21 /dev/colibri-ttya → ttyLP3
Works fine running some test rfid code and my dev app as root, but I’m getting a permissions error when
running as our production user because ttyLP3 is group W, not group RW (I added this user to the tty group, but still no go).
- created a udev rule to set permissions, it runs a few times but then reverts back to the permissions above.
(udev has worked fine in the past, but the permissions here keeping changing back)
- I’m starting to think UART A on the imx8 is the issue…would another one be more appropriate to use?
- are the permissions for that device configurable in the device tree for me to change?