Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] X server not finding mouse and keyboard
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
ajgentoo
n00b
n00b


Joined: 13 Sep 2017
Posts: 4

PostPosted: Wed Sep 13, 2017 2:47 pm    Post subject: [SOLVED] X server not finding mouse and keyboard Reply with quote

I have followed the Handbook to install the X server, but it seems it either crashes, hangs or it cannot find the mouse and keyboard.
When testing with xterm and twm three twm windows are displayed, but no keyboard and mouse.
Both of them do work in the console, with GPM https://wiki.gentoo.org/wiki/GPM

I haved tried multiple combinations of INPUT_DEVICES and VIDEO_CARDS values, the outcome is the same.
The current configuration I am using now is the defaults for both flags.

Please find my current make.conf below:
http://dpaste.com/3ZWTEF9


Please find the current Xorg.0.log:
http://dpaste.com/2HCEY8T

It seems to stop before adding the devices.

When running
Code:

X -configure


I get the following output:
http://dpaste.com/275FV48

Could please help me with a lead on how to investigate this issue or what other information I could use?

Thank you!


Last edited by ajgentoo on Sun Sep 24, 2017 1:21 pm; edited 2 times in total
Back to top
View user's profile Send private message
lovelytux
n00b
n00b


Joined: 23 Aug 2013
Posts: 67
Location: Westwoods of Germany

PostPosted: Wed Sep 13, 2017 4:56 pm    Post subject: Reply with quote

Hey,
welcome!

At first: Please use wgetpaste! for logs. Then this forum is going to be your friend :) Here: https://wiki.gentoo.org/wiki/Wgetpaste
In case change your make.conf, do you re-emerge your drivers before restart xorg?
Code:
emerge --update --deep --changed-use --with-bdeps y @world
or
Code:
 emerge -1 x11-base/xorg-drivers

lovelytux
Back to top
View user's profile Send private message
ajgentoo
n00b
n00b


Joined: 13 Sep 2017
Posts: 4

PostPosted: Thu Sep 14, 2017 8:32 am    Post subject: Reply with quote

Hello!

Thank you and sorry for the long paste!
Yes, every time the flags where changed, I've re-emerged everything, using:
Code:

emerge --update --changed-use --deep @world
emerge --depclean
revdep-rebuild
emerge --ask x11-base/xorg-drivers
emerge --ask x11-base/xorg-server


Should I use the command you've provided? Is there a difference that might impact my setup?

Thank you![/code]
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 487
Location: Germany

PostPosted: Thu Sep 14, 2017 11:26 am    Post subject: Reply with quote

Hm. This is the first time when I see

Code:

INPUT_DEVICES="libinput"


For modern Xorg usually
Code:

INPUT_DEVICES="evdev"


is sufficient. Possibly "synaptics" can be added if this is notebook with touchpad.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5774
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 14, 2017 1:42 pm    Post subject: Reply with quote

libinput is OK, it is the latest option for Xorg. I suspect there is something missing in kernel.
_________________
Please learn how to denote units correctly!

Political Correctness is all about replacing imaginary injustice with real injustice.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2300

PostPosted: Thu Sep 14, 2017 2:31 pm    Post subject: Reply with quote

ajgentoo wrote:
Should I use the command you've provided? Is there a difference that might impact my setup?

After setting the INPUT_DEVICES variable, an emerge -1avt @x11-module-rebuild should be enough.
Back to top
View user's profile Send private message
ajgentoo
n00b
n00b


Joined: 13 Sep 2017
Posts: 4

PostPosted: Thu Sep 14, 2017 7:24 pm    Post subject: Reply with quote

Thank you very much!

My current knowledge is that libinput is advised (it is also mentioned in the handbook). I will now try with evdev.

If there is something missing in the kernel, should I look for a missing video module? My assumption is that from the input devices point of view the kernel is alright, as they both work in the console.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5774
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 14, 2017 7:36 pm    Post subject: Reply with quote

ajgentoo,

make friends with wgetpaste and give us the link to your kernel config.
_________________
Please learn how to denote units correctly!

Political Correctness is all about replacing imaginary injustice with real injustice.
Back to top
View user's profile Send private message
ajgentoo
n00b
n00b


Joined: 13 Sep 2017
Posts: 4

PostPosted: Fri Sep 15, 2017 2:17 am    Post subject: Reply with quote

I;ve finally made it! I generated a config file with
Code:

X -configure

[/code]

After that I've explicitly specified the input devices (which are as I would have expected - /dev/input/mouse0 does not work, I had to use /dev/input/event5)

Clearly I have yet to find the underlying issue, but at least I have a keyboard and a mouse :)

Thank you for the help!
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