Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21120 - sun type6 usb keyboard support for XFree86
Summary: sun type6 usb keyboard support for XFree86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2003-05-16 14:44 UTC by Jeremy Huddleston (RETIRED)
Modified: 2004-07-08 02:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xfree86-4.3.0-r2.sun_type6.diff (xfree86-4.3.0-r2.sun_type6.diff,10.78 KB, patch)
2003-05-16 14:45 UTC, Jeremy Huddleston (RETIRED)
Details | Diff
xfree86-4.3.0-r2.sun_type6.diff (xfree86-4.3.0-r2.sun_type6.diff,8.62 KB, patch)
2003-05-16 15:50 UTC, Jeremy Huddleston (RETIRED)
Details | Diff
xorg-x11-6.7.0-r1.sun_type6.patch (xorg-x11-6.7.0-r1.sun_type6.patch,8.94 KB, patch)
2004-06-23 14:45 UTC, Jeremy Huddleston (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2003-05-16 14:44:38 UTC
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.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2003-05-16 14:45:15 UTC
Created attachment 12066 [details, diff]
xfree86-4.3.0-r2.sun_type6.diff
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2003-05-16 15:32:58 UTC
Ack... sorry I used the wrong patch in creating this... please ignore until I post a new patch...
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2003-05-16 15:50:17 UTC
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.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 09:47:13 UTC
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.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 09:57:36 UTC
The PATCH_VER value of 1.1.6 contains this patch.  Thanks for it, Jeremy.
Comment 6 Jason Wever (RETIRED) gentoo-dev 2003-06-02 14:15:53 UTC
To get control+alt+Fkey to work, add the following line to the ServerLayout section of your XF86Config

Option         "HandleSpecialKeys" "Always"
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2003-10-08 19:13:35 UTC
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 *

Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2003-11-07 03:10:54 UTC
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.
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2003-12-14 17:46:53 UTC
Is anyone on this?  It's trivial.
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-14 17:49:55 UTC
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.
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-09 10:50:45 UTC
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_.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-09 13:37:14 UTC
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.
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-29 20:27:43 UTC
Sorry for the delay on this. Some unexpected problems have cropped up.
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-17 11:32:49 UTC
Fixed in 4.3.0-r6.
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-23 12:24:57 UTC
Jeremy, could you be a nice guy and attach a patch that applies to xorg-x11?
Comment 16 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-23 12:39:59 UTC
yick... alright, I'll do that.  What would you prefer as my base... vanilla? -r1?
Comment 17 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-23 14:02:41 UTC
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.
Comment 18 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-23 14:45:02 UTC
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.
Comment 19 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-08 02:52:31 UTC
Also fixed in xorg-x11-6.7.0-r1.