acpi_video on SONY VAIO PCG-Z1 [was: acpi_video users needed]
nate at root.org
Tue Aug 31 23:17:38 PDT 2004
On Wed, 1 Sep 2004 takawata at jp.freebsd.org wrote:
> In message <20040831131628.GA2156 at laptoxa.toxa.lan>, Toxa =A4=B5=A4=F3=A4=
> >On Tue, Aug 31, 2004 at 07:41:11PM +0900, takawata at jp.freebsd.org wrote:
> >> >dev.acpi_sny.0.brightness=3D10
> >> >sysctl: oid 'dev.acpi_sny.0.brightness' is read only
> >> >
> >> >nothing happens...
> >> Sorry, please refetch it from
> >> http://www.init-main.com/acpi_snc.tar.gz
> >acpi_sny0: detached
> >acpi_snc0: <Sony system controller> on acpi0
> >[(17:12)(49.34%)(p6):~/tmp/acpi_snc ] sysctl -a|grep snc
> >dev.acpi_snc.0.%desc: Sony system controller
> >dev.acpi_snc.0.%driver: acpi_snc
> >dev.acpi_snc.0.%location: handle=3D\_SB_.PCI0.LPC0.SNC_
> >dev.acpi_snc.0.%pnpinfo: _HID=3DSNY5001 _UID=3D0
> >dev.acpi_snc.0.%parent: acpi0
> >dev.acpi_snc.0.brightness: 94
> >[(17:12)(49.34%)(p6):~/tmp/acpi_snc ] sudo sysctl
> >dev.acpi_snc.0.brightness: 94 -> 10
> >[(17:13)(49.51%)(p6):~/tmp/acpi_snc ] sudo sysctl
> >dev.acpi_snc.0.brightness: 10 -> 100
> >[(17:13)(49.51%)(p6):~/tmp/acpi_snc ]
> >Yes, it works, thanks a lot! Now I'm wondering how to resume lid from
> >suspending. Machine resumes well and I can log in remotely but monitor
> >looks "dead"
> I don't imagine why. But any other method in SNC may do something.
> I modified the driver so that it exports more methods.
> Testers wanted.
The PWAK method looks like you should call it on resume and the PWRN
method looks like it should be called by a power button handler.
However, there already are control method power and sleep buttons in the
AML. It looks like CDPW turns on or off power to the CD drive (1 means
on, 0 off). GCDP returns the power state of the CD drive. However, most
of these functions are hidden in SMI mode so the only way to find out is
More information about the freebsd-current