(unknown charset) Re: acpi_video on SONY VAIO PCG-Z1 [was: acpi_video users needed]

From: (unknown charset) Nate Lawson <nate_at_root.org>
Date: Tue, 31 Aug 2004 23:17:40 -0700 (PDT)
On Wed, 1 Sep 2004 takawata_at_jp.freebsd.org wrote:
> In message <20040831131628.GA2156_at_laptoxa.toxa.lan>, Toxa さんいわく:
> >On Tue, Aug 31, 2004 at 07:41:11PM +0900, takawata_at_jp.freebsd.org wrote:
> >> >dev.acpi_sny.0.brightness=10
> >> >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=\_SB_.PCI0.LPC0.SNC_
> >dev.acpi_snc.0.%pnpinfo: _HID=SNY5001 _UID=0
> >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=10
> >dev.acpi_snc.0.brightness: 94 -> 10
> >[(17:13)(49.51%)(p6):~/tmp/acpi_snc ] sudo sysctl
> >dev.acpi_snc.0.brightness=100
> >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.
> http://www.init-main.com/acpi_snc2.tar.gz
>
> 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
to try.

-Nate
Received on Wed Sep 01 2004 - 04:17:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC