You are not logged in.

#1 2022-10-30 10:30:39

xThiird
Member
Registered: 2022-05-17
Posts: 3

Can't assign symlink with udev rules for FTDI serial to USB

Hello,
I'm trying to assing a symlink to an FTDI serial to USB dongle with the following udev rule

# FTDI 232 UART bridge
KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE:="0666", SYMLINK+="DsdFtdiUart"

This rule is in file 99-stefano.udev:

[stefano@jarvis rules.d]$ ls -l
total 56
-rw-r--r-- 1 root root   245 Sep 20 10:49 49-stlinkv1.rules
-rw-r--r-- 1 root root   439 Sep 20 10:49 49-stlinkv2-1.rules
-rw-r--r-- 1 root root   253 Sep 20 10:49 49-stlinkv2.rules
-rw-r--r-- 1 root root  1368 Sep 20 10:49 49-stlinkv3.rules
-rw-r--r-- 1 root root  7749 Jun 11 11:09 60-openocd.rules
-rw-r--r-- 1 root root 21179 Sep 20 10:49 99-jlink.rules
-rw-r--r-- 1 root root   390 Oct 30 11:00 99-stefano.udev
-rwxr-xr-x 1 root root   203 May 24 18:26 99-USBasp.rules

My lsusb gives:

[stefano@jarvis rules.d]$ lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 045e:0779 Microsoft Corp. LifeCam HD-3000
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 9905:0001 Thiird Awareness16
Bus 003 Device 002: ID 9905:0003 Thiird Awareness
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04d9:a070 Holtek Semiconductor, Inc. USB Gaming Mouse
Bus 001 Device 006: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 0b05:1939 ASUSTek Computer, Inc. AURA LED Controller
Bus 001 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 011: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

And ls /dev/tty* lists the FTDI chip as ttyUSB0, so then I run

sudo udevadm control --reload && sudo udevadm trigger

but despite multiple reloads and reboots the symlink does not appear.

Any suggestion on why this doesn't work?

Thanks

Offline

Board footer

Powered by FluxBB