← Back to team overview

kernel-packages team mailing list archive

[Bug 1169117] Re: REGRESSION: MBIM kernel suppport should be disabled until userspace support available (breaks Ericsson H5321 etc.)

 

Also the modem itself is recognized as Toshiba, not Ericsson:
[code]
Sep 21 15:31:49 toshiba kernel: [ 7078.450687] usb 1-1.6: new high-speed USB device number 7 using ehci_hcd
Sep 21 15:31:49 toshiba kernel: [ 7078.545002] usb 1-1.6: New USB device found, idVendor=0930, idProduct=1319
Sep 21 15:31:49 toshiba kernel: [ 7078.545013] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 21 15:31:49 toshiba kernel: [ 7078.545019] usb 1-1.6: Product: H5321gw
Sep 21 15:31:49 toshiba kernel: [ 7078.545024] usb 1-1.6: Manufacturer: TOSHIBA 
Sep 21 15:31:49 toshiba kernel: [ 7078.545029] usb 1-1.6: SerialNumber: 24359BF58A1F4870
Sep 21 15:31:49 toshiba mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6"
Sep 21 15:31:49 toshiba kernel: [ 7078.578410] cdc_acm 1-1.6:1.1: ttyACM0: USB ACM device
Sep 21 15:31:49 toshiba kernel: [ 7078.582138] cdc_acm 1-1.6:1.3: ttyACM1: USB ACM device
Sep 21 15:31:49 toshiba kernel: [ 7078.590550] cdc_wdm 1-1.6:1.5: cdc-wdm0: USB WDM device
Sep 21 15:31:49 toshiba kernel: [ 7078.605591] usb 1-1.6: MAC-Address: 02:15:e0:ec:01:00
Sep 21 15:31:49 toshiba kernel: [ 7078.606071] cdc_ncm 1-1.6:1.6: usb0: register 'cdc_ncm' at usb-0000:00:1a.0-1.6, CDC NCM, 02:15:e0:ec:01:00
Sep 21 15:31:49 toshiba kernel: [ 7078.607135] cdc_wdm 1-1.6:1.8: cdc-wdm1: USB WDM device
Sep 21 15:31:49 toshiba kernel: [ 7078.607728] cdc_acm 1-1.6:1.9: ttyACM2: USB ACM device
Sep 21 15:31:49 toshiba mtp-probe: bus: 1, device: 7 was not an MTP device
[/code]

It is really wird why the modem connects occasionally, but most of the
times doesn't.

-- 
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/1169117

Title:
  REGRESSION: MBIM kernel suppport should be disabled until userspace
  support available (breaks Ericsson H5321 etc.)

Status in The Linux Kernel:
  Fix Released
Status in “linux” package in Ubuntu:
  Confirmed
Status in “modemmanager” package in Ubuntu:
  Invalid
Status in “linux” package in Debian:
  Fix Committed

Bug description:
  "commit bd329e1 ("net: cdc_ncm: do not bind to NCM compatible MBIM devices")
      introduced a new policy, preferring MBIM for dual NCM/MBIM functions if
      the cdc_mbim driver was enabled.  This caused a regression for users
      wanting to use NCM."

  This could be solved in different ways:

  1) Remove "cdc_mbim.ko" from packages like linux-image-extra-3.8.0-XX-
  YY. Easy, but makes it harder for people to experiment with MBIM and
  add userspace support

  2) Set the kernel parameter "prefer_mbim" to false for "cdc_ncm"
  module. This could be done by adding a file "/etc/modprobe.d/avoid-
  mbim.conf" with content:

    options cdc_ncm prefer_mbim=N

  This will allow people wanting to test MBIM easy access by removing or
  editing the file. Then the question is if this file should stay in
  modemmanager package or maybe in the kernel package?

  The required code for this option to exist seems to be in Ubuntu
  Raring packages in commit 04188f3010f64ddf2c75c3f4953eee9bdb4f5cc1.

  3) Debian has solved it by patching the kernel to reverse the default
  to be not to use MBIM:

  http://web.archiveorange.com/archive/v/dbmrrKybrWTJ0XZGsB3B
  http://lists.debian.org/debian-kernel/2013/03/msg00611.html

  See also bug #1102343.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1169117/+subscriptions