Summary: | Support for Sierra EM7455 on Lenovo Carbon X1 carbon 4th gen | ||
---|---|---|---|
Product: | libmbim | Reporter: | Carl H. <carl> |
Component: | General | Assignee: | Aleksander Morgado <aleksander> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | iam |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
attachment-15597-0.html
attachment-8692-0.html |
Description
Carl H.
2016-06-21 21:18:27 UTC
This looks like the issue we're discussing already in the ModemManager mailing list. There's WIP to have a solution, based on the "qmi-over-mbim" branches of all libqmi, libmbim and ModemManager. (In reply to Carl H. from comment #0) > Hi, > I am having issues getting my modem workin with libmbim on X1 carbon 4th gen > (2016) using the integrated sierra wireless EM7455. I am running arch linux. > There seems to be sporadic response when I am running mbimcli commands. I > red couple of issues with timeouts but believed it to be merged back into > the version I am using. > > → uname -a > Linux x1 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 > GNU/Linux > > → pacaur -Q libmbim > libmbim 1.12.4-1 > > → pacaur -Q libqmi > libqmi 1.12.10-1 > > → sudo mbimcli -d /dev/cdc-wdm0 --query-device-caps > [/dev/cdc-wdm0] Device capabilities retrieved: > Device type: 'remote' > Cellular class: 'gsm' > Voice class: 'no-voice' > Sim class: 'removable' > Data class: 'umts, hsdpa, hsupa, lte' > SMS caps: 'pdu-receive, pdu-send' > Ctrl caps: 'reg-manual' > Max sessions: '8' > Custom data class: 'unknown' > Device ID: '014582000773169' > Firmware info: 'SWI9X30C_02.08.02.00' > Hardware info: 'EM7455' > > → sudo mbim-network /dev/cdc-wdm0 start > Loading profile... > APN: everywhere > Querying subscriber ready status 'mbimcli -d /dev/cdc-wdm0 > --query-subscriber-ready-status --no-close'... > error: operation failed: Transaction timed out > [/dev/cdc-wdm0] Session not closed: TRID: '3' > Saving state... (TRID: 3) > Querying registration state 'mbimcli -d /dev/cdc-wdm0 > --query-registration-state --no-open=3 --no-close'... > error: operation failed: Transaction timed out > [/dev/cdc-wdm0] Session not closed: TRID: '4' > Saving state... (TRID: 4) > Attaching to packet service with 'mbimcli -d /dev/cdc-wdm0 > --attach-packet-service --no-open=4 --no-close'... > error: operation failed: Transaction timed out > Saving state... (TRID: 5) > Starting network with 'mbimcli -d /dev/cdc-wdm0 --connect=everywhere > --no-open=5 --no-close'... > error: operation failed: Transaction timed out > Network start failed > [/dev/cdc-wdm0] Session not closed: TRID: '6' > Saving state... (TRID: 6) > Oh, wait, I should have read the logs better instead of just the title :) This issue seems to be because some other process is using the MBIM port when you try to run the mbim-network... Do you have ModemManager running in the system? Created attachment 124659 [details] attachment-15597-0.html Apologize, I stoped ModemManager. Now I get the below. I red through the qmi over mbim thread and tried the arch package associated with that but failed to get it to work. ps -elf | grep mbim 0 S charroch 10240 22395 0 80 0 - 3214 pipe_w 09:53 pts/1 00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn mbim → sudo mbim-network /dev/cdc-wdm0 start Loading profile... APN: everywhere Loading previous state... Previous Transaction ID: 6 error: no actions specified Clearing state... Querying subscriber ready status 'mbimcli -d /dev/cdc-wdm0 --query-subscriber-ready-status --no-close'... [/dev/cdc-wdm0] Subscriber ready status retrieved: Ready state: 'initialized' Subscriber ID: '234304131152370' SIM ICCID: '8944303402202502816' Ready info: 'unknown' Telephone numbers: (1) '07539880678' [/dev/cdc-wdm0] Session not closed: TRID: '3' Saving state... (TRID: 3) Querying registration state 'mbimcli -d /dev/cdc-wdm0 --query-registration-state --no-open=3 --no-close'... [/dev/cdc-wdm0] Registration status: Network error: 'unknown' Register state: 'deregistered' Register mode: 'automatic' Available data classes: 'unknown' Current cellular class: 'gsm' Provider ID: 'unknown' Provider name: 'unknown' Roaming text: 'unknown' Registration flags: 'packet-service-automatic-attach' [/dev/cdc-wdm0] Session not closed: TRID: '4' Saving state... (TRID: 4) Attaching to packet service with 'mbimcli -d /dev/cdc-wdm0 --attach-packet-service --no-open=4 --no-close'... error: operation failed: RadioPowerOff Saving state... (TRID: 5) Starting network with 'mbimcli -d /dev/cdc-wdm0 --connect=everywhere --no-open=5 --no-close'... error: operation failed: RadioPowerOff Network start failed [/dev/cdc-wdm0] Session not closed: TRID: '6' Saving state... (TRID: 6) On 22 June 2016 at 09:46, <bugzilla-daemon@freedesktop.org> wrote: > Aleksander Morgado <aleksander@aleksander.es> changed bug 96623 > <https://bugs.freedesktop.org/show_bug.cgi?id=96623> > What Removed Added > Status NEW NEEDINFO > > *Comment # 3 <https://bugs.freedesktop.org/show_bug.cgi?id=96623#c3> on > bug 96623 <https://bugs.freedesktop.org/show_bug.cgi?id=96623> from > Aleksander Morgado <aleksander@aleksander.es> * > > (In reply to Carl H. from comment #0 <https://bugs.freedesktop.org/show_bug.cgi?id=96623#c0>)> Hi, > > I am having issues getting my modem workin with libmbim on X1 carbon 4th gen > > (2016) using the integrated sierra wireless EM7455. I am running arch linux. > > There seems to be sporadic response when I am running mbimcli commands. I > > red couple of issues with timeouts but believed it to be merged back into > > the version I am using. > > > > → uname -a > > Linux x1 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 > > GNU/Linux > > > > → pacaur -Q libmbim > > libmbim 1.12.4-1 > > > > → pacaur -Q libqmi > > libqmi 1.12.10-1 > > > > → sudo mbimcli -d /dev/cdc-wdm0 --query-device-caps > > [/dev/cdc-wdm0] Device capabilities retrieved: > > Device type: 'remote' > > Cellular class: 'gsm' > > Voice class: 'no-voice' > > Sim class: 'removable' > > Data class: 'umts, hsdpa, hsupa, lte' > > SMS caps: 'pdu-receive, pdu-send' > > Ctrl caps: 'reg-manual' > > Max sessions: '8' > > Custom data class: 'unknown' > > Device ID: '014582000773169' > > Firmware info: 'SWI9X30C_02.08.02.00' > > Hardware info: 'EM7455' > > > > → sudo mbim-network /dev/cdc-wdm0 start > > Loading profile... > > APN: everywhere > > Querying subscriber ready status 'mbimcli -d /dev/cdc-wdm0 > > --query-subscriber-ready-status --no-close'... > > error: operation failed: Transaction timed out > > [/dev/cdc-wdm0] Session not closed: TRID: '3' > > Saving state... (TRID: 3) > > Querying registration state 'mbimcli -d /dev/cdc-wdm0 > > --query-registration-state --no-open=3 --no-close'... > > error: operation failed: Transaction timed out > > [/dev/cdc-wdm0] Session not closed: TRID: '4' > > Saving state... (TRID: 4) > > Attaching to packet service with 'mbimcli -d /dev/cdc-wdm0 > > --attach-packet-service --no-open=4 --no-close'... > > error: operation failed: Transaction timed out > > Saving state... (TRID: 5) > > Starting network with 'mbimcli -d /dev/cdc-wdm0 --connect=everywhere > > --no-open=5 --no-close'... > > error: operation failed: Transaction timed out > > Network start failed > > [/dev/cdc-wdm0] Session not closed: TRID: '6' > > Saving state... (TRID: 6) > > > > Oh, wait, I should have read the logs better instead of just the title :) > > This issue seems to be because some other process is using the MBIM port when > you try to run the mbim-network... > > Do you have ModemManager running in the system? > > ------------------------------ > You are receiving this mail because: > > - You reported the bug. > >
> Attaching to packet service with 'mbimcli -d /dev/cdc-wdm0
> --attach-packet-service --no-open=4 --no-close'...
> error: operation failed: RadioPowerOff
Yes, this is the other issue I was talking about; you do need FCC auth here.
Unfortunately the AUR packages are only for libqmi and libmbim; there's no modemmanager-qmi-over-mbim package; maybe ask for it?
Created attachment 124872 [details] attachment-8692-0.html Thanks. I would indeed be interested in modemmanager integration of qmi-over-mbim. What would be the laternative? On 1 July 2016 at 19:01, <bugzilla-daemon@freedesktop.org> wrote: > nnutter <iam@nnutter.com> changed bug 96623 > <https://bugs.freedesktop.org/show_bug.cgi?id=96623> > What Removed Added > CC iam@nnutter.com > > ------------------------------ > You are receiving this mail because: > > - You reported the bug. > > This issue is now fixed when using MM 1.5.993, libqmi 1.16.0 and libmbim 1.14.0, all including the QMI over MBIM support: https://lists.freedesktop.org/archives/modemmanager-devel/2016-July/003177.html https://lists.freedesktop.org/archives/libqmi-devel/2016-July/001638.html https://lists.freedesktop.org/archives/libmbim-devel/2016-July/000752.html Additionally, this NCM driver patch in the kernel is also needed, which should be available in the next stable Linux kernel release: http://www.spinics.net/lists/linux-usb/msg143399.html |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.