Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72680 - xorg-x11 6.8.0-r3 won't VT-switch (M-C-F*) or change resolutions (M-C-KP+/-)
Summary: xorg-x11 6.8.0-r3 won't VT-switch (M-C-F*) or change resolutions (M-C-KP+/-)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-27 16:35 UTC by Ben Anderson
Modified: 2005-05-25 04:21 UTC (History)
1 user (show)

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


Attachments
output of setxkbmap -print (setxkbmap_out,241 bytes, text/plain)
2004-12-19 21:07 UTC, Ben Anderson
Details
xorg.conf (xorg.conf,18.80 KB, text/plain)
2004-12-19 21:08 UTC, Ben Anderson
Details
setxkbmap.out (setxkbmap.out,237 bytes, text/plain)
2004-12-19 21:34 UTC, Donnie Berkholz (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Anderson 2004-11-27 16:35:08 UTC
My X server isn't even catching said key sequences. The abort sequence (Ctrl-Alt-Backspace) works, however.

I have tried using the default keyboard layout (I use a homebrew DVORAK keyboard) and even disabling XKB altogether, to no effect. I even tried adding:

    Option      "DontVTSwitch" "Off"
    Option      "DontZap" "Off"
    Option      "DontZoom" "Off"

to the ServerFlags section of my xorg.conf, also to no effect. Someone suggested on the forum to someone with a similar problem to add the line

    Option     "HandleSpecialKeys" "Always"

to the ServerFlags section. This also had no effect.

emerge info:
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-ck2 i686)
=================================================================
System uname: 2.6.9-ck2 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.6
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.llarian.net/ http://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://xerxes/gentoo-portage"
USE="3dnow 3dnowex X aalib acpi alsa audiofile avi bitmap-fonts cdparanoia cdr cjk crypt dga dvd encode flac gdbm geoip gif gmp gphoto2 gtk imagemagick imlib jack jpeg libg++ libwww mad mikmod mmx mmx2 motif mozilla mpeg ncurses nls noreiserfs nptl nvidia offensive oggvorbis openal opengl pam perl png python quicktime readline sdl slang spell ssl tcpd tetex tiff truetype unicode usb x86 xml2 xmms xv zlib"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-19 20:26:48 UTC
Please don't change the severity, that's used internally. And how does this prevent you from debugging X? You can't do it locally anyhow without great efforts -- do it via SSH. See http://xorg.freedesktop.org/wiki/DebuggingTheXserver.

I am a little surprised the workaround of Option "HandleSpecialKeys" "Always" doesn't fix your problem. When's the last time VT switches etc worked?

Please attach xorg.conf and the output of `setxkbmap -print`.
Comment 2 Ben Anderson 2004-12-19 21:06:28 UTC
> And how does this prevent you from debugging X?

Not X -- xlockmore. See Bug 75004.

And the SSH idea didn't cross my mind. I'll have to set up my set-top box sometime very soon then...

Thanks for the link.

> I am a little surprised the workaround of Option "HandleSpecialKeys" "Always" doesn't fix your problem. When's the last time VT switches etc worked?

The only time I can recall is back before I switched to Xorg from XFree. And I'm not totally sure about that -- I've been having this problem for over a year, I just consistently forgot to report it.

However, it looks like this might not be a bug -- see setxkbmap_out (attaching shortly).
Comment 3 Ben Anderson 2004-12-19 21:07:38 UTC
Created attachment 46413 [details]
output of setxkbmap -print
Comment 4 Ben Anderson 2004-12-19 21:08:14 UTC
Created attachment 46414 [details]
xorg.conf
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-19 21:34:29 UTC
Created attachment 46415 [details]
setxkbmap.out

My setxkbmap output, for reference.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-19 21:36:22 UTC
Try switching your setup over to the same as mine. Yeah I know it'll give funky output from dvorak, but you ought to be at least able to see whether VT switch works. If it works when mirroring my setup, then move one part at a time back toward your setup to find which part breaks it.
Comment 7 Ben Anderson 2004-12-19 21:51:04 UTC
I right now have a setxkbmap -print output identical to yours, and not only can I still not VT-switch, but additionally, despite the output given by setxkbmap -print, my DVORAK keyboard is still mapped normally (middle row gives "aoeuidhtns-" etc). There's definitely something gone horribly wrong somewhere in Xkb.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-19 22:13:40 UTC
You don't still have xkb disabled when doing this, right?
Comment 9 Ben Anderson 2004-12-19 22:17:11 UTC
Pretty positive... is there any other place to disable Xkb besides in xorg.conf (which is posted)?
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-19 22:48:44 UTC
Not that I'm aware of. just wanted to be sure you hadn't disabled it since attaching xorg.conf.
Comment 11 Ben Anderson 2005-01-03 20:30:51 UTC
I just discovered, VT-switching and changing resolutions via the key combinations works in xorg-x11 6.8.1.901.
Comment 12 Fernando Usero 2005-01-09 14:23:31 UTC
Hi there,

I'm using a ppc machine and the same thing happenned to me. With xorg-x11-6.8.0-r3 i couldn't switch to the VTs. Now, with 6.8.1.901 it is working. It must be something repaired among versions.

Maybe this bug should be closed?
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-25 04:21:30 UTC
OK, fixed then.