You are not logged in.
Pages: 1
Finally, virtually everything I've ever wanted working on my laptop works thanks to Arch, including the elusive ACPI S3 sleep mode. There is only one problem: the ACPI exits on resume from sleep, which means I manually have to type in /etc/rc.d/acpid start before it will sleep again, or before my battery and temperature monitoring applets will work. Admittedly, this is a small annoyance next to it not resuming at all, but I'm SO CLOSE to every single feature working flawlessly, and this seems like such a small thing. However, I am baffled. My /var/log/acpid :
[Fri Aug 25 11:11:49 2006] received event "button/lid LID 00000080 00000006"
[Fri Aug 25 11:11:49 2006] notifying client 6122[0:0]
[Fri Aug 25 11:11:49 2006] notifying client 6156[0:0]
[Fri Aug 25 11:11:49 2006] completed event "button/lid LID 00000080 00000006"
[Fri Aug 25 11:11:49 2006] exiting
[Fri Aug 25 11:27:37 2006] starting up
[Fri Aug 25 11:27:37 2006] 0 rules loaded
[Fri Aug 25 11:27:37 2006] events file connection closed
[Fri Aug 25 11:27:37 2006] exiting
As I understand it, acpid is designed to exit when it finds a /proc/acpi/events file that is closed. Somehow, on resume, this file is not being initialized again fast enough by the kernel. I'm using the 2.6.17-beyond3 kernel. ACPI is just serving as an events concentrator for powersaved, hal-acpi-addon, and all of the other programs that otherwise fight over the /proc/acpi/events file. The suspend2ram.log file from powersaved:
suspend2ram initiated: 2006-08-25 11:11:49
Debug info follows here, please include in your bug reports. Thanks.
--------------------------------------------------------------------
Loaded modules:
Module Size Used by
ath_pci 74532 0
ehci_hcd 25608 0
uhci_hcd 18440 0
sha256 11520 0
twofish 44800 2
fglrx 383596 8
ip_queue 7840 1
iptable_filter 3072 1
ip_tables 11236 1 iptable_filter
ipv6 203424 10
rfcomm 29332 0
hidp 12800 2
l2cap 18688 10 rfcomm,hidp
bluetooth 37220 5 rfcomm,hidp,l2cap
sd_mod 14848 0
pcmcia 27820 0
wlan_scan_sta 11520 1
usb_storage 67776 0
snd_seq_oss 26368 0
snd_seq_midi_event 6400 1 snd_seq_oss
slamr 427304 0
snd_seq 42576 4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 32160 0
snd_mixer_oss 14208 1 snd_pcm_oss
i2c_viapro 7572 0
i2c_core 15872 1 i2c_viapro
yenta_socket 21004 1
rsrc_nonstatic 10240 1 yenta_socket
pcmcia_core 31128 3 pcmcia,yenta_socket,rsrc_nonstatic
shpchp 30504 0
pci_hotplug 24004 1 shpchp
amd64_agp 9796 1
agpgart 24012 2 fglrx,amd64_agp
ath_rate_sample 10240 1 ath_pci
wlan 155612 4 ath_pci,wlan_scan_sta,ath_rate_sample
ath_hal 190160 3 ath_pci,ath_rate_sample
ohci1394 27568 0
ieee1394 74840 1 ohci1394
tg3 88580 0
via_ircc 16916 0
snd_via82xx 21528 2
gameport 11016 1 snd_via82xx
snd_mpu401_uart 6528 1 snd_via82xx
snd_rawmidi 17952 1 snd_mpu401_uart
snd_seq_device 6540 3 snd_seq_oss,snd_seq,snd_rawmidi
snd_via82xx_modem 10888 6
snd_ac97_codec 79520 2 snd_via82xx,snd_via82xx_modem
snd_ac97_bus 2688 1 snd_ac97_codec
snd_pcm 64644 6 snd_pcm_oss,snd_via82xx,snd_via82xx_modem,snd_ac97_codec
snd_timer 17412 2 snd_seq,snd_pcm
snd 40292 26 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_via82xx_modem,snd_ac97_codec,snd_pcm,snd_timer
soundcore 7520 1 snd
snd_page_alloc 7688 3 snd_via82xx,snd_via82xx_modem,snd_pcm
ppdev 7300 0
lp 9092 0
rtc 10036 0
irda 102200 1 via_ircc
crc_ccitt 2688 1 irda
parport_pc 22564 1
parport 28616 3 ppdev,lp,parport_pc
joydev 7872 0
evdev 7680 2
acerhk 23676 0
cpufreq_ondemand 6444 1
powernow_k8 10912 0
freq_table 4256 1 powernow_k8
capability 3848 0
commoncap 5760 1 capability
usbcore 97408 4 ehci_hcd,uhci_hcd,usb_storage
ext3 107528 3
jbd 48020 1 ext3
dm_crypt 9352 1
dm_mod 42648 7 dm_crypt
ide_cd 32160 0
cdrom 30368 1 ide_cd
ide_disk 14724 3
via82cxxx 8068 0 [permanent]
generic 4740 0 [permanent]
ide_core 99912 5 usb_storage,ide_cd,ide_disk,via82cxxx,generic
Memory info:
total used free shared buffers cached
Mem: 1035084 288908 746176 0 13860 136012
-/+ buffers/cache: 139036 896048
Swap: 2097144 0 2097144
/proc/cmdline: root=/dev/system/root ro video=vesafb:ywrap,mtrr,1400x1050-32@75 splash=silent,theme:gir console=tty1 quiet resume2=swap:/dev/system/swap
------------------------------------------------------------------------------
========we are going to sleep, preparing.========
== checking runlevel ==
no shutdown/reboot in progress, good.
== Unmounting FAT/NTFS filesystems: ==
none found in /etc/mtab
== FAT/NTFS filesystems unmounted ==
Stopping services: ('networkmanager acpid acpid cups netfs alsa network' configured)
stopping acpid:
## stty: standard input: Invalid argument
## [1;34m:: [1;37mStopping acpid[1;0m [-9G [1;34m[[0;36mBUSY[1;34m][1;0m [-9G [1;34m[[1;37mDONE[1;34m][1;0m
stopping netfs:
## stty: standard input: Invalid argument
## [1;34m:: [1;37mUnmounting network filesystems[1;0m [-9G [1;34m[[0;36mBUSY[1;34m][1;0m [-9G [1;34m[[1;37mDONE[1;34m][1;0m
stopping alsa:
## stty: standard input: Invalid argument
## [1;34m:: [1;37mSaving ALSA Levels[1;0m [-9G [1;34m[[0;36mBUSY[1;34m][1;0m [-9G [1;34m[[1;37mDONE[1;34m][1;0m
stopping network:
## stty: standard input: Invalid argument
## stty: standard input: Invalid argument
## [1;34m:: [1;37mStopping Network[1;0m [-9G [1;34m[[0;36mBUSY[1;34m][1;0m [-9G [1;34m[[1;37mDONE[1;34m][1;0m
ejecting PCMCIA cards...
------------------------------------------------------------------------------
Unloading modules: ('prism54 nvidia ath_pci nvsound acx100 acx_pci hsfmodem prism54 bcm4400 emu10k1 forcedeth ipw2100 ipw2200 natsemi psmouse rt2400 ehci_hcd ohci_hcd uhci_hcd ehci-hcd usb-ohci usb-uhci snd_ens1370 snd_ens1371 en1370 en1371 via_agp via_rhine i8042 intel_mch_agp rt2500 button speedstep_smi ndiswrapper usblp' configured)
checking prism54
checking nvidia
checking ath_pci
# trying to unload: ath_pci
unloaded: ath_pci
checking nvsound
checking acx100
checking acx_pci
checking hsfmodem
checking prism54
checking bcm4400
checking emu10k1
checking forcedeth
checking ipw2100
checking ipw2200
checking natsemi
checking psmouse
checking rt2400
checking ehci_hcd
# trying to unload: ehci_hcd
unloaded: ehci_hcd
checking ohci_hcd
checking uhci_hcd
# trying to unload: uhci_hcd
unloaded: uhci_hcd
checking ehci-hcd
checking usb-ohci
checking usb-uhci
checking snd_ens1370
checking snd_ens1371
checking en1370
checking en1371
checking via_agp
checking via_rhine
checking i8042
checking intel_mch_agp
checking rt2500
checking button
checking speedstep_smi
checking ndiswrapper
checking usblp
------------------------------------------------------------------------------
prepare_sleep finished for suspend2ram
------------------------------------------------------------------------------
/usr/sbin/s2ram not found, falling back to echo.
==== finished, return code 0 ====
========we are back from suspend, cleaning up.========
== restore_after_sleep: restart and reload everything ==
Resuming:
---------
switched back to console: ' 7'
Reloading modules:
uhci_hcd
ehci_hcd
ath_pci
inserting PCMCIA cards...
Restarting services:
starting network:
## stty: standard input: Invalid argument
## [1;34m:: [1;37mStarting Network[1;0m [-9G [1;34m[[0;36mBUSY[1;34m][1;0m [-9G [1;34m[[1;37mDONE[1;34m][1;0m
starting alsa:
## stty: standard input: Invalid argument
## [1;34m:: [1;37mRestoring ALSA Levels[1;0m [-9G [1;34m[[0;36mBUSY[1;34m][1;0m [-9G [1;34m[[1;37mDONE[1;34m][1;0m
starting netfs:
## stty: standard input: Invalid argument
## [1;34m:: [1;37mMounting Network Filesystems[1;0m [-9G [1;34m[[0;36mBUSY[1;34m][1;0m [-9G [1;34m[[1;37mDONE[1;34m][1;0m
starting acpid:
## stty: standard input: Invalid argument
## [1;34m:: [1;37mStarting acpid[1;0m [-9G [1;34m[[0;36mBUSY[1;34m][1;0m [-9G [1;34m[[1;37mDONE[1;34m][1;0m
Remounting filesystems:
not necessary.
======================================
restore_after_suspend_to_ram: finished
Sorry about the messed up characters. I've tried adding acpid to the services restarted by powersaved, and even editing the powersaved scripts so that they'll run /etc/rc.d/acpid start as the absolute last possible thing, with no luck. If anyone has any insights into how this might be fixed, I would appreciate the help. If I can get this resolved, I would be more than happy to write a wiki tutorial on how to get my laptop, an Acer Ferrari 3200 fully functional on ArchLinux.
Thanks in advance,
joshuaheretic
Offline
Pages: 1