Firstly a big thank you to everyone that has put the time into
developing OpenWrt, its absolutely superb!
I've been running OpenWrt (backfire / 10.03) for a couple of months now
(on an Omnima / Infineon ADM5120 embedded controller), building from
source and most things are working perfectly, I just have an outstanding
question regarding udevd.
Using a rules file (/etc/udev/rules.d/99-local.rules) with the following in:
ATTRS{modalias}=="usb:v0403p6001d0600dc00dsc00dp00icFFiscFFipFF",ATTRS{serial}=="A9008WUM",SYMLINK+="tnc"
doesn't work (the symlink is not created in /dev even after running
"udevadm trigger"), however changing the rule to:
ATTRS{manufacturer}=="FTDI",ATTRS{product}=="FT232R USB
UART",ATTRS{serial}=="A9008WUM",SYMLINK+="tnc"
does work. I don't understand why the ARRRS{modalias} doesn't match.
Running:
$ udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB1) | grep modalias
ATTRS{modalias}=="usb:v0403p6001d0600dc00dsc00dp00icFFiscFFipFF"
ATTRS{modalias}=="platform:adm5120-hcd"
Shows the correct value.
I can use the second option, but I would like to understand why the
"ATTRS{modalias}" doesn't work.
Many thanks, Reuben
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel