From owner-freebsd-current Wed Aug 22 7:14:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from vbook.express.ru (vbook.express.ru [212.24.37.106]) by hub.freebsd.org (Postfix) with ESMTP id 70CF437B414 for ; Wed, 22 Aug 2001 07:14:23 -0700 (PDT) (envelope-from vova@express.ru) Received: from vova by vbook.express.ru with local (Exim 3.31 #2) id 15ZYms-0001Tt-00 for freebsd-current@freebsd.org; Wed, 22 Aug 2001 18:15:18 +0400 From: "Vladimir B. Grebenschikov" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15235.48758.507768.521959@vbook.express.ru> Date: Wed, 22 Aug 2001 18:15:18 +0400 (MSD) To: freebsd-current@freebsd.org Subject: ACPI on Sony VAIO z505s on fresh -CURRENT X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Anybody tried subj ? It compiles in, and seems to work: Aug 17 14:16:58 vbook /boot/kernel/kernel: ACPI debug layer 0x0 debug level 0x0 Aug 17 14:16:59 vbook /boot/kernel/kernel: acpi0: on motherboard Aug 17 14:16:59 vbook /boot/kernel/kernel: acpi0: power button is handled as a fixed feature programming model. Aug 17 14:16:59 vbook /boot/kernel/kernel: Timecounter "ACPI" frequency 3579545 Hz Aug 17 14:16:59 vbook /boot/kernel/kernel: acpi_cpu0: on acpi0 Aug 17 14:16:59 vbook /boot/kernel/kernel: acpi_tz0: on acpi0 Aug 17 14:16:59 vbook /boot/kernel/kernel: acpi_button0: on acpi0 Aug 17 14:16:59 vbook /boot/kernel/kernel: acpi_pcib0: on acpi0 Aug 17 14:16:59 vbook /boot/kernel/kernel: pci0: on acpi_pcib0 Aug 17 14:17:00 vbook /boot/kernel/kernel: acpi_pcib0: matched entry for 0.10.INTA (source \_SB_.LNKB) Aug 17 14:17:00 vbook /boot/kernel/kernel: acpi_pcib0: device is routed to IRQ 9 Aug 17 14:17:00 vbook /boot/kernel/kernel: acpi_cmbat0: on acpi0 Aug 17 14:17:00 vbook /boot/kernel/kernel: acpi_acad0: on acpi0 Aug 17 14:17:00 vbook /boot/kernel/kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 Aug 17 14:17:01 vbook /boot/kernel/kernel: acpi_cpu0: set speed to 100.0% Aug 17 14:17:01 vbook /boot/kernel/kernel: acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5% acpidump - dumps a lot of information But there are some problems with using acpi: 1st: it seems that acpi not emulates apm interface (/dev/{apm,apmctl}) so apm-based utilites don't work (apmd, zzz, monitors and so) Is it planned to have apm interface through acpi or not ? If I compile both in kernel - apm code not works. 2nd: Where I can get more info about acpimodes, from man acpiconf(8): -s type Enters the specified sleep mode. Recognized types are 1, 2, 3, 4, and 5. in man acpiconf(8) there are no mention about mode "4b " I have tried some: 1,2 - do nothing 5 - turn off machine without proper shutdown 3rd: I have tried couple utilites from http://people.freebsd.org/~jhb/acpi/ batt.c - works after patching, but if no battary present on laptop shows 1 battary with unrealistic numbers health.c - I can't make it work - it seems it lacks of defines in kernel May be there are some other utilites for acpi ? -- TSB Russian Express, Moscow Vladimir B. Grebenschikov, vova@express.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message