Re: status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-28 Thread Jonathan Thornburg
In message http://marc.info/?l=openbsd-miscm=131247491914809w=1
I asked
 What's the status of suspend/resume on thinkpad T60 series models,
 particularly the T60 with T7200 cpu?
[[...]]
 Does suspend/resume work on T60 as of 4.9-{release,stable}?  -current?

I've just bought a used T60 with ATI video (dmesg below), and my
experience matches that of several other people in this thread:
suspend-to-RAM/resume does *not* work for any combination I've tried
of GENERIC or GENERIC.MP, 4.9-release or 4.9-stable, whether X is
running or not, and whether suspend-to-RAM is initiated via Fn-F4
or 'zzz'.

However, with the small kernel patch suggested earlier in this thread
(details below), suspend/resume now 95% work for me.  This message
documents what doesn't work and what does (for the archives).


Running a GENERIC or GENERIC.MP kernel, I see slightly different
failure symptoms depending on whether or not X is running:
(a) If suspending immediately after a cold boot (after logging in as
root at the console, without X ever having been started):  After
initiating a suspend the disk light flickers, then the moon light
blinks, and stays blinking forever.
(b) If suspending from an xterm with X running:  After initiating a
suspend the disk light flickers, and the moon light blinks, then
the moon light stays on (not blinking).
An both cases the machine appears to be suspended at this point, e.g.,
the fan is off.  But if I then try to resume by either pressing the
Fn key or closing-and-reopening the lid, then
* For case (a) nothing happens.
* For case (b) the moon light blinks, the disk light flickers, then
  the moon light blinks, and stays blinking forever.
In either case the machine hangs at this point -- there's no response
to any keyboard input (including CTRL/Alt/Del or CTRL/Alt/Backspace).
(Interestingly, Fn-PgUp still turns the ThinkLight on/off, so I infer
the CPU  BIOS are still running.)  I have to power-cycle to regain
control.


As suggested by Pedro la Peu pedro () am-gen ! org in message
http://marc.info/?l=openbsd-miscm=131255997922341w=1 I built
a modified kernel by commenting out the repost all ATI video table
entry in /usr/src/sys/dev/pci/vga_pci.c:

/*
 * disable ATI video repost (hopefully will fix ACPI suspend/resume)
 * as per suggestion by  Pedro la Peu pedro () am-gen ! org
 * in message  http://marc.info/?l=openbsd-miscm=131255997922341w=1
 */
#if 0
{   /* All ATI video until further notice */
{   PCI_VENDOR_ATI, 0x,
0x, 0x },
{   0x, 0x, 0x, 0x}, 1, 0
},
#endif

With this change (using a renamed copy of either the GENERIC or
GENERIC.MP kernel config file):
(a) If suspending immediately after a cold boot (after logging in as
root at the console, without X ever having been started), the
failure symptoms are unchanged.
(b) If suspending from an xterm with X running:  suspend/resume works
fine: after initiating a suspend the disk light flickers, then
the moon light blinks, then the moon light stays on (not blinking).
At the point the machine is suspended.  If I request a resume
(either with the Fn-key or by opening the lid) the disk light
and moon light flicker, then both go out and the machine resumes.
The ethernet (em0) works fine after the resume; I haven't tried
the wifi yet.  However, the console remains dead -- no screen
image, no response to any keyboard input *except* that
CTRL/Alt/Del does do a clean shutdown.

So, with the modified kernel, suspend/resume works fine so long as
I'm running X.  For a laptop, that qualifies as a 95% solution.

My thanks to all who replied in this thread, and particularly to
Pedro la Pau for suggesting the kernel patch which got suspend/resume
working for me.


