Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 23:17:40 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        takawata@jp.freebsd.org
Cc:        Toxa <postfix@sendmail.ru>
Subject:   Re: acpi_video on SONY VAIO PCG-Z1 [was: acpi_video users needed]
Message-ID:  <20040831231101.N2314@root.org>
In-Reply-To: <200409010238.i812cv4K054209@sana.init-main.com>
References:  <200409010238.i812cv4K054209@sana.init-main.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 1 Sep 2004 takawata@jp.freebsd.org wrote:
> In message <20040831131628.GA2156@laptoxa.toxa.lan>, Toxa =A4=B5=A4=F3=A4=
=A4=A4=EF=A4=AF:
> >On Tue, Aug 31, 2004 at 07:41:11PM +0900, takawata@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=3D10
> >dev.acpi_snc.0.brightness: 94 -> 10
> >[(17:13)(49.51%)(p6):~/tmp/acpi_snc ] sudo sysctl
> >dev.acpi_snc.0.brightness=3D100
> >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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040831231101.N2314>