Hello, I am using a Debian etch system:
kernel: linux-image-2.6.17-1-686 Debian version 2.6.17-5
s2ram: uswsusp Debian version 0.2-1
kernel command line: kernel /vmlinuz-2.6.17-1-686 root=/dev/mapper/store-root
rw quiet init=/bin/bash
(kernel uses Debian built initramfs which uses a standard test console).
This machine can be identified by:
sys_vendor = "IBM"
sys_product = "2887NQ9"
sys_version = "ThinkPad R51"
bios_version = "1VET66WW (1.24 )"
lspci -v output is attached.
I tried each command in succession:
s2ram -f
s2ram -f -a 1
s2ram -f -a 2
s2ram -f -a 3
s2ram -f -p -s
s2ram -f -s
s2ram -f -p
s2ram -f -a 1 -s
None of these "worked". For each of them the system went into suspend
mode. One resuming with the power button or the "function Fn key",
the system came up the state where it had the message about "stopping
tasks" with "======|" at the top of the screen. After this the screen
did not show anything and keyboard activity produced apparently no
effect. However, I managed to use Alt-Sysrq to Sync and Unmount
disks but power-Off did not work---system did not power-off.
I do however *have* a working suspend-to-ram configuration that I learnt
from
http://www.thinkwiki.org/Problem_with_display_remaining_black_after_resume#Solution_for_ThinkPads_with_Intel_Extreme_Graphics_2
This involves saving the contents of /proc/bus/pci/00/02.0 before
suspending and restoring it after suspending. I am attaching the
relevant script.
Thanks and best regards,
Kapil.
--
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to
I/O Controller (rev 02)
Subsystem: IBM Unknown device 055c
Flags: bus master, fast devsel, latency 0
Memory at <unassigned> (32-bit, prefetchable)
Capabilities: [40] Vendor Specific Information
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV
Processor to I/O Controller (rev 02)
Subsystem: IBM Unknown device 055d
Flags: bus master, fast devsel, latency 0
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV
Processor to I/O Controller (rev 02)
Subsystem: IBM Unknown device 055e
Flags: bus master, fast devsel, latency 0
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated
Graphics Device (rev 02) (prog-if 00 [VGA])
Subsystem: IBM Unknown device 0557
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Memory at d0000000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 1800 [size=8]
Capabilities: [d0] Power Management version 1
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics
Device (rev 02)
Subsystem: IBM Unknown device 0557
Flags: fast devsel
Memory at e8000000 (32-bit, prefetchable) [disabled] [size=128M]
Memory at d0080000 (32-bit, non-prefetchable) [disabled] [size=512K]
Capabilities: [d0] Power Management version 1
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM Unknown device 052d
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1820 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM Unknown device 052d
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1840 [size=32]
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM Unknown device 052d
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1860 [size=32]
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI
Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: IBM Unknown device 052e
Flags: bus master, medium devsel, latency 0, IRQ 11
Memory at d0100000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81) (prog-if
00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=05, sec-latency=64
I/O behind bridge: 00003000-00007fff
Memory behind bridge: d0200000-dfffffff
Prefetchable memory behind bridge: f0000000-f7ffffff
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge
(rev 01)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev
01) (prog-if 8a [Master SecP PriP])
Subsystem: IBM Unknown device 052d
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at 1810 [size=16]
Memory at 20000000 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 01)
Subsystem: IBM Unknown device 052d
Flags: medium devsel, IRQ 5
I/O ports at 1880 [size=32]
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
Subsystem: IBM Unknown device 0554
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at 1c00 [size=256]
I/O ports at 18c0 [size=64]
Memory at d0100c00 (32-bit, non-prefetchable) [size=512]
Memory at d0100800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97
Modem Controller (rev 01) (prog-if 00 [Generic])
Subsystem: IBM Unknown device 0559
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at 2400 [size=256]
I/O ports at 2000 [size=128]
Capabilities: [50] Power Management version 2
02:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
Subsystem: IBM Unknown device 0512
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at b0000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=04, sec-latency=176
Memory window 0: f0000000-f1fff000 (prefetchable)
Memory window 1: d2000000-d3fff000
I/O window 0: 00003000-000030ff
I/O window 1: 00003400-000034ff
16-bit legacy interface ports at 0001
02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network
Connection (rev 05)
Subsystem: Intel Corporation Unknown device 2712
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at d0200000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB)
Ethernet Controller (rev 81)
Subsystem: IBM Unknown device 0522
Flags: bus master, medium devsel, latency 66, IRQ 11
Memory at d0201000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 7000 [size=64]
Capabilities: [dc] Power Management version 2
suspend.sh
Description: Bourne shell script
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Suspend-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/suspend-devel
