From owner-freebsd-sparc64@FreeBSD.ORG Tue Nov 8 13:47:41 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB75816A41F for ; Tue, 8 Nov 2005 13:47:41 +0000 (GMT) (envelope-from bel@orel.ru) Received: from tts.orel.ru (tts-ttc.orel.ru [62.33.11.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEABD43D53 for ; Tue, 8 Nov 2005 13:47:40 +0000 (GMT) (envelope-from bel@orel.ru) Received: from [192.168.99.99] (pf1.net.orel.ru [213.59.64.75]) by tts.orel.ru (8.13.1/8.13.1/bel) with ESMTP id jA8DlgR2017908; Tue, 8 Nov 2005 16:47:43 +0300 Message-ID: <4370AC73.5040102@orel.ru> Date: Tue, 08 Nov 2005 16:47:31 +0300 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050419) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Joynt References: <17dbe5f00511060244s80309b3m@mail.gmail.com> In-Reply-To: <17dbe5f00511060244s80309b3m@mail.gmail.com> X-Enigmail-Version: 0.91.0.0 OpenPGP: url=http://keyserver.veridis.com:11371/export?id=-4584918800852016142 Content-Type: multipart/mixed; boundary="------------080003020203080904070204" X-Zombi-Check: on netra2.orel.ru Cc: freebsd-sparc64@freebsd.org Subject: Re: sun keyboards in xorg X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 13:47:41 -0000 This is a multi-part message in MIME format. --------------080003020203080904070204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, Stive! Steve Joynt wrote: > Hi all, > > How can i get a Sun type 6 keyboard working under xorg? I've had a > look through the list archives but can't quite work out what I need to > do. I'm running a fresh 6.0 install on a Sun Ultra 10, and at the > moment I've got the following in my xorg.conf: > > Section "InputDevice" > > Identifier "Keyboard1" > Driver "kbd" > Option "XkbRules" "sun" > Option "XkbModel" "type6" > Option "XkbKeyCodes" "type6" > > Option "AutoRepeat" "500 30" > > EndSection > > I've tried various options, with both "kbd" and "keyboard" as the > driver. Is there a patch I need to apply to get it to work? > > thanks, > - steve I use russian type6 keyboard. My local patch to /usr/X11R6/lib/X11/xkb is attached. Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbRules" "sun" Option "XkbModel" "type6" Option "XkbKeycodes" "sun(type6_ru)" Option "XkbLayout" "ru" Option "XkbOptions" "grp:ctrl_shift_toggle" EndSection -- With Best Regards, Andrew Belashov. --------------080003020203080904070204 Content-Type: text/plain; name="xkb.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xkb.patch" --- ./keycodes/sun.orig Sat Apr 23 21:51:16 2005 +++ ./keycodes/sun Fri Apr 29 15:30:12 2005 @@ -817,3 +817,147 @@ alias = ; alias = ; }; + +xkb_keycodes "type6_ru" { + + minimum= 8; + maximum= 223; + + = 36; + = 37; + = 38; + = 39; + = 40; + = 41; + = 42; + = 43; + = 44; + = 45; + = 46; + = 47; + = 48; + = 49; + = 50; + + = 60; + = 61; + = 62; + = 63; + = 64; + = 65; + = 66; + = 67; + = 68; + = 69; + = 70; + = 71; + = 72; + = 73; + = 74; + = 20; + alias = ; + + = 83; + = 84; + = 85; + = 86; + = 87; + = 88; + = 89; + = 90; + = 91; + = 92; + = 93; + = 94; + = 95; + = 156; + + = 189; + = 190; + = 191; + = 192; + = 197; + = 198; + = 199; + = 200; + = 202; + = 203; + = 204; + = 205; + + = 26; + = 126; + = 127; + = 128; + = 129; + + = 12; + = 13; + = 15; + = 17; + = 19; + = 21; + = 23; + = 24; + = 25; + = 14; + = 16; + = 18; + = 8; + = 10; + = 32; + = 33; + = 56; + = 58; + = 79; + = 80; + = 183; + = 104; + + = 29; + = 30; + = 28; + + = 188; + = 53; + = 54; + = 78; + + = 75; + = 76; + = 77; + = 132; + + = 180; + = 125; + = 181; + + = 207; + = 208; + = 209; + = 169; + + = 182; + = 57; + + = 27; + = 31; + = 34; + = 35; + + = 51; + = 59; + = 81; + = 223; + = 130; + = 220; + + = 52; + = 9; + = 11; + = 55; + indicator 4 = "Caps Lock"; + indicator 3 = "Compose"; + indicator 2 = "Scroll Lock"; + indicator 1 = "Num Lock"; +}; --- ./keycodes.dir.orig Sat Apr 23 21:51:16 2005 +++ ./keycodes.dir Mon Apr 25 10:59:26 2005 @@ -57,6 +57,7 @@ -------- -------- sun(type4_euro) -------- -------- sun(type5_euro) -------- -------- sun(type6_euro) +-------- -------- sun(type6_ru) -------- -------- sun(type5_se) -------- -------- sun(type5c_se) -------- -------- sun(type4__se) --- ./keymap.dir.orig Sat Apr 23 21:51:17 2005 +++ ./keymap.dir Fri Apr 29 15:32:23 2005 @@ -190,6 +190,7 @@ -------- -------- sun/ru(type4_ru_openlook) -d------ -------- sun/ru(type5_ru) -------- -------- sun/ru(type5_ru_openlook) +-------- -------- sun/ru(type6_ru) -------- -------- sun/fi(type4_fi) -------- -------- sun/fi(type4_fi_openlook) -d------ -------- sun/fi(type5_fi) --------------080003020203080904070204--