API to turn off the display
Donn Miller
dmmiller at cvzoom.net
Sat Jan 31 03:54:44 PST 2004
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.
More information about the freebsd-current
mailing list