Launchpad has imported 9 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=91189.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2015-07-02T11:11:18+00:00 Kai-Heng Feng wrote:

Created attachment 116875
Debug message from ModemManager.

The EM7455 (Dell DW5811e) is not working when using the git master
ModemManager/libmbim/libqmi.

The last message piece from "ModemManager --debug":
ModemManager[2470]: <info>  [1435834110.545710] [mm-device.c:520] 
mm_device_create_modem(): Creating modem with plugin 'Dell' and '2' ports
ModemManager[2470]: <debug> [1435834110.545727] [dell/mm-plugin-dell.c:382] 
create_modem(): Dell-branded generic modem found...
ModemManager[2470]: <warn>  [1435834110.545871] [mm-plugin.c:974] 
mm_plugin_create_modem(): Could not grab port (usbmisc/cdc-wdm0): 'Cannot add 
port 'usbmisc/cdc-wdm0', unsupported'
ModemManager[2470]: <debug> [1435834110.545898] [mm-base-modem.c:312] 
mm_base_modem_grab_port(): (wwan0) type 'net' claimed by 
/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
ModemManager[2470]: <debug> [1435834110.545926] [mm-base-modem.c:1493] 
finalize(): Modem (Dell) '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2' 
completely disposed
ModemManager[2470]: <warn>  [1435834110.545939] [mm-base-manager.c:158] 
find_device_support_ready(): Couldn't create modem for device at 
'/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2': Failed to find primary AT port

I tried mbimcli by "mbimcli -d /dev/cdc-wdm0 --query-device-caps --verbose":
[02 Jul 2015, 19:02:36] [Debug] opening device...
[02 Jul 2015, 19:02:36] [Debug] [/dev/cdc-wdm0] Queried max control message 
size: 4096
[02 Jul 2015, 19:02:36] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 16
<<<<<<   data   = 01:00:00:00:10:00:00:00:01:00:00:00:00:10:00:00

[02 Jul 2015, 19:02:36] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 16
<<<<<<   type        = open (0x00000001)
<<<<<<   transaction = 1
<<<<<< Contents:
<<<<<<   max_control_transfer = 4096

And the transaction repeats for 30 times, in the end it says:

[02 Jul 2015, 19:03:06] [Debug] open operation timed out: closed
error: couldn't open the MbimDevice: Transaction timed out


But when using EM7305, everything works as expected.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1441095/comments/7

------------------------------------------------------------------------
On 2015-07-02T11:12:06+00:00 Kai-Heng Feng wrote:

Created attachment 116876
Message from mbimcli.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1441095/comments/8

------------------------------------------------------------------------
On 2015-07-06T07:43:26+00:00 Aleksander Morgado wrote:

Looks like the mbim-proxy cannot get the MBIM port open.

Could you run the following sequence?

[stop ModemManager]
$ sudo /usr/libexec/mbim-proxy --verbose > proxy.log 2>&1 &
$ sudo /usr/sbin/ModemManager --debug

And send back the proxy log?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1441095/comments/9

------------------------------------------------------------------------
On 2015-07-06T09:29:23+00:00 Kai-Heng Feng wrote:

Created attachment 116969
Log file from mbim-proxy.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1441095/comments/10

------------------------------------------------------------------------
On 2015-07-06T10:14:07+00:00 Aleksander Morgado wrote:

(In reply to Kai-Heng Feng from comment #3)
> Created attachment 116969 [details]
> Log file from mbim-proxy.

Looks like the proxy didn't receive anything. Was ModemManager run
*after* running the proxy?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1441095/comments/11

------------------------------------------------------------------------
On 2015-07-06T10:32:47+00:00 Kai-Heng Feng wrote:

Created attachment 116971
Log file from mbim-proxy.

Yes. There was already a ModemManager instance running. Here's the
correct log.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1441095/comments/12

------------------------------------------------------------------------
On 2015-07-06T10:39:25+00:00 Aleksander Morgado wrote:

(In reply to Kai-Heng Feng from comment #5)
> Created attachment 116971 [details]
> Log file from mbim-proxy.
> 
> Yes. There was already a ModemManager instance running. Here's the correct
> log.

Thanks. Pretty weird, the modem doesn't seem to ever reply to any MBIM
message...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1441095/comments/13

------------------------------------------------------------------------
On 2015-07-08T05:33:03+00:00 Kai-Heng Feng wrote:

Is there any chance that cdc_mbim kernel module does not support this
card?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1441095/comments/14

------------------------------------------------------------------------
On 2015-07-17T11:19:42+00:00 Kai-Heng Feng wrote:

Now I can make the device work by changing the retry timer from 1s to 4s in 
mbim_device_command():
http://cgit.freedesktop.org/libmbim/libmbim/tree/src/libmbim-glib/mbim-device.c#n1234

After changing that, the device can operate normally.
So looks like it may be a driver/firmware/hardware problem.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1441095/comments/15


** Changed in: modemmanager
       Status: Unknown => Confirmed

** Changed in: modemmanager
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1441095

Title:
  novatel: improve probing for Dell branded modems

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to