Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96511 - xorg-x11-6.8.2-r2 allows through keyboard combinations with evdev kbd protocol
Summary: xorg-x11-6.8.2-r2 allows through keyboard combinations with evdev kbd protocol
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-19 02:26 UTC by SpanKY
Modified: 2005-06-26 14:21 UTC (History)
0 users

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


Attachments
xorg.conf (xorg.conf,2.74 KB, text/plain)
2005-06-22 22:04 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2005-06-19 02:26:13 UTC
i have a bit of an unusual key binding in X ... ctrl+alt+del will pull up firefox ...

with <=xrog-x11-6.8.1-r1, this is not a problem ... however, i noticed when i upgraded to 6.8.1-r2, suddenly my box was rebooting itself when i tried to load up firefox ;)

a less destructive key to test with would be the button next to the right alt key ... when you're on the console, it will switch to the last used console ... now in X, it will switch back to console by just pressing this button ... i dont know wtf it's called, but xev reports it as 'Super_R' and if you're in Windows, it will pop up menus as if you right clicked the mouse



Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11.12-grsec x86_64)
=================================================================
System uname: 2.6.11.12-grsec x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
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.5
sys-devel/binutils:  2.15.92.0.2-r10, 2.16-r1, 2.16.1, 2.16.90.0.3
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cvs distlocks multilib noauto noinfo sandbox sfperms sign"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j6"
PKGDIR="/mnt/space/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi adns alsa audiofile avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr crypt cups curl dba directfb dts dvd dvdr dvdread encode esd fam fbcon flac flash font-server gd gif glitz gphoto2 gpm gtk gtk2 imagemagick imap imlib ipv6 jack joystick jp2 jpeg jpeg2k libcaca libedit libwww lzo lzw lzw-tiff mad maildir mikmod mime mng motif mp3 mpeg multilib mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pcre perl pic png python quicktime readline real samba sdl sndfile spell sqlite ssl svg tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts usb userlocales vorbis wmf xanim xine xml xml2 xmms xpm xrandr xv xvid xvmc zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2005-06-19 19:29:15 UTC
I can't confirm this happening on either of my x86 machines.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-21 21:02:28 UTC
Want to attach your X log? It would be even better to get a diff of working and
non-working, if you happened to quickpkg -r1.

Also, can you reproduce with 6.8.99.x?
Comment 3 SpanKY gentoo-dev 2005-06-22 19:38:18 UTC
simply doing `emerge =xorg-x11-6.8.2-r1` gave me a working version again ...

i made binpkgs of -r1 and -r2 and ran them ... the only diff between the log
files is this line:
(II) Keyboard: unable to use input device masking 'Invalid argument', trying
grabbing.

it's the 2nd to last line in the log and it appears in the *r1* version, not the
*r2* one ... seems like if i got an error it should have been in the newer log,
not the older heh
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-22 19:54:49 UTC
OK, thanks for testing that out. Could you attach the X log (from either) and
your xorg.conf?

Also still waiting for a report on 6.8.99.x.
Comment 5 SpanKY gentoo-dev 2005-06-22 22:03:02 UTC
sorry, missed the .99.x request, i'll give that a try tomorrow
Comment 6 SpanKY gentoo-dev 2005-06-22 22:04:07 UTC
Created attachment 61753 [details]
xorg.conf
Comment 7 SpanKY gentoo-dev 2005-06-22 22:04:29 UTC
seems i have evdev support turned on (forgot about that) ... i'll try again with
it turned off
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-22 23:08:15 UTC
Ah, yeah. Definitely. The evdev stuff in 6.8.2 is patched in and I essentially
don't support it at all besides accepting new patches.

The evdev driver in 6.8.99.x is all-new and quite different. Uses evdev as a
driver rather than a mouse protocol.
Comment 9 SpanKY gentoo-dev 2005-06-25 22:56:14 UTC
ok, disabling evdev fixed the issue with xorg-x11-6.8.2-r2

when i tried to use the same config file with 6.8.99.8 though, i got the error:
(**) Option "CoreKeyboard"
(**) Keyboard: Core Keyboard
(**) Option "Protocol" "evdev"
(EE) "evdev" is not a valid keyboard protocol name
(EE) PreInit failed for input device "Keyboard"
(II) UnloadModule: "kbd"
No core keyboard
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-26 00:22:38 UTC
Yep, I explained that in comment #8. Is there any part of that you'd like clarified?

I'm gonna WONTFIX this unless you'd like to provide a patch to fix. If so,
please reopen then.
Comment 11 SpanKY gentoo-dev 2005-06-26 00:28:59 UTC
yes, i realize you said it is unsupported in 6.8.2 ... but your comment about it
being a driver instead of a mouse protocol i dont understand ... i used it as a
keyboard protocol ...

do i just change the keyboard driver from 'kbd' to 'evdev' ?
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-26 14:21:37 UTC
Right. Check out https://bugs.freedesktop.org/show_bug.cgi?id=968 for some more
info on it, including a somewhat sparse man page.