Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No input from keyboard in X
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Hilarion
n00b
n00b


Joined: 20 Jun 2017
Posts: 6
Location: Czech Republic

PostPosted: Tue Jun 20, 2017 2:44 pm    Post subject: No input from keyboard in X Reply with quote

Hello,
I have encountered a problem that I don't know how to solve. In CLI my keyboard works, but it does not work when I start X. I have tried several things such as recompiling the kernel with additional options or the solution found here: https://forums.gentoo.org/viewtopic-p-6793842.html

Any help will be greatly appreciated.

Regards,
Hilarion
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31288
Location: here

PostPosted: Tue Jun 20, 2017 3:39 pm    Post subject: Reply with quote

You can post emerge --info and /var/log/Xorg.0.log with wgetpaste?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hilarion
n00b
n00b


Joined: 20 Jun 2017
Posts: 6
Location: Czech Republic

PostPosted: Tue Jun 20, 2017 6:32 pm    Post subject: Reply with quote

Here they are:
https://paste.pound-python.org/show/jbrOOZ91FqcnhLgO3rGn/
and
https://paste.pound-python.org/show/OU89uinSbAeZNWHO1WK3/
Back to top
View user's profile Send private message
bytetrip
n00b
n00b


Joined: 02 Jan 2015
Posts: 17

PostPosted: Tue Jun 20, 2017 6:45 pm    Post subject: Reply with quote

Is this a laptop keyboard or eg. a keyboard plugged into USB port?

What window manager are you using? Does your mouse work? What exactly have you tried that is not working? Can you open programs and they do not recognize keyboard input, or are you trying to use the keyboard to open a launcher or menu that is not working?
Back to top
View user's profile Send private message
Hilarion
n00b
n00b


Joined: 20 Jun 2017
Posts: 6
Location: Czech Republic

PostPosted: Tue Jun 20, 2017 7:01 pm    Post subject: Reply with quote

I have a PC, so it is a regular USB keyboard, mouse does not work either. By 'does not work' I mean complete lack of response to any sort of interaction with it, so the only way to control it for now is over ssh(I have X starting automatically at startup). I currently use gnome as window manager and finally, I have tried several tweaks in kernel with USB drivers, such as adding different options to the modules apart from XHCI(which is included in the kernel) and some things around INPUT_DEVICES in make.conf.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Tue Jun 20, 2017 7:02 pm    Post subject: Reply with quote

Did it ever work? Did some upgrade or change you made cause the keyboard to stop working? You said you recompiled the kernel, but you are running a kernel from June 8th, maybe you didn't install your new kernel?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Hilarion
n00b
n00b


Joined: 20 Jun 2017
Posts: 6
Location: Czech Republic

PostPosted: Tue Jun 20, 2017 7:12 pm    Post subject: Reply with quote

The system has been on the PC for only about a week or so so there were no real upgrades. Also, the kernel was recompiled multiple times in the past week(via make && make modules_install && make install). And as long as I remember correctly, input did not work in the window manager at all.
Back to top
View user's profile Send private message
Hilarion
n00b
n00b


Joined: 20 Jun 2017
Posts: 6
Location: Czech Republic

PostPosted: Tue Jun 20, 2017 7:22 pm    Post subject: Reply with quote

Also, as an addition, I use lightdm as display manager and I did not download new kernel for every recompilation, so that may be the cause for the old date.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Tue Jun 20, 2017 8:09 pm    Post subject: Reply with quote

No, the kernel you are running was built on June 8th. Unless your clock was wrong at the build time this means you are running 12 days old kernel.

Code:
uname -a

_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54596
Location: 56N 3W

PostPosted: Tue Jun 20, 2017 8:25 pm    Post subject: Reply with quote

Hilarion,

Code:
[    12.661] Build Operating System: Linux 4.9.16-gentoo x86_64 Gentoo
[    12.661] Current Operating System: Linux HAL9000.Discovery_One 4.9.16-gentoo #2 SMP Thu Jun 8 22:57:29 CEST 2017 x86_64


That's the second build of your kernel (#2) and it was built on Thu Jun 8 22:57:29 CEST 2017.
As a wild guess, you have not been mounting /boot for kernel installs.

Code:
[    13.034] (--) PCI:*(0:1:0:0) 1002:7300:1002:0b36 rev 202, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xec200000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
That's an AMD R9 graphics card.
Xorg says
Code:
[    13.154] (==) Matched ati as autoconfigured driver 0
[    13.154] (==) Matched modesetting as autoconfigured driver 1
[    13.154] (==) Matched fbdev as autoconfigured driver 2
[    13.154] (==) Matched vesa as autoconfigured driver 3
[    13.154] (==) Assigned the driver to the xf86ConfigLayout


The ati driver loaded and failed to to find kernel support.
Code:
 [    13.222] (EE) open /dev/dri/card0: No such file or directory

so it fell back to VESA.
Code:
 [    13.235] (II) VESA(0): initializing int10


Step one is to find out why you are not running the kernel you think you are and fix that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jun 20, 2017 8:33 pm    Post subject: Reply with quote

evdev at least depends on udev
i'm pretty sure libinput too

you have enable evdev, libinput, keyboard and mouse drivers, but if udev doesn't work: libinput and evdev won't
and if you didn't disable the use of evdev and libinput (with AutoAddDevices no set), the keyboard and mouse drivers won't work too

udev is part of systemd, so if something bug systemd, it might bug udev too (ah the joy of systemd fat ass dependencies)
if i was you i would:
- remove systemd

but as i'm not you, i would then check this then:
Code:
[    13.033] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Tue Jun 20, 2017 8:41 pm    Post subject: Reply with quote

Gnome profile is in use, so removing systemd is not a trivial task.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jun 20, 2017 8:47 pm    Post subject: Reply with quote

Jaglover wrote:
Gnome profile is in use, so removing systemd is not a trivial task.

I'm not asking him to remove systemd
that's just a joke about me and systemd love: hence the "if i was you...", because being me, that would be the first thing i would do :)
Back to top
View user's profile Send private message
Hilarion
n00b
n00b


Joined: 20 Jun 2017
Posts: 6
Location: Czech Republic

PostPosted: Tue Jun 20, 2017 9:19 pm    Post subject: Reply with quote

Well, it turns out there's a heap of things I've done wrong. Thanks to NeddySeagoon for pointing out that my /boot partition was not mounted, the reason for that was a broken fstab file.
And as for systemd and gnome, I think I will try to fix what I can and in the event that I mess up again I will get rid of both and go for something like i3.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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