I have just installed LEAP 42.2 on my HP 255 G3 laptop - completely erased previous contents so no dual boot. Everything is OK, except that the laptop keyboard does not work, but a plugged in USB keyboard does. The laptop pointing device is OK.
During setup the ‘hardware detector’ found 2 keyboards, both the laptop’s built-in PS2 keyboard and the USB keyboard.
The laptop PS2 keyboard was showing device number: major 13, minor 64. The USB keyboard was showing as 13/72.
Routing around in /usr/share/X11/xorg.conf.d I found evdev.conf contains an entry for the ‘catchall’ keyboard pointing to a device path of /dev/input/event*
/etc/X11/xorg.conf.d/00-keyboard.conf contains an entry for ‘system keyboard’, but no device path.
Nothing anywhere for a PS2 keyboard.
/dev/input/by-path/platform-i8042-serio-0-event-kbd (which was mentioned in the hardware scan results during setup) points to …/event0
My guess, and don’t let this send you down a blind alley, is that a specific entry is needed in a .conf file for the PS2 keyboard. But what, and where?
You should find that Xorg is using libinput, so evdev should no be in use ordinarily. This will confirm that
grep "Using input driver" /var/log/Xorg.0.log
Does your laptop keyboard work outside of the X-server? For example the grub boot screen and VT? Try CTRL+ALT+F2 (via USB keyboard) and then check laptop keyboard activity. If not, perhaps a kernel boot parameter is needed for a hardware quirk.
My guess, and don’t let this send you down a blind alley, is that a specific entry is needed in a .conf file for the PS2 keyboard. But what, and where?
Actually, as far as Xorg is concerned, the libinput catchall (60-libinput.conf) should be all that is required.
The keyboard is responsive in the bios; arrow keys, function keys all OK - something does happen in the password fields but, of course, all I see is ***
Here’s the content of the input0 directory…
admin@linux-s2ri:/sys/devices/platform/i8042/serio0/input/input0> ls -la
total 0
drwxr-xr-x 6 root root 0 Dec 23 12:03 .
drwxr-xr-x 3 root root 0 Dec 23 12:03 …
drwxr-xr-x 2 root root 0 Dec 23 12:03 capabilities
lrwxrwxrwx 1 root root 0 Dec 23 12:18 device → …/…/…/serio0
drwxr-xr-x 3 root root 0 Dec 23 12:03 event0
drwxr-xr-x 2 root root 0 Dec 23 12:03 id
-r–r–r-- 1 root root 4096 Dec 23 12:18 modalias
-r–r–r-- 1 root root 4096 Dec 23 12:18 name
-r–r–r-- 1 root root 4096 Dec 23 12:18 phys
drwxr-xr-x 2 root root 0 Dec 23 12:18 power
-r–r–r-- 1 root root 4096 Dec 23 12:18 properties
lrwxrwxrwx 1 root root 0 Dec 23 12:03 subsystem → …/…/…/…/…/…/class/input
-rw-r–r-- 1 root root 4096 Dec 23 12:18 uevent
-r–r–r-- 1 root root 4096 Dec 23 12:18 uniq
Ok, well nothing in your Linux output suggests any kernel-specific issues here IMHO
A couple of ideas…
A long shot: Try shutting the laptop down, disconnect the power cable and battery and hold the power button down for ~10 seconds. Then reinstall battery, and power back up. Any difference with the laptop keyboard?
Speculation: I’ve read that if USB Legacy Support enabled in the BIOS, it may interfere with PS/2 Controller initialisation, and that may result in a non-responsive PS/2 keyboard perhaps. So you might want to check this setting if it exists.
What I have noticed is that the keyboard is still active when you get the options menu right at the start, i.e.
openSUSE LEAP42.2
Advanced options for openSUSE LEAP42.2
Start bootloader from a read=only snapshot
…that is, arrow keys, enter and escape keys still work.
Thanks
Well, that is the grub screen. When I asked you about that before, you said
No keyboard input at all, even in grub.
That means we could be dealing with a possible OS-related issue. If possible, try using a live USB distro (eg Linux Mint) to check the keyboard behaviour in different environment
Okay, I’m wondering if this a kernel regression perhaps. A bug report may be needed. Did you purchase your laptop with Windows or Ubuntu? The HP 255 G3 appears to be offered/certified with Ubuntu, so it must have been working with whatever kernel version was used, or maybe particular boot parameters were added…
I have also installed openSUSE on an HP 15-n065sa touch screen laptop. The installer says it has detected ort the exact same keyboard, the only difference is that it works! Ho hum…
Just to recap. Integrated keyboard works in BIOS and GRUB, but not after the OS has started. No problem with touchpad.
Bought a new keyboard, less than GBP 20 including post and packing. Supplier sent the wrong part which took a while to rectify, hence the delay in responding.
All working. Can only conclude the keyboard has been upgraded internally.