Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: X server through the xsrc sets on PowerBook G4 with NVidia card



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Apr 1, 2010, at 8:09 AM, Martin Husemann wrote:

On Wed, Mar 31, 2010 at 09:36:58PM -0400, Michael wrote:
Hmm, startx or xinit could do it after the Xserver exits.
( and we can probably safely assume that anyone who starts the Xserver
directly knows how to deal with this )

I disagree - it is X that switches the keyboard mode, it should restore
it on exit.

Well, most of the time it works ( here at least... )
So, as a short term workaround this may be useful.
I'm not even sure if that's a bug in the keyboard mux or the Xserver - the keyboard device should fall back to the mux when it's closed, shouldn't it? Either way, we should really fix the keyboard drivers to work with the mux in event mode, either by having them all ( or at least the relevant ones - ADB, Sun and maybe PS/2 ) use a unified set of scancodes or by adding the keyboard type to struct wsevent so mixed setups actually have a chance to work. ADB is probably the most urgent one since Apple used ADB keyboards in *Books pretty much to the last minute in some models before switching to x86, and USB number pads are quite common. Shouldn't be too difficult - just add another keymap that translates ADB scancodes to their USB equivalent and pretend it's a USB keyboard. I'll probably do that in the next few hours.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBS7Td7cpnzkX8Yg2nAQIZSAgAjAMssp11JPl6XAd8MHzoR57/fHpV1zCa
iJVr9wkToJVE974OQXEAVsW4N5JcD3y7OWfwh2MGBsvoupkhP+bUKBHU1WvrWIzc
ikpAaFUjDQiX5rnx2S3O2Jingq2HrzO+DD0G1iU3DMIjTRXDKzKd21SMbTkj6ffU
r9xjMqSrxKZ/YfhP2VzpFxFWV8UtMN0UTWkh8zGmDK64nbeVn/t0bdZm3ySN0Wax
WkkmcPi/h8jVPD7E/DID6gKyANawJk/DSARTljmQHM8VkozXKoiWvoLdfO5Rf3I0
O4Q2YQgt/hwDkCLHe5TRtEcbff7vtk4rA4x8S3Q7QtQ5LB/lYxZQjg==
=IbT0
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index