Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After X-server is started keyboard stops responding
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cHewap
n00b
n00b


Joined: 30 Jun 2013
Posts: 7

PostPosted: Sun Jun 30, 2013 2:14 pm    Post subject: After X-server is started keyboard stops responding Reply with quote

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
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3601
Location: USA

PostPosted: Sun Jun 30, 2013 2:24 pm    Post subject: Reply with quote

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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7413
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Jun 30, 2013 2:25 pm    Post subject: Reply with quote

Could you post the VIDEO_CARDS and INPUT_DEVICES variables from your make.conf, please?

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
cHewap
n00b
n00b


Joined: 30 Jun 2013
Posts: 7

PostPosted: Sun Jun 30, 2013 2:48 pm    Post subject: Reply with quote

Hey

here, emerge --info

http://bpaste.net/show/110935

make.conf

http://bpaste.net/show/110936

currently my xorg.conf.d is nonexistent, i have tried with several generic files but none worked
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3601
Location: USA

PostPosted: Sun Jun 30, 2013 3:09 pm    Post subject: Reply with quote

Try re-emerging xorg-server if you added evdev to make.conf after emerging xorg-server, or emerge --newuse world?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2276
Location: Canada

PostPosted: Sun Jun 30, 2013 5:32 pm    Post subject: Reply with quote

cHewap wrote:
Hey

here, emerge --info

http://bpaste.net/show/110935

make.conf

http://bpaste.net/show/110936

currently my xorg.conf.d is nonexistent, i have tried with several generic files but none worked


what about /etc/X11/xorg.conf file ?
Back to top
View user's profile Send private message
cHewap
n00b
n00b


Joined: 30 Jun 2013
Posts: 7

PostPosted: Sun Jun 30, 2013 6:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
cHewap
n00b
n00b


Joined: 30 Jun 2013
Posts: 7

PostPosted: Sun Jun 30, 2013 6:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7413
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Jun 30, 2013 6:40 pm    Post subject: Reply with quote

No, you shouldn't have to do that.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
cHewap
n00b
n00b


Joined: 30 Jun 2013
Posts: 7

PostPosted: Sun Jun 30, 2013 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3601
Location: USA

PostPosted: Sun Jun 30, 2013 7:48 pm    Post subject: Reply with quote

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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
cHewap
n00b
n00b


Joined: 30 Jun 2013
Posts: 7

PostPosted: Sun Jun 30, 2013 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3601
Location: USA

PostPosted: Sun Jun 30, 2013 9:09 pm    Post subject: Reply with quote

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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
cHewap
n00b
n00b


Joined: 30 Jun 2013
Posts: 7

PostPosted: Mon Jul 01, 2013 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2276
Location: Canada

PostPosted: Mon Jul 01, 2013 11:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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