From owner-freebsd-current@FreeBSD.ORG Sat Jan 31 03:54:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE82A16A4CE for ; Sat, 31 Jan 2004 03:54:44 -0800 (PST) Received: from mail-2.zoominternet.net (mail-2.zoominternet.net [63.67.120.22]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A12643D31 for ; Sat, 31 Jan 2004 03:54:43 -0800 (PST) (envelope-from dmmiller@cvzoom.net) Received: (qmail 7023 invoked from network); 31 Jan 2004 11:54:40 -0000 Received: from acs-24-239-218-57.zoominternet.net (HELO cvzoom.net) ([24.239.218.57]) (envelope-sender ) by mail-2.zoominternet.net (qmail-ldap-1.03) with SMTP for ; 31 Jan 2004 11:54:40 -0000 Message-ID: <401B9782.2000401@cvzoom.net> Date: Sat, 31 Jan 2004 06:54:42 -0500 From: Donn Miller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Taku YAMAMOTO References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 31 Jan 2004 05:11:53 -0800 cc: current@freebsd.org Subject: Re: API to turn off the display X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 11:54:44 -0000 Taku YAMAMOTO wrote: > I wrote a driver that handles what John told. > > http://access.cent.saitama-u.ac.jp/~taku/freebsd/acpi_vid-20031013.tar.gz > MD5 (acpi_vid-20031013.tar.gz) = adbfa6931e505544fb784e00c7b974e7 > > This driver uses ACPI video extension to control display switching and > backlight brightness. So working ACPI is a requisition for this driver. > > Whether it does or does not work depends heavily on how well the BIOS written, > however, I hope it worth trying. > > Suggestions, working/not-working reports etc are very appreciated. I tried it. kldstat Id Refs Address Size Name 1 19 0xc0400000 3ac910 kernel 2 1 0xc07ad000 5e60 vesa.ko 3 1 0xc07b3000 cffc if_dc.ko 4 2 0xc07c0000 1a9c8 miibus.ko 5 1 0xc07db000 9380 snd_maestro3.ko 6 2 0xc07e5000 1f5c8 snd_pcm.ko 7 2 0xc0805000 50f60 acpi.ko 8 1 0xc2cc7000 b000 ntfs.ko 9 1 0xc2d4b000 2000 apm_saver.ko 10 1 0xc2f55000 19000 linux.ko 11 1 0xc3133000 4000 acpi_vid.ko sysctl hw.acpi.video sysctl: unknown oid 'hw.acpi.video' It doesn't detect the video at all on my laptop, i.e., I get no output from dmest or the kernel that anything was detected. dmesg | grep -i vesa Preloaded elf module "/boot/kernel/vesa.ko" at 0xc08571f4. VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc07b1ce2 (1000022) VESA: S3 Incorporated. M7 BIOS The laptop is an HP Pavilion N5440.