/ dev / ttyUSB0 não existe

2

Eu tenho um problema para conectar meu no-break à minha porta USB. Esta é uma informação do meu sistema.

warun@Warun-DDPC:~ $uname -a
Linux Warun-DDPC 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

warun@Warun-DDPC:~ $cat /etc/issue
Ubuntu 13.04 \n \l

warun@Warun-DDPC:~ $lsusb |grep Serial
Bus 002 Device 007: ID 0665:5161 Cypress Semiconductor USB to Serial

Confirmado que é este dispositivo reconectando o cabo

dmesg :

[72169.451629] usb 2-1.6: new low-speed USB device number 7 using ehci-pci
[72169.549517] usb 2-1.6: New USB device found, idVendor=0665, idProduct=5161
[72169.549522] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[72169.549524] usb 2-1.6: Product: USB to Serial
[72169.549527] usb 2-1.6: Manufacturer: INNO TECH
[72169.554498] hid-generic 0003:0665:5161.000D: hiddev0,hidraw7: USB HID v1.00 Device [INNO TECH USB to Serial] on usb-0000:00:1d.0-1.6/input0
[72685.019094] usbcore: registered new interface driver usbserial
[72685.019104] usbcore: registered new interface driver usbserial_generic
[72685.019110] usbserial: USB Serial support registered for generic

De /sys/devices/ :

warun@Warun-DDPC:~ $ls -ltrad /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6
drwxr-xr-x 5 root root 0 Aug 19 14:27 /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6
warun@Warun-DDPC:~ $ls /sys/bus/usb/devices/ -ltrah
total 0
lrwxrwxrwx 1 root root 0 Aug 19 14:27 usb4 -> ../../../devices/pci0000:00/0000:00:14.0/usb4
lrwxrwxrwx 1 root root 0 Aug 19 14:27 usb3 -> ../../../devices/pci0000:00/0000:00:14.0/usb3
lrwxrwxrwx 1 root root 0 Aug 19 14:27 usb2 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2
lrwxrwxrwx 1 root root 0 Aug 19 14:27 usb1 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1
lrwxrwxrwx 1 root root 0 Aug 19 14:27 4-0:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-0:1.0
lrwxrwxrwx 1 root root 0 Aug 19 14:27 3-0:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb3/3-0:1.0
lrwxrwxrwx 1 root root 0 Aug 19 14:27 2-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-0:1.0 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-0:1.0
drwxr-xr-x 4 root root 0 Aug 19 14:27 ..
drwxr-xr-x 2 root root 0 Aug 19 14:27 .
lrwxrwxrwx 1 root root 0 Aug 19 14:27 2-1:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
lrwxrwxrwx 1 root root 0 Aug 19 14:27 2-1 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1.1:1.1 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1.1:1.0 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1:1.0 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1.1 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1.2 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1.6:1.0 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1.6 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1.2:1.2 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.2
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1.2:1.1 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1
lrwxrwxrwx 1 root root 0 Aug 19 14:27 1-1.2:1.0 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0
lrwxrwxrwx 1 root root 0 Aug 20 10:30 3-3.3 -> ../../../devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.3
lrwxrwxrwx 1 root root 0 Aug 20 10:30 3-3 -> ../../../devices/pci0000:00/0000:00:14.0/usb3/3-3
lrwxrwxrwx 1 root root 0 Aug 20 10:30 2-1.6 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6
lrwxrwxrwx 1 root root 0 Aug 20 10:30 2-1.5 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5
lrwxrwxrwx 1 root root 0 Aug 20 10:31 3-3.3:1.1 -> ../../../devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.3/3-3.3:1.1
lrwxrwxrwx 1 root root 0 Aug 20 10:31 3-3.3:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.3/3-3.3:1.0
lrwxrwxrwx 1 root root 0 Aug 20 10:31 3-3:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0
lrwxrwxrwx 1 root root 0 Aug 20 10:31 2-1.6:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0
lrwxrwxrwx 1 root root 0 Aug 20 10:31 2-1.5:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0

No entanto, não mostra /dev/ttyUSB* . Não tenho certeza do que sinto falta aqui.

    
por scalopus 20.08.2013 / 06:33

1 resposta

1

  • Possivelmente é criado com outro nome. Verifique se existe algum nó /dev criado seguindo as instruções de Como permitir o acesso de software a qualquer dispositivo USB?

  • Mesmo que Jakob disse no comentário, parece que o novo dispositivo está ligado driver usbhid . Você pode verificar isso usando:

    lsusb -t
    
  • Outra maneira de verificar tudo isso usando udevadm

    1. Desconecte-o
    2. Execute o monitor do udev

      sudo udevadm monitor -u
      
    3. Copie o caminho mais longo, use-o para obter todas as informações necessárias

      sudo udevadm info -a --path=/sys/<thatpath>
      
por user.dz 04.09.2015 / 15:38