Ubuntu 16.04 Modem USB detectado como CD-ROM. Incapaz de conectar

3

Estou enfrentando dificuldades na instalação do meu modem USB no Ubuntu 16.04. Na maioria das vezes eu conecto meu modem de banda larga USB, ele está conectado como CD-ROM.

O que eu entendi da web foi que usb-modeswitch pode ser usado para alternar para um dispositivo USB, mas não é possível alterá-lo. Mesmo a opção 'Enable Mobile Broadband' não é mostrada no gerenciador de rede (talvez porque não seja detectada como modem).

Coisas que tentei resolver este problema com sem sorte :

  1. Tentei usb_modeswitch :

    $sudo usb_modeswitch -I -W -c 12d1\:1505
    
    Read config file: 12d1:1505
    
     * usb_modeswitch: handle USB devices with multiple modes
     * Version 2.2.5 (C) Josua Dietze 2015
     * Based on libusb1/libusbx
    
     ! PLEASE REPORT NEW CONFIGURATIONS !
    
    DefaultVendor=  0x12d1
    DefaultProduct= 0x1505
    MessageContent="55534243123456780000000000000011062000000100000000000000000000"
    NeedResponse=0
    
    InquireDevice=1
    
    Look for default devices ...
      found USB ID 8087:8001
      found USB ID 1d6b:0002
      found USB ID 1d6b:0003
      found USB ID 05e3:0608
      found USB ID 12d1:1505
       vendor ID matched
       product ID matched
      found USB ID 17ef:600e
      found USB ID 1d6b:0002
     Found devices in default mode (1)
    Access device 012 on bus 002
    Current configuration number is 1
    Use interface number 0
    Use endpoints 0x08 (out) and 0x87 (in)
    Inquire device details; driver will be detached ...
    Looking for active driver ...
     No active driver found. Detached before or never attached
    
    SCSI inquiry data (for identification)
    -------------------------
      Vendor String: HUAWEI  
       Model String: Mass Storage    
    Revision String: 2.31
    -------------------------
    
    USB description data (for identification)
    -------------------------
    Manufacturer: HUA?WEI TECHNOLOGIES
         Product: HUAWEI Mobile
      Serial No.: ???????????????????
    -------------------------
    Set up interface 0
    Use endpoint 0x08 for message sending ...
    Trying to send message 1 to endpoint 0x08 ...
     OK, message successfully sent
    Reset response endpoint 0x87
    Reset message endpoint 0x08
    -> Run lsusb to note any changes. Bye!
    
    $sudo modprobe usbserial vendor=0x12d1 product=0x1505
    
  2. Instalado sakis3g para se conectar ao modem, mas sem sorte, dá erro.

  3. A versão usb-modemswitch e usb-modeswitch-data para a versão 14.04 foi desatualizada, pois meu modem estava funcionando nessa versão.

dmesg output:

[ 6720.186115] wlp4s0: deauthenticating from 24:de:c6:92:e6:32 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 6720.385636] userif-2: sent link down event.
[ 6720.385643] userif-2: sent link up event.
[ 6770.784741] userif-2: sent link down event.
[ 6770.784748] userif-2: sent link up event.
[ 6773.520387] wlp4s0: authenticate with 24:de:c6:92:e6:32
[ 6773.526287] wlp4s0: send auth to 24:de:c6:92:e6:32 (try 1/3)
[ 6773.530702] wlp4s0: authenticated
[ 6773.534123] wlp4s0: associate with 24:de:c6:92:e6:32 (try 1/3)
[ 6773.541699] wlp4s0: RX AssocResp from 24:de:c6:92:e6:32 (capab=0x431 status=0 aid=1)
[ 6773.543920] wlp4s0: associated
[ 6773.648434] bridge-enp0s25: disabling the bridge
[ 6773.674082] bridge-enp0s25: down
[ 6773.674088] bridge-enp0s25: detached
[ 6773.674125] /dev/vmnet: open called by PID 2607 (vmnet-bridge)
[ 6773.674134] /dev/vmnet: hub 0 does not exist, allocating memory.
[ 6773.674151] /dev/vmnet: port on hub 0 successfully opened
[ 6773.674158] bridge-wlp4s0: device is wireless, enabling SMAC
[ 6773.674160] bridge-wlp4s0: up
[ 6773.674164] bridge-wlp4s0: attached
[ 6773.774151] userif-2: sent link down event.
[ 6773.774154] userif-2: sent link up event.
[ 7128.236448] e1000e: enp0s25 NIC Link is Down
[ 7128.436880] userif-2: sent link down event.
[ 7128.436883] userif-2: sent link up event.
[ 8602.833095] usb 2-4: new full-speed USB device number 12 using xhci_hcd
[ 8602.962666] usb 2-4: New USB device found, idVendor=12d1, idProduct=1505
[ 8602.962673] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[ 8602.962677] usb 2-4: Product: HUAWEI Mobile
[ 8602.962681] usb 2-4: Manufacturer: HUAÿWEI TECHNOLOGIES
[ 8602.962684] usb 2-4: SerialNumber: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
[ 8602.963681] usb-storage 2-4:1.0: USB Mass Storage device detected
[ 8602.965891] scsi host8: usb-storage 2-4:1.0
[ 8603.967998] scsi 8:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
[ 8603.977960] sr 8:0:0:0: [sr0] scsi-1 drive
[ 8603.978316] sr 8:0:0:0: Attached scsi CD-ROM sr0
[ 8603.978518] sr 8:0:0:0: Attached scsi generic sg1 type 5

lsusb output:

Bus 001 Device 002: ID 8087:8001 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 012: ID 12d1:1505 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Bus 002 Device 011: ID 17ef:600e Lenovo 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  

uname -ar output:

Linux 01-Linux 4.4.8-040408-generic #201604200335 SMP Wed Apr 20 07:37:30 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
    
por snoop 23.06.2016 / 08:17

1 resposta

2

Eu tive o mesmo problema e corrigi-lo. Você precisa instalar o driver da Huawei para o Ubuntu.

1) Configuração
Com o resultado de lsusb no terminal (para mim, o pid da minha Huawei foi 12d1:15d2 , por exemplo) Veja thread em ubuntuforums.org

2) Faça o download dos drivers:
 HUAWEI Data Cards Linux (clique em Baixar arquivo). Veja download.usbmodem.com

3) Instalação
Consulte o artigo sobre modemunlock.com

    
por Jean-Pascal Genoud 30.06.2016 / 20:51