Internal HUAWEI Mobile Broadband Module not showing up as USB device

Bug #1673250 reported by Steffen Neumann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Hi,
I am running an Acer P645 with internal USB UMTS modem.
The modem works using a 16.04.1 live USB stick,
but not on the installed on-disk 16.04.2.

Below is the lsusb -v in from the live-USB where the UMTS modem works,
first the USB Hub usb2, then the Huawei device. The information
from the running system where the modem does not show up is attached through apport.

I also have access to dmesg on both systems, see further below
for the successful case. I also tried to copy kernel and modules
from the live-USB to the hadr disk, booted successfully,
but still nothing in lsusb. I also tried a few times to use

for i in /sys/bus/pci/drivers/[uoex]hci_hcd/*:*; do
  echo "${i##*/}" > "${i%/*}/unbind"
  echo "${i##*/}" > "${i%/*}/bind"
done

for resetting the bus, still the same.

I would welcome some suggestions what to test, if there could be
a firmware issue blocking the UMTS, if teh modem could be blacklisted
(how do I check that ?) whether udev or systemd could be a problem,
whether there could be a missing package in the HDD installation (which?!)
or if UEFI in the boot chain ("sdhci: Secure Digital Host Controller Interface driver")
could cause an issue.

Or if it makes sense to manually run usb_modeswitch (how?)
without the device even be in lsusb ?

Yours,
Steffen

============================================================

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize0 64
  idVendor 0x1d6b Linux Foundation
  idProduct 0x0002 2.0 root hub
  bcdDevice 4.04
  iManufacturer 3 Linux 4.4.0-31-generic xhci-hcd
  iProduct 2 xHCI Host Controller
  iSerial 1 0000:00:14.0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0004 1x 4 bytes
        bInterval 12
Hub Descriptor:
  bLength 11
  bDescriptorType 41
  nNbrPorts 9
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood 10 * 2 milli seconds
  bHubContrCurrent 0 milli Ampere
  DeviceRemovable 0x88 0x00
  PortPwrCtrlMask 0xff 0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0503 highspeed power enable connect
   Port 6: 0000.0503 highspeed power enable connect
   Port 7: 0000.0103 power enable connect
   Port 8: 0000.0103 power enable connect
   Port 9: 0000.0100 power
Device Status: 0x0001
  Self Powered

Bus 002 Device 006: ID 12d1:1570 Huawei Technologies Co., Ltd.
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 255 Vendor Specific Class
  bDeviceSubClass 2
  bDeviceProtocol 1
  bMaxPacketSize0 64
  idVendor 0x12d1 Huawei Technologies Co., Ltd.
  idProduct 0x1570
  bcdDevice 0.01
  iManufacturer 5 Huawei Technologies Co., Ltd.
  iProduct 4 HUAWEI Mobile Broadband Module
  iSerial 0
  bNumConfigurations 2
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 295
    bNumInterfaces 5
    bConfigurationValue 1
    iConfiguration 2 configuration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 500mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 2
      bInterfaceProtocol 1
      iInterface 0
      ** UNRECOGNIZED: 05 24 00 10 01
      ** UNRECOGNIZED: 04 24 02 03
      ** UNRECOGNIZED: 05 24 01 00 00
      ** UNRECOGNIZED: 05 24 06 00 00
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 5
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 2
      bInterfaceProtocol 2
      iInterface 0
      ** UNRECOGNIZED: 05 24 00 10 01
      ** UNRECOGNIZED: 04 24 02 02
      ** UNRECOGNIZED: 05 24 01 00 01
      ** UNRECOGNIZED: 05 24 06 01 01
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x02 EP 2 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 2
      bInterfaceProtocol 3
      iInterface 0
      ** UNRECOGNIZED: 05 24 00 10 01
      ** UNRECOGNIZED: 04 24 02 02
      ** UNRECOGNIZED: 05 24 01 00 02
      ** UNRECOGNIZED: 05 24 06 02 02
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x84 EP 4 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x03 EP 3 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 3
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 11 Chip/SmartCard
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 0
      ChipCard Interface Descriptor:
        bLength 54
        bDescriptorType 33
        bcdCCID 1.10 (Warning: Only accurate for version 1.0)
        nMaxSlotIndex 0
        bVoltageSupport 7 5.0V 3.0V 1.8V
        dwProtocols 3 T=0 T=1
        dwDefaultClock 3250
        dwMaxiumumClock 3250
        bNumClockSupported 1
        dwDataRate 8737 bps
        dwMaxDataRate 8737 bps
        bNumDataRatesSupp. 1
        dwMaxIFSD 254
        dwSyncProtocols 00000007 2-wire 3-wire I2C
        dwMechanical 00000000
        dwFeatures 000207B6
          Auto configuration based on ATR
          Auto activation on insert
          Auto clock change
          Auto baud rate change
          Auto PPS made by CCID
          CCID can set ICC in clock stop mode
          NAD value other than 0x00 accepted
          Auto IFSD exchange
          Short APDU level exchange
        dwMaxCCIDMsgLen 271
        bClassGetResponse echo
        bClassEnvelope echo
        wlcdLayout none
        bPINSupport 0
        bMaxCCIDBusySlots 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x04 EP 4 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 8
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x85 EP 5 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 8
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x86 EP 6 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 4
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 4
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 2
      bInterfaceProtocol 7
      iInterface 0
      ** UNRECOGNIZED: 05 24 00 10 01
      ** UNRECOGNIZED: 0d 24 0f 01 05 00 00 00 ea 05 03 00 01
      ** UNRECOGNIZED: 05 24 06 04 04
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x87 EP 7 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 5
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 4
      bAlternateSetting 1
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 2
      bInterfaceProtocol 7
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x87 EP 7 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 5
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x88 EP 8 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x05 EP 5 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 87
    bNumInterfaces 2
    bConfigurationValue 2
    iConfiguration 3 configuration 1
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 500mA
    Interface Association:
      bLength 8
      bDescriptorType 11
      bFirstInterface 0
      bInterfaceCount 2
      bFunctionClass 2 Communications
      bFunctionSubClass 14
      bFunctionProtocol 0
      iFunction 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 2 Communications
      bInterfaceSubClass 14
      bInterfaceProtocol 0
      iInterface 0
      CDC Header:
        bcdCDC 1.10
      CDC MBIM:
        bcdMBIMVersion 1.00
        wMaxControlMessage 1024
        bNumberFilters 16
        bMaxFilterSize 20
        wMaxSegmentSize 1500
        bmNetworkCapabilities 0x20
          8-byte ntb input size
      CDC Union:
        bMasterInterface 0
        bSlaveInterface 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 5
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 0
      bInterfaceClass 10 CDC Data
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 2
      iInterface 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 10 CDC Data
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 2
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 32
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 255 Vendor Specific Class
  bDeviceSubClass 2
  bDeviceProtocol 1
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0000
  (Bus Powered)

============================================================

dmesg from the live-USB system, where loading succeeded:

[ 27.969230] usb 2-5: new high-speed USB device number 6 using xhci_hcd
[ 28.099108] usb 2-5: New USB device found, idVendor=12d1, idProduct=1570
[ 28.099112] usb 2-5: New USB device strings: Mfr=5, Product=4, SerialNumber=0
[ 28.099113] usb 2-5: Product: HUAWEI Mobile Broadband Module
[ 28.099115] usb 2-5: Manufacturer: Huawei Technologies Co., Ltd.
[ 28.126501] usbcore: registered new interface driver usbserial
[ 28.126814] usbcore: registered new interface driver usbserial_generic
[ 28.126934] usbserial: USB Serial support registered for generic
[ 28.138853] usbcore: registered new interface driver option
[ 28.138874] usbserial: USB Serial support registered for GSM modem (1-port)
[ 28.139003] option 2-5:1.0: GSM modem (1-port) converter detected
[ 28.139103] usb 2-5: GSM modem (1-port) converter now attached to ttyUSB0
[ 28.139128] option 2-5:1.1: GSM modem (1-port) converter detected
[ 28.139205] usb 2-5: GSM modem (1-port) converter now attached to ttyUSB1
[ 28.139231] option 2-5:1.2: GSM modem (1-port) converter detected
[ 28.139305] usb 2-5: GSM modem (1-port) converter now attached to ttyUSB2

============================================================

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-66-generic 4.4.0-66.87
ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
Uname: Linux 4.4.0-66-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: sneumann 3622 F.... pulseaudio
 /dev/snd/controlC0: sneumann 3622 F.... pulseaudio
CurrentDesktop: Unity
Date: Wed Mar 15 21:11:13 2017
HibernationDevice: RESUME=UUID=02898e95-482f-4b5b-995a-f988fe79a8b0
InstallationDate: Installed on 2017-01-03 (70 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: Acer TMP645-M
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-66-generic.efi.signed root=/dev/mapper/ssd-root--trusty ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-66-generic N/A
 linux-backports-modules-4.4.0-66-generic N/A
 linux-firmware 1.157.8
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/30/2015
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V2.14
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: BAD40_HW
dmi.board.vendor: Acer
dmi.board.version: V2.14
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvrV2.14:bd04/30/2015:svnAcer:pnTMP645-M:pvrV2.14:rvnAcer:rnBAD40_HW:rvrV2.14:cvnAcer:ct10:cvrChassisVersion:
dmi.product.name: TMP645-M
dmi.product.version: V2.14
dmi.sys.vendor: Acer

Revision history for this message
Steffen Neumann (sneumann) wrote :
description: updated
Revision history for this message
Steffen Neumann (sneumann) wrote :
Download full text (12.9 KiB)

I also have a comparison of kernel modules between the successful (left)
and broken (right) lsmod output. Blindly loading all modules listed in
the working instance did not help. Ideas ? Yours, Steffen

diff -y lsmod-sorted.txt lsmod-broken.txt
8250_dw 16384 0 8250_dw 16384 0
ablk_helper 16384 1 aesni_intel ablk_helper 16384 1 aesni_intel
ac97_bus 16384 1 snd_soc_core ac97_bus 16384 1 snd_soc_core
acer_wmi 20480 0 acer_wmi 20480 0
aesni_intel 167936 0 aesni_intel 167936 0
aes_x86_64 20480 1 aesni_intel aes_x86_64 20480 1 aesni_intel
ahci 36864 2 | ahci 36864 3
arc4 16384 2 arc4 16384 2
             > aufs 217088 0
autofs4 40960 2 autofs4 40960 2
bluetooth 520192 29 bnep,btbcm,btrtl,btusb,rfcom | binfmt_misc 20480 1
             > bluetooth 520192 39 bnep,btbcm,btrtl,btusb,rfcom
bnep 20480 2 bnep 20480 2
             > bridge 126976 1 br_netfilter
             > br_netfilter 24576 0
btbcm 16384 1 btusb btbcm 16384 1 btusb
btintel 16384 1 btusb btintel 16384 1 btusb
btrtl 16384 1 btusb btrtl 16384 1 btusb
btusb 45056 0 btusb 45056 0
cfg80211 565248 3 iwlwifi,mac80211,iwlmvm cfg80211 565248 3 iwlwifi,mac80211,iwlmvm
coretemp 16384 0 coretemp 16384 0
crc32_pclmul 16384 0 crc32_pclmul 16384 0
crct10dif_pclmul 16384 0 crct10dif_pclmul 16384 0
cryptd 20480 2 aesni_intel,ablk_helper | cryptd 20480 3 ghash_clmulni_intel,aesni_int
dell_smo8800 16384 0 dell_smo8800 16384 0
dm_log 20480 2 dm_region_hash,dm_mirror | drm 364544 5 i915,drm_kms_helper
dm_mirror 24576 0 | drm_kms_helper 155648 1 i915
dm_region_hash 24576 1 dm_mirror <
drm 360448 6 i915,drm_kms_helper <
drm_kms_helper 147456 1 i915 <
dw_dmac 16384 0 dw_dmac 16384 0
dw_dmac_core 24576 1 dw_dmac dw_dmac_core 24576 1 dw_dmac
e1000e 237568 0 e1000e 237568 0
elan_i2c 36864 0 elan_i2c 36864 0
fb_sys_fops 16384 1 drm_kms_helper fb_sys_fops 16384 1 drm_kms_helper
fjes 28672 0 fjes 28672 0
gf128mul 16384 1 lrw gf128mul 16384 1 lrw
             > ghash_clmulni_intel 16384 0
glue_helper 16384 1 aesni_intel glue_helper 16384 1 aesni_intel
hci 45056 2 pn544...

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc2

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Steffen Neumann (sneumann) wrote :

There is a solution/workaround for the Acer Trabelmate P648 (successor of the P645,
possibly with the same / similar modem) in comment https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1735981/comments/8

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.