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 > >brightniness. > > > >> 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. > http://www.init-main.com/acpi_snc.tar.gz 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.%driver: acpi_snc dev.acpi_snc.0.%location: handle=\_SB_.PCI0.LPCB.SNC_ dev.acpi_snc.0.%pnpinfo: _HID=SNY5001 _UID=0 dev.acpi_snc.0.%parent: acpi0 dev.acpi_snc.0.brightness: 60 # 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.ruReceived on Tue Aug 31 2004 - 08:39:26 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC