usb_modeswitch did once upon a time check that a driver bound to the
dongles interface(s) and if not then it did a modeprobe of the option
serial driver. If it still didn't get option to bind then it added the
dongles usb id to option's new_id and if the driver bound then it asked
the user to report the usb id to usb kernel developers so that it could
be properly added to the driver.
There were too often conflicts between usb_modeswitch's driver loading and the
kernels driver loading so it was decided after discussions with among others
one of the modemmanager's developers to completely remove from usb_modeswitch
any check for driver binding and forcing of driver binding.
In short: usb_modeswitch is a userland switching utility which should leave the
task of loading drivers to the kernel and not interfere with that.
The driver checking/loading function was removed almost 3 years ago:
"Version 2.4.0, 2016/06/12
ATTENTION: All ad-hoc driver binding code (using new_id driver attribute)
removed - was a potential source of side effects and should now be
obsoleted by good kernel support for modems"
It seems that canonical doesn't agree and has re-introduced the driver
checking/loading in their own implementation of later usb_modeswitch
version.....
Regarding switching of E3531 with usb id 12d1:1f01 I can say that it is done
with the linux switch message given by Huawei. They intend this device to
become 12d1:14dc with a direct ethernet interface and no serial interfaces.
Huawei has different switch messages for Windows, Mac, linux, and since a few
years back also for Android.
Early Huawei Android builds did only have support for ppp serial dial-up so the
Android switch message brought up serial interfaces instead of net interfaces.
usb_modeswitch is also used in Android and has the Android switch message
included from version 2.5.1.
usb_modeswitch can globally use the Android message by setting
"HuaweiAltModeGlobal" in usb_modeswitch.conf or individually per modem by
setting "HuaweiAltMode" in the modem config file.
usb_modeswitch will continue to use the linux switch message for all Huawei
modems, it is up to the end user to either select the right modem for his
requirement (which often is serial ports for SMS operation) or to drop a new
modem config file into /etc/usb_modeswitch.d which will override the one
provided in /usr/share/usb_modeswitch.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1819362
Title:
HUAWEI E3531 HSPA+ USB Stick "please report the device ID to the Linux
USB developers"
Status in linux package in Ubuntu:
Triaged
Status in usb-modeswitch package in Ubuntu:
New
Bug description:
I have a HUAWEI E3531 HSPA+ USB Stick
When I plug it in, journalctl shows me
Mär 10 19:21:20 pshp usb_modeswitch[3556]: usb_modeswitch: switched to
12d1:14dc on 1/9
Mär 10 19:21:20 pshp kernel: scsi 1:0:0:0: Direct-Access HUAWEI TF CARD
Storage 2.31 PQ: 0 ANSI: 2
Mär 10 19:21:20 pshp kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Mär 10 19:21:20 pshp kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk
Mär 10 19:21:21 pshp usb_modeswitch_dispatcher[3556]: Unable to open bind
list file: No such file or directory
Mär 10 19:21:21 pshp usb_modeswitch[3556]: usb_modeswitch: add device ID
12d1:14dc to driver option
Mär 10 19:21:21 pshp usb_modeswitch[3556]: usb_modeswitch: please report the
device ID to the Linux USB developers!
Mär 10 19:21:22 pshp ModemManager[860]: <info> Couldn't check support for
device at '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1': not supported by any
plugin
And the modem does not work (no ttyUSBX appears)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.18.0-15-generic 4.18.0-15.16~18.04.1
ProcVersionSignature: Ubuntu 4.18.0-15.16~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Mar 10 19:17:23 2019
EcryptfsInUse: Yes
SourcePackage: linux-signed-hwe
UpgradeStatus: Upgraded to bionic on 2018-07-01 (252 days ago)
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ps 1825 F.... pulseaudio
CurrentDesktop: GNOME
DistroRelease: Ubuntu 18.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=f51203fe-7748-4c6c-b60e-becfac3f8f93
MachineType: HP HP EliteBook 820 G4
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-15-generic
root=UUID=ef37c096-b516-41e7-89ce-be7432f1677e ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.18.0-15.16~18.04.1-generic 4.18.20
RelatedPackageVersions:
linux-restricted-modules-4.18.0-15-generic N/A
linux-backports-modules-4.18.0-15-generic N/A
linux-firmware 1.173.3
Tags: bionic wayland-session
Uname: Linux 4.18.0-15-generic x86_64
UpgradeStatus: Upgraded to bionic on 2018-07-01 (252 days ago)
UserGroups: adm cdrom dip gsmsms lpadmin plugdev sambashare scanner sudo
_MarkForUpload: True
dmi.bios.date: 10/17/2017
dmi.bios.vendor: HP
dmi.bios.version: P78 Ver. 01.08
dmi.board.name: 8292
dmi.board.vendor: HP
dmi.board.version: KBC Version 45.3C
dmi.chassis.asset.tag: 5CG7453N9P
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.modalias:
dmi:bvnHP:bvrP78Ver.01.08:bd10/17/2017:svnHP:pnHPEliteBook820G4:pvr:rvnHP:rn8292:rvrKBCVersion45.3C:cvnHP:ct10:cvr:
dmi.product.family: 103C_5336AN HP EliteBook
dmi.product.name: HP EliteBook 820 G4
dmi.product.sku: X3T22AV
dmi.sys.vendor: HP
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ps 1825 F.... pulseaudio
CurrentDesktop: GNOME
DistroRelease: Ubuntu 18.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=f51203fe-7748-4c6c-b60e-becfac3f8f93
MachineType: HP HP EliteBook 820 G4
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-15-generic
root=UUID=ef37c096-b516-41e7-89ce-be7432f1677e ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.18.0-15.16~18.04.1-generic 4.18.20
RelatedPackageVersions:
linux-restricted-modules-4.18.0-15-generic N/A
linux-backports-modules-4.18.0-15-generic N/A
linux-firmware 1.173.3
Tags: bionic wayland-session
Uname: Linux 4.18.0-15-generic x86_64
UpgradeStatus: Upgraded to bionic on 2018-07-01 (252 days ago)
UserGroups: adm cdrom dip gsmsms lpadmin plugdev sambashare scanner sudo
_MarkForUpload: True
dmi.bios.date: 10/17/2017
dmi.bios.vendor: HP
dmi.bios.version: P78 Ver. 01.08
dmi.board.name: 8292
dmi.board.vendor: HP
dmi.board.version: KBC Version 45.3C
dmi.chassis.asset.tag: 5CG7453N9P
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.modalias:
dmi:bvnHP:bvrP78Ver.01.08:bd10/17/2017:svnHP:pnHPEliteBook820G4:pvr:rvnHP:rn8292:rvrKBCVersion45.3C:cvnHP:ct10:cvr:
dmi.product.family: 103C_5336AN HP EliteBook
dmi.product.name: HP EliteBook 820 G4
dmi.product.sku: X3T22AV
dmi.sys.vendor: HP
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1819362/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp