WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Marginal case - Suspend help request  (Read 5150 times)

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Marginal case - Suspend help request
« on: January 15, 2009, 06:41:55 PM »
Didn't know whether to put this under base or extensions (suspend.tce?).

Any/all help welcome. Pardon the long logs below.

Problem: Suspend (to ram) doesn't work. N410c

Details:

In short, running an HP/Compaq Evo N410c. Suspend isn't quite right, haven't tried hibernate. On some kernels, the hardware doesn't completely come out of suspend (black screen, no hardware detection, etc). This is a known problem with multiple distros ... but it just happens to work fine on Xubuntu 8.04.1 (Hardy Heron; just had to remove acpi=off from kernel args).

I've installed TC with the suspend & cpufreq extensions. The system goes into suspend fine, but it's random on how far it comes out. Always blank/black screen. Occassionally (1/20 times) keyboard works enough to issue reboot (ctrl-alt-del). I've been trying to debug things and then resetting by hand.

echo -n mem sends down the system fine. The hardware recognizes its wake-up call (any of three possible switches/buttons).

I've read about and tried store/restoring the vid buffer and switching consoles http://www.linux.com/feature/54610. No real help there.

I've read about the kernel suspend procedure http://ubuntuforums.org/showthread.php?p=3066404. I'll rebuild the kernel and debug the long way if necessary.

Current plan is to dig through Xubuntu and learn how/what it's doing.

Again, all help welcome!

Details from TC up and running: lspci, lsmod, dmesg

lspci output:

Code: [Select]
00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82830 830 Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
02:02.0 USB Controller: NEC Corporation USB (rev 41)
02:02.1 USB Controller: NEC Corporation USB (rev 41)
02:02.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
02:03.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
03:00.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)

lsmod output:
Code: [Select]
Module                  Size  Used by
wlan_scan_sta          12160  1
ath_rate_sample        12288  1
ath_pci               207544  0
wlan                  182836  4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               300128  3 ath_rate_sample,ath_pci
vfat                    9984  1
fat                    39328  1 vfat
pcmcia                 23272  0
firmware_class          7424  1 pcmcia
sg                     24500  0
serio_raw               5636  0
yenta_socket           21388  2
rsrc_nonstatic         10240  1 yenta_socket
pcmcia_core            28948  3 pcmcia,yenta_socket,rsrc_nonstatic
ohci_hcd               19076  0
scsi_wait_scan          2176  0
battery                11012  0
ac                      4996  0

