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

Bug#513981: xkb-data: missing key for Sun Type 6 euro usb



Package: xkb-data
Version: 1.5-1
Severity: normal


hello,

for an Sun Type 6 USB (euro) keyboard with german layout the LSGT key 
(with < > | ) is not working at all. The key is not recognized, xev 
only shows the keycode 94 but no name for the key.

the following patch made this key usable. The definition for LSGT should 
probably go into symbols/sun_vndr/de, but i could not get it working 
there. Maybe the are some other references missing, therefor i have 
included it into the us symbols.

MfG,
Stefan Seide


diff -ur orig/keycodes/sun new/keycodes/sun
--- orig/keycodes/sun   2009-02-02 21:57:00.503859089 +0100
+++ new/keycodes/sun    2009-02-02 23:25:19.322988006 +0100
@@ -590,7 +590,7 @@
 
 xkb_keycodes "type6tuv_usb" {
     include "sun(type6_usb)"
-//    <LSGT> = 94;
+    <LSGT> = 94;
 //    <BKSL> = 51;
 };
 
diff -ur orig/rules/xorg new/rules/xorg
--- orig/rules/xorg     2009-02-02 21:56:41.559851416 +0100
+++ new/rules/xorg      2009-02-02 23:24:47.586987833 +0100
@@ -106,6 +106,7 @@
   sun4         =       sun(type4_euro)
   sun5         =       sun(type5_euro)
   sun6         =       sun(type6_usb)
+  sun6euro     =       sun(type6tuv_usb)
   pc98         =       xfree98(pc98)
   abnt2                =       xfree86(abnt2)
   jp106                =       xfree86(jp106)
@@ -297,6 +298,9 @@
   sun6         us                      =       sun_vndr/us(type6)
   sun6         en_US                   =       sun_vndr/us(type6)+iso9995-3(basic)
   sun6         *                       =       sun_vndr/us(type6)+%l%(v)
+  sun6euro     us                      =       sun_vndr/us(type6)
+  sun6euro     en_US                   =       sun_vndr/us(type6)+iso9995-3(basic)
+  sun6euro     *                       =       sun_vndr/us(type6)+%l%(v)
   pc98         nec_vndr/jp             =       nec_vndr/jp(pc98)
   macintosh_old        us                      =       macintosh_vndr/us(oldmac)
   macintosh_old        en_US                   =       macintosh_vndr/us(oldmac)
diff -ur orig/symbols/sun_vndr/us new/symbols/sun_vndr/us
--- orig/symbols/sun_vndr/us    2009-02-02 23:18:12.391838954 +0100
+++ new/symbols/sun_vndr/us     2009-02-02 23:25:06.402989257 +0100
@@ -257,6 +257,7 @@
     include "eurosign(4)"
 
     key <SYRQ> { [ SunSys_Req                  ]};
+    key <LSGT> { [ less, greater, bar, brokenbar ] };
 
 };



My /etc/X11/xorg.conf contains:

Section "InputDevice"
    Identifier     "GenericKeyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "sun6euro"
    Option         "XkbLayout" "de"
    Option         "XkbVariant" "nodeadkeys"
EndSection




-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



Reply to: