https://bugzilla.kernel.org/show_bug.cgi?id=55621

           Summary: Sony VAIO VPCZ23A4R: 3g modem not working until
                    suspend/resume
           Product: ACPI
           Version: 2.5
    Kernel Version: 3.8.2
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: acpi_ot...@kernel-bugs.osdl.org
        ReportedBy: patra...@gmail.com
        Regression: No


Created an attachment (id=96031)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=96031)
acpidump (from pmtools) output

# lsusb
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 08ff:168f AuthenTec, Inc. AES1660 Fingerprint Sensor
Bus 003 Device 004: ID 8086:0189 Intel Corp. 
Bus 003 Device 005: ID 05c8:0318 Cheng Uei Precision Industry Co., Ltd
(Foxlink) Webcam
Bus 003 Device 006: ID 1199:68a2 Sierra Wireless, Inc. 

The last line is a 3g modem, visible as /dev/ttyUSB{0,1,2} (handled by the
qcserial driver). After boot, it always fails as follows:

# pppd call 3g debug nodetach
abort on (BUSY)
abort on (NO CARRIER)
abort on (VOICE)
abort on (NO DIALTONE)
abort on (NO DIAL TONE)
abort on (NO ANSWER)
abort on (DELAYED)
abort on (ERROR)
abort on (BLACKLISTED)
timeout set to 5 seconds
send (AT^M)
expect (OK)
AT^M^M
OK
 -- got it

send (ATZ^M)
expect (OK)
^M
ATZ^M^M
OK
 -- got it

send (AT+CGDCONT=1,"IP","internet.mts.ru"^M)
expect (OK)
^M
AT+CGDCONT=1,"IP","internet.mts.ru"^M^M
OK
 -- got it

send (ATD*99***1#^M)
expect (CONNECT)
^M
ATD*99***1#^M^M
NO CARRIER
 -- failed
Failed (NO CARRIER)
Script /usr/sbin/chat -sv -T internet.mts.ru -f /etc/ppp/gprs.chat finished
(pid 24562), status = 0x5
Connect script failed

After a suspend-resume cycle, the modem works as it should.

Also it is interesting that, if I rfkill the modem and try to bring it back, it
doesn't come back:

# rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: sony-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: sony-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: sony-wwan: Wireless WAN
    Soft blocked: no
    Hard blocked: no
4: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
# rfkill block 3
# rfkill unblock 3
# rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: sony-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: sony-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: sony-wwan: Wireless WAN
    Soft blocked: no
    Hard blocked: no
4: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
# lsusb
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 08ff:168f AuthenTec, Inc. AES1660 Fingerprint Sensor
Bus 003 Device 004: ID 8086:0189 Intel Corp. 
Bus 003 Device 005: ID 05c8:0318 Cheng Uei Precision Industry Co., Ltd
(Foxlink) Webcam

Suspend & resume brings the modem back.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to