Web lists-archives.com

Re: x : keyboard not working




On Friday 06 October 2017 12:27:12 tomas@xxxxxxxxxx wrote:

> On Fri, Oct 06, 2017 at 09:16:36PM +0530, Mayuresh Kathe wrote:
> > On Fri, Oct 06, 2017 at 05:02:45PM +0200, tomas@xxxxxxxxxx wrote:
> > > On Fri, Oct 06, 2017 at 08:22:41PM +0530, Mayuresh Kathe wrote:
> > >
> > > [X keyboard not working]
> > >
> > > This depends on a couple of things. E.g. is your X using X input?
> > > If yes, it's supposed to work automagically. If not, you might
> > > need to put a stanza in your /etc/X11/xorg.conf which looks more
> > > or less like
> > >
> > >   Section "InputDevice"
> > >     Identifier "the-keyboard"
> > >     Driver "kbd"
> > >     Option "XkbModel" "pc104"
> > >   EndSection
> > >
> > > or something similar.
> > >
> > > Could you post your X server's log? Where is it located?
> > > (the two possibilities know to me are ~/.local/share/xorg/
> > > and /var/log/Xorg.0.log, depending on whether your X server
> > > runs rootless or not).
> >
> > sure, your stanza for /etc/X11/xorg.conf didn't work, it just
> > refused to startup the X server itself.
> > actually, that file itself did not exist at that location, i
> > had to create it, and when it didn't work, i deleted it, and
> > the same old stuff was on again, i.e. X worked, but keyboard
> > didn't.
> > please find below my X server's log;
> >
> > [   533.054]
> > X.Org X Server 1.19.2
> > Release Date: 2017-03-02
>
> [...]
>
> > [   533.156] (==) ModulePath set to "/usr/lib/xorg/modules"
> > [   533.156] (II) The server relies on udev to provide the list of
> > input devices. If no devices become available, reconfigure udev or
> > disable AutoAddDevices.
>
> [...]
>
> > [   535.260] (II) config/udev: Adding input device AT Translated Set
> > 2 keyboard (/dev/input/event0) [   535.260] (II) No input driver
> > specified, ignoring this device. [   535.260] (II) This device may
> > have been added with another device file.
>
> The above looks like a smoking gun to me...
>
> > [   535.261] (II) config/udev: Adding input device ETPS/2 Elantech
> > Touchpad (/dev/input/event1) [   535.261] (**) ETPS/2 Elantech
> > Touchpad: Applying InputClass "touchpad catchall" [   535.261] (**)
> > ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad
> > buttons" [   535.261] (II) LoadModule: "synaptics"
> > [   535.261] (II) Loading
> > /usr/lib/xorg/modules/input/synaptics_drv.so [   535.306] (II)
> > Module synaptics: vendor="X.Org Foundation"
>
> ...while this (and following) shows your touchpad happily chattering.
>
> Note that there's no other mention of keyboard in the log file.
>
> I must run now, so I'll leave it at that here. Perhaps someone else
> can pick up.
>
> Cheers
> -- t
I have the same effect, but different log. I have way too many keyboards, 
none of which work.  Grepping that log for "type", I get all this:
[    19.958] (II) XINPUT: Adding extended input device "rk8xx_pwrkey" 
(type: KEYBOARD, id 6)
[    20.029] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: MOUSE, id 7)
[    20.105] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: MOUSE, id 8)
[    20.123] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: KEYBOARD, id 9)
[    20.142] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: MOUSE, id 10)
[    20.159] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: KEYBOARD, id 11)
[    20.160] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: KEYBOARD, id 12)
[ 87158.337] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: MOUSE, id 7)
[ 87158.346] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: KEYBOARD, id 8)
[ 87158.364] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: KEYBOARD, id 9)
[ 87170.833] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: MOUSE, id 10)
[ 87170.838] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: KEYBOARD, id 11)
[ 87170.923] (II) XINPUT: Adding extended input device "Logitech USB 
Receiver" (type: MOUSE, id 12)
[ 87417.673] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G 
Keyboard Mouse" (type: MOUSE, id 7)
[ 87417.677] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G 
Keyboard Mouse" (type: KEYBOARD, id 8)
[ 87417.694] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G 
Keyboard Mouse" (type: KEYBOARD, id 9)

Mouse moves, clicks do nothing and keyboard isn't functional.  The big 
time offsets were created when I shuffled dongles around to try a 
different keyboard, which likewise doesn't work with x. Works fine on 
vt0.

I wonder if these choruses of symptoms have a common cause? My board is a 
rock64, an arm64 board, quad core.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>