[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

keyboard doesn't work under X, but works fine in console

spent like 4 hours banging my head against this today.

this happened today after i accidentally unplugged my mouse during an X
session. i have done this many times, and my mouse is dead until i pop
into a virtual terminal (C-A-F1) then back. except today i did it and my
mouse *and* keyboard stopped working.

nothing worked (inc. C-A-Bkspc and C-A-Del), so i assumed i had some
kind of hard kernel lock and rebooted. keyboard still doesn't respond at
all in X, still works fine in console.

i did a dist-upgrade. i removed and purged all X configs and
reinstalled. i unplugged my mouse and removed all references to it in
xorg.conf. i've tried two different keyboards, which both work fine on
console. i've googled and groups.googled, which suggests some things
that don't help me.

thoughts on what to look for next?

output from dpkg -l and my xorg.conf are below.


ii  xkb-data                         0.8-15                       X Keyboard Extension (XKB) configuration dat
ii  xlibs                            6.9.0.dfsg.1-6               X Window System client libraries metapackage
ii  xlibs-data                       7.1.0-1                      transitional package for X11 client data
ii  xlibs-dev                        6.8.2.dfsg.1-10              X Window System client library development f
ii  xlibs-static-dev                 7.1.0-1                      transitional metapackage
rc  xserver-common                   6.9.0.dfsg.1-5               files and utilities common to all X servers
ii  xserver-xorg                     7.1.0-1                      the X.Org X server
ii  xserver-xorg-core                1.1.1-9                      X.Org X server -- core server
ii  xserver-xorg-input-kbd           1.1.0-3                      X.Org X server -- keyboard input driver
ii  xserver-xorg-input-mouse         1.1.1-3                      X.Org X server -- mouse input driver
ii  xserver-xorg-input-wacom                    X.Org X server -- wacom input driver
ii  xserver-xorg-video-all           7.1.0-1                      the X.Org X server -- output driver metapack
ii  xserver-xorg-video-apm           1.1.1-3                      X.Org X server -- APM display driver
ii  xserver-xorg-video-ark           0.6.0-3                      X.Org X server -- ark display driver
ii  xserver-xorg-video-ati           6.6.2-2                      X.Org X server -- ATI display driver
ii  xserver-xorg-video-chips         1.1.1-4                      X.Org X server -- Chips display driver
ii  xserver-xorg-video-cirrus        1.1.0-3                      X.Org X server -- Cirrus display driver
ii  xserver-xorg-video-cyrix         1.1.0-4                      X.Org X server -- Cyrix display driver
ii  xserver-xorg-video-dummy         0.2.0-3                      X.Org X server -- dummy display driver
ii  xserver-xorg-video-fbdev         0.3.0-3                      X.Org X server -- fbdev display driver
ii  xserver-xorg-video-glint         1.1.1-3                      X.Org X server -- Glint display driver
ii  xserver-xorg-video-i128          1.2.0-3                      X.Org X server -- i128 display driver
ii  xserver-xorg-video-i740          1.1.0-3                      X.Org X server -- i740 display driver
ii  xserver-xorg-video-i810          1.6.5-3                      X.Org X server -- Intel i8xx, i9xx display d
ii  xserver-xorg-video-imstt         1.1.0-3                      X.Org X server -- IMSTT display driver
ii  xserver-xorg-video-mga           1.4.1.dfsg.1-4               X.Org X server -- MGA display driver
ii  xserver-xorg-video-neomagic      1.1.1-4                      X.Org X server -- Neomagic display driver
ii  xserver-xorg-video-newport       0.2.0-3                      X.Org X server -- Newport display driver
ii  xserver-xorg-video-nsc           2.8.1-3                      X.Org X server -- NSC display driver
ii  xserver-xorg-video-nv            1.2.0-3                      X.Org X server -- NV display driver
ii  xserver-xorg-video-rendition     4.1.0.dfsg.1-4               X.Org X server -- Rendition display driver
ii  xserver-xorg-video-s3            0.4.1-3                      X.Org X server -- legacy S3 display driver
ii  xserver-xorg-video-s3virge       1.9.1-3                      X.Org X server -- S3 ViRGE display driver
ii  xserver-xorg-video-savage        2.1.1-4                      X.Org X server -- Savage display driver
ii  xserver-xorg-video-siliconmotion 1.4.1-4                      X.Org X server -- SiliconMotion display driv
ii  xserver-xorg-video-sis           0.9.1-3                      X.Org X server -- SiS display driver
ii  xserver-xorg-video-sisusb        0.8.1-3                      X.Org X server -- SiS USB display driver
ii  xserver-xorg-video-tdfx          1.2.1-4                      X.Org X server -- tdfx display driver
ii  xserver-xorg-video-tga           1.1.0-3                      X.Org X server -- TGA display driver
ii  xserver-xorg-video-trident       1.2.1-3                      X.Org X server -- Trident display driver
ii  xserver-xorg-video-tseng         1.1.0-3                      X.Org X server -- Tseng display driver
ii  xserver-xorg-video-v4l           0.1.1-3                      X.Org X server -- Video 4 Linux display driv
ii  xserver-xorg-video-vesa          1.2.1-3                      X.Org X server -- VESA display driver
ii  xserver-xorg-video-vga           4.1.0-3                      X.Org X server -- VGA display driver
ii  xserver-xorg-video-via           0.2.1-4                      X.Org X server -- VIA display driver
ii  xserver-xorg-video-vmware        10.13.0-3                    X.Org X server -- VMware display driver
ii  xserver-xorg-video-voodoo        1.1.0-3                      X.Org X server -- Voodoo display driver

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"

Section "Device"
	Identifier	"crappy video card"
	Driver		"i810"

Section "Monitor"
	Identifier	"sceptre"
	Option		"DPMS"
	HorizSync	28-51
	VertRefresh	43-60

Section "Screen"
	Identifier	"Default Screen"
	Device		"crappy video card"
	Monitor		"sceptre"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"

Section "DRI"
	Mode	0666

Reply to: