Hi,
I am using the Type-C port of the Jetson to connect to the USB port of the PC and communicating via the virtual serial port ttyGS0.
However, ttyGS0 does not have read permissions for the current user group. I set the permissions using /etc/udev/rules.d/99-ttyGS0.rules
, and after running udevadm trigger
, the permissions for ttyGS0 are updated. But after a while, the permissions revert to the original state.
Can you provide some suggestions regarding this issue?
nv-oem-config.sh
nv-l4t-usb-device-mode.service
These are the files that will configure ttyGS0 provided from our side. Maybe you can check if disable them would affect the result.
This might be completely wrong, but consider this:
- That device special file is a result of a driver attaching to a device. If the driver unloads and reloads, something can change.
- Even if there is a
udev
rule, if something causes the USB to detach and reattach, then it might enumerate such that theudev
rule does not trigger (though it probably should trigger).
I am just thinking that if you monitor “dmesg --follow
”, and happen to see the log which occurs at the moment the permissions change, then it might provide a clue (especially if it is a USB enumeration).