[Kernel-packages] [Bug 1940377] Re: The WWAN - Huawei Technologies Co., Ltd. [12d1:15c1] does not work after install Ubuntu Hirsute.
There are 2 usable configurations in 12d1:15c1, cfg#2 which is cdc_ether and cfg#3 which is cdc_mbim , usb_modeswitch will select the linux preferred mbim configuration if mbim drivers are present in the kernel. This is by design and not a bug. A user who prefers cdc_ether can disable the the automagic mbim switch by changing the line DisableMBIMGlobal=0 to DisableMBIMGlobal=1 in /etc/usb_modeswitch.conf, there is really no need to revert to an older usb_modeswitch version in order to disable the mbim auto selection. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1940377 Title: The WWAN - Huawei Technologies Co., Ltd. [12d1:15c1] does not work after install Ubuntu Hirsute. Status in OEM Priority Project: New Status in linux package in Ubuntu: Invalid Status in network-manager package in Ubuntu: Confirmed Status in usb-modeswitch package in Ubuntu: Confirmed Bug description: u@u-ThinkPad-L460:~$ uname -a Linux u-ThinkPad-L460 Kernel 5.11.0-16-generic #17-Ubuntu SMP Wed Apr 14 20:12:43 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux u@u-ThinkPad-L460:~$ cat /etc/issue Ubuntu 21.04 \n \l CPU : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz WWAN : 12d1:15c1 Huawei Technologies Co., Ltd. ME906s LTE M.2 Module [Steps] 1. Make a Live CD for Ubuntu Hirsute 2. Plug in the Live CD 3. Boot ThinkPad L460 4. Install Ubuntu Hirsute and completed all configurations 5. Make sure the installation done 6. Boot the system and log in 7. Enable the proposed channel 8. Do the update and upgrade 9. Reboot the system and check mmcli is upgraded to 1.16.6 7. Verify the WWAN working or not. [Actual result] The WWAN can not be detected. ProblemType: Bug DistroRelease: Ubuntu 21.04 Package: ubuntu-release-upgrader-core 1:21.04.16 ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12 Uname: Linux 5.11.0-16-generic x86_64 ApportVersion: 2.20.11-0ubuntu65.1 Architecture: amd64 CasperMD5CheckResult: pass CrashDB: ubuntu Date: Wed Aug 18 01:32:17 2021 InstallationDate: Installed on 2021-08-18 (0 days ago) InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420) PackageArchitecture: all ProcEnviron: TERM=xterm-256color PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu65.1 Architecture: amd64 CasperMD5CheckResult: pass DistroRelease: Ubuntu 21.04 InstallationDate: Installed on 2021-08-18 (0 days ago) InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420) IpRoute: default via 10.1.1.1 dev wlp3s0 proto dhcp metric 600 10.1.1.0/24 dev wlp3s0 proto kernel scope link src 10.1.1.106 metric 600 169.254.0.0/16 dev wlp3s0 scope link metric 1000 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true Package: network-manager 1.30.0-1ubuntu3 PackageArchitecture: amd64 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12 Tags: hirsute Uname: Linux 5.11.0-16-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: N/A _MarkForUpload: True nmcli-nm: RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN running 1.30.0 connected started full enabled enabled enabled enabled enabled To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1940377/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1819362] Re: HUAWEI E3531 HSPA+ USB Stick "please report the device ID to the Linux USB developers"
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 Kernel Packages, which is subscribed to linux 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]: Couldn't check support for device at '/sys/devices/pci:00/: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: USERPID 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
[Kernel-packages] [Bug 1819362] Re: HUAWEI E3531 HSPA+ USB Stick "please report the device ID to the Linux USB developers"
This is not an issue for Linux USB developers, it is a matter of usb_modeswitch's default switch message under linux and Canonical's implementation of usb_modeswitch. As a start before I continue, which is the usb_modeswitch version? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux 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 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]: Couldn't check support for device at '/sys/devices/pci:00/: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: USERPID 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: USERPID 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: