Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2005 09:22:01 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        Dennis Crowley <thecrowleys@sbcglobal.net>
Cc:        questions@freebsd.org
Subject:   Re: keyboard problem on laptop.
Message-ID:  <20050309152201.GQ3678@gentoo-npk.bmp.ub>
In-Reply-To: <FGEBLPPPJEKAPBMHJDCEEELBCCAA.thecrowleys@sbcglobal.net>
References:  <FGEBLPPPJEKAPBMHJDCEEELBCCAA.thecrowleys@sbcglobal.net>

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

--o6HUWsywbRjTg5uW
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 08, 2005 at 05:03:07PM -0800, Dennis Crowley wrote:
> Hi yall.
>=20
> I've installed FreeBSD on my old Dell Insperion 7500, which I would like
> to use as a router (low power) and network analysis tool.
>=20
> The problem is that the keyboard driver does not seem to be recognizing
> the shift key.  Does this sound wierd (i.e. my hardware) or reasonable
> (i.e. wierd but functional hardware with a mismatched driver).
>=20
> I'm not sure how I would go about trying to correct this issue.
>=20
> Any ideas where I should begin?
>=20
> Dennis Crowley.

How positive are you that the key is not just broken?  Are you running X
on the machine?  If so, you can use a little stock X program called xev
to view what events X is receiving, such as keystrokes.  xev will tell
you what keycode was pressed and the symname.  Here is an example of the
output when I run xev and then press the left Shift key:

KeyPress event, serial 27, synthetic NO, window 0x1a00001,
root 0x60, subw 0x0, time 755249477, (-600,175), root:(221,475),
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:=20
XmbLookupString gives 0 bytes:=20
XFilterEvent returns: False

Perhaps this will help you to identify what, if anything, X is seeing
when you press the Shift key.

Nathan

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD4DBQFCLxSZO0ZIEthSfkkRAmmXAJjZgaOI1T0ZvZw6RpOxV6TTMCZXAKCtdI+K
t0Auy8PuP1hB0Nr3jWnITA==
=f36q
-----END PGP SIGNATURE-----

--o6HUWsywbRjTg5uW--



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