keyboard message

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
wpshooter
Level 6
Level 6
Posts: 1455
Joined: Sun May 22, 2011 8:06 am

keyboard message

Post by wpshooter »

What does this message regarding keyboard mean ?

Feb 4 10:34:45 XXXXX-mint18 kernel: [ 1.338449] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp

Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Mint 21.3 Mate.

SERVICE > competition
ClixTrix

Re: keyboard message

Post by ClixTrix »

i8042.nopnp is essentially a kernel boot parameter. Not sure it's a real problem, but it does suggest adding it at boot....meaning add to Grub. Note, it's a suggestion...not technically an error. You could certainly try it.

Similar to adding NOMODESET, use edit or "e" to grub menu selection line at boot for a simple one-time test. You locate and add the parameter after "quiet splash", e.g.

"...... quiet splash i8042.nopnp".

If that works (and you really want to go forward), you could add the parm to /etc/default/grub file and run the following from Terminal to make it permanent.

Code: Select all

sudo update grub
You can always reverse the changes. Are you sure it's the keyboard, and not a mouse or touchpad type device? Is there more info in the DMESG log that might help understand the message better?

Hmmmm......if it ain't broke? :?:
wpshooter
Level 6
Level 6
Posts: 1455
Joined: Sun May 22, 2011 8:06 am

Re: keyboard message

Post by wpshooter »

The reason I am asking is because on rare occasions my PS/2 keyboard will be non-functional
upon booting. If I just reboot it will then again function normally.

I use PS/2 keyboard but I use USB optical mouse.

I found some info after making this post that seems to suggest to me that this is perhaps
a flaw in the Linux kernel that my current version of Mint is using and I am now wondering
if moving from version 18.1 to 18.3 and the new kernel associated with 18.3 would solve
this problem. What do you think ?

Also, am sort of wondering what the message is referring to when it mentions the AUX port being disabled.
Is this possibly referring to the fact that I am using the PS/2 port for keyboard but that the PS/2 port
for mouse is not being used / empty, i.e. no device. But if this is the case why would it NOT work
all the time and not just on rare occasions.

Thanks.
Mint 21.3 Mate.

SERVICE > competition
ClixTrix

Re: keyboard message

Post by ClixTrix »

For I and others to give best advise, more info would be helpful. Please run the following command from Terminal and post back the results.

Code: Select all

inxi -Fxz

Also, is the keyboard failure consistent to the message in the log? Do you have another keyboard you can swap for test?

Edit: I'm thinking AUX is possibly the unused PS/2 Mouse port. I haven't verified this quirks list, but it does point at that port.

http://lightrush.ndoytchev.com/random-1 ... irkoptions
wpshooter
Level 6
Level 6
Posts: 1455
Joined: Sun May 22, 2011 8:06 am

Re: keyboard message

Post by wpshooter »

