Re: [Cooker] ACPI Commands
On Thu, 2003-02-27 at 19:57, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, some more after running pmsuspend about 4 more times. It seems that I have to run pmsuspend twice. The first time it will say 'freezing processes' and for a split second displays something about my USB mouse, but I can't read it all. It then throws me back to where I initiated pmsuspend. I then run pmsuspend again and the image is made and written to disk. Same experience here - have to run it twice, then it works. For me sound works fine after the resume (yay!) but my USB mouse and PCMCIA network card don't (boo!). However, since I don't use either of these when I'm out of the house, it's OK (yay!). I tried telling it to restart the USB mouse and the PCMCIA system in /etc/sysconfig/suspend, but it didn't seem to have any effect. -- adamw
Re: [Cooker] ACPI Commands
James Sparenberg wrote: On Wed, 2003-02-26 at 04:52, Adam Williamson wrote: On Tue, 2003-02-25 at 23:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... Oops - echo 5 /proc/acpi/sleep is soft-off. echo 4 /proc/acpi/sleep is suspend-to-disk. Sorry. Adam, Does apm suspend to disk count? I've got that one working... (acpi doesn't even come close to working here..) *grin* James I just bought a Dell laptop and was wondering where I could find info for setting up apm to do suspend to disk and battery monitoring. ACPI works only to show the battery state. It's a Dell Inspiron 2650C. Thanks, Scott
RE: [Cooker] ACPI Commands
I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. Cory -Original Message- From: Steve Fox [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 8:38 PM To: cooker Subject: Re: [Cooker] ACPI Commands On Wed, 2003-02-26 at 07:36, Chmouel Boudjnah wrote: try pmsuspend command it should humm kind of working. I tried it on my IBM Thinkpad T20 last night. It appeared to save ok (I had to add resume=/dev/hda5 to my lilo.conf), but it never recovered after it came back up. Of course, even sleep has been working like shit lately too :( -- Steve Fox http://k-lug.org
RE: [Cooker] ACPI Commands
On Thu, 2003-02-27 at 16:50, MEISCH,CORY (HP-Vancouver,ex1) wrote: I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. So...er...why do you assume you should ignore it, like the other guy did? I don't understand. :). Do it, reboot, then run pmsuspend again... -- adamw
RE: [Cooker] ACPI Commands
Cool. It almost works. I added resume=/dev/hda7 to the append statement in lilo. Upon reboot got message at startup resume machine: this is normal swap space. After completing the reboot, ran pmsuspend again. It dropped out of Gnome and wrote to disk and shut off the machine. After powering the laptop back on, it looked like it was writing back into RAM but then I lost X and could not get to a prompt. I just have a bunch of lines at the top of the screen. Going to remove the resume portion and say it almost works... Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: RE: [Cooker] ACPI Commands On Thu, 2003-02-27 at 16:50, MEISCH,CORY (HP-Vancouver,ex1) wrote: I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. So...er...why do you assume you should ignore it, like the other guy did? I don't understand. :). Do it, reboot, then run pmsuspend again... -- adamw
Re: [Cooker] ACPI Commands
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam Williamson wrote: On Thu, 2003-02-27 at 16:50, MEISCH,CORY (HP-Vancouver,ex1) wrote: I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. So...er...why do you assume you should ignore it, like the other guy did? I don't understand. :). Do it, reboot, then run pmsuspend again... Ahhh. Now that I have rebooted, something *is* happening! And I did not ignore it. I added the line to lilo.conf and ran lilo. It said nothing about having to reboot to be able to use it. Ie, Chmouel, if users are expected to run this, please add a and reboot for the changes to take effect (in true MS-style) to the message. Now *that* *is* pretty neat. 1:30 from power-on until I had unlocked my screensaver (0:26 from power-on until the resume prog started up). Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+Xk4crJK6UGDSBKcRAlw2AKDNPXlYKWZdqfh8QTzpWOCKIQbxzgCdHloo jzK/VIo8asfCMP+wI8Q8Xic= =1D89 -END PGP SIGNATURE-
Re: [Cooker] ACPI Commands
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Buchan Milne wrote: Now *that* *is* pretty neat. 1:30 from power-on until I had unlocked my screensaver (0:26 from power-on until the resume prog started up). Except I seem to have lost my mouse and keyboard 2nd time around (but the network is still up ;-). Will try and get some debugging info on this if possible ... Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+XlJUrJK6UGDSBKcRAlaoAJwL1jwxOcYvGXRCzwPULnfnyOTnkgCgt1ZK 59G0egbZtMiPBLqCQBuezWI= =FH2d -END PGP SIGNATURE-
Re: [Cooker] ACPI Commands
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm seriously impressed with swsuspend. I added resume=/dev/hda8 to my boot entry, rebooted and then suspended my Presario 732US to disc. Everything came back up (usb mouse also) The only problem I had was with not having any sound anymore. Any tips on how to debug this? Thanks, Sascha Noyes On Thursday 27 February 2003 12:26 pm, MEISCH,CORY (HP-Vancouver,ex1) wrote: Cool. It almost works. I added resume=/dev/hda7 to the append statement in lilo. Upon reboot got message at startup resume machine: this is normal swap space. After completing the reboot, ran pmsuspend again. It dropped out of Gnome and wrote to disk and shut off the machine. After powering the laptop back on, it looked like it was writing back into RAM but then I lost X and could not get to a prompt. I just have a bunch of lines at the top of the screen. Going to remove the resume portion and say it almost works... Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: RE: [Cooker] ACPI Commands On Thu, 2003-02-27 at 16:50, MEISCH,CORY (HP-Vancouver,ex1) wrote: I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. So...er...why do you assume you should ignore it, like the other guy did? I don't understand. :). Do it, reboot, then run pmsuspend again... -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+Xmd3gzJdfX+cTW8RAicyAJ0QQFz1MfcR8bNH0iLwaEWBvEqcpgCgnGkE zRXvlldFDC85qHGeufn+Cew= =JSR+ -END PGP SIGNATURE-
Re: [Cooker] ACPI Commands
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, some more after running pmsuspend about 4 more times. It seems that I have to run pmsuspend twice. The first time it will say 'freezing processes' and for a split second displays something about my USB mouse, but I can't read it all. It then throws me back to where I initiated pmsuspend. I then run pmsuspend again and the image is made and written to disk. Regarding the sound issues: I can restart alsa in MCC (and put up the levels in aumix) and get sound again. Annoying, but hey. Anyone else tried this on a Presario 700 series yet? Sascha Noyes On Thursday 27 February 2003 02:30 pm, Sascha Noyes wrote: I'm seriously impressed with swsuspend. I added resume=/dev/hda8 to my boot entry, rebooted and then suspended my Presario 732US to disc. Everything came back up (usb mouse also) The only problem I had was with not having any sound anymore. Any tips on how to debug this? Thanks, Sascha Noyes On Thursday 27 February 2003 12:26 pm, MEISCH,CORY (HP-Vancouver,ex1) wrote: Cool. It almost works. I added resume=/dev/hda7 to the append statement in lilo. Upon reboot got message at startup resume machine: this is normal swap space. After completing the reboot, ran pmsuspend again. It dropped out of Gnome and wrote to disk and shut off the machine. After powering the laptop back on, it looked like it was writing back into RAM but then I lost X and could not get to a prompt. I just have a bunch of lines at the top of the screen. Going to remove the resume portion and say it almost works... Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: RE: [Cooker] ACPI Commands On Thu, 2003-02-27 at 16:50, MEISCH,CORY (HP-Vancouver,ex1) wrote: I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. So...er...why do you assume you should ignore it, like the other guy did? I don't understand. :). Do it, reboot, then run pmsuspend again... -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+Xm2rgzJdfX+cTW8RAq8pAKCICgFheYoKGXngKS5mPhoetW4MzgCcCbV2 fNT2KbG1NU8uQnQE20Jv3Sg= =qVaM -END PGP SIGNATURE-
Re: [Cooker] ACPI Commands
Buchan Milne wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Buchan Milne wrote: Now *that* *is* pretty neat. 1:30 from power-on until I had unlocked my screensaver (0:26 from power-on until the resume prog started up). Except I seem to have lost my mouse and keyboard 2nd time around (but the network is still up ;-). Will try and get some debugging info on this if possible ... Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+XlJUrJK6UGDSBKcRAlaoAJwL1jwxOcYvGXRCzwPULnfnyOTnkgCgt1ZK 59G0egbZtMiPBLqCQBuezWI= =FH2d -END PGP SIGNATURE- I got the same thing when I tried it on my Dell laptop. It seems to work, but X doesn't get keyboard or mouse back. And it definitely does not work with NVidia's drivers running... :) Scott
RE: [Cooker] ACPI Commands
be aware that you probably have a corrupted swap partition if you have to reboot without resume=/partition or noresume. free, see if you have swap, if not then mkswap /partition and swapon -a. Jack On Thu, 2003-02-27 at 09:26, MEISCH,CORY (HP-Vancouver,ex1) wrote: Cool. It almost works. I added resume=/dev/hda7 to the append statement in lilo. Upon reboot got message at startup resume machine: this is normal swap space. After completing the reboot, ran pmsuspend again. It dropped out of Gnome and wrote to disk and shut off the machine. After powering the laptop back on, it looked like it was writing back into RAM but then I lost X and could not get to a prompt. I just have a bunch of lines at the top of the screen. Going to remove the resume portion and say it almost works... Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: RE: [Cooker] ACPI Commands On Thu, 2003-02-27 at 16:50, MEISCH,CORY (HP-Vancouver,ex1) wrote: I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. So...er...why do you assume you should ignore it, like the other guy did? I don't understand. :). Do it, reboot, then run pmsuspend again... -- Jack Coates Monkeynoodle: A Scientific Venture...
Re: [Cooker] ACPI Commands
assuming pmsuspend is related to the suspend.sh script from swsusp page, you should look at the /etc/suspend.conf (or whatever it's been renamed) and tell it that you want to restart sound during the cycle. Jack On Thu, 2003-02-27 at 11:30, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm seriously impressed with swsuspend. I added resume=/dev/hda8 to my boot entry, rebooted and then suspended my Presario 732US to disc. Everything came back up (usb mouse also) The only problem I had was with not having any sound anymore. Any tips on how to debug this? Thanks, Sascha Noyes On Thursday 27 February 2003 12:26 pm, MEISCH,CORY (HP-Vancouver,ex1) wrote: Cool. It almost works. I added resume=/dev/hda7 to the append statement in lilo. Upon reboot got message at startup resume machine: this is normal swap space. After completing the reboot, ran pmsuspend again. It dropped out of Gnome and wrote to disk and shut off the machine. After powering the laptop back on, it looked like it was writing back into RAM but then I lost X and could not get to a prompt. I just have a bunch of lines at the top of the screen. Going to remove the resume portion and say it almost works... Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: RE: [Cooker] ACPI Commands On Thu, 2003-02-27 at 16:50, MEISCH,CORY (HP-Vancouver,ex1) wrote: I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. So...er...why do you assume you should ignore it, like the other guy did? I don't understand. :). Do it, reboot, then run pmsuspend again... -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+Xmd3gzJdfX+cTW8RAicyAJ0QQFz1MfcR8bNH0iLwaEWBvEqcpgCgnGkE zRXvlldFDC85qHGeufn+Cew= =JSR+ -END PGP SIGNATURE- -- Jack Coates Monkeynoodle: A Scientific Venture...
RE: [Cooker] ACPI Commands
I didn't have to take out that part of the append. I was just laying out my game plan. Should have been more clear on that. I didn't realize that after a resume has been performed, it no longer saves the data. I have since readded the append command and left it there, trying to see if my problem was a fluke or just doesn't work properly on my system. I will do more testing with it later. I had Windows flashbacks of getting stuck in endless loop of resuming if the system crashed for some reason, so I did that step out of haste. Sorry. Thanks for clearing all this up for us... Cory -Original Message- From: Jack Coates [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 1:53 PM To: [EMAIL PROTECTED] Subject: RE: [Cooker] ACPI Commands be aware that you probably have a corrupted swap partition if you have to reboot without resume=/partition or noresume. free, see if you have swap, if not then mkswap /partition and swapon -a. Jack On Thu, 2003-02-27 at 09:26, MEISCH,CORY (HP-Vancouver,ex1) wrote: Cool. It almost works. I added resume=/dev/hda7 to the append statement in lilo. Upon reboot got message at startup resume machine: this is normal swap space. After completing the reboot, ran pmsuspend again. It dropped out of Gnome and wrote to disk and shut off the machine. After powering the laptop back on, it looked like it was writing back into RAM but then I lost X and could not get to a prompt. I just have a bunch of lines at the top of the screen. Going to remove the resume portion and say it almost works... Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: RE: [Cooker] ACPI Commands On Thu, 2003-02-27 at 16:50, MEISCH,CORY (HP-Vancouver,ex1) wrote: I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. So...er...why do you assume you should ignore it, like the other guy did? I don't understand. :). Do it, reboot, then run pmsuspend again... -- Jack Coates Monkeynoodle: A Scientific Venture...
Re: [Cooker] ACPI Commands
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 27 February 2003 04:53 pm, Jack Coates wrote: assuming pmsuspend is related to the suspend.sh script from swsusp page, you should look at the /etc/suspend.conf (or whatever it's been renamed) and tell it that you want to restart sound during the cycle. Jack When running pmsuspend there is some text in the bottom left hand corner 'Swsusp beta 17' . It is in a package called suspend-scripts. Looks like the mandrake guys have renamed it to /etc/sysconfig/suspend. There is an option RESTORE_SOUND, which by default is set to no; I set it to yes and added my sound card module (snd-via82xx) to the line below: SOUND_MODULES=sb uart401 sound soundcore maestro cs4281 And then sound would work after a suspend, it was still necessary to start aumix and set up the volumes. Any ideas on how to retain sound levels across alsa restarts ? It should obviously work, as there is no problem between reboots. Any ideas anyone. Chmouel, maybe you wouldn't mind just adding in the snd-via82xx module to SOUND_MODULES= by default? Sascha Noyes On Thu, 2003-02-27 at 11:30, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm seriously impressed with swsuspend. I added resume=/dev/hda8 to my boot entry, rebooted and then suspended my Presario 732US to disc. Everything came back up (usb mouse also) The only problem I had was with not having any sound anymore. Any tips on how to debug this? Thanks, Sascha Noyes On Thursday 27 February 2003 12:26 pm, MEISCH,CORY (HP-Vancouver,ex1) wrote: Cool. It almost works. I added resume=/dev/hda7 to the append statement in lilo. Upon reboot got message at startup resume machine: this is normal swap space. After completing the reboot, ran pmsuspend again. It dropped out of Gnome and wrote to disk and shut off the machine. After powering the laptop back on, it looked like it was writing back into RAM but then I lost X and could not get to a prompt. I just have a bunch of lines at the top of the screen. Going to remove the resume portion and say it almost works... Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: RE: [Cooker] ACPI Commands On Thu, 2003-02-27 at 16:50, MEISCH,CORY (HP-Vancouver,ex1) wrote: I have an Omnibook XE4500 and I tried the pmsuspend. I get the message to add resume=/dev/hda7 (swap partition) and then that's all. So...er...why do you assume you should ignore it, like the other guy did? I don't understand. :). Do it, reboot, then run pmsuspend again... -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+Xmd3gzJdfX+cTW8RAicyAJ0QQFz1MfcR8bNH0iLwaEWBvEqcpgCgnGkE zRXvlldFDC85qHGeufn+Cew= =JSR+ -END PGP SIGNATURE- - -- Please encrypt all correspondence. PGP key available from: http://individual.utoronto.ca/noyes/snoyes.asc - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+XqPagzJdfX+cTW8RArKhAJ9Ll8rk3di31CaTBwhXymrrbl4rJQCfR1y7 7Gci/ZcjciQAp3bvFZ4YL4I= =X5Xf -END PGP SIGNATURE-
Re: [Cooker] ACPI Commands
On Tue, 2003-02-25 at 23:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... You could try the notorious sleep function, I guess. You have to send a certain number to the /proc/acpi/sleep file, depending on what sleep state you want to enter... echo 3 /proc/acpi/sleep This is suspend-to-RAM. echo 5 /proc/acpi/sleep This is suspend-to-disk. I've never yet met *ANYONE* for whom this works, but what the hey, try it. :). -- adamw
Re: [Cooker] ACPI Commands
On Tue, 2003-02-25 at 23:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... Oops - echo 5 /proc/acpi/sleep is soft-off. echo 4 /proc/acpi/sleep is suspend-to-disk. Sorry. -- adamw
Re: [Cooker] ACPI Commands
Adam Williamson [EMAIL PROTECTED] writes: On Tue, 2003-02-25 at 23:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... You could try the notorious sleep function, I guess. You have to send a certain number to the /proc/acpi/sleep file, depending on what sleep state you want to enter... echo 3 /proc/acpi/sleep This is suspend-to-RAM. echo 5 /proc/acpi/sleep This is suspend-to-disk. I've never yet met *ANYONE* for whom this works, but what the hey, try it. :). try pmsuspend command it should humm kind of working.
RE: [Cooker] ACPI Commands
Thanks for the commands. BTW, the link to the webpage given by Jack to handy ACPI client: http://grahame.ucc.asn.au/acpi.shtml seems dead. Anyway, tried the commands. Did something but I'm not sure what. My usb devices no longer worked and the whole system seemed jerky. It also logged me out of root. So, having not worked, I rebooted. I guess I can just live with the battery monitor for now. Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 4:53 AM To: [EMAIL PROTECTED] Subject: Re: [Cooker] ACPI Commands On Tue, 2003-02-25 at 23:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... Oops - echo 5 /proc/acpi/sleep is soft-off. echo 4 /proc/acpi/sleep is suspend-to-disk. Sorry. -- adamw
RE: [Cooker] ACPI Commands
still works for me -- however, the 'Net has been very slow the last 24 hours or so. Haven't troubleshot if it's just my setup or ISP or backbone or the whole world yet. On Wed, 2003-02-26 at 09:28, MEISCH,CORY (HP-Vancouver,ex1) wrote: Thanks for the commands. BTW, the link to the webpage given by Jack to handy ACPI client: http://grahame.ucc.asn.au/acpi.shtml seems dead. Anyway, tried the commands. Did something but I'm not sure what. My usb devices no longer worked and the whole system seemed jerky. It also logged me out of root. So, having not worked, I rebooted. I guess I can just live with the battery monitor for now. Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 4:53 AM To: [EMAIL PROTECTED] Subject: Re: [Cooker] ACPI Commands On Tue, 2003-02-25 at 23:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... Oops - echo 5 /proc/acpi/sleep is soft-off. echo 4 /proc/acpi/sleep is suspend-to-disk. Sorry. -- Jack Coates Monkeynoodle: A Scientific Venture...
Re: [Cooker] ACPI Commands
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MEISCH,CORY (HP-Vancouver,ex1) wrote: Thanks for the commands. BTW, the link to the webpage given by Jack to handy ACPI client: http://grahame.ucc.asn.au/acpi.shtml seems dead. Anyway, tried the commands. Did something but I'm not sure what. My usb devices no longer worked and the whole system seemed jerky. It also logged me out of root. So, having not worked, I rebooted. I guess I can just live with the battery monitor for now. On my IBM Thinkpad 600X (this series is about 3 years old), the gnome battery monitor works with acpi (by default, no config necessary etc), and after some fiddling, kacpi works ok for me too. Just had to add a few modules to /etc/modules (battery, ac, thermal etc), since I am sticking with rc1 until rc2 is out ... pwsuspend just told me to boot with an extra arg to lilo, but did nothing else ... Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+XQiNrJK6UGDSBKcRAjNuAJ9WEMZdEweE9vtE7dxnaz+twgrfMQCfTRhM KKYt58ZAbt/wlreiFpQadjs= =9yWs -END PGP SIGNATURE-
RE: [Cooker] ACPI Commands
Scratch that. I'm having problems with Explorer today apparently. The URL came up fine in Pheonix. Cory -Original Message- From: MEISCH,CORY (HP-Vancouver,ex1) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 9:29 AM To: '[EMAIL PROTECTED]' Subject: RE: [Cooker] ACPI Commands Thanks for the commands. BTW, the link to the webpage given by Jack to handy ACPI client: http://grahame.ucc.asn.au/acpi.shtml seems dead. Anyway, tried the commands. Did something but I'm not sure what. My usb devices no longer worked and the whole system seemed jerky. It also logged me out of root. So, having not worked, I rebooted. I guess I can just live with the battery monitor for now. Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 4:53 AM To: [EMAIL PROTECTED] Subject: Re: [Cooker] ACPI Commands On Tue, 2003-02-25 at 23:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... Oops - echo 5 /proc/acpi/sleep is soft-off. echo 4 /proc/acpi/sleep is suspend-to-disk. Sorry. -- adamw
Re: [Cooker] ACPI Commands
On Thursday 27 February 2003 03:34 am, MEISCH,CORY (HP-Vancouver,ex1) wrote: I'm having problems with Explorer today apparently. Today only? Lucky you. (-: Cheers; Leon
Re: [Cooker] ACPI Commands
On Wed, 2003-02-26 at 04:52, Adam Williamson wrote: On Tue, 2003-02-25 at 23:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... Oops - echo 5 /proc/acpi/sleep is soft-off. echo 4 /proc/acpi/sleep is suspend-to-disk. Sorry. Adam, Does apm suspend to disk count? I've got that one working... (acpi doesn't even come close to working here..) *grin* James
RE: [Cooker] ACPI Commands
On Wed, 2003-02-26 at 10:18, Jack Coates wrote: still works for me -- however, the 'Net has been very slow the last 24 hours or so. Haven't troubleshot if it's just my setup or ISP or backbone or the whole world yet. Jack whole world... new Worm on the net. Nasty bugger too. James On Wed, 2003-02-26 at 09:28, MEISCH,CORY (HP-Vancouver,ex1) wrote: Thanks for the commands. BTW, the link to the webpage given by Jack to handy ACPI client: http://grahame.ucc.asn.au/acpi.shtml seems dead. Anyway, tried the commands. Did something but I'm not sure what. My usb devices no longer worked and the whole system seemed jerky. It also logged me out of root. So, having not worked, I rebooted. I guess I can just live with the battery monitor for now. Cory -Original Message- From: Adam Williamson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 4:53 AM To: [EMAIL PROTECTED] Subject: Re: [Cooker] ACPI Commands On Tue, 2003-02-25 at 23:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... Oops - echo 5 /proc/acpi/sleep is soft-off. echo 4 /proc/acpi/sleep is suspend-to-disk. Sorry.
Re: [Cooker] ACPI Commands
On Wed, 2003-02-26 at 07:36, Chmouel Boudjnah wrote: try pmsuspend command it should humm kind of working. I tried it on my IBM Thinkpad T20 last night. It appeared to save ok (I had to add resume=/dev/hda5 to my lilo.conf), but it never recovered after it came back up. Of course, even sleep has been working like shit lately too :( -- Steve Fox http://k-lug.org
Re: [Cooker] ACPI Commands
On Tue, 2003-02-25 at 15:30, MEISCH,CORY (HP-Vancouver,ex1) wrote: Someone who is more familiar with ACPI than me, can you post some commands to see if ACPI works correctly? On the ACPI stuff that I have read there is acpiclt applet that has come control over ACPI but it's not included or I can't seem to find it. I have acpid running and all the modules, minus the Toshiba one. I have battery status and it knows when AC is plugged in. Aside from that, I'm not sure how to test any other ACPI functionality... tia, Cory handy ACPI client: http://grahame.ucc.asn.au/acpi.shtml install acpid package and then have a look under /etc/acpi/actions and /etc/acpi/events. With any luck you'll have some scripts there: [EMAIL PROTECTED] jack]$ cat /etc/acpi/events/power # change screen brightness and CPU speed event=ac_adapter .* action=/etc/acpi/actions/powerchange # shut down when power button is pressed event=button/power.* action=/sbin/halt [EMAIL PROTECTED] jack]$ cat /etc/acpi/actions/powerchange #!/bin/sh # # Do things, depending on the status of the ac_adapter status=`sed s/state: *// /proc/acpi/ac_adapter/ACAD/state` case $status in on-line ) echo 8 /proc/vaio/lcd exit 0 ;; off-line ) echo 4 /proc/vaio/lcd exit 0 ;; esac echo Something bad happened! exit 1 -- Jack Coates Monkeynoodle: A Scientific Venture...