我想编辑在Ubuntu 14.10机器上创建设备的方式。
设备:USB UART
文件:/ dev / ttyUSB0
有什么方法可以找出是什么udev规则造成的?还是我只是写一个新书,并希望最好?
的lsusb
user@localhost:~$ lsusb
...
Bus 002 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
...
user@localhost:~$
dmesg的
user@localhost:~$ dmesg
...
[ 360.686771] usb 2-2.1: new full-speed USB device number 4 using uhci_hcd
[ 361.149691] usb 2-2.1: New USB device found, idVendor=0403, idProduct=6001
[ 361.149696] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 361.149698] usb 2-2.1: Product: FT232R USB UART
[ 361.149700] usb 2-2.1: Manufacturer: FTDI
[ 361.149702] usb 2-2.1: SerialNumber: A601EKK6
[ 361.199033] usbcore: registered new interface driver usbserial
[ 361.199044] usbcore: registered new interface driver usbserial_generic
[ 361.199051] usbserial: USB Serial support registered for generic
[ 361.229845] usbcore: registered new interface driver ftdi_sio
[ 361.229860] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 361.229913] ftdi_sio 2-2.1:1.0: FTDI USB Serial Device converter detected
[ 361.229935] usb 2-2.1: Detected FT232RL
[ 361.229937] usb 2-2.1: Number of endpoints 2
[ 361.229939] usb 2-2.1: Endpoint 1 MaxPacketSize 64
[ 361.229941] usb 2-2.1: Endpoint 2 MaxPacketSize 64
[ 361.229943] usb 2-2.1: Setting MaxPacketSize 64
[ 361.237661] usb 2-2.1: FTDI USB Serial Device converter now attached to ttyUSB0
user@localhost:~$