Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Help! Keyboard won't work in xorg.conf after updates[SOLVED]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
the.root
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Sun Apr 29, 2007 6:39 am
Location: -84.706059324915, -62.4843750666430

Help! Keyboard won't work in xorg.conf after updates[SOLVED]

  • Quote

Post by the.root » Tue Dec 08, 2009 10:07 pm

Keyboard stopped working after updates and i accidently rebooted my PC (dont recall what all got updated, i know i saw hal, udev, kernel, xorg-server in there)
Mouse still works fine, num lock or any keys on the keyboard are unresponsive in x, via twm, kdm, xdm, etc etc. I also noticed after compiling and using the new kernel 2.6.32 that my keymap dvorak-r was funky, when pressing @ or # it would clear the field (making it impossible to login as root as i had both of those characters in my password). This only affected ttyX terminals so i was able to ssh from a ttypX terminal and change the passwords and circumvent that issue for the time being, juts figured id mention it incase they are related.

Code: Select all

alpha-centauri ~ # emerge --info
Portage 2.1.7.11 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.32-gentoo x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.1
Timestamp of tree: Tue, 08 Dec 2009 18:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -msse3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch prelink protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups custom-cflags custom-cxxflags custom-optimization custom-optimizations cxx dbus dri dts dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fng fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv jpeg kde kdehiddenvisibility ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pertty png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd thread threads thunar tiff truetype type1 unicode usb visualizations vorbis x264 xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Code: Select all

alpha-centauri ~ # cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (portage@alpha-centauri)  Sat Nov 21 01:48:53 EST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
#    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
EndSection

#Section "InputDevice"
#    Identifier     "Keyboard0"
#    Driver         "kbd"
#EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL E190S"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "HP w2408"
    HorizSync       24.0 - 94.0
    VertRefresh     48.0 - 85.0
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "TSB-TV"
    HorizSync       15.0 - 68.0
    VertRefresh     23.0 - 76.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 285"
    Option         "CoolBits" "1"
    BusID          "PCI:5:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 285"
    Option         "CoolBits" "1"
    BusID          "PCI:5:0:0"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 285"
    BusID          "PCI:2:0:0"
EndSection

Section "Screen"
# Removed Option "metamodes" "CRT: 1280x1024 +0+28, DFP: 1920x1080 +1280+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "RenderAccel" "true"
    Option         "DisableGLXRootClipping" "true"
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-1"
    Option         "metamodes" "CRT: 1280x1024 +1925+0, DFP: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "true"
    Option         "DisableGLXRootClipping" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "RenderAccel" "true"
    Option         "TwinView" "0"
    Option         "metamodes" "DFP: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 1920x1080_60 +0+0; DFP-0: 1920x1080 +0+0"
    Option         "AddARGBGLXVisuals" "true"
    Option         "DisableGLXRootClipping" "true"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Code: Select all

alpha-centauri ~ # rc-status
Runlevel: default
 syslog-ng                                                                                                                                      [  started  ]
 acpid                                                                                                                                          [  started  ]
 sshd                                                                                                                                           [  started  ]
 dbus                                                                                                                                           [  started  ]
 hald                                                                                                                                           [  started  ]
 rpc.statd                                                                                                                                      [  started  ]
 udev-postmount                                                                                                                                 [  started  ]
 vixie-cron                                                                                                                                     [  started  ]
 local                                                                                                                                          [  started  ]
Dynamic Runlevel: hotplugged
 dbus                                                                                                                                           [  started  ]
 net.eth0                                                                                                                                       [  started  ]
Dynamic Runlevel: needed
 udev-mount                                                                                                                                     [  started  ]
 sysfs                                                                                                                                          [  started  ]
 rpcbind                                                                                                                                        [  started  ]
Dynamic Runlevel: manual
 bluetooth     

Code: Select all

alpha-centauri ~ # lsmod
Module                  Size  Used by
nvidia               9604481  42
sco                     7996  2
bnep                   10136  2
rfcomm                 31704  4
l2cap                  26238  16 bnep,rfcomm
crc16                   1479  1 l2cap
snd_hda_codec_analog    71380  1
btusb                  11334  2
bluetooth              49105  9 sco,bnep,rfcomm,l2cap,btusb
snd_hda_intel          21114  0
snd_hda_codec          56714  2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep               5816  1 snd_hda_codec
snd_pcm                68516  2 snd_hda_intel,snd_hda_codec
snd_timer              17926  1 snd_pcm
snd_page_alloc          7197  2 snd_hda_intel,snd_pcm
evdev                   8049  20
xorg.0.log
http://root.pastebin.com/f7b7f3c0c

