Public bug reported:

Binary package hint: hal

Toshiba P100 (PSPA3E) fails to suspend (and so, resume) properly,
approximatively 50% tries.

/var/log/messages showing:
1) For successful resumes:
(...)
May 13 23:15:44 marsupilami gnome-power-manager: (yann) Mise en veille de 
l'ordinateur. Raison : Le bouton de mise en veille a été appuyé.
May 13 23:15:44 marsupilami kernel: [  954.761484] atkbd.c: Unknown key 
released (translated set 2, code 0x55 on isa0060/serio0).
May 13 23:15:44 marsupilami kernel: [  954.761492] atkbd.c: Use 'setkeycodes 55 
<keycode>' to make it known.
May 13 23:15:46 marsupilami kernel: [  957.035467] ehci_hcd 0000:00:1d.7: 
remove, state 4
May 13 23:15:46 marsupilami kernel: [  957.035480] usb usb5: USB disconnect, 
address 1
May 13 23:15:46 marsupilami kernel: [  957.039685] ehci_hcd 0000:00:1d.7: USB 
bus 5 deregistered
May 13 23:15:46 marsupilami kernel: [  957.039739] ACPI: PCI interrupt for 
device 0000:00:1d.7 disabled
May 13 23:15:47 marsupilami kernel: [  957.225345] ACPI: PCI interrupt for 
device 0000:02:00.0 disabled
May 13 23:15:47 marsupilami kernel: [  957.490361] ACPI: PCI interrupt for 
device 0000:03:00.0 disabled
May 13 23:16:02 marsupilami kernel: [  958.707658] Syncing filesystems ... done.
May 13 23:16:02 marsupilami kernel: [  958.707695] Freezing user space 
processes ... (elapsed 0.00 seconds) done.
May 13 23:16:02 marsupilami kernel: [  958.708397] Freezing remaining freezable 
tasks ... (elapsed 0.09 seconds) done.
May 13 23:16:02 marsupilami kernel: [  958.805121] Suspending console(s)
May 13 23:16:02 marsupilami kernel: [  958.805162] sd 0:0:0:0: [sda] 
Synchronizing SCSI cache
May 13 23:16:02 marsupilami kernel: [  958.874304] sd 0:0:0:0: [sda] Stopping 
disk
May 13 23:16:02 marsupilami kernel: [  960.079840] ACPI: PCI interrupt for 
device 0000:0a:04.3 disabled
May 13 23:16:02 marsupilami kernel: [  960.095343] ACPI: PCI interrupt for 
device 0000:0a:04.2 disabled
May 13 23:16:02 marsupilami kernel: [  960.127683] NVRM: RmPowerManagement: 4
May 13 23:16:02 marsupilami kernel: [  961.691691] ACPI: PCI interrupt for 
device 0000:00:1f.2 disabled
May 13 23:16:02 marsupilami kernel: [  961.706395] ACPI: PCI interrupt for 
device 0000:00:1d.3 disabled
May 13 23:16:02 marsupilami kernel: [  961.706437] ACPI: PCI interrupt for 
device 0000:00:1d.2 disabled
May 13 23:16:02 marsupilami kernel: [  961.706478] ACPI: PCI interrupt for 
device 0000:00:1d.1 disabled
May 13 23:16:02 marsupilami kernel: [  961.706519] ACPI: PCI interrupt for 
device 0000:00:1d.0 disabled
May 13 23:16:02 marsupilami kernel: [  961.722803] ACPI: PCI interrupt for 
device 0000:00:1b.0 disabled
May 13 23:16:02 marsupilami kernel: [  961.764973] Disabling non-boot CPUs ...
May 13 23:16:02 marsupilami kernel: [  961.878071] CPU 1 is now offline
May 13 23:16:02 marsupilami kernel: [  961.878074] SMP alternatives: switching 
to UP code
May 13 23:16:02 marsupilami kernel: [  961.879683] CPU1 is down
May 13 23:16:02 marsupilami kernel: [    0.338622] Enabling non-boot CPUs ...
May 13 23:16:02 marsupilami kernel: [    0.348801] SMP alternatives: switching 
to SMP code
May 13 23:16:02 marsupilami kernel: [    0.349907] Booting processor 1/1 eip 
3000
(...)

