Subject: Re: X, keyboard and powerbook
To: Emmanuel Hainry <ehainry@free.fr>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 03/09/2006 13:02:13
--Signature_Thu__9_Mar_2006_13_02_13_-0500_vpHfKKTmG2=YtQ1n
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > > Whenever I launch X, the keyboard of my powerbook becomes quite
> > > strange: instead of azerty (it is a french keyboard), I get ijkl.
> > > I would have done some xmodmap'ing if not for some keys (qsdf for
> > > example) that do nothing (xev does not report anything when I hit
> > > them). However, my USB keyboard works well... Also, in console,
> > > everything is fine.  Any ideas, suggestions?
> > >=20
> > > The keyboard section of my XFree86Config looks like this:
> > > =20
> > > Section "InputDevice"
> > > 	Identifier  "Keyboard0"
> > > 	#Driver      "kbd"
> > > 	Driver      "keyboard"
> > > 	Option	    "Protocol" "wskbd"
> > > 	Option	    "Device" "/dev/wskbd"
> > > 	Option	    "XkbRules" "xfree86"
> > > 	Option      "XkbModel" "macintosh"
> > > 	Option      "XkbLayout" "fr"
> > > EndSection
> > >=20
> > > (I have tried both kbd and keyboard as Driver, they do the same)
> > >=20
> > > Running NetBSD-Current from yesterday, xsrc from yesterday too.
> > > But the problem was already there with 3.0.
> >=20
> > Try Option "XkbModel" "pc105"
>=20
> Same result.=20

Hrm.

> More, I am afraid that if I do not put macintosh somewhere, I will
> never be able to input |, \, [ or ~... =20

This has nothing to do with 'macintosh' in there or not, the scancode
translation is handled automatically by XFree. You should really use the
kbd driver. Then please try the us keymap and see if that gives remotely
sane results. And please check your /var/log/XFree86.0.log for anything
funny.

have fun
Michael

--Signature_Thu__9_Mar_2006_13_02_13_-0500_vpHfKKTmG2=YtQ1n
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBRBBtpcpnzkX8Yg2nAQJgpwf7BZZA4SADNjfTtIcgqLIOPDXnFCufZAqS
Y849c17RSyMXUL03s2BkVshrX+tkMc2fVdlR7RxF3TOoo51M5otYZ5uikomcnCRH
tggD6lHr4VkjjgkBYkmqCGjkrGnG+pyQ2PQfBT0/lae4JheTtf9bSlq/jQRlwk7g
DGY90/9CiRHfb1qRM9k4sHfDrGvxheMdkV30HBBLsF1fSG9aVSMVdOLuRp7MvqfA
uP1oMBLErYA6DlFZECMVuWrOe6ihf4OfOeEstwp9DgE1cj/+y5t9G5C0NGW6jC6L
4uShxQFVIA2h4zYQGOQMVPiVBadP9Xp8d41InEvXtQ+Qj5pz+6ACQw==
=AGdO
-----END PGP SIGNATURE-----

--Signature_Thu__9_Mar_2006_13_02_13_-0500_vpHfKKTmG2=YtQ1n--