OpenBSD 4.9 (GENERIC.MP) #819: Wed Mar  2 06:57:49 MST 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3218931712 (3069MB)
avail mem = 3119222784 (2974MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 7IET23WW (1.04 ) date 12/27/2006
bios0: LENOVO 87424GU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT 
SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.30 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R

Re: status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-07 Thread Jona Joachim
On Sat, Aug 06, 2011 at 03:24:42AM +0200, Benny Lofgren wrote:
 On 2011-08-05 17.51, Pedro la Peu wrote:
  On Friday 05 August 2011 13:35:16 Jona Joachim wrote:
  There are other resume related problems on my Stinkpad Z61M (console is 
  blank after resume and bge0 can no longer get a link) but at least the 
  machine and X resume enough to be useful.
 
 I've got a Z61p with what I assume is similar hardware (haven't got mine
 handy right now so can't get a dmesg) and exactly the same symptoms. The
 resume would indeed be useful even with the blank text console if only
 the network got back online, but alas no. If memory serves, not even the
 wpi wifi survives a suspend/resume cycle.

wpi(4) did come back nicely back when resume worked on my T60. However
the console never survived a resume, only X was usable.

Best regards,
Jona



Re: status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-06 Thread Pedro la Peu
On Saturday 06 August 2011 02:24:42 Benny Lofgren wrote:

 I've got a Z61p with what I assume is similar hardware (haven't got
 mine handy right now so can't get a dmesg) and exactly the same
 symptoms. The resume would indeed be useful even with the blank text
 console if only the network got back online, but alas no. If memory
 serves, not even the wpi wifi survives a suspend/resume cycle.

To clarify, with vga repost disabled, everything else including wireless 
(wpi) resumes just fine. As I don't use text consoles or ethernet very 
often I suspend and resume a lot and have no issues.

I have a diff somewhere that adds a machdep.vgarepost sysctl, I should 
dig it out after tree unlock to see if it's of any interest.



OpenBSD 5.0 (GENERIC.MP) #37: Thu Aug  4 17:02:30 MDT 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2500 @ 2.00GHz (GenuineIntel 686-class) 2 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
real mem  = 2145775616 (2046MB)
avail mem = 2100596736 (2003MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/26/09, BIOS32 rev. 0 @ 0xfd6b0, 
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 7FETA9WW (2.27 ) date 08/26/2009
bios0: LENOVO 94503HG
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) EXP0(S4) EXP1(S4) EXP2
(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB3(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2500 @ 2.00GHz (GenuineIntel 686-class) 2 
GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 92P1129 serial   177 type LION 
oem Panasonic
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfc00 0xd/0x1600 0xd1800/0x1000 
0xdc000/0x4000! 0xe/0x1!
cpu0: Enhanced SpeedStep 1996 MHz: speeds: 2000, 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 
16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog 
Devices AD1981HD
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 
20
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5752M rev 0x02, BCM5752 A2 
(0x6002): apic 1 int 16, address 00:16:36:69:5f:6c
brgphy0 at bge0 phy 1: BCM5752 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 
21
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: 
msi, MoW2, address 00:13:02:99:92:4c
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 
22
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 
23
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 
16
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 
17
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 
18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 
19
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 
19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 function 0 TI 

Re: status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-05 Thread Jona Joachim
On 2011-08-04, Mike Larkin mlar...@azathoth.net wrote:
 On Thu, Aug 04, 2011 at 09:37:00PM +, Jona Joachim wrote:
 On 2011-08-04, Jonathan Thornburg jth...@astro.indiana.edu wrote:
  What's the status of suspend/resume on thinkpad T60 series models,
  particularly the T60 with T7200 cpu?  So far as I know these are ACPI
  and I know there have been a lot of improvements lately... but on
  2010-10-23 Luca Corti luca () fantacast ! it
  (message http://marc.info/?l=openbsd-miscm=128780398703487w=1)
  reported
  Dmesg from my T60 (T7200) below.
  
  No big issues, but the fan is in fact a bit loud on OpenBSD, even when
  running apmd -C. It could even suspend and resume correctly recently,
  then stopped working but I don't mind since I don't use s/r.
  [[...]]
  OpenBSD 4.8-current (GENERIC.MP) #591: Tue Oct 19 11:45:02 MDT 2010
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 
  Does suspend/resume work on T60 as of 4.9-{release,stable}?  -current?
 
 It does not work in 4.9. I haven't checked -CURRENT but I don't expect
 it to work on -CURRENT either. It used to work at some point but I think
 it was a change to the radeon driver that broke it (I assume you have a
 radeon card). As of now it suspends but does not resume.

 Does the moon icon stay lit, start blinking, go off? Does the screen backlight
 light up (even if it's black). Did you try resuming from text mode (eg no X)?

When I try to resume it starts blinking. The screen backlight does not
light up, the screen stays totally dark, same behaviour with or without
X.

Best regards,
Jona



Re: status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-05 Thread Pedro la Peu
On Friday 05 August 2011 13:35:16 Jona Joachim wrote:

 When I try to resume it starts blinking. The screen backlight does not
 light up, the screen stays totally dark, same behaviour with or
 without X.

For me the repost all ati video change in vga_pci.c broke resume with 
similar symptoms. You could do a simple test to see if this affects you 
too. In sys/dev/pci/vga_pci.c comment out the relevant lines:

// {   /* All ATI video until further notice */
// {   PCI_VENDOR_ATI, 0x,
// 0x, 0x },
// {   0x, 0x, 0x, 0x}, 1, 0
// },

Build a kernel and see if resume gets any further.

There are other resume related problems on my Stinkpad Z61M (console is 
blank after resume and bge0 can no longer get a link) but at least the 
machine and X resume enough to be useful.



Re: status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-05 Thread Benny Lofgren
On 2011-08-05 17.51, Pedro la Peu wrote:
 On Friday 05 August 2011 13:35:16 Jona Joachim wrote:
 There are other resume related problems on my Stinkpad Z61M (console is 
 blank after resume and bge0 can no longer get a link) but at least the 
 machine and X resume enough to be useful.

I've got a Z61p with what I assume is similar hardware (haven't got mine
handy right now so can't get a dmesg) and exactly the same symptoms. The
resume would indeed be useful even with the blank text console if only
the network got back online, but alas no. If memory serves, not even the
wpi wifi survives a suspend/resume cycle.

When I have a spare moment (I'd more likely need a weekend or so) I'll
try to debug those problems, but I've never looked at power management
before so I really have no clue as to where to begin. Should be fun. :-)


Regards,
/Benny

-- 
internetlabbet.se / work:   +46 8 551 124 80  / Words must
Benny Lofgren/  mobile: +46 70 718 11 90 /   be weighed,
/   fax:+46 8 551 124 89/not counted.
   /email:  benny -at- internetlabbet.se



status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-04 Thread Jonathan Thornburg
What's the status of suspend/resume on thinkpad T60 series models,
particularly the T60 with T7200 cpu?  So far as I know these are ACPI
and I know there have been a lot of improvements lately... but on
2010-10-23 Luca Corti luca () fantacast ! it
(message http://marc.info/?l=openbsd-miscm=128780398703487w=1)
reported
 Dmesg from my T60 (T7200) below.
 
 No big issues, but the fan is in fact a bit loud on OpenBSD, even when
 running apmd -C. It could even suspend and resume correctly recently,
 then stopped working but I don't mind since I don't use s/r.
[[...]]
 OpenBSD 4.8-current (GENERIC.MP) #591: Tue Oct 19 11:45:02 MDT 2010
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Does suspend/resume work on T60 as of 4.9-{release,stable}?  -current?

ciao,

-- 
-- Jonathan Thornburg jth...@astro.indiana.edu
   Dept of Astronomy  IUCSS, Indiana University, Bloomington, Indiana, USA
   Washing one's hands of the conflict between the powerful and the
powerless means to side with the powerful, not to be neutral.
  -- quote by Freire / poster by Oxfam



Re: status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-04 Thread Jona Joachim
On 2011-08-04, Jonathan Thornburg jth...@astro.indiana.edu wrote:
 What's the status of suspend/resume on thinkpad T60 series models,
 particularly the T60 with T7200 cpu?  So far as I know these are ACPI
 and I know there have been a lot of improvements lately... but on
 2010-10-23 Luca Corti luca () fantacast ! it
 (message http://marc.info/?l=openbsd-miscm=128780398703487w=1)
 reported
 Dmesg from my T60 (T7200) below.
 
 No big issues, but the fan is in fact a bit loud on OpenBSD, even when
 running apmd -C. It could even suspend and resume correctly recently,
 then stopped working but I don't mind since I don't use s/r.
 [[...]]
 OpenBSD 4.8-current (GENERIC.MP) #591: Tue Oct 19 11:45:02 MDT 2010
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

 Does suspend/resume work on T60 as of 4.9-{release,stable}?  -current?

It does not work in 4.9. I haven't checked -CURRENT but I don't expect
it to work on -CURRENT either. It used to work at some point but I think
it was a change to the radeon driver that broke it (I assume you have a
radeon card). As of now it suspends but does not resume.

Best regards,
Jona

-- 
Pond-erosa Puff wouldn't take no guff
Water oughta be clean and free
So he fought the fight and he set things right
With his OpenBSD



Re: status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-04 Thread Mike Larkin
On Thu, Aug 04, 2011 at 09:37:00PM +, Jona Joachim wrote:
 On 2011-08-04, Jonathan Thornburg jth...@astro.indiana.edu wrote:
  What's the status of suspend/resume on thinkpad T60 series models,
  particularly the T60 with T7200 cpu?  So far as I know these are ACPI
  and I know there have been a lot of improvements lately... but on
  2010-10-23 Luca Corti luca () fantacast ! it
  (message http://marc.info/?l=openbsd-miscm=128780398703487w=1)
  reported
  Dmesg from my T60 (T7200) below.
  
  No big issues, but the fan is in fact a bit loud on OpenBSD, even when
  running apmd -C. It could even suspend and resume correctly recently,
  then stopped working but I don't mind since I don't use s/r.
  [[...]]
  OpenBSD 4.8-current (GENERIC.MP) #591: Tue Oct 19 11:45:02 MDT 2010
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 
  Does suspend/resume work on T60 as of 4.9-{release,stable}?  -current?
 
 It does not work in 4.9. I haven't checked -CURRENT but I don't expect
 it to work on -CURRENT either. It used to work at some point but I think
 it was a change to the radeon driver that broke it (I assume you have a
 radeon card). As of now it suspends but does not resume.

Does the moon icon stay lit, start blinking, go off? Does the screen backlight
light up (even if it's black). Did you try resuming from text mode (eg no X)?

-ml

 
 Best regards,
 Jona
 
 -- 
 Pond-erosa Puff wouldn't take no guff
 Water oughta be clean and free
 So he fought the fight and he set things right
 With his OpenBSD



Re: TOSHIBA Portege R600/R700 ACPI suspend not working

2011-04-01 Thread Peter Ericson
On Thu, Mar 31, 2011 at 05:43:32PM -0600, Theo de Raadt wrote:
 Can you refine when this happen?
 
 if need be, sthen@ can supply you with daily kernels so that you can refine 
 when it happened.
 Hopefully you don't hit some userland:kernel compatibility issue too hard 
 when you try to
 find it... but it would be very helpful.

I tested 4.8-release kernel on 4.9-current userland (luckily apmd and
zzz work), on the R600 suspend/resume works just fine, on the R700
suspend appears to work but the machine resets itself when I press the
power button to resume.

I got lucky and found that building the kernel with /usr/src/sys
updated to 19 Aug 2010 introduces the change in behaviour, 18 Aug was
fine (note: localised dates?).

I had a look at the diff between 18th/19th and I think it might be
this commit:
http://marc.info/?l=openbsd-cvsm=128207276025618

Hope this helps, it would be great to have the R600 working again and
maybe closer to finding a solution for the R700 aswell.

Regards,

-- 
Peter Ericson



TOSHIBA Portege R600/R700 ACPI suspend not working

2011-03-31 Thread Peter Ericson
Hi misc@

R600: switch from X to vt, OK.  zzz from vt, screen goes blank,
backlight is still on and no change in status leds.  At this point the
machine is not responsive, power button doesn't work, keypresses don't
do anything, no response to ping requests.

R700: same behaviour, in addition text terminals show no text after X
is started, also the R700 in general is a little flakey (hangs - 4
second power button depress required).  On the initial install I found
this machine more reliable when switching to legacy hard drive mode
(so disk shows up as wd0 instead of sd0).

Sometime during 4.8-current suspend/resume worked flawlessly on the
R600 (this was prior to purchasing the R700), I was running current
but there was a gap of a month or two between upgrades, I think
suspend on 4.8-release didn't work (not 100% sure on that) and I don't
know the date of the snapshot I was successfully running
unfortunately.

I have been reading source-changes for about a year and I have browsed
through the acpi source code but I have no clue on how to diagnose
this...any ideas?

Thanks.

acpidump:
http://121.212.255.234/R600.tgz
http://121.212.255.234/R700.tgz

R600 dmesg:

OpenBSD 4.9-current (GENERIC.MP) #814: Wed Mar 23 13:00:06 MDT 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU U9400 @ 1.40GHz (GenuineIntel 686-class) 
1.40 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
real mem  = 3010621440 (2871MB)
avail mem = 2951208960 (2814MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/04/09, BIOS32 rev. 0 @ 0xfca9d, SMBIOS 
rev. 2.5 @ 0xec000 (46 entries)
bios0: vendor TOSHIBA version Version 3.00 date 09/04/2009
bios0: TOSHIBA PORTEGE R600
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC MCFG HPET TCPA SLIC DMAR SSDT SSDT SSDT SSDT 
SSDT
acpi0: wakeup devices USB1(S4) USB4(S4) USB5(S4) USB6(S4) EHC1(S4) EHC2(S4) 
AZAL(S3) WLAN(S4) EXCB(S4) LAN_(S4) LID_(S4) PWRB(S4) HS87(S4) HS86(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU U9400 @ 1.40GHz (GenuineIntel 686-class) 
1.40 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (PCIB)
acpiprt2 at acpi0: bus 1 (MPEX)
acpiprt3 at acpi0: bus 2 (EXCB)
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpipwrres0 at acpi0: PDOC
acpitz0 at acpi0: critical temperature 107 degC
acpibtn0 at acpi0: LID_
acpibat0 at acpi0: BAT1 model G71C00086110 serial 000628 type Li-ION   
oem 0
acpibtn1 at acpi0: PWRB
acpiac0 at acpi0: AC unit online
acpidock0 at acpi0: DOCK not docked (0)
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCD_
acpivout1 at acpivideo0: CRT_
acpivout2 at acpivideo0: DVI_
bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x3000 0xe8000/0x8000!
cpu0: Enhanced SpeedStep 1397 MHz: speeds: 1401, 1400, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 1 int 20 
(irq 11), address 00:23:18:d8:49:55
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 16 (irq 
10)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21 (irq 
11)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 19 (irq 
11)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 19 (irq 
11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 1 int 
22 (irq 11)
azalia0: codecs: Realtek ALC262
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03
pci1 at ppb0 bus 1
iwn0 at pci1 dev 0 function 0 Intel WiFi Link 5100 rev 0x00: apic 1 int 16 
(irq 10), MIMO 1T2R, MoW, address 00:26:c6:1d:63:b4
ppb1 at 

Re: TOSHIBA Portege R600/R700 ACPI suspend not working

2011-03-31 Thread Theo de Raadt
Can you refine when this happen?

if need be, sthen@ can supply you with daily kernels so that you can refine 
when it happened.
Hopefully you don't hit some userland:kernel compatibility issue too hard when 
you try to
find it... but it would be very helpful.



Re: Thanks for the ACPI suspend+resume work!

2010-07-09 Thread Jona Joachim
On 2010-07-09, Antoine Jacoutot ajacou...@bsdfrog.org wrote:
 On Fri, 9 Jul 2010, Josh Rickmar wrote:

 A big thank you to everyone who has been working on the ACPI code!
 Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg
 below) on the July 8 current snapshot.  The only thing I've noticed is
 that my iwn(4) wifi connection doesn't automaticaly reconnet, but that's
 minor.

Also, wsdisplay seems unhappy. After resume on my T60, X11 comes back
but I don't see any output in the console, even though commands I type
get executed.

I'd also like to thank you all for this work!


Best regards,
Jona

-- 
Worse is better
Richard P. Gabriel



Re: Thanks for the ACPI suspend+resume work!

2010-07-09 Thread MERIGHI Marcus
hello joshua, misc@,

sorry for faking your message, I am on digest...

joshua_rick...@eumx.net (Josh Rickmar), 2010.07.09 (Fri) 15:31 (CEST):
 A big thank you to everyone who has been working on the ACPI code!

+1

 Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg

Unfortunately not on my IBM ThinkPad T30 (dmesg below), but getting
closer:

Until today's snapshot zzz caused display to go partly (!) off and
console reporting devices (the way they are reported when inserted, blue
lines, white text). I would have to revert to an old snapshot to get the
exact details. After that nothing would happen unless I hit the on/off
button (yes, I've tried every fn+F[1-12] combination) which made the
half moon led (suspend indicator) start blinking (what it did in the
good old non-acpi days for some seconds) and the hdd led was constantly
on. Only a four second push of on/off remedied that. 

Now with 
OpenBSD 4.7-current (GENERIC) #108: Fri Jul  9 01:09:34 MDT 2010
zzz turns the notebook off darn fast (faster then in pre-acpi times) but
the display still shows remains of the last image and the backlight does
not go off if I close the lid. No console messages shown anymore. No
suspend indicator blinking. 
Once I press on/off, things return, I can write for a couple of seconds,
then the hdd led goes constantly on and everything's dead. Remedy as
above. One of the five tries gave me the following:
wd0(pciide0:0.0): timeout
type: ata
c_bcount: 16384
c_skip: 0
pciide0:0.0: bus-master dma error:
missing interrupt, status 0x1

I got a spare T30 if need be.

Until now I never noticed the mem address conflict line.

Bye, 

Marcus

OpenBSD 4.7-current (GENERIC) #108: Fri Jul  9 01:09:34 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (GenuineIntel
686-class) 1.20 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 1072721920 (1023MB)
avail mem = 1045188608 (996MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/12/03, BIOS32 rev. 0 @
0xfd7e0, SMBIOS rev. 2.31 @ 0xe0010 (48 entries)
bios0: vendor IBM version 1IET66WW (2.05 ) date 06/12/2003
bios0: IBM 2366EG9
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) PCI0(S4) PCI1(S4)
DOCK(S4) USB0(S3) USB1(S3) USB2(S3) AC97(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
\\_SB_.PCI0 post-crs: 0
\\_SB_.PCI0 post-bbn: 0, 0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, FVS, 2000, 1200 MHz
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 94 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model IBM-COMPATIBLE serial 20884 type
LION oem GW
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock0 at acpi0: DOCK not docked (0)
bios0: ROM list: 0xc/0x1 0xe/0x1
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe000, size 0x400
ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: irq 11
drm0 at radeondrm0
uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801CA/CAM USB rev 0x02: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801CA/CAM USB rev 0x02: irq 11
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42
pci2 at ppb1 bus 2
mem address conflict 0x5000/0x1000
mem address conflict 0x5100/0x1000
cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11
cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 5
fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x42, i82562: irq
11, address 00:09:6b:3f:67:a8
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD3200BEVE-00A0HT0
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 

Thanks for the ACPI suspend+resume work!

2010-07-08 Thread Josh Rickmar
A big thank you to everyone who has been working on the ACPI code!
Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg
below) on the July 8 current snapshot.  The only thing I've noticed is
that my iwn(4) wifi connection doesn't automaticaly reconnet, but that's
minor.

OpenBSD 4.7-current (GENERIC.MP) #97: Thu Jul  8 16:21:40 MDT 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2070614016 (1974MB)
avail mem = 2001653760 (1908MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (74 entries)
bios0: vendor LENOVO version 6FET66WW (2.16 ) date 04/22/2009
bios0: LENOVO 2081CTO
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.41 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG
cpu1: 3MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
\\_SB_.PCI0 post-crs: 0
\\_SB_.PCI0 post-bbn: 0, 0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus -1 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel GM45 PT IDER rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 (irq 11) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
Intel GM45 AMT SOL rev 0x07 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 1 int 20 
(irq 11), address 00:24:7e:6c:df:df
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20 (irq 
11)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21 (irq 
11)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22 (irq 
11)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 23 (irq 
11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 1 int 
17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Conexant CX20561, 0x/0x, using Conexant CX20561
azalia0: RIRB time out
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 1 int 20 (irq 
11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 1 int 21 (irq 
11)
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: apic 1 int 17 
(irq 11), MIMO 3T3R, MoW, address 00:21:6a:34:37:56
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 1 int 16 (irq 
11)
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 1 int 17 (irq 
11)
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 1 int 18 (irq 
11)
ehci1 at pci0 dev 29 function 7 

Re: Thanks for the ACPI suspend+resume work!

2010-07-08 Thread Antoine Jacoutot
On Fri, 9 Jul 2010, Josh Rickmar wrote:

 A big thank you to everyone who has been working on the ACPI code!
 Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg
 below) on the July 8 current snapshot.  The only thing I've noticed is
 that my iwn(4) wifi connection doesn't automaticaly reconnet, but that's
 minor.

Make sure you run apmd(8).
Then create /etc/apm/resume with executable bit:

8-
#!/bin/sh
#

ifconfig iwn0 down
ifconfig iwn0 up
8-

This makes my iwn(4) comes back on resume.


-- 
Antoine



Re: Thanks for the ACPI suspend+resume work!

2010-07-08 Thread Theo de Raadt
  A big thank you to everyone who has been working on the ACPI code!
  Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg
  below) on the July 8 current snapshot.  The only thing I've noticed is
  that my iwn(4) wifi connection doesn't automaticaly reconnet, but that's
  minor.
 
 Make sure you run apmd(8).
 Then create /etc/apm/resume with executable bit:
 
 8-
 #!/bin/sh
 #
 
 ifconfig iwn0 down
 ifconfig iwn0 up
 8-
 
 This makes my iwn(4) comes back on resume.

That is a workaround.  Please don't discourage people from pushing
to get it fixed properly, in the driver.

(Yes, I know... this is a more difficult driver to fix...)



ACPI suspend/ resume on IBM T60 not working

2009-06-14 Thread Chris
I'm using the latest snapshot on an IBM T60 laptop; suspend / resume
don't seem to be working.  Typing apmd and then apm -z from my
window manager's xterm tells me System will enter suspend mode
momentarily. and nothing happens. Typing zzz tells me Suspending
system... but nothing really happens.

Here is my dmesg. Thanks for any help.

OpenBSD 4.5-current (GENERIC.MP) #4: Sat Jun 13 23:59:47 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 526807040 (502MB)
avail mem = 500899840 (477MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @
0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ETD2WW (2.12 ) date 04/12/2007
bios0: LENOVO 1954PJM
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 92P1141 serial  1159 type LION oem SONY
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000
0xdc000/0x4000! 0xe/0x1!
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
apic 1 int 17 (irq 11)
azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using
Analog Devices AD1981HD
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1
int 20 (irq 11)
pci1 at ppb0 bus 2
em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:
apic 1 int 16 (irq 11), address 00:15:58:c3:aa:e0
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1
int 21 (irq 11)
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02:
apic 1 int 17 (irq 11), MoW1, address 00:1b:77:4d:5a:f4
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1
int 22 (irq 11)
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1
int 23 (irq 11)
pci4 at ppb3 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1
int 16 (irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1
int 17 (irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1
int 18 (irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1
int 19 (irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1
int 19 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci5 at ppb4 bus 21
cbb0 at pci5 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1
int 16 (irq 11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at 

Re: ACPI suspend/ resume on IBM T60 not working

2009-06-14 Thread Paul Irofti
On Sun, Jun 14, 2009 at 10:28:44PM +1000, Chris wrote:
 I'm using the latest snapshot on an IBM T60 laptop; suspend / resume
 don't seem to be working.  Typing apmd and then apm -z from my
 window manager's xterm tells me System will enter suspend mode
 momentarily. and nothing happens. Typing zzz tells me Suspending
 system... but nothing really happens.
 
 Here is my dmesg. Thanks for any help.

Suspend / resume isn't ready yet and we never said it is. Usually when
you report ACPI stuff you should include an acpidump as well. Or more
easily, since you're up to date, you could use sendbug for that. But
keep in mind that this is not a supported feature, its work in progress.



Re: ACPI suspend/resume state

2009-03-16 Thread Tomáš Bodžár
Ouch.

It's really hard to try place one word in apropos section

http://www.openbsd.org/cgi-bin/man.cgi?query=acpisektion=0manpath=OpenBSD+Currentarch=i386apropos=1format=html

2009/3/16 alemao skana...@gmail.com:
 Hi,

 What's the state of ACPI suspend/resume today in OpenBSD?
 I really appreciate all the work that you great developers are doing
 to add support to new hardware, new or rewritten network services and
 stuff like that, but i don't see any desire to support ACPI
 suspend/resume.
 There's something that 'normal' users can do to helps it's development
 (donations, hardware, etc...)?

 Thanks.





-- 
http://www.openbsd.org/lyrics.html



ACPI suspend/resume state

2009-03-15 Thread alemao
Hi,

What's the state of ACPI suspend/resume today in OpenBSD?
I really appreciate all the work that you great developers are doing
to add support to new hardware, new or rewritten network services and
stuff like that, but i don't see any desire to support ACPI
suspend/resume.
There's something that 'normal' users can do to helps it's development
(donations, hardware, etc...)?

Thanks.



Re: ACPI suspend/resume state

2009-03-15 Thread Tobias Ulmer
On Sun, Mar 15, 2009 at 08:04:05PM -0300, alemao wrote:
 Hi,
 
 What's the state of ACPI suspend/resume today in OpenBSD?

It's being worked on, slowly.

 I really appreciate all the work that you great developers are doing
 to add support to new hardware, new or rewritten network services and
 stuff like that, but i don't see any desire to support ACPI
 suspend/resume.

Why do you ask a question if you've already made up your own (wrong)
answer?

 There's something that 'normal' users can do to helps it's development
 (donations, hardware, etc...)?
 
 Thanks.

Get all sorts of modern laptops to the developers.



IBM T60: ACPI suspend and resume working

2008-11-18 Thread Chris
I'm trying to get ACPI suspend and resume working. Typing apm -z
from my window manager's xterm just returns me back  to the shell.
Typing apmd and then apm -z tells me System will enter suspend
mode momentarily. and then nothing happens. Following is my dmesg.
Thanks for any help.

OpenBSD 4.4 (GENERIC.MP) #844: Tue Aug 12 17:24:39 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 526807040 (502MB)
avail mem = 500883456 (477MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @
0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ETD2WW (2.12 ) date 04/12/2007
bios0: LENOVO 1954PJM
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: duplicate apic id, remapped to apid 2
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 92P1141 serial  1159 type LION oem SONY
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000
0xdc000/0x4000! 0xe/0x1!
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2506000b25
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1833 MHz (1292 mV): speeds: 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xd000, size 0x1000
drm at vga1 unsupported
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
apic 2 int 17 (irq 11)
azalia0: codec[s]: Analog Devices/0x1981, Conexant/0x2bfa, using
Analog Devices/0x1981
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2
int 20 (irq 11)
pci1 at ppb0 bus 2
em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:
apic 2 int 16 (irq 11), address 00:15:58:c3:aa:e0
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2
int 21 (irq 11)
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02:
apic 2 int 17 (irq 11), MoW1, address 00:1b:77:4d:5a:f4
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2
int 22 (irq 11)
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 2
int 23 (irq 11)
pci4 at ppb3 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2
int 16 (irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2
int 17 (irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2
int 18 (irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2
int 19 (irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2
int 19 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci5 at ppb4 bus 21
cbb0 at pci5 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 2
int 16 (irq 11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA,
channel 0 configured

Re: IBM T60: ACPI suspend and resume working

2008-11-18 Thread Alexander Hall

Chris wrote:

I'm trying to get ACPI suspend and resume working. Typing apm -z
from my window manager's xterm just returns me back  to the shell.
Typing apmd and then apm -z tells me System will enter suspend
mode momentarily. and then nothing happens. Following is my dmesg.
Thanks for any help.


AFAIK, ACPI suspend/resume et al is not supposed to work yet.

/Alexander



Re: : acpi suspend?

2007-07-03 Thread Raimo Niskanen
If I may extend the question a bit...

How are the chances that hibernate (to swap) will be implemented
in the (relatively near) future? 

I just bought a used ThinkPad T23, it comes with XP and the BIOS
does not look like a Phoenix BIOS, so it seems hibernation needs
OS support the XP way. Have not tried fully the tips about
ThinkPad T20..22 hibernation to DOS partition yet. It is in
the pipeline. Any tips are welcome anyway...



On Mon, Jul 02, 2007 at 06:21:39PM +0200, Artur Grabowski wrote:
 Vim Visual [EMAIL PROTECTED] writes:
 
  How are the chances that suspend is implemented in ACPI for 
  4.2??
 
 1%
 
 I had a prototype almost working at one point, messed it up without
 saving the working version, then never had time or energy to go back
 to it and noone else has picked it up.
 
 //art

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: : : acpi suspend?

2007-07-03 Thread Raimo Niskanen
On Tue, Jul 03, 2007 at 09:44:09AM +0200, Raimo Niskanen wrote:
 If I may extend the question a bit...
 
 How are the chances that hibernate (to swap) will be implemented
 in the (relatively near) future? 
 
 I just bought a used ThinkPad T23, it comes with XP and the BIOS
 does not look like a Phoenix BIOS, so it seems hibernation needs
 OS support the XP way. Have not tried fully the tips about
 ThinkPad T20..22 hibernation to DOS partition yet. It is in
 the pipeline. Any tips are welcome anyway...
 

For the record.

Hibernation using /usr/ports/sysutils/tphdisk on a type 0x16
(OS/2 hidden) partition works just fine for a ThinkPad T23
dual-booting OpenBSD and Windows XP. Even if the hibernation
partition is not the first on the disk, which is good
because XP wants to be the first on the disk.

It is apparently a Phoenix BIOS in disguise.

XP does not use BIOS hibernation. It implements it on its own.

I still think hibernation without BIOS support (to swap) would
be a nifty feature, but realize laptops are not the primary
target for OpenBSD (laptops are still cool to boast with).



 
 
 On Mon, Jul 02, 2007 at 06:21:39PM +0200, Artur Grabowski wrote:
  Vim Visual [EMAIL PROTECTED] writes:
  
   How are the chances that suspend is implemented in ACPI for 
   4.2??
  
  1%
  
  I had a prototype almost working at one point, messed it up without
  saving the working version, then never had time or energy to go back
  to it and noone else has picked it up.
  
  //art
 
 -- 
 
 / Raimo Niskanen, Erlang/OTP, Ericsson AB

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



acpi suspend?

2007-07-02 Thread Vim Visual

Hi,

I kindly ask in advance not to be stoned after I have asked the
question I am about to ask.

I am a good boy, I buy the CDs, the T-shirts, learn every day a bit
more of OpenBSD and read a couple of man pages before going to sleep

Ok? Now the question...

   How are the chances that suspend is implemented in ACPI for 4.2??

(cowardly hides)

I am trapped in a laptop without APM and I miss (I am a converted
heretic linux user) the possibility of suspending a lot.

Should I go for -current and give it a try?

I _know_ that there has been a LOT of progress recently in ACPI and I
worship Marco and the others for that. Mine is a naive, innocent
question...

Thanks

Just in case of, here you are my dmesg

OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.10GHz (GenuineIntel
686-class) 1.11 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1063809024 (1038876K)
avail mem = 963268608 (940692K)
using 4278 buffers containing 53313536 bytes (52064K) of memory
User Kernel Config
UKC enable acpi
386 acpi0 enabled
UKC quit
Continuing...
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 09/01/04, BIOS32 rev. 0 @
0xfd720, SMBIOS rev. 2.3 @ 0xe8100 (43 entries)
bios0: FUJITSU SIEMENS 00
pcibios0 at bios0: rev 2.1 @ 0xfd720/0x8e0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xd200! 0xdc000/0x4000!
acpi0 at mainbus0: rev 0
acpi0: tables DSDT FACP SSDT BOOT
acpitimer at acpi0 not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB_)
acpibtn at acpi0 not configured
acpibtn at acpi0 not configured
acpiac at acpi0 not configured
acpibat at acpi0 not configured
acpibat at acpi0 not configured
acpicpu at acpi0 not configured
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1100 MHz (940 mV): speeds: 1100, 1000, 900,
800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02
Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured
Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture
at 0xd800, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 11
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83
pci1 at ppb0 bus 1
cbb0 at pci1 dev 10 function 0 Ricoh 5C476 CardBus rev 0xab: irq 11
cbb1 at pci1 dev 10 function 1 Ricoh 5C476 CardBus rev 0xab: irq 11
Ricoh 5C552 Firewire rev 0x03 at pci1 dev 10 function 2 not configured
vendor Ricoh, unknown product 0x0576 (class system subclass
miscellaneous, rev 0x01) at pci1 dev 10 function 3 not configured
Ricoh 5C592 Memory Stick rev 0x00 at pci1 dev 10 function 4 not configured
rl0 at pci1 dev 12 function 0 Realtek 8139 rev 0x10: irq 11, address
00:0b:5d:8c:e2:0d
rlphy0 at rl0 phy 0: RTL internal PHY
iwi0 at pci1 dev 13 function 0 Intel PRO/Wireless 2200BG rev 0x05:
irq 11, address 00:0e:35:83:08:f2
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2080AH
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 ignored (disabled)
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x03: irq 11
iic0 at ichiic0
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x03: irq
11, ICH4 AC97
ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x03 at pci0 dev 31 

Re: acpi suspend?

2007-07-02 Thread Artur Grabowski
Vim Visual [EMAIL PROTECTED] writes:

 How are the chances that suspend is implemented in ACPI for 4.2??

1%

I had a prototype almost working at one point, messed it up without
saving the working version, then never had time or energy to go back
to it and noone else has picked it up.

//art



ThinkPad X31, ACPI, suspend/hibernate buttons

2007-03-23 Thread viq

I have a TP X31 on which I just compiled ACPI-enabled kernel, so I
finally can get access to the thermal sensors. But, at the same time,
the shortcuts to suspend (Fn+F4), hibernate (Fn+F12) or even turn off
the screen (Fn+F3) stopped working. Is that a known behaviour? Is
there a way to make those work again?

Kernel config I used:
=config
include arch/i386/conf/GENERIC

option  ACPIVERBOSE
option  ACPI_ENABLE
acpi0   at mainbus?
acpitimer*  at acpi?
acpihpet*   at acpi?
acpiac* at acpi?
acpibat*at acpi?
acpibtn*at acpi?
acpicpu*at acpi?
acpidock*   at acpi?
acpiec* at acpi?
acpiprt*at acpi?
acpitz* at acpi?
===/config

Just in case, dmesg below:

OpenBSD 4.1-current (ACPI) #1: Thu Mar 22 11:59:36 CET 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ACPI
cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel
686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
real mem  = 804155392 (785308K)
avail mem = 725643264 (708636K)
using 4278 buffers containing 4012 bytes (39388K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 09/22/05, BIOS32 rev. 0 @
0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (57 entries)
bios0: IBM 2885PWU
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
0xdc000/0x4000! 0xe/0x1
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpi device at acpi0 from table DSDT not configured
acpi device at acpi0 from table FACP not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table ECDT not configured
acpi device at acpi0 from table TCPA not configured
acpi device at acpi0 from table BOOT not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (PCI1)
acpiprt3 at acpi0: bus 0 (DOCK)
acpiec0 at acpi0: EC__
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0: model: IBM-08K8039 serial:  1202 type: LION
oem: Panasonic
acpibat1 at acpi0: BAT1: not present
acpibat2 at acpi0: BAT2: not present
acpiac0 at acpi0: AC unit online
acpicpu0 at acpi0: CPU_: 1600, 1400, 1200, 1000, 800, 600 MHz
acpitz0 at acpi0, critical temperature: 91 degC
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 LY rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0
uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub0: 6 ports with 6 removable, self powered
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0xaa: irq 11
cbb1 at pci2 dev 0 function 1 Ricoh 5C476 CardBus rev 0xaa: irq 5
Ricoh 5C552 Firewire rev 0x02 at pci2 dev 0 function 2 not configured
em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03:
irq 11, address 00:09:6b:bf:79:b0
ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq
11, address 00:04:23:78:c1:da
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0 cacheline 0x0, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: ST9120821A
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, RW/DVD GCC-4240N, 0213 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 5
iic0 at ichiic0
auich0 at pci0 dev 31 function 

Re: ThinkPad X31, ACPI, suspend/hibernate buttons

2007-03-23 Thread Marco Peereboom
Nothing stopped working.  It has never been implemented in ACPI.

On Fri, Mar 23, 2007 at 09:25:29PM +0100, viq wrote:
 I have a TP X31 on which I just compiled ACPI-enabled kernel, so I
 finally can get access to the thermal sensors. But, at the same time,
 the shortcuts to suspend (Fn+F4), hibernate (Fn+F12) or even turn off
 the screen (Fn+F3) stopped working. Is that a known behaviour? Is
 there a way to make those work again?
 
 Kernel config I used:
 =config
 include arch/i386/conf/GENERIC
 
 option  ACPIVERBOSE
 option  ACPI_ENABLE
 acpi0   at mainbus?
 acpitimer*  at acpi?
 acpihpet*   at acpi?
 acpiac* at acpi?
 acpibat*at acpi?
 acpibtn*at acpi?
 acpicpu*at acpi?
 acpidock*   at acpi?
 acpiec* at acpi?
 acpiprt*at acpi?
 acpitz* at acpi?
 ===/config
 
 Just in case, dmesg below:
 
 OpenBSD 4.1-current (ACPI) #1: Thu Mar 22 11:59:36 CET 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ACPI
 cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel
 686-class) 1.60 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
 real mem  = 804155392 (785308K)
 avail mem = 725643264 (708636K)
 using 4278 buffers containing 4012 bytes (39388K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+ BIOS, date 09/22/05, BIOS32 rev. 0 @
 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (57 entries)
 bios0: IBM 2885PWU
 apm0 at bios0: Power Management spec V1.2
 apm0: battery life expectancy 100%
 apm0: AC on, battery charge high
 apm0: flags 30102 dobusy 0 doidle 1
 pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
 pcibios0: PCI bus #6 is the last bus
 bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
 0xdc000/0x4000! 0xe/0x1
 acpi0 at mainbus0: rev 2
 acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpi device at acpi0 from table DSDT not configured
 acpi device at acpi0 from table FACP not configured
 acpi device at acpi0 from table SSDT not configured
 acpi device at acpi0 from table ECDT not configured
 acpi device at acpi0 from table TCPA not configured
 acpi device at acpi0 from table BOOT not configured
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (AGP_)
 acpiprt2 at acpi0: bus 2 (PCI1)
 acpiprt3 at acpi0: bus 0 (DOCK)
 acpiec0 at acpi0: EC__
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0: model: IBM-08K8039 serial:  1202 type: LION
 oem: Panasonic
 acpibat1 at acpi0: BAT1: not present
 acpibat2 at acpi0: BAT2: not present
 acpiac0 at acpi0: AC unit online
 acpicpu0 at acpi0: CPU_: 1600, 1400, 1200, 1000, 800, 600 MHz
 acpitz0 at acpi0, critical temperature: 91 degC
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x03
 ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x03
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 LY rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0
 uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1
 uhub0: 6 ports with 6 removable, self powered
 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
 pci2 at ppb1 bus 2
 cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0xaa: irq 11
 cbb1 at pci2 dev 0 function 1 Ricoh 5C476 CardBus rev 0xaa: irq 5
 Ricoh 5C552 Firewire rev 0x02 at pci2 dev 0 function 2 not configured
 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03:
 irq 11, address 00:09:6b:bf:79:b0
 ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq
 11, address 00:04:23:78:c1:da
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0
 pcmcia0 at cardslot0
 cardslot1 at cbb1 slot 1 flags 0
 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x0, lattimer 0xb0
 pcmcia1 at cardslot1
 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01
 pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA,
 channel 0 configured to compatibility, channel 1 configured to
 compatibility
 wd0 at pciide0 channel 0 drive 0: ST9120821A
 wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 

Re: ThinkPad X31, ACPI, suspend/hibernate buttons

2007-03-23 Thread openbsd fan
NO.  Its use APM instead of ACPI.  The Phoenix BIOS in the X31 uses APM
instead of ACPI.

On 3/23/07, viq [EMAIL PROTECTED] wrote:

 On 23/03/07, Marco Peereboom [EMAIL PROTECTED] wrote:
  Nothing stopped working.  It has never been implemented in ACPI.

 Ah, ok, so it's have thermal sensors or have suspend keys work, as I
 suspected. Thank you for clarification.

  On Fri, Mar 23, 2007 at 09:25:29PM +0100, viq wrote:
   I have a TP X31 on which I just compiled ACPI-enabled kernel, so I
   finally can get access to the thermal sensors. But, at the same time,
   the shortcuts to suspend (Fn+F4), hibernate (Fn+F12) or even turn off
   the screen (Fn+F3) stopped working. Is that a known behaviour? Is
   there a way to make those work again?
  
   Kernel config I used:
   =config
   include arch/i386/conf/GENERIC
  
   option  ACPIVERBOSE
   option  ACPI_ENABLE
   acpi0   at mainbus?
   acpitimer*  at acpi?
   acpihpet*   at acpi?
   acpiac* at acpi?
   acpibat*at acpi?
   acpibtn*at acpi?
   acpicpu*at acpi?
   acpidock*   at acpi?
   acpiec* at acpi?
   acpiprt*at acpi?
   acpitz* at acpi?
   ===/config
  
   Just in case, dmesg below:
  
   OpenBSD 4.1-current (ACPI) #1: Thu Mar 22 11:59:36 CET 2007
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ACPI
   cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel
   686-class) 1.60 GHz
   cpu0:
  
 FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
   real mem  = 804155392 (785308K)
   avail mem = 725643264 (708636K)
   using 4278 buffers containing 4012 bytes (39388K) of memory
   mainbus0 (root)
   bios0 at mainbus0: AT/286+ BIOS, date 09/22/05, BIOS32 rev. 0 @
   0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (57 entries)
   bios0: IBM 2885PWU
   apm0 at bios0: Power Management spec V1.2
   apm0: battery life expectancy 100%
   apm0: AC on, battery charge high
   apm0: flags 30102 dobusy 0 doidle 1
   pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
   pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
   pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev
 0x00)
   pcibios0: PCI bus #6 is the last bus
   bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
   0xdc000/0x4000! 0xe/0x1
   acpi0 at mainbus0: rev 2
   acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT
   acpitimer0 at acpi0: 3579545 Hz, 24 bits
   acpi device at acpi0 from table DSDT not configured
   acpi device at acpi0 from table FACP not configured
   acpi device at acpi0 from table SSDT not configured
   acpi device at acpi0 from table ECDT not configured
   acpi device at acpi0 from table TCPA not configured
   acpi device at acpi0 from table BOOT not configured
   acpiprt0 at acpi0: bus 0 (PCI0)
   acpiprt1 at acpi0: bus 1 (AGP_)
   acpiprt2 at acpi0: bus 2 (PCI1)
   acpiprt3 at acpi0: bus 0 (DOCK)
   acpiec0 at acpi0: EC__
   acpibtn0 at acpi0: LID_
   acpibtn1 at acpi0: SLPB
   acpibat0 at acpi0: BAT0: model: IBM-08K8039 serial:  1202 type: LION
   oem: Panasonic
   acpibat1 at acpi0: BAT1: not present
   acpibat2 at acpi0: BAT2: not present
   acpiac0 at acpi0: AC unit online
   acpicpu0 at acpi0: CPU_: 1600, 1400, 1200, 1000, 800, 600 MHz
   acpitz0 at acpi0, critical temperature: 91 degC
   cpu0 at mainbus0
   pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
   pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x03
   ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x03
   pci1 at ppb0 bus 1
   vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 LY rev 0x00
   wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
   wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
   uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
   uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
   uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
   ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
   usb0 at ehci0: USB revision 2.0
   uhub0 at usb0
   uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1
   uhub0: 6 ports with 6 removable, self powered
   ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
   pci2 at ppb1 bus 2
   cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0xaa: irq 11
   cbb1 at pci2 dev 0 function 1 Ricoh 5C476 CardBus rev 0xaa: irq 5
   Ricoh 5C552 Firewire rev 0x02 at pci2 dev 0 function 2 not
 configured
   em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03:
   irq 11, address 00:09:6b:bf:79:b0
   ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq
   11, address 00:04:23:78:c1:da
   cardslot0 at cbb0 slot 0 flags 0
   cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0
   pcmcia0 at cardslot0
   cardslot1 at cbb1 slot 1 flags 0
   cardbus1 at cardslot1: bus 6 device 0 cacheline 0x0, 

Re: ThinkPad X31, ACPI, suspend/hibernate buttons

2007-03-23 Thread viq

On 23/03/07, Marco Peereboom [EMAIL PROTECTED] wrote:

Nothing stopped working.  It has never been implemented in ACPI.


Ah, ok, so it's have thermal sensors or have suspend keys work, as I
suspected. Thank you for clarification.


On Fri, Mar 23, 2007 at 09:25:29PM +0100, viq wrote:
 I have a TP X31 on which I just compiled ACPI-enabled kernel, so I
 finally can get access to the thermal sensors. But, at the same time,
 the shortcuts to suspend (Fn+F4), hibernate (Fn+F12) or even turn off
 the screen (Fn+F3) stopped working. Is that a known behaviour? Is
 there a way to make those work again?

 Kernel config I used:
 =config
 include arch/i386/conf/GENERIC

 option  ACPIVERBOSE
 option  ACPI_ENABLE
 acpi0   at mainbus?
 acpitimer*  at acpi?
 acpihpet*   at acpi?
 acpiac* at acpi?
 acpibat*at acpi?
 acpibtn*at acpi?
 acpicpu*at acpi?
 acpidock*   at acpi?
 acpiec* at acpi?
 acpiprt*at acpi?
 acpitz* at acpi?
 ===/config

 Just in case, dmesg below:

 OpenBSD 4.1-current (ACPI) #1: Thu Mar 22 11:59:36 CET 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ACPI
 cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel
 686-class) 1.60 GHz
 cpu0:
 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
 real mem  = 804155392 (785308K)
 avail mem = 725643264 (708636K)
 using 4278 buffers containing 4012 bytes (39388K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+ BIOS, date 09/22/05, BIOS32 rev. 0 @
 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (57 entries)
 bios0: IBM 2885PWU
 apm0 at bios0: Power Management spec V1.2
 apm0: battery life expectancy 100%
 apm0: AC on, battery charge high
 apm0: flags 30102 dobusy 0 doidle 1
 pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
 pcibios0: PCI bus #6 is the last bus
 bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
 0xdc000/0x4000! 0xe/0x1
 acpi0 at mainbus0: rev 2
 acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpi device at acpi0 from table DSDT not configured
 acpi device at acpi0 from table FACP not configured
 acpi device at acpi0 from table SSDT not configured
 acpi device at acpi0 from table ECDT not configured
 acpi device at acpi0 from table TCPA not configured
 acpi device at acpi0 from table BOOT not configured
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (AGP_)
 acpiprt2 at acpi0: bus 2 (PCI1)
 acpiprt3 at acpi0: bus 0 (DOCK)
 acpiec0 at acpi0: EC__
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0: model: IBM-08K8039 serial:  1202 type: LION
 oem: Panasonic
 acpibat1 at acpi0: BAT1: not present
 acpibat2 at acpi0: BAT2: not present
 acpiac0 at acpi0: AC unit online
 acpicpu0 at acpi0: CPU_: 1600, 1400, 1200, 1000, 800, 600 MHz
 acpitz0 at acpi0, critical temperature: 91 degC
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x03
 ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x03
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 LY rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0
 uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1
 uhub0: 6 ports with 6 removable, self powered
 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
 pci2 at ppb1 bus 2
 cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0xaa: irq 11
 cbb1 at pci2 dev 0 function 1 Ricoh 5C476 CardBus rev 0xaa: irq 5
 Ricoh 5C552 Firewire rev 0x02 at pci2 dev 0 function 2 not configured
 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03:
 irq 11, address 00:09:6b:bf:79:b0
 ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq
 11, address 00:04:23:78:c1:da
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0
 pcmcia0 at cardslot0
 cardslot1 at cbb1 slot 1 flags 0
 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x0, lattimer 0xb0
 pcmcia1 at cardslot1
 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01
 pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA,
 channel 0 configured to compatibility, channel 1 configured to
 compatibility
 wd0 at pciide0 channel 0 drive 0: ST9120821A
 wd0: 16-sector PIO, LBA48, 114473MB, 234441648 

Re: ThinkPad X31, ACPI, suspend/hibernate buttons

2007-03-23 Thread viq

On 23/03/07, openbsd fan [EMAIL PROTECTED] wrote:

NO.  Its use APM instead of ACPI.  The Phoenix BIOS in the X31 uses APM
instead of ACPI.


Gotcha, thanks.

--
viq