System: Host: XXXX-XXXX-mint18 Kernel: 4.4.0-112-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: MATE 1.16.2 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.1 Serena
Machine: System: Dell product: OptiPlex 980
Mobo: Dell model: 0C522T v: A00 Bios: Dell v: A17 date: 05/10/2017
CPU: Dual core Intel Core i5 650 (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12767
clock speeds: max: 3192 MHz 1: 1995 MHz 2: 1729 MHz 3: 1596 MHz 4: 1197 MHz
Graphics: Card: Intel Core Processor Integrated Graphics Controller bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1280x1024@60.02hz
GLX Renderer: Mesa DRI Intel Ironlake Desktop GLX Version: 2.1 Mesa 17.2.4 Direct Rendering: Yes
Audio: Card Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.4.0-112-generic
Network: Card: Intel 82578DM Gigabit Network Connection driver: e1000e v: 3.2.6-k port: ecc0 bus-ID: 00:19.0
IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 250.1GB (21.0% used) ID-1: /dev/sda model: WDC_WDS250G1B0A size: 250.1GB
Partition: ID-1: / size: 33G used: 14G (44%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 93G used: 22G (25%) fs: ext4 dev: /dev/sda5
ID-3: swap-1 size: 15.50GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 21.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 183 Uptime: 19 min Memory: 990.9/7781.7MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35

Yes, the message does (as far as I can tell) seem to coincide with the occurrence of the non-functioning of
the keyboard.

No, I don't really have a proper keyboard to use for testing. I have some cheap USB keyboards but I do
not like the layout & feature set of them. And even if I had a proper substitute keyboard this problem only
seems to happen on VERY RARE occasions even with my normal PS/2 keyboard. This problem might only
happen 1 time out of 100 or more boots.

Just ANNOYING.

Thanks.
Mint 21.3 Mate.

SERVICE > competition
ClixTrix

Re: keyboard message

Post by ClixTrix »

Going back to your prior list of questions.
wpshooter wrote:I found some info after making this post that seems to suggest to me that this is perhaps
a flaw in the Linux kernel that my current version of Mint is using and I am now wondering
if moving from version 18.1 to 18.3 and the new kernel associated with 18.3 would solve
this problem. What do you think ?
I'm not thinking a Kernel update would help, but you could certainly test a newer kernel without update to Mint 18.3. Kernel 4.10 is bundled with Mint 18.3, but is no longer being patched/fix. Kernel 4.13 is getting patched, as is your current Kernel 4.4 (which is a Long-Term-Support/LTS Kernel). Those newer Kernels can be installed from Update Manager. Look in the drop-list under View. Note, the most current Kernel boots unless you override from grub menu.
wpshooter wrote:Also, am sort of wondering what the message is referring to when it mentions the AUX port being disabled.
Is this possibly referring to the fact that I am using the PS/2 port for keyboard but that the PS/2 port
for mouse is not being used / empty, i.e. no device. But if this is the case why would it NOT work
all the time and not just on rare occasions.
That's probably a better question in regards to what's happening. I do think the AUX port is the mouse. At least that's what my checks confirm. If so, the message "PS/2 appears to have AUX port disabled" is correct, so the advise is actually contrary to that condition, and may imply no action is needed. The keyboard failing to detect could be a fault/failing PS/2 port or keyboard that's pushing the message to occur. Given that quirks list, I'm more incline to suggest this one to stop Aux port check:

i8042.noaux - Don't check for auxiliary (== mouse) port

You could test the i8042.noaux for grub override as a test. At least see if the message disappears. My original post has the method to add for test from Grub Menu.

Edit: Sanity Check! Make sure the keyboard is connected to PS/2 keyboard port and NOT the PS/2 mouse port. :D
wpshooter
Level 6
Level 6
Posts: 1455
Joined: Sun May 22, 2011 8:06 am

Re: keyboard message

Post by wpshooter »

Yes, the keyboard is on the correct port.

Am going to trying changing to Mint version 18.3 AFTER I get my
tax return prep done for this year and see if new version might take care
of the problem and if not, I will give the editing of grub a try.

Thanks.
Mint 21.3 Mate.

SERVICE > competition
wpshooter
Level 6
Level 6
Posts: 1455
Joined: Sun May 22, 2011 8:06 am

Re: keyboard message

Post by wpshooter »

I went back into the logs and looked at this again.

The following message is being displayed at each and EVERY boot:

i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp

However, my PS/2 keyboard comes up as non-functional only on very rare occasions.

So what does this message really mean and should I try the NONPNP boot / grub parameter to see if
that will stop this occasional non-functioning problem with my keyboard OR is this just a slight flaw on
the PS/2 connector on the motherboard ?

Am going to switch to a USB keyboard and see if this same message is still generated in the log file.

Hmmmmmmmmmm, just switched over to a cheap USB keyboard that I have and the PNP message did
not appear in the log, so it appears that this message is basically only telling me that if I have a PS/2 keyboard
plugged in the socket and I am using a USB mouse, that the keyboard is using PS/2 but that there is NO mouse
on the mouse PS/2 port.

So, this really does not solve why I am on rare occasions getting a non-functional PS/2 keyboard when I
get booted up to the desktop.

Thanks.
Mint 21.3 Mate.

SERVICE > competition
ClixTrix

Re: keyboard message

Post by ClixTrix »

My best guesses on the PS/2 keyboard problem.

1) Problem with motherboard PS/2 port. Could be chipset or power problem. If it happens most on a cold boot, could be weak/old power supply until warmed-up.

2) Problem with keyboard's internal chip and keyboard is headed to failure.

3) If it's an old AT Keyboard and you're using an AT-to-PS/2 adapter, those sometimes have problems.
wpshooter
Level 6
Level 6
Posts: 1455
Joined: Sun May 22, 2011 8:06 am

Re: keyboard message

Post by wpshooter »

ClixTrix wrote: Thu Feb 15, 2018 12:22 pm My best guesses on the PS/2 keyboard problem.

1) Problem with motherboard PS/2 port. Could be chipset or power problem. If it happens most on a cold boot, could be weak/old power supply until warmed-up.

2) Problem with keyboard's internal chip and keyboard is headed to failure.

3) If it's an old AT Keyboard and you're using an AT-to-PS/2 adapter, those sometimes have problems.
Thanks for your reply.

This is happening on 2 different Keytronic (not exactly junk keyboards). One of them is fairly new hardly used.
This does not seem to be related to cold boot because it can happen when machine is booted initially after
a period of non-use (so to speak cold) or when machine is warmed (say if I do a reboot for some reason).

No, am not using an adapter, keyboards are being plugged directly into the PS/2 port.

On what little time I have tested using a USB keyboard, I have yet to have a non-functional keyboard when
I get to the desktop.

I am leaning toward an intermittent problem with the PS/2 port itself. If this is it, just wondering what would
cause this problem.

Thanks.
Mint 21.3 Mate.

SERVICE > competition
ClixTrix

Re: keyboard message

Post by ClixTrix »

If it is the PS/2 port, could be a failure in motherboard chip. Also, might look for any BIOS updates for the motherboard. I'm assuming there are no messages during post that point to keyboard error. Dell systems sometime track keyboard errors in BIOS log. Actually, had that problem with keyboard going bad on older Dell system, and the the log did track it.
wpshooter
Level 6
Level 6
Posts: 1455
Joined: Sun May 22, 2011 8:06 am

Re: keyboard message

Post by wpshooter »

ClixTrix wrote: Thu Feb 15, 2018 1:28 pm If it is the PS/2 port, could be a failure in motherboard chip. Also, might look for any BIOS updates for the motherboard. I'm assuming there are no messages during post that point to keyboard error. Dell systems sometime track keyboard errors in BIOS log. Actually, had that problem with keyboard going bad on older Dell system, and the the log did track it.
There are no keyboard messages in the BIOS even though I DO have the BIOS parameter for keyboard errors enabled.

This is a fairly old Dell Optiplex and there is no recent update (beyond what I am using) to the BIOS. I have talked to Dell until I am blue in the face
trying to see if they are going to put out a new BIOS to fix the recent Spectre and Meltdown issues, I think I am wasting my time.

I talked to Keytronics keyboard support this morning and the girl there seemed to think that this is some type of TIMING issue
that is happening during hardware detection during initial boot sequencing. My guess is that she is correct. She advised
switching to one of their USB keyboards. I tend to agree with her analysis.

Thanks.
Mint 21.3 Mate.

SERVICE > competition
ClixTrix

Re: keyboard message

Post by ClixTrix »

Depends on which processor you have, as to whether it will get a BIOS/microcode fix for Meltdown/Spectre. I doubt Dell will update BIOS on anything older than 5 years and Intel might not fix anything older than that either.

Edit: Any chance your BIOS has a setting for delay for drive detection that might help?

Edit2: I did think of another possible way to get the keyboard to work. However, you'll have to check with the manufacturer. A PS/2 to USB adapter might fix the problem, if the keyboard can work with the adapter.
Locked

Return to “Hardware Support”