Como encontro / dev / X no Ubuntu?

0

Estou usando o Ubuntu 16.04 e tentando configurar o Huawei K5150. Eu instalei usb_modeswitch e consegui fazer o dispositivo reconhecido como modem:

Mar 19 04:19:54 b kernel: [ 9796.066298] usb 1-5: USB disconnect, device number 2
Mar 19 04:19:54 b kernel: [ 9796.438807] usb 1-5: new high-speed USB device number 4 using ehci-pci
Mar 19 04:19:55 b kernel: [ 9796.572431] usb 1-5: New USB device found, idVendor=12d1, idProduct=1575
Mar 19 04:19:55 b kernel: [ 9796.572437] usb 1-5: New USB device strings: Mfr=5, Product=4, SerialNumber=0
Mar 19 04:19:55 b kernel: [ 9796.572440] usb 1-5: Product: K5150
Mar 19 04:19:55 b kernel: [ 9796.572444] usb 1-5: Manufacturer: Vodafone (Huawei)
Mar 19 04:19:55 b kernel: [ 9796.639247] cdc_ether 1-5:1.0 eth0: register 'cdc_ether' at usb-0000:00:1d.7-5, CDC Ethernet Device, 58:2c:80:13:92:63
Mar 19 04:19:55 b kernel: [ 9796.639292] usbcore: registered new interface driver cdc_ether
Mar 19 04:19:55 b kernel: [ 9796.650152] cdc_ether 1-5:1.0 enx582c80139263: renamed from eth0

e

ifconfig enx582c80139263
enx582c80139263 Link encap:Ethernet  HWaddr 58:2c:80:13:92:63  
      BROADCAST MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

mas:

ls -l /sys/bus/usb-serial/devices
total 0
lrwxrwxrwx 1 root root 0 Mar 19 07:15 ttyUSB0 -> ../../../devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/ttyUSB0

e

udevadm info --name=/dev/ttyUSB0
P: /devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/ttyUSB0/tty/ttyUSB0
N: ttyUSB0
S: rfxcom
...

que é outro dispositivo.

Como obtenho um dispositivo para (/ dev / X) para o K5150?

    
por mamruoc 19.03.2018 / 10:17

0 respostas