acpi_video on SONY VAIO PCG-Z1 [was: acpi_video users needed]
vova at fbsd.ru
Tue Aug 31 03:39:26 PDT 2004
On Tue, 2004-08-31 at 14:02 +0900, takawata at jp.freebsd.org wrote:
> In message <1093891970.1195.25.camel at localhost>, Vladimir Grebenschikov wrote:
> >On Tue, 2004-08-31 at 03:31 +0900, takawata at jp.freebsd.org wrote:
> >> >> >Is any chance to make acpi_video work on SONY VAIO PCG-Z1 ?
> >> >> >acpi_video.ko loads well, but does not report anything, and does not add
> >> >> >hw.acpi.video subtree.
> >> >> >
> >> >> >Please advise.
> >> >>
> >> >> Because the ACPI device object has not enough interfaces to get the
> >> >> acpi_video driver work.
> >> >> Acpi_video driver does not check PCI device class: it checks the
> >> >> interfaces instead.
> >> >> You don't need to bother attaching acpi_video driver.
> >> >
> >> >Ok, And what conclusion "no-way" ?
> >> You may hack the driver to do so.:-)
> >Oh ... first i need to hack WinXP driver to find how to control LCD
> >> But, in your machine, the driver does not work anything but
> >> recognize that the video adaptor has 3 way output. And
> >> you can't use acpi_video, if you want to use DRM or nvidia kernel module.
> >I have ATI RADEON MOBILITY, so no need nvidia module.
> >Can you provide me a bit of theory ?
> >Who usual responsible for LCD bacllight control ?
> > video-chip(ATI) / chipset(Intel) / special device on bus ?
> It seems to be controlled by Special device on bus called embedded controller.
> You can use it with setbrightness in ports/sysutils/sjog or
> ports/graphics/picturebook. But these tools are a bit dangerous because
> it will conflict with ACPI(These tools are based on disassembled AML before
> ACPI support is not populler in free unicies.)
> I just wrote a driver for it. I hope it will help you.
Yes, it works, now I can control LCD backlight brightness.
$ setbrightness 50
$ setbrightness 255
# sysctl dev.acpi_snc
dev.acpi_snc.0.%desc: Sony system controller
dev.acpi_snc.0.%pnpinfo: _HID=SNY5001 _UID=0
Now only issue I am warry about "How to awake screen after suspend ?"
Vladimir B. Grebenschikov
SWsoft Inc. vova at sw-soft.com
Vladimir B. Grebenchikov
vova at fbsd.ru
More information about the freebsd-current