Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55622 - Keyboard doesnt work in xorg under certain circumstances.
Summary: Keyboard doesnt work in xorg under certain circumstances.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 14:52 UTC by Ralf Donau
Modified: 2006-03-31 19:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Donau 2004-06-29 14:52:56 UTC
When I type startx the keyboard doesnt work. Even CTRL+ALT+BACKSPACE doesnt. When I close my windowmanager and type startx again, the keyboard is fine.

Reproducible: Always
Steps to Reproduce:
1. Reboot your computer
2. # /etc/init.d/numlock start
3. # startx

Actual Results:  
No keyboard

Expected Results:  
Keyboard

development-sources-2.6.7
nvidia-glx-1.0.5336-r2
nvidia-kernel-1.0.5336-r4
xorg-x11-6.7.0-r1
Comment 1 Bret Towe 2004-08-23 23:05:30 UTC
ive got a similiar problem on my laptop
start x the internal keyboard doesnt work at all
can plugin or have a usb keyboard pluged in already and that keyboard works
the xev program that shows keycodes shows nothing at all for internel on activty

not sure how long this has been happening prob since i switched to xorg not sure tho
as for a while i was just using the usb keyboard when using x and my laptop

its as if its not detecting the built-in keyboard at all
also restarting x doesnt help in the least no matter how many times
root or user doesnt matter ether
remerged full system in hopes of a fix, still nothing

Portage 2.0.51_pre20 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.1, glibc-2.3.4.20040619-r1, 2.6.8.1-mm3 i686 Mobile AMD Athlon(tm) XP 2400+)
=================================================================
System uname: 2.6.8.1-mm3 i686 Mobile AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.mirrors.pair.com/ http://ftp.gentoo.or.kr/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://vox.net/gentoo-portage"
USE="3dnow X acpi alsa avi berkdb crypt cups dv dvb dvd dvdread encode fbcon foomaticdb gdbm gif gnome gtk gtk2 imlib input_devices_synaptics jpeg kde libg++ libwww mad matroska mikmod mmx mmx2 motif mpeg ncurses network nptl oggvorbis opengl oss pam pdflib png python qt quicktime readline sdl slang spell sse ssl tcpd theora tiff truetype x86 xml2 xmms xv zlib"
Comment 2 Tim Burrell 2004-10-21 07:38:06 UTC
I also have a similar problem.  For me xorg is fine on my first login (and sometimes successive logins as well)... but if I log in and log out enough, eventually when I return to GDM the x server does not accept input from the keyboard at all.  I can't even switch to a console window to log in without X.  The only solution is rebooting the machine with the mouse (or ssh'ing into it remotely).

It appears to happen consistently after I've left myself logged into x for extended periods of time (more than a day or two).

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache grc sandbox"
GENTOO_MIRRORS="http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org ftp://gentoo.agsn.ca/ http://gentoo.llarian.net/ http://gentoo.binarycompass.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://SpaceTree/portage"
USE="X Xaw3d aalib alsa apm arts avi berkdb bitmap-fonts bluetooth bonobo cdr crypt cups curl dri dvd encode esd f77 fbcon foomaticdb gdbm gif glx gnome gpm gtk gtk2 gtkhtml guile imap imlib imlib2 java jikes joystick jpeg junit kde lcms libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mpeg4 mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl plotutils png ppds python qt quicktime readline ruby samba sdl slp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb videos wmf wxwindows x86 xinerama xml xml2 xmms xosd xprint xv zlib"
Comment 3 Tim Burrell 2004-10-21 07:43:20 UTC
forgot to mention: using xorg 6.8.0-r1.  Problem has existed with all versions of xorg I've tried, but have only had this problem since switching from xfree.

I would prefer not to have to switch away from xorg, however rebooting sucks!
Comment 4 Istvan Hoka 2004-11-07 01:11:06 UTC
Having the same problem on my laptop. This only happened for me when I upgraded to kernel 2.6.9 (vanilla). 2.6.8.1 worked fine.

# emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.8.1-ck9 i686)
=================================================================
System uname: 2.6.8.1-ck9 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-O2 -march=athlon-4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks sandbox"
GENTOO_MIRRORS="http://ftp.lug.ro/gentoo http://ftp.iasi.roedu.net/mirrors/gentoo http://gentoo.math.bme.hu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acpi alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cups divx4linux docdvd dvdr dvdread encode f77 foomaticdb gdbm gif gnome gphoto2 gtk gtk2 hal imlib java jpeg jpeg2k kde libg++ libwww mad mikmod mmx mozilla mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline real rtc samba scanner sdl slang spell sse ssl stroke tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-04-08 13:40:57 UTC
Does the problem still exist with newer kernel versions?  That goes for original posters as well, even though they didn't mention kernel at all.
Comment 6 Henti Smith 2006-03-16 05:35:06 UTC
not sure if mine is related at all... 

I have a new machine amd64 3200+ with XFX Geforce 6600GT. 

When I run startx, X starts up .. blanks screen lik the refresh is out and keyboard dies. 

Comment 7 Henti Smith 2006-03-16 05:36:49 UTC
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 avi berkdb bitmap-fonts bzip2 crypt cups curl dri dts dvd dvdread eds emboss encode expat foomaticdb fortran gif gmp gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lcms live lzw lzw-tiff matroska mng mp3 mpeg ncurses nls nptl oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline real sdl spell ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev usb userlocales xanim xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-31 19:42:59 UTC
Please reopen if this remains an issue with modular X and open-source drivers.