Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 2009 11:30:52 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Leonardo =?iso-8859-15?Q?M=2E_Ram=E9?= <martinrame@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: More on Toshiba A305 SP6926A
Message-ID:  <20090815093052.GA65927@slackbox.xs4all.nl>
In-Reply-To: <775149.32518.qm@web35602.mail.mud.yahoo.com>
References:  <775149.32518.qm@web35602.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 14, 2009 at 05:12:24AM -0700, Leonardo M. Ram=E9 wrote:

> A new issue I found is I can't control screen brightness & contrast. This
> machine has this control in Windows by clicking the [FN Key]+F6/F7.
>=20
> Does anyone knows how to enable this in FreeBsd?

If it is not something you can enable in your BIOS, i.e. if this feature ne=
eds
OS support then you should do the following.

Check if your window manager/desktop environment has an applet for this. If=
 it
does, that will presumably take care of the details. If it doesn't you'll h=
ave
to figure it out yourself as indicated below.

Use 'xrandr --prop|less' to see if your display supports the backlight
property. If it doesn't you can forget about controlling the brightness AFA=
IK
and skip the rest of this post.

Install the x11/xbacklight port. This should enable you to set the backlight
level using the RandR extension, if your hardware supports it.

Next you need to know if your keyboard setup actually detects the FN
key. Start the xev program from a terminal window, and move your mouse poin=
ter
into the xev window. You'll see a lot of mouse events scrolling through the
terminal window. Now press the Fn key, and see if it registers in the termi=
nal
window. If it doesn't you need to use other key combinations (like just the
F6/F7 keys).

Next you need to look at your window manager documentation how to link
keypresses to executing commands, so that is calls e.g. 'xbacklight --inc 1=
0'
and 'xbacklight --dec 10' when the right buttons are pressed. This might be
called a 'key binding' or a 'hotkey'.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkqGgEwACgkQEnfvsMMhpyWOywCeOz//YBxfUhtzojnKmCqNsA3h
MXUAoJ+PElqR/H9c3bl9rv/0JWVdbLYX
=038X
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--



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