Re: X on Mac
On Wed, 30 May 2007, Brian Morris wrote:
> So, you think that the X keyboard and the console are completely
> unconnected ?
If I run loadkeys on my (x86) laptop, virtual consoles are affected but
xorg is not. And I gather that the ADB->linux keycode mapping happens
lower in the input layers where it affects both. But, someone who
understands the HID code would better answer your question.
> well heres another puzzle:
>
> there is a support script in /usr/share/console which is supposed to
> pick the good console keymap. however for 68k it needs to read
> Model: Macintosh
> out of /proc/hardware, which exists but is empty.
Odd. Which machine/kernel is that? This from a test I did a while back:
$ cat /proc/hardware
Model: Macintosh IIx
System Memory: 8192K
$ cat /proc/version
Linux version 2.6.19.1-m68k (fthain@nippy) (gcc version 3.3.6) #12 Thu Jan 11 16:35:44 EST 2007
> there fore I assume that debconf or whatever installation / upgrade /
> reinstallation will not pick the keymap correctly. since /proc is not
> regular file you cannot change its contents, unless you know how it is
> set up ( I don't) ?
I don't get it. The consoles on my macs work without loading any keymap at
all. And what can you infer about the keymap from "Macintosh" anyway? Even
powerbooks are going to say "Macintosh Powerbook" in /proc/hardware.
-f
Reply to: