Re: ACPI battery state and resume not working on Inspiron 5150
On Sat, Aug 09, 2003 at 08:53:54PM -0400, David Gilbert wrote: Kevin == Kevin Oberman [EMAIL PROTECTED] writes: Kevin Sorry, Joe. By the way, are you suspending with acpiconf -s3? Kevin Have you tried creating a hibernation partition (slice) and Kevin using -s4? That appears to work better than suspend on most Kevin platforms that support it at all. Kevin Kevin -- R. Kevin Oberman, Network Engineer What does a hibernation partition look like? My dell has a 31 meg partition that I havn't touched and my FreeBSD partition. And can you determine what the hibernation partition should look like from an acpidump? I have a toshiba that only lists : hw.acpi.supported_sleep_state: S1 S4 S5 And I wiped the disk so fast after I bought it, that I've never seen the hibernation setup that originally came with it. -- Scott LambertKC5MLE Unix SysAdmin [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI battery state and resume not working on Inspiron 5150
Kevin == Kevin Oberman [EMAIL PROTECTED] writes: Kevin I don't know if all laptops support both, but every one I have Kevin used does. IBM has a stand-alone tool on it's web site that Kevin creates a hibernation partition on ThinkPads (which I use). You Kevin probably need to check with the manufacturer of your system to Kevin see what is available. I'm working on tracking that down for my Dell. What's been frustrating me ... is that the S1 is not very useful and the S3 suspend shuts the machine off. I tried putting a value in the sleep timeout as as suggested here recently... but it didn't help. My only hope at this point is that S4 will do something useful. Dave. -- |David Gilbert, Independent Contractor. | Two things can only be | |Mail: [EMAIL PROTECTED]| equal if and only if they | |http://daveg.ca | are precisely opposite. | =GLO ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI battery state and resume not working on Inspiron 5150
On Wed, 2003-08-06 at 16:01, Joe Marcus Clarke wrote: On Wed, 2003-08-06 at 15:56, Barney Wolff wrote: On Wed, Aug 06, 2003 at 03:31:01PM -0400, Joe Marcus Clarke wrote: ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST I would not expect BAT1 to exist unless you have 2 batteries installed. Ah, good point. However, I don't see any battery sysctls, and I do have at least one battery installed. As to resume, on my I5000 it takes almost a minute to come back from S3, but does eventually come back on a -current from 7/30. Thanks for the suggestion. I'll wait a bit longer. Well, I waited for 10 minutes, but the laptop never came back. The USB wasn't reactivated, the network didn't come back, and the display stayed black. The only indication that it was no longer asleep was the power light came back on. Thanks anyway for the suggestion. Joe Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: ACPI battery state and resume not working on Inspiron 5150
From: Joe Marcus Clarke [EMAIL PROTECTED] Date: Thu, 07 Aug 2003 12:06:30 -0400 --=-IkHq9Jbph/9SXjiWOYnQ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-08-07 at 10:31, Kevin Oberman wrote: From: Joe Marcus Clarke [EMAIL PROTECTED] Date: Wed, 06 Aug 2003 16:01:37 -0400 Sender: [EMAIL PROTECTED] =20 =20 --=3D-MHp9eSkqmbnyoWl+2a1w Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =20 On Wed, 2003-08-06 at 15:56, Barney Wolff wrote: On Wed, Aug 06, 2003 at 03:31:01PM -0400, Joe Marcus Clarke wrote: ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST =3D20 I would not expect BAT1 to exist unless you have 2 batteries installe= d. =20 Ah, good point. However, I don't see any battery sysctls, and I do hav= e at least one battery installed. =20 As to resume, on my I5000 it takes almost a minute to come back from S3, but does eventually come back on a -current from 7/30. =20 Thanks for the suggestion. I'll wait a bit longer. =20 Well, I did some experimenting yesterday with the ACPI code on my IBM T30 and learned one thing...if you plan on suspending, you need to set a sleep delay. Before I set the delay I had some nasty problems because power went away immediately and the disk cache did not have a chance to flush (ouch!) and left the display where it should not be. =20 I noticed that Windows XP has a delay of about 5 seconds. I set the sysctl and tried again and things went MUCH better. The suspend didn't leave the disk corrupt (whew!) and the display dropped to low resolution before the graphics was shut down and switched back on resume! My Radeon M7 even retained sync. =20 Of course, the USB driver simply does not recover from a suspend on ACPI and this should be fixed before too long. Also, the backlight stays on making the suspend NVU (not very useful). But it is a huge improvement and adding a delay MAY help a lot of other laptop suspend/resume areas.=20 =20 Whether this will help th I5000 problems, I can't say, but it seems like suspend/resume is the most common show-stopper for ACPI on laptops, so it's worth a shot. If there is a trend that indicates that a short delay in suspending fixes a number of problems, the default delay should probably be modified from 0 to 4 or 5. I tried your suggestion, but this just prolonged the inevitable for 5 seconds. The laptop still remained dead to all input and no video after resume. Sorry, Joe. By the way, are you suspending with acpiconf -s3? Have you tried creating a hibernation partition (slice) and using -s4? That appears to work better than suspend on most platforms that support it at all. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI battery state and resume not working on Inspiron 5150
Kevin == Kevin Oberman [EMAIL PROTECTED] writes: Kevin Sorry, Joe. By the way, are you suspending with acpiconf -s3? Kevin Have you tried creating a hibernation partition (slice) and Kevin using -s4? That appears to work better than suspend on most Kevin platforms that support it at all. -- R. Kevin Oberman, Network Kevin Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Kevin Berkeley National Laboratory (Berkeley Lab) E-mail: Kevin [EMAIL PROTECTED] Phone: +1 510 486-8634 What does a hibernation partition look like? My dell has a 31 meg partition that I havn't touched and my FreeBSD partition. Dave. -- |David Gilbert, Independent Contractor. | Two things can only be | |Mail: [EMAIL PROTECTED]| equal if and only if they | |http://daveg.ca | are precisely opposite. | =GLO ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI battery state and resume not working on Inspiron 5150
On Thu, 2003-08-07 at 12:20, Kevin Oberman wrote: From: Joe Marcus Clarke [EMAIL PROTECTED] Date: Thu, 07 Aug 2003 12:06:30 -0400 --=-IkHq9Jbph/9SXjiWOYnQ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-08-07 at 10:31, Kevin Oberman wrote: From: Joe Marcus Clarke [EMAIL PROTECTED] Date: Wed, 06 Aug 2003 16:01:37 -0400 Sender: [EMAIL PROTECTED] =20 =20 --=3D-MHp9eSkqmbnyoWl+2a1w Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =20 On Wed, 2003-08-06 at 15:56, Barney Wolff wrote: On Wed, Aug 06, 2003 at 03:31:01PM -0400, Joe Marcus Clarke wrote: ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST =3D20 I would not expect BAT1 to exist unless you have 2 batteries installe= d. =20 Ah, good point. However, I don't see any battery sysctls, and I do hav= e at least one battery installed. =20 As to resume, on my I5000 it takes almost a minute to come back from S3, but does eventually come back on a -current from 7/30. =20 Thanks for the suggestion. I'll wait a bit longer. =20 Well, I did some experimenting yesterday with the ACPI code on my IBM T30 and learned one thing...if you plan on suspending, you need to set a sleep delay. Before I set the delay I had some nasty problems because power went away immediately and the disk cache did not have a chance to flush (ouch!) and left the display where it should not be. =20 I noticed that Windows XP has a delay of about 5 seconds. I set the sysctl and tried again and things went MUCH better. The suspend didn't leave the disk corrupt (whew!) and the display dropped to low resolution before the graphics was shut down and switched back on resume! My Radeon M7 even retained sync. =20 Of course, the USB driver simply does not recover from a suspend on ACPI and this should be fixed before too long. Also, the backlight stays on making the suspend NVU (not very useful). But it is a huge improvement and adding a delay MAY help a lot of other laptop suspend/resume areas.=20 =20 Whether this will help th I5000 problems, I can't say, but it seems like suspend/resume is the most common show-stopper for ACPI on laptops, so it's worth a shot. If there is a trend that indicates that a short delay in suspending fixes a number of problems, the default delay should probably be modified from 0 to 4 or 5. I tried your suggestion, but this just prolonged the inevitable for 5 seconds. The laptop still remained dead to all input and no video after resume. Sorry, Joe. By the way, are you suspending with acpiconf -s3? Have you tried creating a hibernation partition (slice) and using -s4? That appears to work better than suspend on most platforms that support it at all. Actually, I was closing the lid which set sleep state to S1. I changed to so it would be S3, and that made some what of a difference, but the overall problem is the same: the laptop never wakes back up. After a resume I can no longer see the display or ping the laptop. However, waking from S3 restored USB and keyboard functionality. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: ACPI battery state and resume not working on Inspiron 5150
On 06-Aug-2003 Barney Wolff wrote: On Wed, Aug 06, 2003 at 03:31:01PM -0400, Joe Marcus Clarke wrote: ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST I would not expect BAT1 to exist unless you have 2 batteries installed. As to resume, on my I5000 it takes almost a minute to come back from S3, but does eventually come back on a -current from 7/30. I would. BAT1 is the logical batter container. It has a _STA method and one of the status bits that can return is that the actual battery is not present. BAT0 and BAT1 on my 5000e are always present even if the actual batteries are not. -- John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/ Power Users Use the Power to Serve! - http://www.FreeBSD.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI battery state and resume not working on Inspiron 5150
Date: Sat, 9 Aug 2003 23:17:57 -0400 From: Scott Lambert [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] On Sat, Aug 09, 2003 at 08:53:54PM -0400, David Gilbert wrote: Kevin == Kevin Oberman [EMAIL PROTECTED] writes: Kevin Sorry, Joe. By the way, are you suspending with acpiconf -s3? Kevin Have you tried creating a hibernation partition (slice) and Kevin using -s4? That appears to work better than suspend on most Kevin platforms that support it at all. Kevin Kevin -- R. Kevin Oberman, Network Engineer What does a hibernation partition look like? My dell has a 31 meg partition that I havn't touched and my FreeBSD partition. And can you determine what the hibernation partition should look like from an acpidump? I have a toshiba that only lists : hw.acpi.supported_sleep_state: S1 S4 S5 And I wiped the disk so fast after I bought it, that I've never seen the hibernation setup that originally came with it. I hope my response to David Gilbert answered this, as well. S4 is hibernate and S3 is suspend. S1 simply stops the CPU clock and is, as far as I can tell, useless. Since your system lacks S3, it does not look like suspend is an option. Most systems don't come with a hibernation partition as hibernation is a BIOS function and Windows now has the ability to hibernate to a file in any Windows partition. Try checking with the manufacturer's web site or tech support to see if they have a tool to do this or information on using fdisk to do it. Since your BIOS lists S4, it should do it. I believe that all that is required is a slice slightly bigger (one page bigger?) than the total memory size with a special type field (not FAT32, FAT16, NTFS, FreeBSD or any other normal ID). BIOS sees this in the partition table for the disk and initiates the memory dump when S4 is requested. If no suitable partition is found, it should ignore the request. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI battery state and resume not working on Inspiron 5150
On Thu, 2003-08-07 at 10:31, Kevin Oberman wrote: From: Joe Marcus Clarke [EMAIL PROTECTED] Date: Wed, 06 Aug 2003 16:01:37 -0400 Sender: [EMAIL PROTECTED] --=-MHp9eSkqmbnyoWl+2a1w Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2003-08-06 at 15:56, Barney Wolff wrote: On Wed, Aug 06, 2003 at 03:31:01PM -0400, Joe Marcus Clarke wrote: ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST =20 I would not expect BAT1 to exist unless you have 2 batteries installed. Ah, good point. However, I don't see any battery sysctls, and I do have at least one battery installed. As to resume, on my I5000 it takes almost a minute to come back from S3, but does eventually come back on a -current from 7/30. Thanks for the suggestion. I'll wait a bit longer. Well, I did some experimenting yesterday with the ACPI code on my IBM T30 and learned one thing...if you plan on suspending, you need to set a sleep delay. Before I set the delay I had some nasty problems because power went away immediately and the disk cache did not have a chance to flush (ouch!) and left the display where it should not be. I noticed that Windows XP has a delay of about 5 seconds. I set the sysctl and tried again and things went MUCH better. The suspend didn't leave the disk corrupt (whew!) and the display dropped to low resolution before the graphics was shut down and switched back on resume! My Radeon M7 even retained sync. Of course, the USB driver simply does not recover from a suspend on ACPI and this should be fixed before too long. Also, the backlight stays on making the suspend NVU (not very useful). But it is a huge improvement and adding a delay MAY help a lot of other laptop suspend/resume areas. Whether this will help th I5000 problems, I can't say, but it seems like suspend/resume is the most common show-stopper for ACPI on laptops, so it's worth a shot. If there is a trend that indicates that a short delay in suspending fixes a number of problems, the default delay should probably be modified from 0 to 4 or 5. I tried your suggestion, but this just prolonged the inevitable for 5 seconds. The laptop still remained dead to all input and no video after resume. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: ACPI battery state and resume not working on Inspiron 5150
From: David Gilbert [EMAIL PROTECTED] Date: Sat, 9 Aug 2003 20:53:54 -0400 What does a hibernation partition look like? My dell has a 31 meg partition that I havn't touched and my FreeBSD partition. Most laptops have the capability of sleeping in two modes. 1. suspend where most of the system is powered off, but the memory is kept on so that the system can pick up right where it left off (except for drivers re-initing hardware) when the system is resumed. 2. Hibernate where the contents of memory and some system registers are written ti a pore-allocated space on disk, usually a dedicated partition. The boot is then tagged that the hibernation partition is active and the systems is power completely off. On powering up, the BIOS will detect that i=the system was in hibernation and reload the memory and registers and resuming where the system left off. Hardware must still be re-initialized and it's up to the drivers to handle this. Suspend is faster, but continues limited battery drain. Hibernation takes a while to stop and start and requires a dedicated partition (slice), but the system is totally off while in hibernation. I don't know if all laptops support both, but every one I have used does. IBM has a stand-alone tool on it's web site that creates a hibernation partition on ThinkPads (which I use). You probably need to check with the manufacturer of your system to see what is available. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI battery state and resume not working on Inspiron 5150
From: Joe Marcus Clarke [EMAIL PROTECTED] Date: Wed, 06 Aug 2003 16:01:37 -0400 Sender: [EMAIL PROTECTED] --=-MHp9eSkqmbnyoWl+2a1w Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2003-08-06 at 15:56, Barney Wolff wrote: On Wed, Aug 06, 2003 at 03:31:01PM -0400, Joe Marcus Clarke wrote: ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST =20 I would not expect BAT1 to exist unless you have 2 batteries installed. Ah, good point. However, I don't see any battery sysctls, and I do have at least one battery installed. As to resume, on my I5000 it takes almost a minute to come back from S3, but does eventually come back on a -current from 7/30. Thanks for the suggestion. I'll wait a bit longer. Well, I did some experimenting yesterday with the ACPI code on my IBM T30 and learned one thing...if you plan on suspending, you need to set a sleep delay. Before I set the delay I had some nasty problems because power went away immediately and the disk cache did not have a chance to flush (ouch!) and left the display where it should not be. I noticed that Windows XP has a delay of about 5 seconds. I set the sysctl and tried again and things went MUCH better. The suspend didn't leave the disk corrupt (whew!) and the display dropped to low resolution before the graphics was shut down and switched back on resume! My Radeon M7 even retained sync. Of course, the USB driver simply does not recover from a suspend on ACPI and this should be fixed before too long. Also, the backlight stays on making the suspend NVU (not very useful). But it is a huge improvement and adding a delay MAY help a lot of other laptop suspend/resume areas. Whether this will help th I5000 problems, I can't say, but it seems like suspend/resume is the most common show-stopper for ACPI on laptops, so it's worth a shot. If there is a trend that indicates that a short delay in suspending fixes a number of problems, the default delay should probably be modified from 0 to 4 or 5. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
ACPI battery state and resume not working on Inspiron 5150
I've read a lot of the recent Dell Inspiron posts on current@, and even tried the Dell AML patch (doesn't apply on the 5150, Stijn). Most things seems to be working for ACPI except for battery status and suspend/resume (the laptop suspends, but never comes back). Here is what dmesg reports for ACPI: FreeBSD 5.1-CURRENT #14: Mon Aug 4 18:11:11 EDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GYROS acpi0: DELL MwoodNwd on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST acpi0: power button is handled as a fixed feature programming model. Timecounter ACPI-fast frequency 3579545 Hz ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 acpi_cpu0: CPU on acpi0 acpi_cpu1: CPU on acpi0 acpi_tz0: thermal zone on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 acpi_lid0: Control Method Lid Switch on acpi0 If anyone has some suggestions, I'd be happy to hear them. I realize more info may be required, so if you're interested, I'll gladly send you what you need. Thanks. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: ACPI battery state and resume not working on Inspiron 5150
On Wed, 2003-08-06 at 15:56, Barney Wolff wrote: On Wed, Aug 06, 2003 at 03:31:01PM -0400, Joe Marcus Clarke wrote: ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST I would not expect BAT1 to exist unless you have 2 batteries installed. Ah, good point. However, I don't see any battery sysctls, and I do have at least one battery installed. As to resume, on my I5000 it takes almost a minute to come back from S3, but does eventually come back on a -current from 7/30. Thanks for the suggestion. I'll wait a bit longer. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: ACPI battery state and resume not working on Inspiron 5150
On Wed, Aug 06, 2003 at 03:31:01PM -0400, Joe Marcus Clarke wrote: ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc6137640), AE_NOT_EXIST I would not expect BAT1 to exist unless you have 2 batteries installed. As to resume, on my I5000 it takes almost a minute to come back from S3, but does eventually come back on a -current from 7/30. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]