I have a Sun Type6 USB keyboard that I use on my x86 machine (and have been for about a year now), and since I just switched over to gentoo, I thought I'd share this patch with you guys. It adds support for the extra sun buttons on the keyboard in X (and you can map them to their proper functions in the kde control panel or whatever). The patch was taken against the unpacked xfree86-4.3.0-r2 ebuild, and you just need to add 'Option "XkbModel" "sun_type6_usb"' in the keyboard section of /etc/X11/XF86Config. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 12066 [details, diff] xfree86-4.3.0-r2.sun_type6.diff
Ack... sorry I used the wrong patch in creating this... please ignore until I post a new patch...
Created attachment 12068 [details, diff] xfree86-4.3.0-r2.sun_type6.diff This should be it, but I do have one problem that I'm hoping someone with more experience might be able to solve... I can't do control-alt-f# to switch out of X to another terminal while using this sun keyboard definition. I can if I switch my XFree86Config file to use pc101, and I used to be able to do it with this configuration before I used gentoo... I'll check it out later, but I don't really have much experience in this area.
weeve can confirm this, but it has something to do with HandleSpecialKeys "always" in the XF86Config file I believe. I do not know if the recent fix with locales etc has sorted this out though, so it would be nice to get this re-emerged by someone. Meanwhile, I'll look into adding this patch.
The PATCH_VER value of 1.1.6 contains this patch. Thanks for it, Jeremy.
To get control+alt+Fkey to work, add the following line to the ServerLayout section of your XF86Config Option "HandleSpecialKeys" "Always"
Looks like this patch got left out of x11-base/xfree-4.3.0-r3 ... (19:12:47 Wed Oct 08 2003 jeremy@terminator) /usr/X11R6/lib/X11/xkb/keycodes $ grep type6 xfree86 (19:13:08 Wed Oct 08 2003 jeremy@terminator) /usr/X11R6/lib/X11/xkb/keycodes $ qpkg -v -f /usr/X11R6/lib/X11/xkb/keycodes/xfree86 x11-base/xfree-4.3.0-r3 *
Actually, the problem is that the patch is there, but it is not applied because it is listed as a sparc-specific patch when it is actually not sparc specific. The keyboard is USB and works well on all platforms (this patch has been used on my box which is x86). So you should rename 0425_sparc_4.3.0-sun-type6-keyboard.patch to 0425_all_4.3.0-sun-type6-keyboard.patch so that it applies on all platforms.
Is anyone on this? It's trivial.
Yes actually it's going into the next patchset. We've run into some other issues on the patchset though so it's being held up.
This patch is still in there as 0425_sparc_4.3.0-sun-type6-keyboard.patch in 4.3.0-r4. Please move it into _all_.
As mentioned on IRC, 4.3.0-r4 was a security release. This patch is in my current work for the next "true" revision bump.
Sorry for the delay on this. Some unexpected problems have cropped up.
Fixed in 4.3.0-r6.
Jeremy, could you be a nice guy and attach a patch that applies to xorg-x11?
yick... alright, I'll do that. What would you prefer as my base... vanilla? -r1?
The latest -r1, please. If you feel like testing against vanilla as well, go for it. It should be as easy as commenting out the one "epatch" line in the ebuild.
Created attachment 33983 [details, diff] xorg-x11-6.7.0-r1.sun_type6.patch this applies cleanly to xorg-x11-6.7.0-r1 as unpacked on my amd64 box.
Also fixed in xorg-x11-6.7.0-r1.