Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 18:19:57 +0200
From:      Emanuel Strobl <Emanuel.strobl@gmx.net>
To:        vova@fbsd.ru, freebsd-current@freebsd.org
Subject:   user changable brightness? [Was: Re: acpi_sony - no powerd, no man page!]
Message-ID:  <200509261820.05930@harrymail>
In-Reply-To: <1126593686.1070.20.camel@localhost>
References:  <200509110042.31358@harrymail> <20050911102044.GA1142@unixpages.org> <1126593686.1070.20.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1204369.ChKc34ioZF
Content-Type: text/plain;
  charset="koi8-r"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Am Dienstag, 13. September 2005 08:41 CEST schrieb Vladimir Grebenschikov:
> =F7 =D7=D3, 11/09/2005 =D7 12:20 +0200, Christian Brueffer =D0=C9=DB=C5=
=D4:
> > On Sun, Sep 11, 2005 at 12:42:17AM +0200, Emanuel Strobl wrote:
> > > Hello,
> > >
> > > I just installed BETA4 on my notebook and was curious about the
> > > acpi_sony driver, but all I can see is that powerd soesn't work
> > > anymoder (if I call powerd -a min dev.cpu.0.freq is still 800 wher
> > > it was 62 without acpi_sony compiled in) and that I can set LCD
> > > brightness :) *bright_smile* But what does ctr, pcr, wdp and cdp
> > > mean?
> > > A short man page was wonderful!
> > > And is it known/intended that cpufreq doesn't work with acpi_sony?
>
> I have powerd worked for me without any problems (up to 211 Mhz)
> with acpi_sony

It turned out that cpufreq used acpi_perf instead of ichss, so it was not=20
acpi_sony related! Solution was to add hint.acpi_perf.0.disabled=3D"1"=20
to /boot/loader.conf

But now I have the problem that a regular user can't change the brightness:

akima:~>6: sysctl -w dev.acpi_sony.0.brightness=3D5
dev.acpi_sony.0.brightness: 7
sysctl: dev.acpi_sony.0.brightness: Operation not permitted

Is there a tunable to allow regular users to write to dev. sysctls or even=
=20
better, a sysctl MIB security mask to assign "rights" to a specific MIB?

Thanks,

=2DHarry

--nextPart1204369.ChKc34ioZF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBDOB+1Bylq0S4AzzwRAoJIAJ4g+jT9NtWvhnEZYzE6sHefC+9AJgCfaWvP
pDhvohqlT6q+5e/sONlobgU=
=eoMl
-----END PGP SIGNATURE-----

--nextPart1204369.ChKc34ioZF--



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