Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] xorg-server not recognizing keys
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
errror
n00b
n00b


Joined: 03 Jul 2016
Posts: 7

PostPosted: Mon Jul 04, 2016 8:21 pm    Post subject: [SOLVED] xorg-server not recognizing keys Reply with quote

Question, I installed xorg-server and edited my .xinitrc to open my wm (i3). I can do startx and get into the first config screen but it doesn't recognize my keys, or doesn't do anything when I press them. I can't move my mouse, either.

Thanks in advance for the help.


Last edited by errror on Mon Jul 04, 2016 10:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3647
Location: Hamburg

PostPosted: Mon Jul 04, 2016 8:30 pm    Post subject: Reply with quote

I do have
Code:
INPUT_DEVICES="evdev synaptics"
within my /etc/portage/make.conf - what are your settings ?
Back to top
View user's profile Send private message
errror
n00b
n00b


Joined: 03 Jul 2016
Posts: 7

PostPosted: Mon Jul 04, 2016 9:29 pm    Post subject: Reply with quote

toralf wrote:
I do have
Code:
INPUT_DEVICES="evdev synaptics"
within my /etc/portage/make.conf - what are your settings ?


I have
Code:
INPUT_DEVICES="keyboard mouse joystick i965"
in mine. I meant to put i965 in VIDEO_CARDS but the other input devices should work, no?
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3647
Location: Hamburg

PostPosted: Mon Jul 04, 2016 9:36 pm    Post subject: Reply with quote

i965 is definitely wrong there but it is not the root cause of the non-working input devices.
Some meaningful error messages in /var/log/Xorg.0.log ?
Back to top
View user's profile Send private message
errror
n00b
n00b


Joined: 03 Jul 2016
Posts: 7

PostPosted: Mon Jul 04, 2016 9:49 pm    Post subject: Reply with quote

toralf wrote:
i965 is definitely wrong there but it is not the root cause of the non-working input devices.
Some meaningful error messages in /var/log/Xorg.0.log ?


Can't post the log but I got a lot of errors saying "Warning: couldn't open module evdev" and "No input driver matching `evdev’

downloading the drivers rn

Edit: It worked! Thanks a lot for the help.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3647
Location: Hamburg

PostPosted: Mon Jul 04, 2016 9:57 pm    Post subject: Reply with quote

great, evdev is the preferred method nowadays AFAICT.
If your question is answered, pls put a "[solved]" in front of the title.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1360
Location: Montréal

PostPosted: Mon Jul 04, 2016 10:06 pm    Post subject: Reply with quote

If you want to use the kbd and the mouse Xorg drivers, you have to create a Section "InputDevice" for the keyboard and an other one for the mouse and specify the driver for each. You can put this configuration in /etc/X11/xorg.conf.d/ with .conf extension. By default Xorg use evdev to drive input devices. If evdev is not install, the keyboard and the mouse will not work.
_________________
Paul
Back to top
View user's profile Send private message
errror
n00b
n00b


Joined: 03 Jul 2016
Posts: 7

PostPosted: Mon Jul 04, 2016 10:28 pm    Post subject: Reply with quote

toralf wrote:
great, evdev is the preferred method nowadays AFAICT.
If your question is answered, pls put a "[solved]" in front of the title.


Didn't notice I could edit thread names, got it. I'll do it for my other thread too.

Logicien wrote:
If you want to use the kbd and the mouse Xorg drivers, you have to create a Section "InputDevice" for the keyboard and an other one for the mouse and specify the driver for each. You can put this configuration in /etc/X11/xorg.conf.d/ with .conf extension. By default Xorg use evdev to drive input devices. If evdev is not install, the keyboard and the mouse will not work.

Ah, I see.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum