Re: [acpi-jp 2302] s4bios

2003-06-05 Thread Andrea Campi
On Tue, Jun 03, 2003 at 05:32:05PM +0200, Mark Santcroos wrote:
 Is there anyone that has succesfully used acpiconf -s 4?
 
 I'm very interested in your reports. If you haven't tried yet, but are
 willing to help me, please report me your findings.
 

Works for me - although it does some weird things.
First, is the acpi_printcpu() normal, something I did, or is it triggered by some BIOS
bug^Wfeature?

Second, on resume the screen isn't refreshed, instead, the BIOS screen with the 
progress bar
is shown. Switching consoles doesn't help, starting and quitting X does give me back 
my screen.
Also, the network card loses its IP address and dhclient doesn't seem to get a new 
one, I didn't
investigate further, see below if interested.

Third, the suspend led keeps blinking but this is a very, very minor detail. ;-)


Bye,
Andrea


Thinkpad 570E

hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 1



[suspend]
ep0: detached
 acpi_printcpu() debug dump 
gdt[0077:c03c13a0] idt[0407:c03c1740] ldt[0028] tr[0020] efl[0082]
eax[00021000] ebx[c0d2f780] ecx[c083a7e0] edx[bfc00084]
esi[] edi[c2388ab0] ebp[cbd49ab0] esp[cbd49a78]
cr0[8005003b] cr2[280b49ec] cr3[0585d000] cr4[0691]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]

[resume]

 acpi_printcpu() debug dump 
gdt[0077:c03c13a0] idt[0407:c03c1740] ldt[0028] tr[0020] efl[0002]
eax[0001] ebx[c0d2f780] ecx[8000] edx[c2320980]
esi[] edi[c2388ab0] ebp[cbd49ab0] esp[cbd49a78]
cr0[8005003b] cr2[280b49ec] cr3[0585d000] cr4[0691]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
ata0: resetting devices ..
acpi_cmbat0: battery initialization start
acpi_cmbat1: battery initialization start
done
ata1: resetting devices ..
done
ep0: 3Com Corporation 3C589D at port 0x100-0x10f irq 11 function 0 config 1 on 
pccard1
ep0: Ethernet address 00:60:08:94:d3:98

dhclient: DHCPRELEASE on ep0 to 213.92.1.1 port 67
dhclient: send_packet: No route to host
dhclient: Disabling output on BPF/ep0/00:60:08:94:d3:98
dhclient: Disabling input on BPF/ep0/00:60:08:94:d3:98
dhclient: receive_packet failed on ep0: No route to host

acpi_tz0: _AC0: temperature 6280.3 = setpoint 69.0
acpi_tz0: switched from NONE to _AC0: 6280.3C
acpi_tz0: WARNING - current temperature (6280.3C) exceeds system limits



acpi_cmbat0: battery initialization failed, giving up
acpi_cmbat1: battery initialization failed, giving up


-- 
Yes, I've heard of decaf. What's your point?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: s4bios

2003-06-05 Thread Stanislav Grozev
On Wed, Jun 04, 2003 at 08:37:11AM -0600, M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 Mark Santcroos [EMAIL PROTECTED] writes:
 : Is there anyone that has succesfully used acpiconf -s 4?
 
 Fails on my Dell i8000, but that's because I don't have a suspend
 partition.  My Fiva 205 works great, except for one or two minor
 problems on restore: (1) The cursor used to draw the restore graphs
 becomes permanent; (2) I have to ifconfig down/up the rl device
 sometimes to get it to work.


mine also works - Asus L8400, with suspend partition (created with PHDISK).
the only problem is that i have to unload and reload the snd_maestro3 module,
if i want sound working again.

-tacho
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: s4bios

2003-06-05 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Mark Santcroos [EMAIL PROTECTED] writes:
: Is there anyone that has succesfully used acpiconf -s 4?

Fails on my Dell i8000, but that's because I don't have a suspend
partition.  My Fiva 205 works great, except for one or two minor
problems on restore: (1) The cursor used to draw the restore graphs
becomes permanent; (2) I have to ifconfig down/up the rl device
sometimes to get it to work.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: s4bios

2003-06-05 Thread Mark Santcroos
On Wed, Jun 04, 2003 at 08:37:11AM -0600, M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 Mark Santcroos [EMAIL PROTECTED] writes:
 : Is there anyone that has succesfully used acpiconf -s 4?
 
 Fails on my Dell i8000, but that's because I don't have a suspend
 partition.  

Have you tried doing that or don't you have the need for it?

As reported, it now works for me. The only issue I found until now is with
sound:

Jun  4 18:25:30 laptop kernel: wi0: detached
Jun  4 20:02:12 laptop kernel: wakeup from sleeping state (slept 01:36:39)
Jun  4 20:02:12 laptop kernel: ata0: resetting devices ..
Jun  4 20:02:12 laptop kernel: pcm0: Unhandled interrupt, gs_intr = 6
Jun  4 20:02:12 laptop kernel: system power profile changed to 'performance'
Jun  4 20:02:12 laptop kernel: done
Jun  4 20:02:12 laptop kernel: ata1: resetting devices ..
Jun  4 20:02:12 laptop kernel: done
Jun  4 20:02:12 laptop kernel: pcm0: cannot reset channel 0
Jun  4 20:02:12 laptop kernel: pcm0: CODEC semaphore timeout
Jun  4 20:02:12 laptop last message repeated 6 times

I have a:

pcm0: Intel 82801CA (ICH3) port 0xdc80-0xdcbf,0 xd800-0xd8ff irq 11 at device 31.5 
on pci0 
pcm0: Cirrus Logic CS4205 AC97 Codec

Mark

-- 
Mark SantcroosRIPE Network Coordination Centre
http://www.ripe.net/home/mark/New Projects Group/TTM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: s4bios

2003-06-05 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Mark Santcroos [EMAIL PROTECTED] writes:
: Have you tried doing that or don't you have the need for it?

No space for it on my disk, or I'd do it.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [acpi-jp 2318] Re: s4bios

2003-06-05 Thread Nate Lawson
On Wed, 4 Jun 2003, Mark Santcroos wrote:
 As reported, it now works for me. The only issue I found until now is with
 sound:

 Jun  4 20:02:12 laptop kernel: pcm0: Unhandled interrupt, gs_intr = 6
 Jun  4 20:02:12 laptop kernel: pcm0: cannot reset channel 0
 Jun  4 20:02:12 laptop kernel: pcm0: CODEC semaphore timeout
 Jun  4 20:02:12 laptop last message repeated 6 times

 I have a:

 pcm0: Intel 82801CA (ICH3) port 0xdc80-0xdcbf,0 xd800-0xd8ff irq 11 at device 31.5 
 on pci0
 pcm0: Cirrus Logic CS4205 AC97 Codec

Check with orion@ or [EMAIL PROTECTED]  It's likely your *_suspend/*_resume functions
are not saving all the context needed for your chipset.

-Nate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


s4bios

2003-06-04 Thread Mark Santcroos
Is there anyone that has succesfully used acpiconf -s 4?

I'm very interested in your reports. If you haven't tried yet, but are
willing to help me, please report me your findings.

Thanks

Mark

-- 
Mark SantcroosRIPE Network Coordination Centre
http://www.ripe.net/home/mark/New Projects Group/TTM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: s4bios

2003-06-04 Thread The Anarcat
I put my test results in:

http://anarcat.ath.cx/acpi-test/

I have done other tests using a build made after the recent ACPI
import and bugfixes, and I will update the info there when completely
done.

A.

On Tue Jun 03, 2003 at 05:32:05PM +0200, Mark Santcroos wrote:
 Is there anyone that has succesfully used acpiconf -s 4?
 
 I'm very interested in your reports. If you haven't tried yet, but are
 willing to help me, please report me your findings.
 
 Thanks
 
 Mark
 
 -- 
 Mark SantcroosRIPE Network Coordination Centre
 http://www.ripe.net/home/mark/New Projects Group/TTM
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: s4bios

2003-06-04 Thread Hiten Pandya
On Tue, Jun 03, 2003 at 05:32:05PM +0200, Mark Santcroos wrote:
 Is there anyone that has succesfully used acpiconf -s 4?
 
 I'm very interested in your reports. If you haven't tried yet, but are
 willing to help me, please report me your findings.

Hello Mark, I may not be totally correct, but it has always
helped me to check if a particular ACPI state was supported by
my system:

# sysctl hw.acpi.supported_sleep_state
hw.acpi.supported_sleep_state: S1 S4 S5

Cheers.

-- Hiten ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: s4bios

2003-06-04 Thread Kevin Oberman
 Date: Tue, 3 Jun 2003 16:03:19 -0400
 From: The Anarcat [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 I put my test results in:
 
 http://anarcat.ath.cx/acpi-test/
 
 I have done other tests using a build made after the recent ACPI
 import and bugfixes, and I will update the info there when completely
 done.

Could you add the result of sysctl hw.acpi? As is, it's not clear that
your platform supports S1. The output will also let you know about a
number of other things.

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: s4bios

2003-06-04 Thread The Anarcat
On Tue Jun 03, 2003 at 06:17:10PM -0700, Kevin Oberman wrote:
  Date: Tue, 3 Jun 2003 16:03:19 -0400
  From: The Anarcat [EMAIL PROTECTED]
  Sender: [EMAIL PROTECTED]
  
  I put my test results in:
  
  http://anarcat.ath.cx/acpi-test/
  
  I have done other tests using a build made after the recent ACPI
  import and bugfixes, and I will update the info there when completely
  done.
 
 Could you add the result of sysctl hw.acpi? As is, it's not clear that
 your platform supports S1. The output will also let you know about a
 number of other things.

Done!

More tests results underway, I'll just have to find some time to write
them down...

A.

-- 
Advertisers, not governments, are the primary censors of media content 
in the United States today.
- C. Edwin Baker
http://www.ad-mad.co.uk/quotes/freespeech.htm


pgp0.pgp
Description: PGP signature


Re: s4bios on Dell Latitude C640

2003-06-04 Thread Mark Santcroos
I gave it a final try and mounted an empty disk into my laptop.

Using the MKS2D.EXE found on the Dell support site I created a hibernation
partition on the beginning of the disk (It needs to be within 8 GB of the
start of the disk).

And guess what... I can now suspend to disk using acpiconf -s 4, no more
shutting down for me! ;-)

I created a nice script that modifies boot0 before and after calling
acpiconf -s 4 so that the suspend partition only shows when you are
rebooting after a suspend. I will post that later, it's on my other disk
that is not mounted now.

Happy, (Well, I still have to repartition my laptop, but ok ... )

Mark

-- 
Mark SantcroosRIPE Network Coordination Centre
http://www.ripe.net/home/mark/New Projects Group/TTM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: s4bios

2003-06-04 Thread Mark Santcroos
On Tue, Jun 03, 2003 at 04:01:16PM -0700, Hiten Pandya wrote:
   Hello Mark, I may not be totally correct, but it has always
   helped me to check if a particular ACPI state was supported by
   my system:
 
   # sysctl hw.acpi.supported_sleep_state
   hw.acpi.supported_sleep_state: S1 S4 S5

Yeah, too tired right now to see where that gets decided in the code, but I 
knew/know that my laptop supports S4BIOS. (The S4BIOS_F flag in the FACS)

Mark

-- 
Mark SantcroosRIPE Network Coordination Centre
http://www.ripe.net/home/mark/New Projects Group/TTM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


[HEADS UP]:ACPI S2-S4BIOS code was commited.

2001-07-19 Thread Takanori Watanabe

I now commited ACPI S2-S4BIOS code.
In some machine, there are problem after resume.
For example, keyboard will not work.
(Keyboard reset required in DEVICE_RESUME method.)
But it worked.
Please try it.

Takanori Watanabe
a href=http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html;
Public Key/a
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message