I have an IBM T500 laptop with dual graphics, an Intel i965 (ICH9 family
motherboard), and an ATI HD3650:

rob@rob-kubuntu3:~$ lspci |grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3650

I have 2 xorg.conf files, one for each card, chosen at boot by:
rob@rob-kubuntu3:~$ cat /etc/init.d/xorg-conf-picker 
#!/bin/sh
VIDEO=`/usr/bin/lspci |/bin/grep -c ATI`

if [ "$VIDEO" = 1 ]; then
    cp -f /etc/X11/xorg.conf.ati /etc/X11/xorg.conf
else
    cp -f /etc/X11/xorg.conf.intel /etc/X11/xorg.conf
fi

No other changes are made depending on which card is in use - the same stock 
maverick kernel is used in both cases.
If I am using the Intel card, sleep and resume work fine.  If i switch to the 
ATI card, everything *except* resume work.  So it has to be in the ATI driver 
or kernel.  I can't test an updated kernel, because the fglrx package from 
Ubuntu fails to compile with later stock kernels from kernel.org.  From a bit 
of testing, my suscipicion is that the restore of the LCD backlight is what's 
causing this, but I can't get pm-powersave to stop trying to restore the 
backlight state (insert rant about laptop-mode-tools being deprecated. :> )

>From the end of my last failed resume attempt:

Jan 31 20:36:28 rob-kubuntu3 kernel: [  918.112008] [fglrx] IRQ 52 Disabled
Jan 31 20:36:28 rob-kubuntu3 kernel: [  918.112075] [fglrx] Preparing suspend 
fglrx in kernel.
Jan 31 20:36:28 rob-kubuntu3 kernel: [  918.377530] [fglrx] Suspending fglrx in 
kernel completed.
Jan 31 20:36:28 rob-kubuntu3 kernel: [  918.377533] [fglrx] Power down the ASIC 
.
Jan 31 20:36:28 rob-kubuntu3 kernel: [  918.377574] PM: suspend of 
drv:fglrx_pci dev:0000:01:00.0 complete after 265.6
21 msecs

...cut...

Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.481079] uhci_hcd 0000:00:1d.1: PCI 
INT B -> GSI 17 (level, low) -> IRQ 17
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.481117] usb usb7: root hub lost 
power or was reset
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.481142] uhci_hcd 0000:00:1d.2: PCI 
INT C -> GSI 18 (level, low) -> IRQ 18
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.481179] usb usb8: root hub lost 
power or was reset
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.481439] [fglrx] Kernel supports PAT 
but it has been disabled
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.481441] [fglrx] Using driver 
built-in PAT support instead
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.483925] fglrx_pci 0000:01:00.0: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.484049] sdhci-pci 0000:15:00.2: PCI 
INT C -> GSI 18 (level, low) -> IRQ 18
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.484052] sdhci-pci 0000:15:00.2: 
Will use DMA mode even though HW doesn't fully claim to support it.
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.485088] fglrx_pci 0000:01:00.0: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.485397] uhci_hcd 0000:00:1a.0: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.485404] uhci_hcd 0000:00:1a.2: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.485409] ehci_hcd 0000:00:1a.7: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.485415] uhci_hcd 0000:00:1d.0: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.485420] ehci_hcd 0000:00:1d.7: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.486319] sd 0:0:0:0: [sda] Starting 
disk
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.496326] uhci_hcd 0000:00:1a.0: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.496331] uhci_hcd 0000:00:1a.0: PCI 
INT A -> GSI 20 (level, low) -> IRQ 20
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.496371] usb usb3: root hub lost 
power or was reset
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.496641] uhci_hcd 0000:00:1a.2: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.496645] uhci_hcd 0000:00:1a.2: PCI 
INT C -> GSI 22 (level, low) -> IRQ 22
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.496684] usb usb5: root hub lost 
power or was reset
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.496904] ehci_hcd 0000:00:1a.7: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.496911] ehci_hcd 0000:00:1a.7: PCI 
INT D -> GSI 23 (level, low) -> IRQ 23
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.497150] uhci_hcd 0000:00:1d.0: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.497155] uhci_hcd 0000:00:1d.0: PCI 
INT A -> GSI 16 (level, low) -> IRQ 16
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.497196] usb usb6: root hub lost 
power or was reset
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.497405] ehci_hcd 0000:00:1d.7: 
power state changed by ACPI to D0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.497411] ehci_hcd 0000:00:1d.7: PCI 
INT D -> GSI 19 (level, low) -> IRQ 19
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.516267] [fglrx] Power up the ASIC
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.516281] [fglrx] Preparing resume 
fglrx in kernel.
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.585038] [fglrx] Resuming fglrx in 
kernel completed.
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.585141] [fglrx] IRQ 52 Enabled
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.585152] PM: resume of drv:fglrx_pci 
dev:0000:01:00.0 complete after 103.721 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.621792] PM: resume of 
drv:firewire_ohci dev:0000:15:00.1 complete after 137.764 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.621820] firewire_core: skipped bus 
generations, destroying all nodes
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650077] PM: resume of drv:usb 
dev:usb7 complete after 164.137 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650102] PM: resume of drv:usb 
dev:usb8 complete after 164.061 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650106] PM: resume of drv:hub 
dev:7-0:1.0 complete after 164.079 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650121] PM: resume of drv:hub 
dev:8-0:1.0 complete after 163.938 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650126] PM: resume of drv:usb 
dev:usb4 complete after 164.270 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650132] PM: resume of drv:usb 
dev:usb2 complete after 164.327 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650150] PM: resume of drv:usb 
dev:usb6 complete after 164.238 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650161] PM: resume of drv:usb 
dev:usb5 complete after 164.271 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650170] PM: resume of drv:hub 
dev:2-0:1.0 complete after 164.354 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650174] PM: resume of drv:usb 
dev:usb3 complete after 164.344 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650183] PM: resume of drv:hub 
dev:4-0:1.0 complete after 164.307 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650190] PM: resume of drv:hub 
dev:6-0:1.0 complete after 164.264 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650200] PM: resume of drv:hub 
dev:5-0:1.0 complete after 164.300 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.650202] PM: resume of drv:hub 
dev:3-0:1.0 complete after 164.360 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.771372] usb 2-4: reset high speed 
USB device using ehci_hcd and address 3
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.830060] ata2: SATA link up 1.5 Gbps 
(SStatus 113 SControl 300)
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.850585] ata2.00: configured for 
UDMA/133
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.921050] usb 2-4: device firmware 
changed
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.921064] PM: resume of drv:usb 
dev:2-4 complete after 434.555 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.921083] PM: resume of drv:usb 
dev:2-4:1.3 complete after 434.450 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.921091] PM: resume of drv:usb 
dev:2-4:1.0 complete after 434.569 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.921095] PM: resume of drv:usb 
dev:2-4:1.2 complete after 434.474 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  921.921100] PM: resume of drv:usb 
dev:2-4:1.1 complete after 434.566 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.070031] ata1: SATA link up 1.5 Gbps 
(SStatus 113 SControl 300)
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.074977] ata1.00: ACPI cmd 
f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.075320] ata1.00: ACPI cmd 
ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.078891] ata1.00: ACPI cmd 
f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.079205] ata1.00: ACPI cmd 
ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.080864] ata1.00: configured for 
UDMA/100
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.105072] ata1.00: configured for 
UDMA/100
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.105075] ata1: EH complete
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.124448] PM: resume of drv:sd 
dev:0:0:0:0 complete after 638.132 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.124461] PM: resume of drv:scsi_disk 
dev:0:0:0:0 complete after 469.040 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.124476] PM: resume of 
drv:scsi_device dev:0:0:0:0 complete after 637.992 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.270058] PM: resume of 
drv:pcmcia_socket dev:pcmcia_socket0 complete after 145.463 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.270609] PM: resume of devices 
complete after 790.068 msecs
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.270849] PM: resume devices took 
0.790 seconds
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.277389] Restarting tasks ...
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.277501] usb 2-4: USB disconnect, 
address 3
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.297375] firewire_core: rediscovered 
device fw0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.355456] done.
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.355508] video LNXVIDEO:01: 
Restoring backlight state
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.391292] usb 2-4: new high speed USB 
device using ehci_hcd and address 4
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.575397] usb 2-4: New USB device 
found, idVendor=05c6, idProduct=9201
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.575401] usb 2-4: New USB device 
strings: Mfr=2, Product=1, SerialNumber=0
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.575403] usb 2-4: Product: Qualcomm 
HS-USB
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.575405] usb 2-4: Manufacturer: 
Qualcomm HS-USB
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.660200] usbcore: registered new 
interface driver usbserial
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.660225] USB Serial support 
registered for generic
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.660539] usbserial_generic: probe of 
2-4:1.0 failed with error -5
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.660853] usbcore: registered new 
interface driver usbserial_generic
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.660855] usbserial: USB Serial 
Driver core
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.698792] USB Serial support 
registered for Qualcomm USB modem
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.699804] qcserial 2-4:1.0: Qualcomm 
USB modem converter detected
Jan 31 20:36:28 rob-kubuntu3 kernel: [  922.699934] usb 2-4: Qualcomm USB modem 
converter now attached to ttyUSB0
Jan 31 20:36:29 rob-kubuntu3 kernel: [  922.700398] usbcore: registered new 
interface driver qcserial
Jan 31 20:36:29 rob-kubuntu3 kernel: [  923.245609] Synaptics Touchpad, model: 
1, fw: 7.0, id: 0x1c0b1, caps: 0xd04791/0xb00000/0x20000
Jan 31 20:36:29 rob-kubuntu3 kernel: [  923.245612] Synaptics: Clickpad mode 
enabled
Jan 31 20:36:29 rob-kubuntu3 kernel: [  923.245616] serio: Synaptics 
pass-through port at isa0060/serio1/input0
Jan 31 20:36:29 rob-kubuntu3 kernel: [  923.289385] input: SynPS/2 Synaptics 
TouchPad as /devices/platform/i8042/serio1/input/input14
Jan 31 20:36:32 rob-kubuntu3 kernel: [  926.202666] EXT4-fs (sda3): re-mounted. 
Opts: errors=remount-ro,commit=600
Jan 31 20:36:34 rob-kubuntu3 kernel: [  928.134865] EXT4-fs (sda5): re-mounted. 
Opts: commit=600
Jan 31 20:36:34 rob-kubuntu3 kernel: [  928.425436] EXT4-fs (sda3): re-mounted. 
Opts: errors=remount-ro,commit=600
Jan 31 20:36:34 rob-kubuntu3 kernel: [  928.428857] EXT4-fs (sda5): re-mounted. 
Opts: commit=600
Jan 31 20:36:35 rob-kubuntu3 kernel: [  929.206414] IBM TrackPoint firmware: 
0x0e, buttons: 3/3
Jan 31 20:36:35 rob-kubuntu3 kernel: [  929.444185] input: TPPS/2 IBM 
TrackPoint as /devices/platform/i8042/serio1/serio3/input/input15
Jan 31 20:36:54 rob-kubuntu3 kernel: [  948.372252] EXT4-fs (sda3): re-mounted. 
Opts: errors=remount-ro,commit=600
Jan 31 20:36:54 rob-kubuntu3 kernel: [  948.459313] EXT4-fs (sda5): re-mounted. 
Opts: commit=600
Jan 31 20:44:55 rob-kubuntu3 kernel: imklog 4.2.0, log source = /proc/kmsg 
started.
Jan 31 20:44:55 rob-kubuntu3 rsyslogd: [origin software="rsyslogd" 
swVersion="4.2.0" x-pid="1152" x-info="http://www.rsyslog.com";] (re)start
Jan 31 20:44:55 rob-kubuntu3 rsyslogd: rsyslogd's groupid changed to 103
Jan 31 20:44:55 rob-kubuntu3 rsyslogd: rsyslogd's userid changed to 101
Jan 31 20:44:55 rob-kubuntu3 kernel: [    0.000000] Initializing cgroup subsys 
cpuset
Jan 31 20:44:55 rob-kubuntu3 kernel: [    0.000000] Initializing cgroup subsys 
cpu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/713787

Title:
  System hangs shortly after any wake from suspend

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to