Answer the question
In order to leave comments, you need to log in
What happened to udev in Ubuntu 12.04?
There is a piece of hardware based on the FTDI chip (essentially a USB to UART adapter), when turned on, it is written as /dev/ttyUSB0. After updating the system from under a normal user, access disappeared, it works only under root (and not even through sudo, you need a clean root).
I think it's not a problem, I create a file with rules in /etc/udev/rules.d:
SUBSYSTEM=="usb", ATTR{idProduct}=="6001", ATTR{idVendor}=="0403", MODE:="0666", NAME="ttyUSBx"
[email protected]:~$ ls -l /dev/ttyU*
crw-rw---- 1 root dialout 188, 0 окт. 17 20:54 /dev/ttyUSB0
crw-rw-rw- 1 root root 189, 897 окт. 17 20:54 /dev/ttyUSBx
[email protected]:~$ echo 1 > /dev/ttyUSBx
bash: echo: ошибка записи: Недопустимый аргумент
Answer the question
In order to leave comments, you need to log in
Have you just NAME="ttyUSB%n"
not tried it?
Well, or add yourself to the dialout group.
And in such cases, it is worth bringing the tail from dmesg
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question