[SOLVED] kernel-4.9.189 atkbd serio0: Failed to enable keyboard on isa0060/serio0
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
kernel-4.9.189 atkbd serio0: Failed to enable keyboard on isa0060/serio0
Hello All , several days & reboots after upgrading the kernel to 4.9.189 my old Keytronic keyboard fell prey to the subject matter . Yes I've seen the new shiny 4.9.190 in the updates .
And after doing a bit of googling & seeing that someone else tried unplugging & replugging the PS/2 connector . I tried the same and to my suprise , IT WORKED . This also produce NO NEW entries in the dmesg output ... :-|
But , the very next reboot cold or warm , Then the ol' trusted keyboard doesn't get registered & I have to crawl under the desk & unplug/replug again . This is of course getting quite annoying .
I hope the below dmesg | grep ... Doesn't make the post too noisy , And if more info is requested I'll gladly do so .
Tia , JimL
slackware=14.2 , Kernel-4.9.189 compiled From HUGE-4.4.14.config .
dmesg | egrep -i '(ps/2|xhci|i8042|atkbd|serio)'
[ 4.731610] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 4.732218] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 4.733610] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 4.734329] mousedev: PS/2 mouse device common for all mice
[ 4.773157] atkbd serio0: Failed to enable keyboard on isa0060/serio0
[ 4.774154] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 6.670112] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 6.670770] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 6.672355] xhci_hcd 0000:00:14.0: hcc params 0x20007181 hci version 0x100 quirks 0x0000b930
[ 6.672861] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 6.674203] usb usb1: Product: xHCI Host Controller
[ 6.674692] usb usb1: Manufacturer: Linux 4.9.189 xhci-hcd
[ 6.677447] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 6.678207] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 6.679748] usb usb2: Product: xHCI Host Controller
[ 6.680221] usb usb2: Manufacturer: Linux 4.9.189 xhci-hcd
[ 6.683083] xhci_hcd 0000:04:00.0: xHCI Host Controller
[ 6.683592] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 3
[ 6.684610] xhci_hcd 0000:04:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00000090
[ 6.686226] usb usb3: Product: xHCI Host Controller
[ 6.686735] usb usb3: Manufacturer: Linux 4.9.189 xhci-hcd
[ 6.689627] xhci_hcd 0000:04:00.0: xHCI Host Controller
[ 6.690476] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 4
[ 6.692644] usb usb4: Product: xHCI Host Controller
[ 6.693186] usb usb4: Manufacturer: Linux 4.9.189 xhci-hcd
[ 7.005499] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[ 7.050498] usb 1-4: new high-speed USB device number 2 using xhci_hcd
[ 7.577507] usb 1-4.3: new high-speed USB device number 3 using xhci_hcd
[ 7.744513] usb 1-4.4: new high-speed USB device number 4 using xhci_hcd
[ 7.927989] usb 1-4.7: new high-speed USB device number 5 using xhci_hcd
[ 892.847154] usb 1-4.4: new high-speed USB device number 6 using xhci_hcd
On a short search on the net I found a few kernel issues related to keyboards spread along the periods 2012 - 2014 - 2017, as solutions there were some bugfixes and some workarounds.
In your dmesg snippet, you have:
Code:
[ 4.731610] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 4.732218] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
And some workarounds I found were suggesting to add some kernel boot parameters:
If you like to paste an entire kernel log (dmesg), you could use: https://pastebin.com/
Is your keyboard PS/2 native or do you use an USB dongle? A dmesg snippet presenting the unplug/re-plug - your "crawling" workaround could be helpful too.
If the i8042.* workarounds I presented above work, then I suggest to live with them, or, raise a bug with the kernel devs and get your hands dirty bisecting the kernel
Last edited by abga; 08-29-2019 at 09:24 PM.
Reason: 2 x typo
That first warning message about "AUX port disabled" occurs when you have PS/2 support, but you don't have anything plugged into the PS/2 mouse port (i.e. using USB mouse). Most biosen will not assign resources unless a mouse device is plugged in. (IRQ 12 is free for PCI then). Likely not an error at all, it's informational.
The PS/2 controller gets IRQ 1 for keyboard, but then serio fails to initialize it. That's where things start to get not right in that output.
Now, I have seen similar problems caused by... USB cordless mice receivers that have keyboard logic on them, even though not implemented (i.e. not a keyboard and mouse set). See if plugging in the USB MOUSE receiver only after starting X solves the problem with keyboard initialization (that would confirm it).
P.S. I'm not saying that some of those workarounds may not be applicable, just that it may be the cause of the problem. Also, it sounds like you know it's not safe to "hotplug" PS/2, it could even damage the port on the motherboard.
Last edited by TheRealGrogan; 08-30-2019 at 02:31 AM.
Hello , Thank you all for your time . If this issue continues after attempting the Below (*) .
Then I will see if these options of work arounds may/will be a return to normalcy for me .
This has not been an issue on this hardware for some number of Months , Note: Months . And a few differant versions of kernel . From 4.4.14 to the 4.9.189 I am running today .
Until just a short period ago with only ONE device change , (several days & reboots after upgrading to a locally built HUGE Kernel-4.9.189) I shut off the USB drive I use for backups . Then this started .
(*)Tho I haven't tried rebooting with the drive "on" since this problem occured . I only just remembered I had shut off that device as of today . I believe I'll experimant with that first . Then try the work arounds mentioned and if these are not of help , Then report back with the findings .
Hello All , Having powered on the before mentioned usb drive & rebooted , My keyboard is Functional without any of the work arounds so kindly mentioned .
So Now I get to try to figureout what inter-reactions between USB & AT are causing the difficulty(ies) .
Of interest are ... at least in my opinion are ...
[ 4.731610] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 4.732218] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 4.733610] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 4.734329] mousedev: PS/2 mouse device common for all mice
[ 4.773157] atkbd serio0: Failed to enable keyboard on isa0060/serio0
[ 4.774154] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
To note that the MOUSE Port is polled BEFORE the keyboard . On very old equipment this was not so . As there were NO Mouse technology yet developed . And all those (as AT/PS2 & I believe as USB , are still today) were serial based devices .
Thank you all for your suggestions and thoughts in this matter .
JimL
ps: As in the first but after turning ON the usb disk ...
dmesg | egrep -i '(ps/2|xhci|i8042|atkbd|serio)' [ 3.551789] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 3.552420] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 3.553875] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 3.554627] mousedev: PS/2 mouse device common for all mice
[ 3.592268] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 5.495089] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 5.495625] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 5.497194] xhci_hcd 0000:00:14.0: hcc params 0x20007181 hci version 0x100 quirks 0x0000b930
[ 5.497683] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 5.498723] usb usb1: Product: xHCI Host Controller
[ 5.499192] usb usb1: Manufacturer: Linux 4.9.189 xhci-hcd
[ 5.501402] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 5.501882] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 5.503305] usb usb2: Product: xHCI Host Controller
[ 5.503764] usb usb2: Manufacturer: Linux 4.9.189 xhci-hcd
[ 5.505967] xhci_hcd 0000:04:00.0: xHCI Host Controller
[ 5.506474] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 3
[ 5.507151] xhci_hcd 0000:04:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00000090
[ 5.508716] usb usb3: Product: xHCI Host Controller
[ 5.509208] usb usb3: Manufacturer: Linux 4.9.189 xhci-hcd
[ 5.511294] xhci_hcd 0000:04:00.0: xHCI Host Controller
[ 5.511812] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 4
[ 5.513892] usb usb4: Product: xHCI Host Controller
[ 5.514416] usb usb4: Manufacturer: Linux 4.9.189 xhci-hcd
[ 5.833623] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[ 5.867392] usb 1-4: new high-speed USB device number 2 using xhci_hcd
[ 6.350402] usb 1-4.3: new high-speed USB device number 3 using xhci_hcd
[ 6.533514] usb 1-4.4: new high-speed USB device number 4 using xhci_hcd
[ 6.845398] usb 1-4.5: new high-speed USB device number 5 using xhci_hcd
[ 7.514398] usb 1-4.7: new high-speed USB device number 6 using xhci_hcd
[ 219.138285] usb 1-4.4: new high-speed USB device number 7 using xhci_hcd
Last edited by babydr; 09-03-2019 at 07:25 PM.
Reason: Should have added another dmesg grep'd report ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.