2) For unsuccessul ones:
(...)
May 13 06:34:02 marsupilami gnome-power-manager: (yann) Mise en veille de 
l'ordinateur. Raison : Le bouton de mise en veille a été appuyé.
May 13 06:34:02 marsupilami kernel: [  205.768427] atkbd.c: Unknown key 
released (translated set 2, code 0x55 on isa0060/serio0).
May 13 06:34:02 marsupilami kernel: [  205.768437] atkbd.c: Use 'setkeycodes 55 
<keycode>' to make it known.
May 13 06:34:04 marsupilami kernel: [  207.478772] ehci_hcd 0000:00:1d.7: 
remove, state 4
May 13 06:34:04 marsupilami kernel: [  207.478784] usb usb5: USB disconnect, 
address 1
May 13 06:34:04 marsupilami kernel: [  207.482936] ehci_hcd 0000:00:1d.7: USB 
bus 5 deregistered
May 13 06:34:04 marsupilami kernel: [  207.482996] ACPI: PCI interrupt for 
device 0000:00:1d.7 disabled
May 13 06:34:04 marsupilami kernel: [  207.668975] ACPI: PCI interrupt for 
device 0000:02:00.0 disabled
May 13 06:34:04 marsupilami kernel: [  207.916748] ACPI: PCI interrupt for 
device 0000:03:00.0 disabled
May 13 06:37:56 marsupilami syslogd 1.5.0#1ubuntu1: restart.
May 13 06:37:56 marsupilami kernel: Inspecting 
/boot/System.map-2.6.24-16-generic
May 13 06:37:56 marsupilami kernel: Loaded 27704 symbols from 
/boot/System.map-2.6.24-16-generic.
May 13 06:37:56 marsupilami kernel: Symbols match kernel version 2.6.24.
(...)

So, we an see that when unsucessul, suspend process stop just before
syncing disks, also causing FS checks at reboot (always with some
journal retrieve/orphan inodes cleared, hope I'll not have problems).

It seems the solution to this bug is to had a quirk in the HAL, which
previously had to be done in grub ("acpi_sleep=s3_mode,s3_bios" with my
previous Dapper+Powersaved configuration I just ugraded to Hardy). A
google search show this quirk have already be pushed in HAL since april
and with pm-utils it seems to override grub boot line options (nothing
changed using them??!!).

See:
http://lists.freedesktop.org/archives/hal-commit/2008-April/004400.html

Verified adding "P100" here to my 
/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-toshiba.fdi
to get april hal-commit like config on Hardy:
        <match key="system.hardware.product" contains_outof="M35X;P100;P200; 
A100; A135; L30;M70">
          <merge key="power_management.quirk.s3_bios" type="bool">true</merge>
          <merge key="power_management.quirk.s3_mode" type="bool">true</merge>
        </match>

And it seems to work so far... inch'Allah...

The only issues I still have with suspend is sometimes a blank screen
using nvidia proprietary drivers (7600 Go GPU). Tried a few quircks but
without success so far (any hint welcome!). Resuming was not causing
such problems with dapper/powersaved and boot line adds. Also, as I
Dapper, I still have no sound after resume (should be nice to fix this
also, any hints welcome again!).

But this remaining blank screen issue (only backlight seems to be on) is
far less critical: If you enter your password it resumes with normal
screen!

Should be nice to push this asap in updates!

Regards

** Affects: hal (Ubuntu)
     Importance: Undecided
         Status: New

-- 
HAL quirks tbd for Toshiba P100 resume from STR
https://bugs.launchpad.net/bugs/230184
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to