View previous topic :: View next topic |
Author |
Message |
ajgentoo n00b
Joined: 13 Sep 2017 Posts: 4
|
Posted: Wed Sep 13, 2017 2:47 pm Post subject: [SOLVED] X server not finding mouse and keyboard |
|
|
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
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 |
|
|
lovelytux Tux's lil' helper
Joined: 23 Aug 2013 Posts: 108
|
Posted: Wed Sep 13, 2017 4:56 pm Post subject: |
|
|
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 |
|
|
ajgentoo n00b
Joined: 13 Sep 2017 Posts: 4
|
Posted: Thu Sep 14, 2017 8:32 am Post subject: |
|
|
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 |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Thu Sep 14, 2017 11:26 am Post subject: |
|
|
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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Sep 14, 2017 2:31 pm Post subject: |
|
|
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 |
|
|
ajgentoo n00b
Joined: 13 Sep 2017 Posts: 4
|
Posted: Thu Sep 14, 2017 7:24 pm Post subject: |
|
|
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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
ajgentoo n00b
Joined: 13 Sep 2017 Posts: 4
|
Posted: Fri Sep 15, 2017 2:17 am Post subject: |
|
|
I;ve finally made it! I generated a config file with
[/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 |
|
|
|