Ive tried downgrading xorg-server, udev, hal with no results. tried my old 2.6.31-r3 kernel, didnt help.

Any advise would be much appreciated!!

I'm curious, in the logs its trying to set the xkb_layout as dvorak-r. Where is it getting that information? dvorak-r loads at boottime with /etc/init.d/keymaps, which ive stopped and loadkeys qwerty currently, and changed the /etc/conf.d/keymaps entry and it wouldnt load it in X before until i logged into KDE.. i get the feeling this is my problem somewhere..

Thanks!!!
Last edited by the.root on Tue Dec 08, 2009 10:49 pm, edited 1 time in total.
Ps = (1.5 x 6 x .75) / {(4/3) (pi) [(31.039 x 10^15) (46.5 x 10^9)]^3}
Seems like a waste..
Top
ZeuZ_NG
Guru
Guru
Posts: 453
Joined: Wed Sep 10, 2008 11:42 pm
Location: Near /dev/urandom | /dev/null

  • Quote

Post by ZeuZ_NG » Tue Dec 08, 2009 10:34 pm

Well, you've got all the sections regarding the keyboard commented there, try uncommenting them and starting X afterwards.
You'll have to use a live-CD to do so.
For example, uncomment all this:

Code: Select all

#    InputDevice    "Keyboard0" "CoreKeyboard" 

Code: Select all

#Section "InputDevice"
#    Identifier     "Keyboard0"
#    Driver         "kbd"
#EndSection 
| Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep.
Top
the.root
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Sun Apr 29, 2007 6:39 am
Location: -84.706059324915, -62.4843750666430

  • Quote

Post by the.root » Tue Dec 08, 2009 10:38 pm

sorry i shouldve mentioned, i commented them out as just random guess and check troubleshooting. unommenting them doesnt do anything, changing the driver to evdev and device doesnt help. starting with no X doest fix it.

I still think the problem is where it is being told to load dvorak-r .. I would gladly go back to qwerty right now just to use the machine :-)

this is my log when i run startx and break out of it (can do work in non-gui and on my laptop from ssh terminal)

Code: Select all

alpha-centauri ~ # startx
xauth:  creating new authority file /root/.serverauth.8534


X.Org X Server 1.7.1
Release Date: 2009-10-23
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-gentoo x86_64
Current Operating System: Linux alpha-centauri 2.6.32-gentoo #1 SMP PREEMPT Tue Dec 8 16:33:11 EST 2009 x86_64
Kernel command line: root=/dev/sda2
Build Date: 08 December 2009  04:55:07PM

Current version of pixman: 0.17.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec  8 17:37:54 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Can't find file "dvorak-r" for symbols include
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
(EE) Logitech USB Receiver: failed to initialize for relative axes.
(EE) PreInit returned NULL for "G15 Gaming Keyboard"
(EE) config/hal: NewInputDeviceRequest failed (8)
^C
waiting for X server to shut down XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 529 requests (525 known processed) with 0 events remaining.
xterm:  fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0.0"
login:  fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0.0"
xterm:  fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0.0"


xinit:  unexpected signal 2.
Ps = (1.5 x 6 x .75) / {(4/3) (pi) [(31.039 x 10^15) (46.5 x 10^9)]^3}
Seems like a waste..
Top
the.root
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Sun Apr 29, 2007 6:39 am
Location: -84.706059324915, -62.4843750666430

  • Quote

Post by the.root » Tue Dec 08, 2009 10:48 pm

urgh it was an fdi file i screwed up, i dont even remember doing it, but i guess i did (going to blame that one on alcohol). problem solved!
it was in /etc/hal/fdi - i had only looked in /usr/share/hal/fdi before i did a find on the /.

lol, thanks anyways!
Ps = (1.5 x 6 x .75) / {(4/3) (pi) [(31.039 x 10^15) (46.5 x 10^9)]^3}
Seems like a waste..
Top
Post Reply

4 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic