Sleep WORKS, but only once...
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
You might try this approach, using the following workflow...
1) *Get Specified Finder Items* -- press the "+" sign, navigate to the target folder and choose it.
2) *Set Folder Views* -- move the icon slider to 128, etc., and check "Apply Changes to Sub-folders."
From Automator's File menu select Save As Plug-in > Plug-in for: Folder Actions.
The AppleScript, located in the User > Library > Scripts > Folder Action Scripts folder, can then be modified:
on adding folder items to this_folder after receiving added_items
tell application "Macintosh HD:Users:username:Library:Workflows:Applications:Folder Actions:Make 128.app"
run -- 'run' replaces 'open added_items'
end tell
end adding folder items to
This has worked for me consistently (so far) using Mac OS 10.4.11; not tested in Leopard. Your results may vary.
Good luck.
Similar Messages
-
Folder Action works, but only once
Attached a Folder Action to a folder in my Home directory, to upon dropping folders/files to that folder will change the Folder Views to 128 Icon size (and subfolders) - works once, then next time I drop a folder into that folder doesn't do anything.
Here is the script attached via Automator to that folder
on adding folder items to this_folder after receiving added_items
tell application "Macintosh HD:Users:USERNAME:Library:Workflows:Applications:Folder Actions:MAKE 128.app"
open added_items
end tell
end adding folder items to
Is there something I'm doing wrong? Folder Actions are still Enabled for said folder but dropping into that folder does not produce these results - something happens in the menubar but that's it.
Message was edited by: nickdynamiteYou might try this approach, using the following workflow...
1) *Get Specified Finder Items* -- press the "+" sign, navigate to the target folder and choose it.
2) *Set Folder Views* -- move the icon slider to 128, etc., and check "Apply Changes to Sub-folders."
From Automator's File menu select Save As Plug-in > Plug-in for: Folder Actions.
The AppleScript, located in the User > Library > Scripts > Folder Action Scripts folder, can then be modified:
on adding folder items to this_folder after receiving added_items
tell application "Macintosh HD:Users:username:Library:Workflows:Applications:Folder Actions:Make 128.app"
run -- 'run' replaces 'open added_items'
end tell
end adding folder items to
This has worked for me consistently (so far) using Mac OS 10.4.11; not tested in Leopard. Your results may vary.
Good luck. -
My camera on snapchat works but only the front.. and my actual camera doesnt?
my camera on snapchat works but only the front.. and my actual camera doesnt?
Have you tried closing the Camera app via the multitasking bar and seeing if it works properley when you re-open it ? Double-click the home button to open the taskbar, and then swipe or drag the Camera app's screen from there up and off the top of the screen to close it, and click the home button to close the taskbar.
If that doesn't fix it then you could try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
I am having an issue with both Pages and Numbers on my iPad. Whenever I am at the document list page and use "edit" to make a copy of a document or delete it, the iPad locks up. Happens almost every time. Also happens on my iPhone but only once in a while. Thought of completely redoing the iPad, but if it happens on the phone as well, won't help. ???
Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
WiltonA_VZW
VZW Support
Follow us on twitter @VZWSupport -
Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. It worked, but only for those with PC. However, I could not get it to work with Apple loaded with Yosemite even with reader installed . Is there a way i can make it work for apple / Mac? It worked fine on a mac using Mountain Lion and reader
ThanksLiveCycle = XFA forms.
afaik - These cannot be used in Apple OSs.
Be well... -
Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go. it worked, but only for those with adobe pro. i could not get it to work with reader. is there a way i can make it work for reader?
Noted.
The LiveCycle user to user forum is across town at:
Adobe LiveCycle
Be well... -
my phone got wet about a week ago and after a lot of time in rice, it's working, but only intermittently. is there still hope or should i start shopping?
Apple Store will exchange for an out of warranty exchange iphone 4 at $149
If a new iPhone is not an alternative
Like for like and will be like new -
Student account for Adobe CC - downloaded and worked but only for TRIAL - now asks for license - how do I access the programs? I was given a redemption code (apparently redeemed already). How do I get the licensing code?
Ask whom/wherever you got the redemption code from for one that has not already been used.
-
i hooked up mine airport and finally got it to work but every once in a while my web browser gets stuck. how di fi?
Wow that was really quick, thank you so much. Im not sure at all which version it was because i said it was around 4 years ago he bought it. I know it isn't under his username, since he's a PC person (ugh) so i know its probably registered to one of our actual names. isn't there some way to look it up since we did register it, because I'm not even sure where the disks are from when we bought it (we've moved a lot and also have two storage lockers, i know i would have kept it with other disks) but my cd rom drive is actually broken on my computer as well ( i think it got stepped on and is now squished and won't eject or run disks.)
So is there anyway they can look up that its registered to one of our names since we did register it when we bought and installed it, or do i really have to find the disk with some sort of proof of purchase (i know there would be no receipt after all this time)
either way, ill do what you suggested to the best of my abilities and thank you so much for answering my questions, i can't even open the program as its incompatible and find out the info from that) so I'm in a bit of a pickle and your response was so thorough and it didn't seem to be posted long enough to even write a well researched response, thanks, all the best,
sarucia -
When I tried to update my iOS 4 ipad to iOS 6, it doesn't work but only say that the ipad software update server cannot be contacted. What should I do?
Hi Ruby,
Thanks for visiting Apple Support Communities.
You may find the troubleshooting steps in this article helpful for troubleshooting the connection issue you're seeing:
Can't connect to the iTunes Store
http://support.apple.com/kb/TS1368
Regards,
Jeremy -
Good day,
I get a grayish screen when I access internet via my Ipad. The touch screen is also not working but only with internet. How do I fix that?
thank you
mélanieI have the same problem! Can anyone help us? Thanks!!
-
Execute Javascript in SCRIPT_ITEM onload, but only once
Hi,
if I publish my webtemplate then the javascript function (executeJS_SET_ITEM_PARAMETERS_R) inside the script item is executed. The execution is done via onload="javascript:executeJS_SET_ITEM_PARAMETERS_R".
Within the JavaScript I create some parameters to change some settings of the webtemplate. At then end the command is executed and the template is refreshed.
1.The problem is that the Javascript is executed recursively (always onload). How can I ensure that the JavaScript is executed only once (the template only refreshed once)?
2.Within executeJS_SET_ITEM_PARAMETERS_R these lines are commented:
//To extract specific values of parameters refer to the following:
//var key = currentState.getParameter( <b>PARAM_KEY</b>).getValue();
//alert( "Selected key: " + key );
What is meant by PARAM_KEY? Maybe I can use this parameter to create a condition that ensures to execute the code only once. Where can I found these PARAM_KEYs?
Thanks for the info.
BR, AndreasYou might try this approach, using the following workflow...
1) *Get Specified Finder Items* -- press the "+" sign, navigate to the target folder and choose it.
2) *Set Folder Views* -- move the icon slider to 128, etc., and check "Apply Changes to Sub-folders."
From Automator's File menu select Save As Plug-in > Plug-in for: Folder Actions.
The AppleScript, located in the User > Library > Scripts > Folder Action Scripts folder, can then be modified:
on adding folder items to this_folder after receiving added_items
tell application "Macintosh HD:Users:username:Library:Workflows:Applications:Folder Actions:Make 128.app"
run -- 'run' replaces 'open added_items'
end tell
end adding folder items to
This has worked for me consistently (so far) using Mac OS 10.4.11; not tested in Leopard. Your results may vary.
Good luck. -
My microphone is not working but only for calls
I had my Iphone working perfectly until I updated to 4.3.1 after that I lost the microphone but only for calls when I use Skype, Video recording and may other features that uses microphone all of them worked. I did restore again to 4.3.1 and make a new fresh installation without recovering my data so now I'm not only without phone features but also need to load all of my data again. This occurs most of the time but about 2 of 10 calls the people can hear me so I think this must be related to baseband update or hadware issue.
Might try setting the option in System Preferences > Sound > Input tab > check "use ambient noise reduction"
Regards,
Captfred -
My iphone 4s cannot join a public unsecured network, but my ipad and macbook can with no problems. I have reset the network settings on the iphone twice. Both times that fixed the problem but only for a few minutes, then I get the "cannot join network" message again. Please help! What can I do?
Anyone have any ideas or information to help with this? Any help and consideration is MUCH appreciated.
-
My online number is working, but only for 10 secon...
Hi,
I purchased an online number today, its all setup and working, but I can't hold the call for longer than 10 seconds.
It does not seem to be my connection, as a normal skype VIDEO call works perfectly.
Im on a BT infinity fiber line at 40MB.
It seems to timeout from the callers end.
Please can I get some advise or have a technical engineer help resolve the issue?
cheers,if this is a business connection your better off in the business forums
Maybe you are looking for
-
What are the typical temerature ranges for the black Macbooks?
Hello everyone, Posting this as a one-year owner of one of the earlier black MacBooks (Macbook 2,1 - mid 2007 - 2GHz Core 2 Duo) just wondering what the typical temperature ranges are for at idle and under load for this line of machine? I have modifi
-
I have just deployed an image to over 500 workstations, and they are all deep frozen using deepfreeze. When users are logging in, and open Firefox they are getting the message "another program on your computer would like to modify firefox with the fo
-
Cleaning scrollball on a mighty mouse -EUREKA! i've found an easy solution
gotta hand it to a clerk at my local apple store, this tip is right on the money. i had problems with the mighty mouse scrollball sticking...not wanting to scroll down. i tried lots of tips i'd read online. i flipped it over, blew on it, wet the ball
-
Regarding SharePoint2013 Hybrid Search
Hi Folks, i have recently configured SharePoint Hybrid Search but i am getting this error while i am testing query in search result. i have followed this blog step by step to configure Hybrid Search Office 365-Configure Hybrid Search with Directory S
-
10.8.1 fails to detect projector
After I upgraded to 10.8 I got a problem with detecting my Optoma projector. In 10.8.0 my MacBook Pro (late 2008) would detect the projector after a restart with the projector connected and on. In 10.8.1 this does not happen. I use this projector on