Bug 78851 - rfkill: modem Sierra MC8805 (Dell Wireless 5570) stuck in low-power mode
Summary: rfkill: modem Sierra MC8805 (Dell Wireless 5570) stuck in low-power mode
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Platform_x86 (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_platform_x86@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-24 12:52 UTC by Hervé COMMOWICK
Modified: 2015-07-07 16:41 UTC (History)
7 users (show)

See Also:
Kernel Version: 3.14.7-1~bpo70+1
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Hervé COMMOWICK 2014-06-24 12:52:52 UTC
Hello,

I have bought a Latitude E7440 and i have a problem with this modem :
P:  Vendor=413c ProdID=81a3 Rev=00.06
S:  Manufacturer=Sierra Wireless, Incorporated
S:  Product=Dell Wireless 5570 HSPA+ (42Mbps) Mobile Broadband Card

it doesn't want to operate properly :
$ sudo qmicli -d /dev/cdc-wdm0 --dms-uim-verify-pin="PIN,0000" 
[/dev/cdc-wdm0] PIN verified successfully
$ sudo qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode
[/dev/cdc-wdm0] Operating mode retrieved:
	Mode: 'low-power'
	HW restricted: 'no'
$ sudo qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=online   
error: couldn't set operating mode: QMI protocol error (3): 'Internal'

$ sudo mount -t debugfs none /sys/kernel/debug
$ sudo cat /sys/kernel/debug/dell_laptop/rfkill
status:	0x1035D
Bit 0 : Hardware switch supported:   1
Bit 1 : Wifi locator supported:      0
Bit 2 : Wifi is supported:           1
Bit 3 : Bluetooth is supported:      1
Bit 4 : WWAN is supported:           1
Bit 5 : Wireless keyboard supported: 0
Bit 8 : Wifi is installed:           1
Bit 9 : Bluetooth is installed:      1
Bit 10: WWAN is installed:           0
Bit 16: Hardware switch is on:       1
Bit 17: Wifi is blocked:             0
Bit 18: Bluetooth is blocked:        0
Bit 19: WWAN is blocked:             0

hwswitch_state:	0x1F
Bit 0 : Wifi controlled by switch:      1
Bit 1 : Bluetooth controlled by switch: 1
Bit 2 : WWAN controlled by switch:      1
Bit 7 : Wireless switch config locked:  0
Bit 8 : Wifi locator enabled:           0
Bit 15: Wifi locator setting locked:    0

looks like modem is forced in airplane mode, like in this bug report : https://bugzilla.kernel.org/show_bug.cgi?id=47751

Other people seems to have same problem :
http://ubuntuforums.org/showthread.php?t=2195299&p=12886034#post12886034
http://en.community.dell.com/support-forums/laptop/f/3518/t/19538429.aspx

is the dell-laptop needs to be fixed ?
Comment 1 Hervé COMMOWICK 2014-07-09 07:33:24 UTC
I also try to get serial interfaces working and it's finally working with this:
# modprobe -r qcserial
# modprobe sierra
# echo 413c 81a3 > /sys/bus/usb-serial/drivers/sierra/new_id

Then with a "minicom -D /dev/ttyUSB1"

AT!GSTATUS?
!GSTATUS: 
Current Time:  1736             Temperature: 38
Bootup Time:   0                Mode:        LOW POWER MODE 
System mode:   LTE              PS state:    Not attached 
LTE band:      No band          LTE bw:      Unknown 
LTE Rx chan:   65535            LTE Tx chan: 65535
EMM state:     NULL             ---            
RRC state:     RRC Idle       
IMS reg state: No Srv  

RSSI (dBm):    0                Tx Power:    0
RSRP (dBm):    0                TAC:         0000 (0)
RSRQ (dB):     0                Cell ID:     00000000 (0)
SINR (dB):     -20.0


OK
AT+CFUN=1
ERROR

Even with serial interface, i can't get it to quit low power mode.
(anyway, sierra and qcserial modules also need to be fixed, i have contacted Bjørn Mork about that)

Any ideas ?
Comment 2 Hervé COMMOWICK 2014-09-15 07:51:53 UTC
Any update on this ? what can i do ?
Comment 3 rk 2014-10-10 12:10:04 UTC
One more user with the same problem and exact same behavior.

Because nobody has responded so far (3 months) I'm not sure if anybody working at this.

It would be great if we could get any feedback if the "dell_laptop" maintainers think they could fix this or not.
Comment 4 Hervé COMMOWICK 2014-10-10 12:16:30 UTC
Oh and btw, update to the latest Dell E7440 BIOS (A10) don't change anything to the problem.

BIOS says that Windows8 is able to bypass hardware switch, so there is a way :)
Comment 5 rk 2014-10-10 13:16:29 UTC
I use a Dell Latitude E6440.
But it uses the same modem type (Sierra MC8805 [Dell Wireless 5570]).
Comment 6 Islam Motab 2014-11-23 11:35:13 UTC
I have the same issue: 
* Dell Latitude E7240 
* BIOS version A10
* Sierra Wireless MC8805 (Dell Wireless 5570 HSPA+ (42Mbps) Mobile Broadband Card) Vendor=413c ProdID=81a3 
* kernel 3.18.0-0.rc5.git0.2.fc22.x86_64
Comment 7 Leho Kraav 2014-11-27 13:50:42 UTC
I wasn't able to find a module combination to recognize the 5570 on 3.18.0-rc5.

qcserial and sierra didn't seem to find anything.
Comment 8 Aleksander Morgado 2015-02-09 21:55:34 UTC
This is now fixed in libqmi and ModemManager, see:
https://sigquit.wordpress.com/2015/02/09/dell-branded-sierra-wireless-3g4g-modem-not-online/
Comment 9 rk 2015-02-10 07:08:16 UTC
This is great news!
Thank you very much.

Which libqmi version do I need to use the new feature?
Comment 10 Aleksander Morgado 2015-02-10 07:14:38 UTC
libqmi git master; didn't release any new version with this yet.

Note You need to log in before you can comment on or make changes to this bug.