Click to See Complete Forum and Search --> : debian: keyboard config?
dannyman
05-02-2003, 07:40 AM
I'm using an Apple Extended Keyboard II with a two-button ADB mouse.
In XF86Config, how do I describe it? "standard" isn't working. is this "pc101," pc104," or something else?
I'm trying to login to my X Windows graphics panel, but the keyboard is behaving very weirdly.
Thanks for any help. My brain is fried.
Alex Cavnar, aka alc6379
05-03-2003, 03:28 AM
I don't think it's "standard". The Mac keyboard has its own name, I think it's something like mac-us.
pc101, pc104, and even standard, I believe, are PC options. I'm not near my mac right now, but I can get to it tomorrow. If I get the chance, I'll check to see what my setting is, as I too have an Extended Keyboard II.
dannyman
05-03-2003, 07:40 AM
Thanks, that would be very helpful!
I'm running a 3, not a 4, version of XF86, so the code is a bit different from most of the docs I'm reading. My text reads something like,
Section: "Keyboard"
Protocol: "standard"
XkbRules "xfree86"
XkbModel "macintosh_old"
XkbLayout "us"
Etc.
Any idea what I'm doing wrong?
Thanks!
dannyman
05-03-2003, 12:16 PM
I've tried this too. Still not right:
Section "Keyboard"
Protocol "standard"
XkbRules "xfree86"
XkbModel "macintosh_old"
XkbLayout "macintosh/us"
XkbVariant ""
XkbOptions ""
EndSection
Thanks!
Alex Cavnar, aka alc6379
05-04-2003, 12:51 AM
Have you tried:
XkbModel "macintosh"
XkbLayout "us"
?
It works just fine for me, and that's what I have in my config.
What version of Debian/X are you using? I gave you values from an XF86Config-4 file, but the values should be the same.
dannyman
05-04-2003, 07:59 AM
I've already tried this, and nothing changes:
Section "Keyboard"
Protocol "standard"
XkbRules "xfree86"
XkbModel "macintosh"
XkbLayout "us"
XkbVariant ""
XkbOptions ""
I'm running Debian 2.2.19. Is that bad? ;-(
Verry frustrating.
Alex Cavnar, aka alc6379
05-05-2003, 10:53 AM
Well, I'm running Debian 3.0, which I think runs the 2.2.20 kernel by default.
But that's irrelevant. What's important is the version of X you're running. I do believe that debian 3.0r1 uses X version 4.1.0, wheras Debian 2.2r7 uses X version 3.3.6. 3.3.6 is more stable, but the hardware support isn't as up-to-date as 4.1.0
If possible, I'd try putting Debian 3.0 on it, because of the updated hardware support. Heck, if you don't have a fast internet connection, you can check my site. If you're interested, I could sell you the CDs for it-- from the first install disc, to the entire 7 disc set!
dannyman
05-05-2003, 11:17 AM
Alex,
Thanks, yes I am running X 3.3.6, but I got the solution from another mailing list. Here's what I did, just FYI:
Section "Keyboard"
Protocol "Standard"
XkbDisable
XKBKeymap "macintosh"
EndSection
I also UNcommented the lines for the Mac ADB keyboard in /etc/X11/Xmodmap, which allowed the backspace and delete keys on my extended keyboard to work correctly.