Bug 90124

Summary: Get signal quality of Sierra Wireless Modem
Product: ModemManager Reporter: Pieter Cardoen <p.cardoen>
Component: generalAssignee: ModemManager bug user <modemmanager>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 1.4   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pieter Cardoen 2015-04-21 10:08:10 UTC
Dear

I'am trying to get a signal quality parameter from my Sierra Wireless MC7304 Modem. I can't find anything in the D-Bus interface (introspection done by D-Feet).

According to http://www.freedesktop.org/software/ModemManager/api/1.4.0/
there should be a org.freedesktop.ModemManager1.Modem.Signal interface but I don't have that interface. What could be the reason that I can't see that D-Bus interface?

I've tried to get signal quality via AT+CSQ which is possible if ModemManager is disabled. However if I try to send AT commands to the Modem via the D-Bus Command, I get 'No AT port available to run command (36)'. I've started ModemManager and NetworkManager with --debug.

FYI: Operating system is Debian Jessie testing

What could I do to get a signal quality measure?
Comment 1 Aleksander Morgado 2015-04-21 13:06:48 UTC
You should be able to see signal quality parameters just from the "Modem" generic interface, see:

http://www.freedesktop.org/software/ModemManager/api/1.4.0/gdbus-org.freedesktop.ModemManager1.Modem.html#gdbus-property-org-freedesktop-ModemManager1-Modem.SignalQuality

The "Signal" interface is a special one, currently only implemented for QMI modems.

But your MC7304 is indeed a QMI modem, you can skip using AT commands for that. What kernel version are you using? Do you have the qmi_wwan driver installed?
Comment 2 Pieter Cardoen 2015-04-21 13:20:43 UTC
Dear

Thanks for the reply.

I've indeed seen that there is a SignalQuality parameter which can be used but it only replies with '0L'. I've never got useful data :(.

My Kernel version is 3.16.0-4-586

The Sierra Wireless FAE mentioned us to install GobiNet and GobiSerial drivers for the MC7304 wireless card. Should I try with the qmi_wwan driver? 

Thanks!
Comment 3 Aleksander Morgado 2015-04-21 16:34:24 UTC
(In reply to Pieter Cardoen from comment #2)
> Dear
> 
> Thanks for the reply.
> 
> I've indeed seen that there is a SignalQuality parameter which can be used
> but it only replies with '0L'. I've never got useful data :(.
> 
> My Kernel version is 3.16.0-4-586
> 
> The Sierra Wireless FAE mentioned us to install GobiNet and GobiSerial
> drivers for the MC7304 wireless card. Should I try with the qmi_wwan driver? 
> 

If you want to use ModemManager with libqmi, then you *must not* use GobiNet and GobiSerial; you must use the qmi_wwan driver instead (i.e. don't install any other driver than the one you got in your kernel). See:
https://sigquit.wordpress.com/2014/06/11/qmiwwan-or-gobinet/
Comment 4 Pieter Cardoen 2015-04-23 11:15:12 UTC
Thanks for the reply Aleksander

I've tried it yesterday, with succes.  I am very happy that it is possible to use mainstream drivers for this hardware platform. We will integrate it in this way and reduce risk in the field!

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.