Package: usb-modeswitch Version: 2.5.0+repack0-1 Severity: normal Dear Maintainer,
I have a Telewell TW-3G HSPA+ modem (usb). When it is plugged the device is identified as usb mass storage. See the kernel log below (journalctl -fk): 2017-06-11T12:29:52+0000 mithlond kernel: usb 1-7: new high-speed USB device number 15 using xhci_hcd 2017-06-11T12:29:53+0000 mithlond kernel: usb 1-7: New USB device found, idVendor=1c9e, idProduct=98ff 2017-06-11T12:29:53+0000 mithlond kernel: usb 1-7: New USB device strings: Mfr=3, Product=2, SerialNumber=4 2017-06-11T12:29:53+0000 mithlond kernel: usb 1-7: Product: USB Modem 2017-06-11T12:29:53+0000 mithlond kernel: usb 1-7: Manufacturer: USB Modem 2017-06-11T12:29:53+0000 mithlond kernel: usb 1-7: SerialNumber: 1234567890ABCDEF 2017-06-11T12:29:53+0000 mithlond kernel: usb-storage 1-7:1.0: USB Mass Storage device detected 2017-06-11T12:29:53+0000 mithlond kernel: scsi host4: usb-storage 1-7:1.0 2017-06-11T12:29:53+0000 mithlond kernel: usb-storage 1-7:1.1: USB Mass Storage device detected 2017-06-11T12:29:53+0000 mithlond kernel: scsi host5: usb-storage 1-7:1.1 Then usb-modeswitch (I presume) disconnects the device (idProduct=98ff) and immediately connects it again as another device (idProduct=9801) which is supposed to be the actual 3G modem. See the kernel log below: 2017-06-11T12:29:53+0000 mithlond kernel: usb 1-7: USB disconnect, device number 15 2017-06-11T12:29:54+0000 mithlond kernel: usb 1-7: new high-speed USB device number 16 using xhci_hcd 2017-06-11T12:29:54+0000 mithlond kernel: usb 1-7: New USB device found, idVendor=1c9e, idProduct=9801 2017-06-11T12:29:54+0000 mithlond kernel: usb 1-7: New USB device strings: Mfr=3, Product=2, SerialNumber=4 2017-06-11T12:29:54+0000 mithlond kernel: usb 1-7: Product: USB Modem 2017-06-11T12:29:54+0000 mithlond kernel: usb 1-7: Manufacturer: USB Modem 2017-06-11T12:29:54+0000 mithlond kernel: usb 1-7: SerialNumber: 1234567890ABCDEF 2017-06-11T12:29:54+0000 mithlond kernel: usb-storage 1-7:1.4: USB Mass Storage device detected 2017-06-11T12:29:54+0000 mithlond kernel: scsi host4: usb-storage 1-7:1.4 2017-06-11T12:29:54+0000 mithlond kernel: usb-storage 1-7:1.5: USB Mass Storage device detected 2017-06-11T12:29:54+0000 mithlond kernel: scsi host5: usb-storage 1-7:1.5 2017-06-11T12:30:04+0000 mithlond kernel: scsi 5:0:0:0: Direct-Access USBModem Disk 2.31 PQ: 0 ANSI: 2 2017-06-11T12:30:04+0000 mithlond kernel: scsi 4:0:0:0: CD-ROM USBModem Disk 2.31 PQ: 0 ANSI: 2 2017-06-11T12:30:04+0000 mithlond kernel: sd 5:0:0:0: Attached scsi generic sg3 type 0 2017-06-11T12:30:04+0000 mithlond kernel: sr 4:0:0:0: [sr1] scsi-1 drive 2017-06-11T12:30:04+0000 mithlond kernel: sd 5:0:0:0: [sdc] Attached SCSI removable disk 2017-06-11T12:30:04+0000 mithlond kernel: sr 4:0:0:0: Attached scsi CD-ROM sr1 2017-06-11T12:30:04+0000 mithlond kernel: sr 4:0:0:0: Attached scsi generic sg4 type 5 But there is the problem: this new device is still a usb-storage ("USB Mass Storage device detected"). Network Manager can't see the 3G modem. This all worked fine with Debian 8 (Jessie) but broke in Debian 9 (Stretch). Extra info: If I run manually modprobe usbserial vendor=0x1c9e product=0x9801 the 3G modem starts working. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi_FI.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages usb-modeswitch depends on: ii libc6 2.24-11 ii libjim0.76 0.76-2+b1 ii libusb-1.0-0 2:1.0.21-1 ii usb-modeswitch-data 20170120-1 usb-modeswitch recommends no packages. Versions of packages usb-modeswitch suggests: ii comgt 0.32-3 pn wvdial <none> -- no debconf information