dmesg output:
Code: [Select]
MPAQ   CPQCPU     1001 MSFT  100000E)
ACPI: SSDT 1FFF6E22, 010E (r1 COMPAQ  CPQGysr     1001 MSFT  100000E)
ACPI: PM-Timer IO Port: 0x1008
Allocating PCI resources starting at 30000000 (gap: 20000000:e0000000)
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
SMP: Allowing 0 CPUs, 0 hotplug CPUs
PERCPU: Allocating 36776 bytes of per cpu data
NR_CPUS: 8, nr_cpu_ids: 1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130000
Kernel command line: tce=sda1/tiny/tce vga=791
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffb000 (0140d000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 996.694 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 506708k/524096k available (2430k kernel code, 16876k reserved, 1058k data, 284k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff4c000 - 0xfffff000   ( 716 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xe0800000 - 0xff7fe000   ( 495 MB)
    lowmem  : 0xc0000000 - 0xdffd0000   ( 511 MB)
      .init : 0xc0470000 - 0xc04b7000   ( 284 kB)
      .data : 0xc035f961 - 0xc04681b8   (1058 kB)
      .text : 0xc0100000 - 0xc035f961   (2430 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
CPA: page pool initialized 1 of 1 pages preallocated
Calibrating delay using timer specific routine.. 1995.69 BogoMIPS (lpj=3324310)
Mount-cache hash table entries: 512
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
ACPI: Core revision 20080321
ACPI: setting ELCR to 0200 (from 0c00)
weird, boot CPU (#0) not listedby the BIOS.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
SMP disabled
Brought up 1 CPUs
Total of 1 processors activated (1995.69 BogoMIPS).
net_namespace: 632 bytes
NET: Registered protocol family 16
No dock devices found.
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf03a2, last bus=3
PCI: Using configuration type 1 for base access
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [C03E] (0000:00)
pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: region 1100-113f claimed by ICH4 GPIO
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.C03E._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.C03E.C03F._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.C03E.C053._PRT]
ACPI: PCI Interrupt Link [C0BB] (IRQs 5 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C0BC] (IRQs 5 10 *11)
ACPI: PCI Interrupt Link [C0BD] (IRQs 5 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C0BE] (IRQs 5 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C0BF] (IRQs 5 *10 11)
ACPI: PCI Interrupt Link [C0C0] (IRQs 5 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C0C1] (IRQs 5 10 *11)
ACPI: PCI Interrupt Link [C0C2] (IRQs 5 10 11) *0, disabled.
ACPI: Power Resource [C14D] (on)
ACPI: Power Resource [C171] (on)
ACPI: Power Resource [C1E0] (off)
ACPI: Power Resource [C1E1] (off)
ACPI: Power Resource [C1E2] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 12 devices
ACPI: ACPI bus type pnp unregistered
PnPBIOS: Disabled by ACPI PNP
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:00: iomem range 0xe0000-0xfffff could not be reserved
system 00:00: iomem range 0x100000-0x1fffffff could not be reserved
system 00:09: ioport range 0x140-0x14f has been reserved
system 00:09: iomem range 0xffb00000-0xffbfffff has been reserved
system 00:09: iomem range 0xfff00000-0xffffffff has been reserved
system 00:0a: ioport range 0x4d0-0x4d1 has been reserved
system 00:0a: ioport range 0x1000-0x1087 could not be reserved
system 00:0a: ioport range 0x1100-0x113f has been reserved
system 00:0a: ioport range 0x1200-0x121f has been reserved
system 00:0a: iomem range 0xffc00000-0xffc003ff has been reserved
system 00:0b: iomem range 0xce000-0xcffff has been reserved
PCI: region 0000:02:03.0/9 too large: 0x0000000000000000-0x0000000003ffffff
PCI: Bridge: 0000:00:01.0
  IO window: 2000-2fff
  MEM window: 0x40200000-0x402fffff
  PREFETCH window: 0x0000000048000000-0x000000004fffffff
PCI: Bus 3, cardbus bridge: 0000:02:03.0
  IO window: 0x00004000-0x000040ff
  IO window: 0x00004400-0x000044ff
  MEM window: 0x34000000-0x37ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: 4000-4fff
  MEM window: 0x40000000-0x401fffff
  PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:1e.0 to 64
ACPI: PCI Interrupt Link [C0C1] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:02:03.0[A] -> Link [C0C1] -> GSI 11 (level, low) -> IRQ 11
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...<7>Switched to high resolution mode on CPU 0
 it is
Freeing initrd memory: 8190k freed
fuse init (API version 7.9)
msgmni has been set to 1005
io scheduler noop registered
io scheduler deadline registered (default)
pci 0000:01:00.0: Boot video device
vesafb: framebuffer at 0x48000000, mapped to 0xe0880000, using 3072k, total 16384k
vesafb: mode is 1024x768x16, linelength=2048, pages=9
vesafb: protected mode interface info at c000:520b
vesafb: pmi: set display start = c00c529f, set palette = c00c52eb
vesafb: pmi: ports = 2010 2016 2054 2038 203c 205c 2000 2004 20b0 20b2 20b4
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: Power Button (FF) [PWRF]
input: Sleep Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1
ACPI: Sleep Button (CM) [C190]
input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input2
ACPI: Lid Switch [C191]
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: ACPI0007:00 is registered as cooling_device0
ACPI: Processor [C000] (supports 8 throttling states)
ACPI: LNXTHERM:01 is registered as thermal_zone0
ACPI: Thermal Zone [TZ1] (58 C)
ACPI: LNXTHERM:02 is registered as thermal_zone1
ACPI: Thermal Zone [C1DF] (35 C)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
brd: module loaded
loop: module loaded
pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
ThunderLAN driver v1.15
TLAN: 0 devices installed, PCI: 0  EISA: 0
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
winbond-840.c:v1.01-e (2.4 port) Sep-11-2006  Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/drivers.html
Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH3M: IDE controller (0x8086:0x248a rev 0x02) at  PCI slot 0000:00:1f.1
PIIX_IDE 0000:00:1f.1: enabling device (0005 -> 0007)
ACPI: PCI Interrupt Link [C0BD] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [C0BD] -> GSI 10 (level, low) -> IRQ 10
ICH3M: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x3440-0x3447
    ide1: BM-DMA at 0x3448-0x344f
Probing IDE interface ide0...
hda: HITACHI_DK23CA-10, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/100 mode selected
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide_generic: I/O resource 0x1F0-0x1F7 not free.
ide_generic: I/O resource 0x170-0x177 not free.
hda: max request size: 128KiB
hda: 19640880 sectors (10056 MB) w/512KiB Cache, CHS=19485/16/63
hda: cache flushes not supported
 hda: hda1 hda2 < hda5 >
Driver 'sd' needs updating - please use bus_type methods
ACPI: PCI Interrupt Link [C0BF] enabled at IRQ 10
ACPI: PCI Interrupt 0000:02:02.2[C] -> Link [C0BF] -> GSI 10 (level, low) -> IRQ 10
ehci_hcd 0000:02:02.2: EHCI Host Controller
ehci_hcd 0000:02:02.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:02.2: irq 10, io mem 0x40180000
ehci_hcd 0000:02:02.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:C16E,PNP0f13:C16F] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
cpuidle: using governor ladder
cpuidle: using governor menu
Marking TSC unstable due to: TSC halts in idle.
Clocksource tsc unstable (delta = -109939733 ns)
usb 1-2: new high speed USB device using ehci_hcd and address 2
usb 1-2: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Using IPI No-Shortcut mode
Freeing unused kernel memory: 284k freed
Synaptics Touchpad, model: 1, fw: 5.6, id: 0x165eb1, caps: 0x804713/0x0
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input4
ACPI: AC Adapter [C18F] (on-line)
ACPI: Battery Slot [C18B] (battery present)
ACPI: Battery Slot [C18C] (battery absent)
ACPI: Battery Slot [C18D] (battery absent)
ACPI: Battery Slot [C18E] (battery absent)
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [C0BF] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:02:02.0: OHCI Host Controller
ohci_hcd 0000:02:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:02:02.0: irq 10, io mem 0x40000000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:02:02.1[B] -> Link [C0BF] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:02:02.1: OHCI Host Controller
ohci_hcd 0000:02:02.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:02:02.1: irq 10, io mem 0x40080000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb-storage: device scan complete
scsi 0:0:0:0: Direct-Access     LG       USB Drive        2.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 2045440 512-byte hardware sectors (1047 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 2045440 512-byte hardware sectors (1047 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
Yenta: CardBus bridge found at 0000:02:03.0 [0e11:00b4]
PCI: Bus 3, cardbus bridge: 0000:02:03.0
  IO window: 0x00004000-0x000040ff
  IO window: 0x00004400-0x000044ff
  PREFETCH window: 0x30400000-0x307fffff
  MEM window: 0x34000000-0x37ffffff
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:03.0, mfunc 0x012c1202, devctl 0x64
Yenta: ISA IRQ mask 0x00f8, PCI irq 11
Socket status: 30000020
Yenta: Raising subordinate bus# of parent bus (#02) from #03 to #06
pcmcia: parent PCI bridge I/O window: 0x4000 - 0x4fff
cs: IO port probe 0x4000-0x4fff: clean.
pcmcia: parent PCI bridge Memory window: 0x40000000 - 0x401fffff
pccard: CardBus card inserted into slot 0
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 465844k swap on /dev/hda5.  Priority:-1 extents:1 across:465844k
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ath_hal: module license 'Proprietary' taints kernel.
AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417)
ath_pci 0000:03:00.0: enabling device (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [C0C1] -> GSI 11 (level, low) -> IRQ 11
MadWifi: ath_attach: Switching rfkill capability off.
wifi0: Atheros AR2414 chip found (MAC 7.9, PHY 2112A 4.5, Radio 5.6)
ath_pci: wifi0: Atheros 5212: mem=0x30400000, irq=11

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13996
Re: Marginal case - Suspend help request
« Reply #1 on: January 15, 2009, 08:14:02 PM »
if you go to http://en.opensuse.org/S2ram there's a bunch of things you could try to troubleshoot

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: Marginal case - Suspend help request
« Reply #2 on: January 15, 2009, 10:37:56 PM »
Juanito - thanks for the opensuse site. I've tried just a few things, one helps a good bit.

Tested:
vga=0 (except video, everything comes out alive every time now. Thanks for that!)
acpi_sleep=s3_mode (no good)
acpi_sleep=s3_bios (hard lock after suspend)
acpi_sleep=s3_mode,s3_bios (hard lock after suspend)

Still reading/searching/testing.

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: Marginal case - Suspend help request
« Reply #3 on: January 15, 2009, 11:16:20 PM »
Juanito -

Thanks again - suspend and restore successfully from within X:

Code: [Select]
s2ram -f -p -m
Output from s2ram -i:
Code: [Select]
    sys_vendor   = "Compaq "
    sys_product  = "Evo N410c                           "
    sys_version  = ""
    bios_version = "686A2 Ver. F.14"

I'll keep testing for other working codes, but I'll consider this solved. I'll record any further notes at my own site (dentonlt.com/trombonepress/).

Cheers =)
« Last Edit: January 15, 2009, 11:34:16 PM by dentonlt »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13996
Re: Marginal case - Suspend help request
« Reply #4 on: January 15, 2009, 11:34:45 PM »
Hey - great news  :)

Out of interest, did you require the dbus extension or did it work without?

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: Marginal case - Suspend help request
« Reply #5 on: January 16, 2009, 01:05:38 AM »
without dbus_glib extension (I see you have that listed on the repository). I rebooted with only suspend.tce and pci_utils.tce, and it still works great.

Next projects are hibernate and linking the suspend button to the suspend script. I'll let you know if I have any success with suspend-to-disk.

Thanks for compiling those extensions. Obviously useful stuff!
« Last Edit: January 16, 2009, 01:16:09 AM by dentonlt »

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: Marginal case - Suspend help request
« Reply #6 on: January 23, 2009, 12:50:49 AM »
Since I got s2ram working, I repacked suspend.tce for my system. I added a wbar icon/spec file, menu file, and short script. I've attached the icon/spec/menu files below. Maybe they'll be useful for others.

To use these, one would have to create a script at /usr/local/bin/suspend.sh, and then repack the tce with all four files. See the wiki guide on Creating tce/tcz files.