From owner-acpi-jp@jp.freebsd.org  Fri Aug 31 13:51:50 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id NAA10257;
	Fri, 31 Aug 2001 13:51:50 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from vaio.aviaport.ru (dialup-h.aviaport.ru [217.69.199.239])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with SMTP id NAA10250
	for <acpi-jp@jp.freebsd.org>; Fri, 31 Aug 2001 13:51:43 +0900 (JST)
	(envelope-from juriy@vaio.aviaport.ru)
Received: by vaio.aviaport.ru (Postfix, from userid 1001)
	id AC36BE2F06; Fri, 31 Aug 2001 08:50:48 +0400 (MSD)
Date: Fri, 31 Aug 2001 08:50:48 +0400
From: Juriy Goloveshkin <juriy@aviaport.ru>
To: acpi-jp@jp.freebsd.org
Message-ID: <20010831085048.A1066@aviaport.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.21i
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1231
Subject: [acpi-jp 1231] acpi in freebsd-current
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: juriy@aviaport.ru

Mike Smith has just done acpi-loading as default thing in freebsd-current.
I wrote a letter to him, but he said, that it it more interesting in this list.


>msmith      2001/08/29 17:42:12 PDT
>
>  Modified files:
>   sys/boot/i386/libi386 Makefile i386_module.c libi386.h
>   sys/boot/i386/loader main.c
> Added files:
>   sys/boot/i386/libi386 biosacpi.c
> Log:
>	  Teach the loader how to find the system ACPI information, and autoload
>	  the ACPI module if the system apperars to be ACPI compliant.

>    This is an initial cut; the load should really be done by Forth support
>	  code, and we should check both the BIOS build date and a blacklist.
Is there a way to turn off acpi.ko loading?
I don't want to remove file acpi.ko... but now I have to do it.
why I can't work with acpi?

I don't want to turn off my notebook instead of suspend. With acpi it isn't work on my system.
vaio@juriy[~]> acpiconf -s3
sio1: unloaded
sio1: detached
pccard: card disabled, slot 0
======== acpi_printcpu() debug dump ========
gdt[0077:c0326820] idt[0407:c0318440] ldt[0028] tr[0020] efl[00000006]
eax[bfc00204] ebx[00000000] ecx[00000004] edx[00081627]
esi[ca1dab80] edi[d4ede64c] ebp[e7831d34] esp[e7831d08]
cr0[8005003b] cr2[280a3c40] cr3[0b2af000] cr4[00000691]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]

system is suspended. I press a key:

======== acpi_printcpu() debug dump ========
gdt[0077:c0326820] idt[0407:c0318440] ldt[0028] tr[0020] efl[00000002]
eax[0000002c] ebx[00000000] ecx[00008000] edx[00081627]
esi[ca1dab80] edi[d4ede64c] ebp[e7831d34] esp[e7831d18]
cr0[8005003b] cr2[280a3c40] cr3[0b2af000] cr4[00000691]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
ata0: resetting devices .. ata0-slave: identify retries exceeded
done
ata1: resetting devices .. done
pccard: card inserted, slot 0

one time it works! if I try one more time... It is suspended, but never wakes up
till reboot.

my dmesg(VAIO Z505HS):
vaio@juriy[~]> dmesg|grep acpi
Preloaded elf module "acpi.ko" at 0xc04cdc60.
acpi0: <SONY   Z1      > on motherboard
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
acpi_pcib0: matched entry for 0.12.INTA (source \\_SB_.LNKB)
acpi_pcib0: device is routed to IRQ 9
atspeaker0 port 0x61 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
ppc0 port 0x378-0x37f on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cpu0: set speed to 100.0%
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%

second problem is that with acpi Fn-combitations doesn't work: Fn-Esc, Fn-F(display size),
	Fn-F5(brightness)... I can't do 'suspend to disk'(Fn-F12).

3rd problem is: there is no utilities to work with acpi and apm doesn't work.
I can control battery level only with sysctl.

there is LOTS benefits with acpi, but do you think that acpi is ready to work
by default in system?

-- 
bye
Juriy Goloveshkin
