Sou novato no Ubuntu. Eu tenho um quadro de execução do Ubuntu para desenvolvimento embarcado. Estou tentando configurar o modem Huawei EC315 para conectividade de rede.
A saída de lsusb
é a seguinte:
root@texe_hub:~# lsusb
lsusb: cannot open "/usr/share/usb.ids", No such file or directoryBus 002 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 12d1:14db
Bus 001 Device 001: ID 1d6b:0002
Eu consegui mudar o dispositivo do armazenamento em massa para o Modem usando o comando abaixo:
root@texe_hub:/etc/udev/rules.d# usb_modeswitch -v 12d1 -p 1f01 -J
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 003 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
Manufacturer: Huawei Technologies
Product: HUAWEI Mobile
Serial No.: not provided
Using standard Huawei switching message
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reset response endpoint 0x81
Reset message endpoint 0x01
- > Execute lsusb para anotar quaisquer alterações. Tchau!
Depois disso, quando tento carregar o driver usando modprobe
, estou recebendo o erro abaixo.
root@texe_hub:~# modprobe usbserial vendor=0x12d1 product=0x14db
[ 312.839711] usbcore: registered new interface driver usbserial
[ 312.857796] usbcore: registered new interface driver usbserial_generic
[ 312.877136] usbserial: USB Serial support registered for generic
[ 312.883334] usbserial_generic 1-1:1.0: Generic device with no bulk out, not allowed.
[ 312.904695] usbserial_generic: probe of 1-1:1.0 failed with error -5
[ 312.911203] usbserial_generic 1-1:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
[ 312.934684] usbserial_generic 1-1:1.1: Tell [email protected] to add your device to a proper driver.
[ 312.954987] usbserial_generic 1-1:1.1: generic converter detected
[ 312.979489] usb 1-1: generic converter now attached to ttyUSB0
Como corrigir esse problema? Por favor, orientem sobre o que posso fazer para que funcione.