Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-sparc
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-sparc@g.o
From: Ferris McCormick <fmccor@g.o>
Subject: Patch available for the 'kernel-2.4.xx must use deprecated keyboard driver in xorg-x11' bug 61940
Date: Sun, 17 Jul 2005 23:38:27 +0000 (UTC)
Hash: SHA1

Our nuisance problem 'kernel-2.4.xx users must build and use the xorg 
deprecated keyboard driver' is now fixed upstream at, thanks to
Matthias Muthmann.  This closes our beloved bug 61940 as 'Fixed Upstream.'

For those who care, there is a patch available.  In fact, there are two,
both at Bug 61940.  The first is xorg's CVS diff, indicating a release at 
version 16.  The second is a 'diff -u' patch for gentoo use.

If you want to try it, get the gentoo patch id=63633, and follow the 
instructions at Comment 24.  Or, since they are pretty simple, they are 
duplicated here.
1.  Start a build of your favorite version of xorg-x11;
2.  Once everything is unpacked,
     a.  cd ${PORTAGE_TMPDIR}/portage/xorg-x11-[version]/work
     b.  patch -b -z- -p0 < [path-to]/kbd.patch-gentoo

In fact, this is a 31-line patch, I'll just attach it. If you try it,
feedback requested.


- --
Ferris McCormick (P44646, MI) <fmccor@g.o>
Developer, Gentoo Linux (sparc, devrel)
Version: GnuPG v1.4.1 (GNU/Linux)

--- xc/programs/Xserver/hw/xfree86/input/keyboard/kbd.c-	2004-12-16 03:38:45.000000000 +0000
+++ xc/programs/Xserver/hw/xfree86/input/keyboard/kbd.c	2005-07-15 04:08:48.000000000 +0000
@@ -541,6 +541,20 @@
   if (xf86inSuspend)
+    if (pKbd->sunKbd) {
+     /*
+      * XXX XXX XXX:
+      *
+      * I really don't know what's wrong here, but passing the real
+      * scanCode offsets by one from XKB's point of view.
+      *
+      * (ecd@..., 980405)
+      */
+      scanCode--;
+      goto sunKeyboards;
+  }
    * First do some special scancode remapping ...
@@ -602,6 +616,7 @@
     scanCode = KEY_Pause;
    * Now map the scancodes to real X-keycodes ...
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
SILO and OBP conflicts?
Next by thread:
Software Compilation
Previous by date:
SILO and OBP conflicts?
Next by date:
Re: SILO and OBP conflicts?

Updated Jun 17, 2009

Summary: Archive of the gentoo-sparc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.