You are not logged in.

#1 2010-12-25 01:55:57

inch
Member
Registered: 2010-12-21
Posts: 49

[SOLVED] No keyboard on X11/Xorg

Hi, I just installed a fresh arch and have problems to use the my keyboard under Xorg. I know that this is a common problem and I already did some research but couldn't find the problem.

What I tried so far:
- xf86-input-synaptics/-keyboard/-evdev updated
- Xorg -configure, xorg.conf.new copied to /etc/X11/xorg.conf
- tried to edit "InputDevice" in the xorg.conf (added Option "CoreKeyboard" - doesn't work)

xorg.conf InputDevice section:

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

Some other details maybe worth mentioning: Dell Notebook (basically everything is from Intel), Touchpad works, wm starts without problems. Thanks in advance, cheers!

Last edited by inch (2010-12-25 17:35:19)

Offline

#2 2010-12-25 02:48:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] No keyboard on X11/Xorg

Can you post the logs?
Does the kbd work in the terminal?

Offline

#3 2010-12-25 11:52:53

inch
Member
Registered: 2010-12-21
Posts: 49

Re: [SOLVED] No keyboard on X11/Xorg

I'm using dwm and can't access any terminal without the keyboard, so I can't answer if the terminal works (my guess is no because in twm I can't).

Where can I find the logs? I have to shut down the machine everytime I use "startx", I'm not sure if any logs are saved.

Thanks!

Offline

#4 2010-12-25 12:03:16

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: [SOLVED] No keyboard on X11/Xorg

Have you got xf86-input-keyboard and xf86-input-mouse installed?

Remove xorg.conf and try again

Is keyboard layout set up in rc.conf?

logs are in /var/logs


Mr Green

Offline

#5 2010-12-25 13:55:50

inch
Member
Registered: 2010-12-21
Posts: 49

Re: [SOLVED] No keyboard on X11/Xorg

xf86-input-keyboard, xf86-input-mouse, xf86-input-synaptics installed
keymap is set in rc.conf
Xorg -configure and copied to /etc/X11/xorg.conf

-> startx

Still no keyboard hmm

Offline

#6 2010-12-25 14:01:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] No keyboard on X11/Xorg

inch wrote:

Still no keyboard hmm

And still no logs :-)
Post /var/log/everything.log and /var/log/Xorg.0.log.

Does the keyboard work in the terminal = outside X?

Offline

#7 2010-12-25 14:05:05

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] No keyboard on X11/Xorg

*Remove* xorg.conf. It's not needed for a default setup, only when you want to change the defaults. And I'm quite sure Xorg -config will write an outdated one. Also, you have drivers you don't need (mouse and keyboard), but you don't have the one you *do* need: xf86-input-evdev
And last but not least, rc.conf sets up the console, not X.

Offline

#8 2010-12-25 14:09:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] No keyboard on X11/Xorg

Gusar wrote:

Also, you have drivers you don't need (mouse and keyboard), but you don't have the one you *do* need: xf86-input-evdev

In the first post:

inch wrote:

- xf86-input-synaptics/-keyboard/-evdev updated

Offline

#9 2010-12-25 14:40:01

inch
Member
Registered: 2010-12-21
Posts: 49

Re: [SOLVED] No keyboard on X11/Xorg

karol wrote:
inch wrote:

Still no keyboard hmm

And still no logs :-)
Post /var/log/everything.log and /var/log/Xorg.0.log.

Does the keyboard work in the terminal = outside X?

Sorry, here you go (everything.log: http://codepad.org/0VmhatmY). Xorg.0.log is empty. The file contains the last 2 boots.

Last edited by inch (2010-12-25 14:41:38)

Offline

#10 2010-12-25 14:50:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] No keyboard on X11/Xorg

Do you have any /var/log/Xorg.* ?

You did somehow install Arch, so the keyboard was working during the install, right? You reboot and it's gone?

Offline

#11 2010-12-25 15:24:02

inch
Member
Registered: 2010-12-21
Posts: 49

Re: [SOLVED] No keyboard on X11/Xorg

I have Xorg.0.log.old and Xorg.0.log, both empty files. The keyboard works fine in the console, it just doesn't work with X. I "startx" and dwm starts but I can't use my keyboard at all.

Offline

#12 2010-12-25 15:29:20

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: [SOLVED] No keyboard on X11/Xorg

Try starting X without dwm see what happens


Mr Green

Offline

#13 2010-12-25 15:43:19

inch
Member
Registered: 2010-12-21
Posts: 49

Re: [SOLVED] No keyboard on X11/Xorg

Mr Green wrote:

Try starting X without dwm see what happens

Thanks, this one helped me a lot! I forgot to add Option "XkbLayout" "de" (german keyboard) in my evdev conf. Thank you for the help!

Offline

#14 2010-12-25 16:12:34

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: [SOLVED] No keyboard on X11/Xorg

Please mark thread as solved

MrG


Mr Green

Offline

Board footer

Powered by FluxBB