On Wed, Jan 02, 2019 at 03:02:45PM -0600, Bruce Dubbs via blfs-support wrote:
> On 01/02/2019 11:03 AM, Thomas Seeling via blfs-support wrote:
> > Hallo,
> >
> >
> > I'm not much of a GUI person, so the question might be simple, but I
> > have no idea where to search, so please bear with me ;)
> >
> > I have successfully compiled a BLFS subset with X11, some Gnome
> > applications, firefox and thunderbird.
> >
> > When I try "startx" as a user I get the basic graphics screen with xterm
> > and xclock (I found some xinitrc where this is defined), but no input.
> > Keyboard and mouse do not work. I ssh'ed to the machine and killed the X
> > processes.
> >
> > In Xorg.log I found that X11 cannot handle my KVM switch. This is a
> > convenient piece of hardware to multiplex my private and work machines
> > with one keyboard, mouse and sound output. It has one USB cable to each
> > PC and identifies itself as "hidraw" USB type.
> >
> > Naïvely I assumed that the usbhid module is enough to provide also X11
> > input. Seems I'm wrong, but I have no idea what to put in which
> > configuration file. Also, I have no idea why X11 reports 3 input devices
> > although I can and have only keyboard and mouse connected.
> >
> > This is the list of error messages:
Again, you use 'error' to include warnings, or in this case
informational messages.
> >
> > [ 1275.784] (II) config/udev: Adding input device C&CTECH Semiconductor
> > CCTCH USBKVM® 1.00 (/dev/input/event4)
> > [ 1275.784] (II) No input driver specified, ignoring this device.
> > [ 1275.784] (II) This device may have been added with another device file.
> > [ 1275.784] (II) config/udev: Adding input device C&CTECH Semiconductor
> > CCTCH USBKVM® 1.00 (/dev/input/event5)
> > [ 1275.784] (II) No input driver specified, ignoring this device.
> > [ 1275.784] (II) This device may have been added with another device file.
> > [ 1275.784] (II) config/udev: Adding input device C&CTECH Semiconductor
> > CCTCH USBKVM® 1.00 (/dev/input/mouse0)
> > [ 1275.784] (II) No input driver specified, ignoring this device.
> > [ 1275.784] (II) This device may have been added with another device file.
I suppose the question is: what input drivers do you think you have
enabled in xorg (evdev or libinput) ? Please note that the old
keyboard and mouse drivers no longer work on linux (you mentioned
BLFS-7.7 in the other thread, where I think those were perhaps
used).
>
> I don't use a KVM, so this may not be the problem, but have you built all
> the input drivers in Xorg?
>
> Also after getting the input to work, I suggest using one of the base window
> managers (fluxbox, icewm, openbox, or sawfish) instead of twm.
>
> -- Bruce
My experience with usb kvm switches (the consumer versions, not the
rackmount equivalents) is that they are a [expletive deleted]. The
common or garden PS/2 versions used to be ok, but nowdays PS/2
connectors (or their connection to motherboards) seem to be flakey.
For the little it is worth, here are the results of 'grep /input'
from the Xorg logs on a couple of my systems. On one of these I get
'No input driver' messages for *sound* devices.
The important thing seems to be that on mine the power buttons are
recognised as 'LNX...' devices, wih no mention of a particular KVM
switch brand (CCTCH in your case). Google doesn't give me any useful
results on that, so I would go along with Bruce's suggestion to
build more USB/HID drivers in the kernel.
Machine one : PS/2 kvm, evdev
[ 39.973] (II) config/udev: Adding input device Power Button
(/dev/input/event1)
[ 39.973] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 39.973] (**) evdev: Power Button: Device: "/dev/input/event1"
[ 39.973] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[ 39.999] (II) config/udev: Adding input device Power Button
(/dev/input/event0)
[ 39.999] (**) evdev: Power Button: Device: "/dev/input/event0"
[ 39.999] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[ 39.999] (II) config/udev: Adding input device HDA ATI SB Front Mic
(/dev/input/event3)
[ 39.999] (II) config/udev: Adding input device HDA ATI SB Rear Mic
(/dev/input/event4)
[ 39.999] (II) config/udev: Adding input device HDA ATI SB Line
(/dev/input/event5)
[ 40.000] (II) config/udev: Adding input device HDA ATI SB Line Out
(/dev/input/event6)
[ 40.000] (II) config/udev: Adding input device HDA ATI SB Front Headphone
(/dev/input/event7)
[ 40.000] (II) config/udev: Adding input device AT Translated Set 2 keyboard
(/dev/input/event2)
[ 40.000] (**) evdev: AT Translated Set 2 keyboard: Device:
"/dev/input/event2"
[ 40.000] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio0/input/input2/event2"
[ 40.000] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse
(/dev/input/event8)
[ 40.000] (**) evdev: ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event8"
[ 40.000] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio1/input/input9/event8"
[ 40.001] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse
(/dev/input/mouse0)
Machine two: PS/2 kvm, libinput, but perhaps the keyboard and mouse
are plugged in directly (hardware breaks, PS/2 connectors
particularly so, and I can't be [****]'d to go back to it to check).
[ 25.016] (II) config/udev: Adding input device Power Button
(/dev/input/event1)
[ 25.016] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 25.020] (**) Option "Device" "/dev/input/event1"
[ 25.039] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[ 25.052] (II) config/udev: Adding input device Power Button
(/dev/input/event0)
[ 25.052] (**) Option "Device" "/dev/input/event0"
[ 25.067] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[ 25.067] (II) config/udev: Adding input device PixArt USB Optical Mouse
(/dev/input/event9)
[ 25.067] (**) Option "Device" "/dev/input/event9"
[ 25.083] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-9/1-9:1.0/0003:093A:2510.0001/input/input9/event9"
[ 25.083] (II) config/udev: Adding input device PixArt USB Optical Mouse
(/dev/input/mouse0)
[ 25.083] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=3
(/dev/input/event2)
[ 25.083] (II) config/udev: Adding input device HD-Audio Generic Front Mic
(/dev/input/event4)
[ 25.083] (II) config/udev: Adding input device HD-Audio Generic Rear Mic
(/dev/input/event5)
[ 25.083] (II) config/udev: Adding input device HD-Audio Generic Line
(/dev/input/event6)
[ 25.084] (II) config/udev: Adding input device HD-Audio Generic Line Out
(/dev/input/event7)
[ 25.084] (II) config/udev: Adding input device HD-Audio Generic Front
Headphone (/dev/input/event8)
[ 25.084] (II) config/udev: Adding input device AT Translated Set 2 keyboard
(/dev/input/event3)
[ 25.084] (**) Option "Device" "/dev/input/event3"
[ 25.103] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio0/input/input2/event3"
Dunno if any of this will help: if not, just ignore it!
And on Bruce's last comment - on icewm, Alt-F1 / Alt-F2 / etc for
four desktops, and Ctrl-Alt-Space to type in commands to run -
unfortunately, such shortcuts get remembered, and make trying to run
any other WM a pain. ;-)
ĸen
--
The Laird o’Phelps spent Hogmanay declaring he was sober,
Counted his feet to prove the fact and found he had one foot over.
-- Louis MacNeice, Bagpipe Music
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page