View previous topic :: View next topic |
Author |
Message |
cHewap n00b
Joined: 30 Jun 2013 Posts: 7
|
Posted: Sun Jun 30, 2013 2:14 pm Post subject: After X-server is started keyboard stops responding |
|
|
Hello to all of you, a fresh gentoo user here.
I'm having problems with keyboard detection when i run startx, for example when i run gnome or xterm, the graphical interface shows on the screen, but the keyboard doesn't accept any input.
Here are some output files/log to get you an idea of what might be wrong
Xorg.0.log http://bpaste.net/show/110926
dmesg http://bpaste.net/show/110927
lspci http://bpaste.net/show/110928
A few things i have already tried:
- reinstalled xf86-input-evdev (although this driver is not even once mentioned in Xorg.0, so maybe kernel doesn't load it..?)
- X -configure (it failed, i tried to print the output of this command using X -configure > x_configure.log, but the resulting .log was empty. At the end it said something like:
The number of created screens doesn't match number of detected devices, Configuration failed. It exits with error(2))
- when i try X -retro & sleep 5; killall X, it enters nicely in this graphic environment with a grey background and a cross-like cursor
Any comment or suggestion is much appreciated, let me know if there is more information that you need |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Sun Jun 30, 2013 2:24 pm Post subject: |
|
|
emerge --info would be helpful. Specifically, any special USE= flags, INPUT_DEVICES= lines in /etc/make.conf?
Are you using an y special /etc/X11/xorg.conf ? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Sun Jun 30, 2013 2:25 pm Post subject: |
|
|
Could you post the VIDEO_CARDS and INPUT_DEVICES variables from your make.conf, please?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
cHewap n00b
Joined: 30 Jun 2013 Posts: 7
|
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Sun Jun 30, 2013 3:09 pm Post subject: |
|
|
Try re-emerging xorg-server if you added evdev to make.conf after emerging xorg-server, or emerge --newuse world? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Sun Jun 30, 2013 5:32 pm Post subject: |
|
|
what about /etc/X11/xorg.conf file ? |
|
Back to top |
|
|
cHewap n00b
Joined: 30 Jun 2013 Posts: 7
|
Posted: Sun Jun 30, 2013 6:10 pm Post subject: |
|
|
currently my xorg.conf.d is empty, i tried before with different layout for keyboard but none worked
i included evdev before i emerged xorg, but will try reinstalling it |
|
Back to top |
|
|
cHewap n00b
Joined: 30 Jun 2013 Posts: 7
|
Posted: Sun Jun 30, 2013 6:19 pm Post subject: |
|
|
if i re-emerge the xorg-server, do i also have to reinstall the gnome package? Probably they aren't related, but still just to be sure. Would really like to avoid compiling the whole gnome package if possible |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Sun Jun 30, 2013 6:40 pm Post subject: |
|
|
No, you shouldn't have to do that.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
cHewap n00b
Joined: 30 Jun 2013 Posts: 7
|
Posted: Sun Jun 30, 2013 7:04 pm Post subject: |
|
|
I re-emerged xorg-server, unfortunately that didn't helped. Worse even, now even x-server doesn't start, it's finishes with error 2, saying it can't find a screen
here is output of a new Xorg.0.
http://bpaste.net/show/110993
Does anyone know how can i direct the output of some command to a file
i tried startx > x.log but it results in an empty x.log file(it works when i try for example with ls > file) |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Sun Jun 30, 2013 7:48 pm Post subject: |
|
|
Eek. It's not merging things properly. Now it's missing xf86-video-intel too...
Try emerge -1 xf86-video-intel to fix the X video driver, this is very weird that it disappeared. Almost seems something wrong with your portage software... Did something unmerge?
You can do startx > x.log 2>&1 to direct stderr to the log file as well. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
cHewap n00b
Joined: 30 Jun 2013 Posts: 7
|
Posted: Sun Jun 30, 2013 8:16 pm Post subject: |
|
|
thanks, i emerged xf86-video-intel, i'm back to where i previously was.
hm, any suggestions what could be wrong with portage?
here is the output of X -configure,
http://bpaste.net/show/111008
and here a xorg.conf.new that it tries to create, i don't know where multiple screens are coming from ? Beside that the keyboard part seems ok? I put a copy of these file into /etc/X11/xorg.conf.d, but with no effect
http://bpaste.net/show/111009 |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Sun Jun 30, 2013 9:09 pm Post subject: |
|
|
I've sort of been jaded by having no xorg.conf at all recently -if you have only one display and not-so-special hardware, you don't need a xorg.conf.
Your xorg conf that you posted appears to imply you have two displays? Is this true?
It should automatically goto evdev if there is no xorg.conf... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
cHewap n00b
Joined: 30 Jun 2013 Posts: 7
|
Posted: Mon Jul 01, 2013 6:34 am Post subject: |
|
|
No, i only have one display. Does anyone have more hints what could be wrong? I'm really eager to get this thing working:) |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Mon Jul 01, 2013 11:45 am Post subject: |
|
|
The way X -configure configured your keyboard is for it to use older 'kbd' driver, not evdev. 'kbd' driver is given by x11-drivers/xf86-input-keyboard
package. You need either to install this package, or change 'Driver "kbd"' to 'Driver "evdev"' in keyboard section, or better, delete xorg.conf file completely and see
if that sufficiently works for you. |
|
Back to top |
|
|
|