[Toshiba Satellite LD350-11S] Suspend on lid close works only after one manual suspend

Bug #958520 reported by Michael Kogan
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Using Xubuntu 11.10 on a Toshiba Satellite LD350-11S with an ATI HD3100 using fglrx. Following observations:

1. Manual suspend (via "sudo pm-suspend" or via Xfce's power-settings apllet's menu) always works.
2. Suspend on lid close works only if a manual suspend has been triggered before.
3. acpi_listen gives no output on lid close if a manual suspend hasn't been triggered before.
4. acpi_listen gives the correct output on lid close
      button/lid LID0 00000080 00000001
if a manual suspend has been triggered before.
5. A password is demanded on resume on every manual suspend.
6. No password is demanded on resume on every lid close/open suspend/resume.
7. /proc/acpi/button/lid/*/state reports the lid state correctly.

By adding debug lines to /etc/acpi/lid.sh I have observed that:
8. /etc/acpi/lid.sh isn't called if a manual suspend hasn't been triggered before.
9. /etc/acpi/lid.sh is called if a manual suspend has been triggered before, but exits on the first if check with `CheckPolicy` = 0 and thus triggering no further actions.

The problem appears with both a Xubuntu and a Fluxbox session running so it's not an xfce4-power-manager problem.

Please ask if you need any further information.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: alexander 2292 F.... pulseaudio
                      alexander 3130 F.... xfce4-volumed
 /dev/snd/pcmC0D0p: alexander 2292 F...m pulseaudio
CRDA: Error: [Errno 2] Нет такого файла или каталога
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xf6300000 irq 16'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1179ff6a,00100003 HDA:14f12c06,14f10000,00100000'
   Controls : 15
   Simple ctrls : 10
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=UUID=8c8c33a0-4049-4550-82ff-c3744bc116b9
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
MachineType: TOSHIBA Satellite L350D
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-16-generic root=UUID=c5ddba12-0e87-4432-9f6d-6947534e6fc5 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-16-generic N/A
 linux-backports-modules-3.0.0-16-generic N/A
 linux-firmware 1.60
RfKill:
 2: phy2: Wireless LAN
  Soft blocked: no
  Hard blocked: yes
Tags: oneiric
Uname: Linux 3.0.0-16-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 09/01/2009
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 1.80
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: AMD
dmi.chassis.version: None
dmi.modalias: dmi:bvnInsydeCorp.:bvr1.80:bd09/01/2009:svnTOSHIBA:pnSatelliteL350D:pvrPSLE8E-01Q004GR:rvnTOSHIBA:rnPortablePC:rvrBaseBoardVersion:cvnAMD:ct10:cvrNone:
dmi.product.name: Satellite L350D
dmi.product.version: PSLE8E-01Q004GR
dmi.sys.vendor: TOSHIBA
---
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: alexander 1536 F.... pulseaudio
DistroRelease: Ubuntu 13.10
HibernationDevice: RESUME=UUID=8c8c33a0-4049-4550-82ff-c3744bc116b9
InstallationDate: Installed on 2012-03-08 (611 days ago)
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
MachineType: TOSHIBA Satellite L350D
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=c5ddba12-0e87-4432-9f6d-6947534e6fc5 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-12-generic N/A
 linux-backports-modules-3.11.0-12-generic N/A
 linux-firmware 1.116
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: yes
Tags: saucy
Uname: Linux 3.11.0-12-generic x86_64
UpgradeStatus: Upgraded to saucy on 2013-10-11 (30 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 09/01/2009
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 1.80
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: AMD
dmi.chassis.version: None
dmi.modalias: dmi:bvnInsydeCorp.:bvr1.80:bd09/01/2009:svnTOSHIBA:pnSatelliteL350D:pvrPSLE8E-01Q004GR:rvnTOSHIBA:rnPortablePC:rvrBaseBoardVersion:cvnAMD:ct10:cvrNone:
dmi.product.name: Satellite L350D
dmi.product.version: PSLE8E-01Q004GR
dmi.sys.vendor: TOSHIBA

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/958520/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 958520

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Kogan (michael-kogan) wrote : .etc.asound.conf.txt

apport information

tags: added: apport-collected oneiric
description: updated
Revision history for this message
Michael Kogan (michael-kogan) wrote : AcpiTables.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : AlsaDevices.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : BootDmesg.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : IwConfig.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : Lspci.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : Lsusb.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : PciMultimedia.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : ProcEnviron.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : ProcModules.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : PulseSinks.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : PulseSources.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : UdevDb.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : UdevLog.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Suspend on lid close works only after one manual suspend

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.3 kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

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.

[1] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-precise/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: needs-upstream-testing
Revision history for this message
Michael Kogan (michael-kogan) wrote :

The issue is present in the mainline kernel. But I'm not sure that it's a kernel issue at all. I'm adding the tag 'kernel-bug-exists-upstream' though. Is there a way to check this?

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
penalvch (penalvch)
tags: added: latest-bios-1.80 needs-upstream-testing
removed: notebook
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Michael Kogan (michael-kogan) wrote :

I will do some testing asap, for now I can tell following: The problem still occurs in Xubuntu 12.10. But now the password is not being asked neither on lid close nor on manual suspend. This might be a thing of different configuration though.

penalvch (penalvch)
tags: added: quantal
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
Revision history for this message
Michael Kogan (michael-kogan) wrote : AlsaInfo.txt

apport information

tags: added: saucy
description: updated
Revision history for this message
Michael Kogan (michael-kogan) wrote : BootDmesg.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : CRDA.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : IwConfig.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : Lspci.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : Lsusb.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : ProcEnviron.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : ProcModules.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : PulseList.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : UdevDb.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : UdevLog.txt

apport information

Revision history for this message
Michael Kogan (michael-kogan) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Michael Kogan (michael-kogan) wrote : Re: Suspend on lid close works only after one manual suspend

Sorry for the delay, I was pretty busy in university. Now the system has been upgraded to Saucy and the bug is still present. Apport information is attached above.

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
penalvch (penalvch) wrote :

Photon, could you please test the latest mainline kernel via http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-trusty/ and just make a comment to the results?

tags: added: needs-suspend-log
summary: - Suspend on lid close works only after one manual suspend
+ [Toshiba Satellite LD350-11S] Suspend on lid close works only after one
+ manual suspend
tags: removed: acpi
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
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
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

As for me, the bug is still present in 14.04., after BIOS upgrade to the latest (2009) version 1.80-WIN for my model (Satellite L300D PSLC8E, apparently a EU-only model).

It is not only the lid close, but also FN keys which magically start working after the first suspend.

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

Václav Šmilauer, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
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.