xorg-x11-6.8.2-r6 - with a type5 serial keyboard on sparc (specifically, SMP
U60) VT-switching is no longer possible. I left xorg.conf exactly as I had it
for -r4 (on a 2.4 kernel) to get this result.
Steps to Reproduce:
1. emerge ~sparc keyworded xorg-x11
2. leave xorg.conf as it was before the upgrade
Portage 18.104.22.168-r3 (default-linux/sparc/sparc64/2005.0, gcc-3.3.5-20050130,
glibc-22.214.171.12440420-r2, 2.6.14 sparc64)
System uname: 2.6.14 sparc64 sun4u
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2, 2.4.2
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
CFLAGS="-O2 -mtune=ultrasparc -mcpu=ultrasparc -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=ultrasparc -mcpu=ultrasparc -pipe"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
USE="sparc X apache2 avi berkdb bitmap-fonts bonobo cdr crypt cups curl dlloader
eds encode esd fam fbcon flac foomaticdb fortran gcc64 gd gdbm gif gnome gphoto2
gstreamer gtk gtk2 gtkhtml guile imagemagick imlib jpeg libwww mad mikmod motif
mozilla mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python
readline samba sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts
type1-fonts udev vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
NOTE** I'm running linux-2.6.14 at the moment on this system. The issue was
evident on 2.4.31-sparc.
At first glance, this seems to be true for me as well. I have not really
investigated it beyond that.
First thing to check is just an ls of each patch tarball and compare which
patches are in there. Ferris, could you do that?
Check if it was that kbd-on-2.4... I remember adding that awhile back, and it's
not in -r4.
Assuming 6.8.2-r4 worked (which Chance claims so), there are two new patch
tarballs: one for -r5 (which might or might not have worked,\) and one for -r6:
xorg-x11-6.8.2-patches-0.1.12.tar.bz2 (dated Sept 21),
xorg-x11-6.8.2-patches-0.1.13.tar.bz2 (dated Oct 3)
The 0.1.12 patch set has these new patches in it:
The first three are sparc-specific, but they have been well tested.
The 0.1.13 patch set has these new patches in it:
The big change for sparc is the elimination of the deprecated keyboard driver
(although it's a tiny patch). I suppose this could be related to how xorg is
configured in the keyboard's InputDevice Section, but unfortunately, I don't
have a working example to compare against. And, although I have been using the
'kbd' patch for quite a while, I never do a VT switch, so I cannot comment on
whether or not that functionality was present in -r4+kbd fix.
For what it's worth:
1. VT switching also fails on X-modular, kernel 2.6.13 (SB1000)
2. VT switching works fine for xorg-x11-6.8.2-r6 with kernel 2.6.14 (U60)
I'm assuming that's latest modular?
Yes. I have all of modular in my world file, so it's as of 'emerge --sync;
emerge -uv world' today. I am not anyplace where I can check, but I think U60's
xorg.conf and SB1000's xorg.conf should be the same for kernel 2.6.xx.
Keyboards are different, though, because SB1000 uses a universal connector.
(Anyway, it's the most current X-modular available.)
I am pretty certain that this is another problem with kbd+sparc+kernel-2.4.xx.
Easiest quick fix is just to put the build for deprecated driver back into the
ebuild for 6.8.2-r6 (no version bump), It looks as if we are actually making
progress on the sparc kernel-2.6 problems, so I doubt that this is worth
pursuing (for Gentoo); it's almost certainly an upstream problem with kbd, anyway.
The SB1000+kernel-2.6+X-modular problem is, I think, independent of this, and
I'll look at it further. It could be USB related; I will be putting X-modular
onto a U60(kernel-2.6.14) in a few days and will know more then. (As I said, I
never do a VTswitch, so I can't say if SB1000 has ever worked.)
Don't know if this information helps, but I'm using xorg-x11 6.8.2-r6 with a USB PC keyboard (plugged into a PCI USB card), on an UltraSparc, kernel 2.6.15, and VT switching does work.
Ferris: Any news regarding this on the modular X front now that it's released?
(In reply to comment #10)
> Ferris: Any news regarding this on the modular X front now that it's released?
It's never worked for me, any kernel, any keyboard on X-modular/sparc. Last I knew, I believe it did not work with X-modular on anything, though. (If I remember correctly, spyderous reported that.) I just verified 90 seconds ago that it does not work for sparc on X-modular, either kernel. Both are completely current X-modular systems, standard Sun type-5 keyboards. (Also, sun type-6 USB keyboard failed, last I checked. That is within the last couple weeks.)
Upstream, https://bugs.freedesktop.org/show_bug.cgi?id=2600 looks similar, but it's probably a KDM bug of some sort.
This is something that should get moved to bugs.fdo. Ferris, mind doing that?
(In reply to comment #12)
> Upstream, https://bugs.freedesktop.org/show_bug.cgi?id=2600 looks similar, but
> it's probably a KDM bug of some sort.
> This is something that should get moved to bugs.fdo. Ferris, mind doing that?
Done; see https://bugs.freedesktop.org/show_bug.cgi?id=5827 for X-modular.
Thanks, that's all we're really worried about at this point.