Re: IBM T60 - APM issues
On 6/27/07, atstake atstake [EMAIL PROTECTED] wrote: On 27 Jun 2007 11:58:04 +0200, Artur Grabowski [EMAIL PROTECTED] wrote: If the T60 is anything like the X60, it doesn't have APM, only ACPI. I recompiled the kernel with this (removing the disable and the #) and still can get halt -p working. Is there something I'm missing? 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? Here's my new dmesg | grep acpi. Thanks for any help. OpenBSD 4.1 (GENERIC.acpi) #0: Thu Jun 28 21:03:45 DST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.acpi acpi0 at mainbus0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 0 (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: EC__ 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 acpitz0 at acpi0, critical temperature: 127 degC acpitz1 at acpi0, critical temperature: 99 degC
Re: IBM T60 - APM issues
atstake atstake wrote: On 6/27/07, viq [EMAIL PROTECTED] wrote: $ grep apmhalt /etc/sysctl.conf #machdep.apmhalt=1 # 1=powerdown hack, try if halt -p doesn't work Thanks but that didn't help. At the monent I'm thinking of re-compiling the kernel as someone mentioned (off the list) that I need to enable acpi in the kernel. I was wondering if there's something I could enable from the UKC prompt as mentioned here: http://openbsd.org/faq/faq5.html#Options and thus avoid re-compiling the kernel altogether. config -ef /mykernelname UKC enable acpi ### acpi enabled UKC quit writing modified kernel. Like that. or, for a one-shot testing, just give boot -c at the boot prompt to get into the UKC to test it once. If it works, run the above trick to make it stick.
Re: IBM T60 - APM issues
On 6/27/07, Janne Johansson [EMAIL PROTECTED] wrote: or, for a one-shot testing, just give boot -c at the boot prompt to get into the UKC to test it once. If it works, run the above trick to make it stick. Thanks all for replying. It's still not working. Here's what I've tried so far along with some system information - o /etc/rc.shutdown - powedown=YES # cat /etc/sysctl.conf | grep apm machdep.apmwarn=10 # battery % when apm status messages enabled machdep.apmhalt=1 # 1=powerdown hack, try if halt -p doesn't wor o # dmesg | grep acpi acpi at mainbus0 not configured o sysctl -aA | grep acpi - gives nothing o sysctl -aA | grep apm - machdep.apmwarn=10 machdep.apmhalt=1 o when the system boots, it says APM error and this is before the boot prompt o Also tried to load bsd.mp - makes the system really slow o Also went to UKC enable apm it says - 298 apm already enabled o Also tried enabling acpi from UKC with no luck. Is there anything else I could try? Any help on this would be much appreciated. Thanks.
Re: IBM T60 - APM issues
On 27 Jun 2007 11:58:04 +0200, Artur Grabowski [EMAIL PROTECTED] wrote: If the T60 is anything like the X60, it doesn't have APM, only ACPI. Ok. I enabled ACPI from UKC and here's the dmesg - UKC enable acpi 386 acpi0 enabled UKC enable acpiverbose acpi0 at mainbus0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpitimer at acpi0 not configured acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 0 (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) acpiec at acpi0 not configured acpibtn at acpi0 not configured acpibtn at acpi0 not configured acpibat at acpi0 not configured acpibat at acpi0 not configured acpiac at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured Is there any way I could power down the system by halt -p? Thanks for any help.
IBM T60 - APM issues
I'm running 4.1-current on T60. I have got powerdown=YES in /etc/rc.shutdown and apmd_flags= in /etc/rc.conf.local. The laptop doesn't power itself off with halt -p. So, I have to turn off the laptop by pressing the power button manually every time. I was wondering if this is going to cause any hardware related issues with the laptop in the long-term. Thanks.
Re: IBM T60 - APM issues
On 26/06/07, atstake atstake [EMAIL PROTECTED] wrote: I'm running 4.1-current on T60. I have got powerdown=YES in /etc/rc.shutdown and apmd_flags= in /etc/rc.conf.local. The laptop doesn't power itself off with halt -p. So, I have to turn off the laptop by pressing the power button manually every time. I was wondering if this is going to cause any hardware related issues with the laptop in the long-term. Thanks. Maybe that will help: $ grep apmhalt /etc/sysctl.conf #machdep.apmhalt=1 # 1=powerdown hack, try if halt -p doesn't work -- viq
Re: IBM T60 - APM issues
On 6/27/07, viq [EMAIL PROTECTED] wrote: $ grep apmhalt /etc/sysctl.conf #machdep.apmhalt=1 # 1=powerdown hack, try if halt -p doesn't work Thanks but that didn't help. At the monent I'm thinking of re-compiling the kernel as someone mentioned (off the list) that I need to enable acpi in the kernel. I was wondering if there's something I could enable from the UKC prompt as mentioned here: http://openbsd.org/faq/faq5.html#Options and thus avoid re-compiling the kernel altogether. Thanks for any help.