Ich habe hier ein abgespecktes Image von Debian. Leider wird zwar mein
USB Device erkannt (es handelt sich um ein CP210x) aber es wird kein
ttyUSB0 unter dev angelegt. Kann sich daraus jemand einen Reim machen?
root@Repetier:/dev# lsusb -t
1 | /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|
2 | |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
|
3 | |__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
|
4 | /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|
5 | |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|
root@Repetier:/dev# dmesg | grep cp210
1 | [32670.248185] usbcore: registered new interface driver cp210x
|
2 | [32670.248196] usbserial: USB Serial support registered for cp210x
|
3 | [32670.248213] cp210x 2-1.4:1.0: cp210x converter detected
|
4 | [32670.251472] usb 2-1.4: cp210x converter now attached to ttyUSB0
|
5 | [40208.207449] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
|
6 | [40208.207491] cp210x 2-1.4:1.0: device disconnected
|
7 | [40210.858313] cp210x 2-1.4:1.0: cp210x converter detected
|
8 | [40210.861221] usb 2-1.4: cp210x converter now attached to ttyUSB0
|
9 | [40230.760461] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
|
10 | [40230.760503] cp210x 2-1.4:1.0: device disconnected
|
11 | [40243.614762] cp210x 1-1.1:1.0: cp210x converter detected
|
12 | [40243.617755] usb 1-1.1: cp210x converter now attached to ttyUSB0
|
root@Repetier:/dev# find / -type d -name "ttyUSB0"
1 | find: ‘/sys/kernel/debug’: Keine Berechtigung
|
2 | /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/ttyUSB0
|
3 | /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/ttyUSB0/tty/ttyUSB0
|
root@Repetier:/dev# ls -l
1 | insgesamt 0
|
2 | crw--w---- 1 root tty 136, 0 19. Okt 10:39 console
|
3 | lrwxrwxrwx 1 root root 11 19. Okt 10:39 core -> /proc/kcore
|
4 | lrwxrwxrwx 1 root root 13 19. Okt 10:39 fd -> /proc/self/fd
|
5 | crw-rw-rw- 1 root root 1, 7 19. Okt 10:39 full
|
6 | drwxr-xr-x 2 root root 0 19. Okt 10:39 hugepages
|
7 | lrwxrwxrwx 1 root root 12 19. Okt 10:39 initctl -> /run/initctl
|
8 | lrwxrwxrwx 1 root root 28 19. Okt 10:39 log -> /run/systemd/journal/dev-log
|
9 | drwxrwxrwt 2 root root 40 19. Okt 10:39 mqueue
|
10 | crw-rw-rw- 1 root root 1, 3 19. Okt 10:39 null
|
11 | crw-rw-rw- 1 root root 5, 2 19. Okt 11:07 ptmx
|
12 | drwxr-xr-x 2 root root 0 19. Okt 10:39 pts
|
13 | crw-rw-rw- 1 root root 1, 8 19. Okt 10:39 random
|
14 | drwxrwxrwt 2 root root 40 19. Okt 10:39 shm
|
15 | lrwxrwxrwx 1 root root 15 19. Okt 10:39 stderr -> /proc/self/fd/2
|
16 | lrwxrwxrwx 1 root root 15 19. Okt 10:39 stdin -> /proc/self/fd/0
|
17 | lrwxrwxrwx 1 root root 15 19. Okt 10:39 stdout -> /proc/self/fd/1
|
18 | crw-rw-rw- 1 root root 5, 0 19. Okt 10:39 tty
|
19 | crw------- 1 root tty 136, 1 19. Okt 11:07 tty1
|
20 | crw--w---- 1 root tty 136, 2 19. Okt 10:39 tty2
|
21 | crw-rw-rw- 1 root root 1, 9 19. Okt 10:39 urandom
|
22 | crw-rw-rw- 1 root root 1, 5 19. Okt 10:39 zero
|
Hat da irgendjemand ein Reim darauf?!