You are not logged in.
I've got an old (like in 30 years) original IBM keyboard I really love... But I cant get it running on arch. I've done all the advised hooks an tricks that I've found in this forum:
* It works in grub
* It works in the bios
* mkinitcpio.conf contains HOOKS=keyboard, MODULE=atkbd
* tried "earlymodules=atkbd modules-load=atkbd" in grub (which I did not expect to work since it works in grub)
lspci shows:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
03:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01)
03:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01)
03:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01)
16:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
16:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
16:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
18:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
1c:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 760] (rev a1)
1c:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
1d:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
1d:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor
1d:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller
1e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
1e:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
1e:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
Checking lsmod
atkbd 32768 0
serio 28672 2 atkbd,psmouse
libps2 16384 2 atkbd,psmouse
dmesg -t | grep '^i8042' shows not any error .
hwinfo displays about the board:
Board Info: #2
Manufacturer: "Micro-Star International Co., Ltd"
Product: "B450-A PRO (MS-7B86)"
Version: "2.0"
Connecting the keyboard to a PS/2-USB Converter works - but has the drawback of a sudden CRTL-KEY stuck... which can be fixed by a switch to TTY and back. But I want that old lady be running as flawlessly as my operation system ;-)
So I am out of ideas. Anyone has an idea/tip?
I had to remove the [Solved] Flag...
The keyboard works, if I update mkinitcpio and RESTART.
I could even add the i8042 module (which I cannot add with modprobe due to an "Device not found" error)
BUT
If I shut down and start again, the keyboard is not recognized.
dmesg shows: No PS/2 controller found.
On restart I'd get a
i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
but it works.
I've changed the order of HOOKS to set the keyboard before autodetect...
So I've got to change my question: What makes Restart different from ShutDown/Start ?
Why does a restart after a full shutdown/start makes the keyboard work again?
Solution:
For unknown reasons the PS/2 controller can't be found immediately when starting (not restarting) . The solution is to add the following lines to grub:
i8042.notimeout i8042.nopnp
In addition, as described above, the i8042 module has to be added to mkinitcpio.conf.
Last edited by Kanehekili (2020-05-11 18:32:29)
Offline
What do you actually use? This is an exact copy of what you posted on the Manjaro forum
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline
Maybe try loading the "i8042" module manually if it's not loaded for you.
For me the PS/2 keyboard is using the module "i8042" which I'm not seeing in your lsmod output. This was the case with both an Intel and AMD motherboard. Right now I use an AMD X470 chipset with my PS/2 keyboard. I can see that "i8042" thingy definitely being in use through doing "watch cat /proc/interrupts". There's one interrupt there that's tied to "i8042" and it counts up when I hit keys on the keyboard.
I don't have to do anything special in /etc/mkinitcpio.conf to get the PS/2 keyboard to work. The default Arch setup there runs fine, I don't need to add anything to MODULES=... and the "keyboard" hook is already on the HOOKS=... line by default.
lsmod has these atkbd and i8042 lines:
atkbd 36864 0
libps2 20480 1 atkbd
i8042 32768 0
serio 28672 4 serio_raw,atkbd,i8042
dmesg has this about i8042:
[ 2.574748] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 2.574749] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 2.575341] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 2.832174] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
Something I remember about PS/2: you shouldn't try unplugging or plugging it in while the PC is running. You should power off before doing things to the PS/2 connector.
Offline
What do you actually use? This is an exact copy of what you posted on the Manjaro forum
Actually both (dual boot). Basically I'm using arch on all of my devices except on my AMD machine, where I've got both arch & manajaro..
Last edited by Kanehekili (2020-05-08 18:07:46)
Offline
Maybe try loading the "i8042" module manually if it's not loaded for you.
@Ropid, yes that came into my mind, I've tried it but couldn't insert it.
[Solved] See my solution above
Last edited by Kanehekili (2020-05-21 19:27:18)
Offline