suspend fails if mobile wifi is plugged into usb

Bug #1449502 reported by svenmeier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

With Gnome Ubuntu 15.10 suspend/resume works like a charm, *unless* I plug in my Huawei E586 mobile Wifi.

Note that the mobile device is connected for charging only. Although it reports in dmesg as "USB Mass Storage", I'm not using it for storage nor can I access it via nautilus.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-15-generic 3.19.0-15.15 [modified: boot/vmlinuz-3.19.0-15-generic]
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: sven 1607 F.... pulseaudio
 /dev/snd/controlC1: sven 1607 F.... pulseaudio
CurrentDesktop: GNOME
Date: Tue Apr 28 13:05:51 2015
HibernationDevice: RESUME=UUID=72334524-14f5-4f84-8cfa-00c315cc7e38
InstallationDate: Installed on 2015-04-27 (0 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: LENOVO 20344
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-15-generic root=UUID=fb134926-2b61-4b75-8893-60390fe33923 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic N/A
 linux-firmware 1.143
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/16/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: 96CN29WW(V1.15)
dmi.board.asset.tag: 31900058Std
dmi.board.name: INVALID
dmi.board.vendor: LENOVO
dmi.board.version: 31900058Std
dmi.chassis.asset.tag: 31900058Std
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo Yoga 2 13
dmi.modalias: dmi:bvnLENOVO:bvr96CN29WW(V1.15):bd10/16/2014:svnLENOVO:pn20344:pvrLenovoYoga213:rvnLENOVO:rnINVALID:rvr31900058Std:cvnLENOVO:ct10:cvrLenovoYoga213:
dmi.product.name: 20344
dmi.product.version: Lenovo Yoga 2 13
dmi.sys.vendor: LENOVO

Revision history for this message
svenmeier (sven-meiers) wrote :
Revision history for this message
svenmeier (sven-meiers) wrote :

Simulated suspend as recommended here: https://wiki.ubuntu.com/DebuggingKernelSuspend

Revision history for this message
svenmeier (sven-meiers) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
svenmeier (sven-meiers) wrote :

I've done some tests:
- it doesn't matter which port I plug in the mobile wifi - suspend will fail
- if the mobile wifi is turned off, suspend works fine (no suprise here)
- plugging in my usb stick, doesn't have a negative effect
- plugging in my external hard drive, doesn't have a negative effect on suspend

Some information about the mobile wifi:

sven@svenBlack:~$ lsusb | grep Huawei
Bus 001 Device 007: ID 12d1:14fe Huawei Technologies Co., Ltd.
sven@svenBlack:~$ lsusb -vs 001:007

Bus 001 Device 007: ID 12d1:14fe Huawei Technologies Co., Ltd.
Couldn't open device, some information will be missing
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x12d1 Huawei Technologies Co., Ltd.
  idProduct 0x14fe
  bcdDevice 1.02
  iManufacturer 2
  iProduct 1
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 500mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 8 Mass Storage
      bInterfaceSubClass 6 SCSI
      bInterfaceProtocol 80 Bulk-Only
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x0f EP 15 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x8f EP 15 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.0 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc1-vivid/

Revision history for this message
svenmeier (sven-meiers) wrote :

Neither 4.0.1 nor 4.1.0-rc1 improve the situation.

tags: added: kernel-bug-exists-upstream
penalvch (penalvch)
tags: added: bios-outdated-1.16 kernel-bug-exists-upstream-4.1-rc1
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
svenmeier (sven-meiers) wrote :

@penalvch: Many thanks for pointing me to the new bios version. But the update didn't change anything :/.

sven@svenBlack:~$ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
96CN30WW(V1.16)
04/15/2015

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

svenmeier, could you please provide the missing information from https://wiki.ubuntu.com/DebuggingKernelSuspend ?

tags: added: latest-bios-1.16
removed: bios-outdated-1.16
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
svenmeier (sven-meiers) wrote :
Revision history for this message
svenmeier (sven-meiers) wrote :
Revision history for this message
svenmeier (sven-meiers) wrote :

Regretfully initiating suspend via:

   sudo sh -c "sync && echo 1 > /sys/power/pm_trace && pm-suspend"

... does not suspend the computer, it seems to wake up immediately.

Suspending the computer via Gnome plugin or closing the lid results in a failed suspend.

Revision history for this message
penalvch (penalvch) wrote :

svenmeier, did this problem not occur in a release prior to Vivid?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.