From owner-freebsd-current@FreeBSD.ORG Mon Sep 26 16:20:15 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A02716A422 for ; Mon, 26 Sep 2005 16:20:15 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id CED6843D4C for ; Mon, 26 Sep 2005 16:20:10 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 26 Sep 2005 16:20:09 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp033) with SMTP; 26 Sep 2005 18:20:09 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: vova@fbsd.ru, freebsd-current@freebsd.org Date: Mon, 26 Sep 2005 18:19:57 +0200 User-Agent: KMail/1.8.1 References: <200509110042.31358@harrymail> <20050911102044.GA1142@unixpages.org> <1126593686.1070.20.camel@localhost> In-Reply-To: <1126593686.1070.20.camel@localhost> X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1204369.ChKc34ioZF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509261820.05930@harrymail> X-Y-GMX-Trusted: 0 Cc: Subject: user changable brightness? [Was: Re: acpi_sony - no powerd, no man page!] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 16:20:15 -0000 --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--