PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Yeyo117
Level 1
Level 1
Posts: 9
Joined: Sun Sep 01, 2019 9:40 am

PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Yeyo117 » Sun Sep 01, 2019 9:59 am

Hello everyone. Months ago I upgraded my old desktop pc from Mint 18.3 "Sylvia" to Mint 19 "Tara". On Sylvia my PS/2 keyboard worked fine, after the upgrade to Tara simply stopped working (while my PS/2 mouse still works). Neither the upgrades to Mint 19.1 first and 19.2 then resolved the issue. I searched for long time on Internet but I did not find a situation similar to mine. What can I do?

Thanks

User avatar
Larry78723
Level 7
Level 7
Posts: 1582
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Larry78723 » Sun Sep 01, 2019 11:38 am

Please post an inxi -Fxz report. This will give us a concise overview of your hardware and on how Mint sees it.

Here is how to generate the report and post it:

Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Execute the command

Code: Select all

 inxi -Fxzd 
exactly as it has been typed here.

Mark the complete text output which the command will display with your mouse.
Press the keyboard shortcut <Shift><Ctrl>C to copy the marked text into the clipboard.
Enclose the results between the code markers by selecting </> from the mini toolbar above the textbox where you type your reply then paste <Ctrl>V them in your reply between the code markers.

The results will help us to help you.

Larry
Image

User avatar
Yeyo117
Level 1
Level 1
Posts: 9
Joined: Sun Sep 01, 2019 9:40 am

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Yeyo117 » Thu Sep 05, 2019 4:26 am

Larry78723 wrote:
Sun Sep 01, 2019 11:38 am
Please post an inxi -Fxz report. This will give us a concise overview of your hardware and on how Mint sees it.

Here is how to generate the report and post it:

Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Execute the command

Code: Select all

 inxi -Fxzd 
exactly as it has been typed here.

Mark the complete text output which the command will display with your mouse.
Press the keyboard shortcut <Shift><Ctrl>C to copy the marked text into the clipboard.
Enclose the results between the code markers by selecting </> from the mini toolbar above the textbox where you type your reply then paste <Ctrl>V them in your reply between the code markers.

The results will help us to help you.

Larry
Sorry for the late reply, here it is:

Code: Select all

System:
  Host: HP-Compaq-dc7700-Small-Form-Factor 
  Kernel: 4.10.0-38-generic x86_64 bits: 64 compiler: gcc v: 5.4.0 
  Desktop: Xfce 4.12.3 Distro: Linux Mint 19.2 Tina 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop System: Hewlett-Packard 
  product: HP Compaq dc7700 Small Form Factor v: N/A serial: <filter> 
  Mobo: Hewlett-Packard model: 0A54h serial: <filter> BIOS: Hewlett-Packard 
  v: 786E1 v01.10 date: 04/13/2007 
CPU:
  Topology: Dual Core model: Intel Pentium Dual E2160 bits: 64 type: MCP 
  arch: Core Merom rev: D L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 7181 
  Speed: 1200 MHz min/max: 1200/1800 MHz Core speeds (MHz): 1: 1200 2: 1200 
Graphics:
  Device-1: Intel 82Q963/Q965 Integrated Graphics vendor: Hewlett-Packard 
  driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1024x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel 965Q v: 2.1 Mesa 19.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel 82801H HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.10.0-38-generic 
Network:
  Device-1: Intel 82566DM Gigabit Network vendor: Hewlett-Packard 
  driver: e1000e v: 3.2.6-k port: 1000 bus ID: 00:19.0 
  IF: enp0s25 state: down mac: <filter> 
Drives:
  Local Storage: total: 149.06 GiB used: 77.77 GiB (52.2%) 
  ID-1: /dev/sda vendor: Seagate model: ST3808110AS size: 74.53 GiB 
  ID-2: /dev/sdb vendor: Western Digital model: WD800JD-60LSA0 
  size: 74.53 GiB 
  Optical-1: /dev/sr0 vendor: TSSTcorp model: CDW/DVD TS-H493B rev: CE00 
  dev-links: cdrom,cdrw,dvd 
  Features: speed: 48 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw 
  state: running 
Partition:
  ID-1: / size: 70.81 GiB used: 38.68 GiB (54.6%) fs: ext4 dev: /dev/dm-0 
  ID-2: /boot size: 471.6 MiB used: 430.0 MiB (91.2%) fs: ext2 
  dev: /dev/sda1 
  ID-3: swap-1 size: 1.97 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 169 Uptime: 22m Memory: 1.93 GiB used: 550.3 MiB (27.9%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 
Thank you!

User avatar
Larry78723
Level 7
Level 7
Posts: 1582
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Larry78723 » Thu Sep 05, 2019 7:25 am

From your inxi report:
Kernel: 4.10.0-38-generic x86_64 bits: 64 compiler: gcc v: 5.4.0
Have you run the updates since the upgrade? If so, you should have the 4.15 series kernels available and you should change to the latest 4.15 series kernel.
Image

User avatar
Yeyo117
Level 1
Level 1
Posts: 9
Joined: Sun Sep 01, 2019 9:40 am

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Yeyo117 » Thu Sep 05, 2019 4:44 pm

Larry78723 wrote:
Thu Sep 05, 2019 7:25 am
From your inxi report:
Kernel: 4.10.0-38-generic x86_64 bits: 64 compiler: gcc v: 5.4.0
Have you run the updates since the upgrade? If so, you should have the 4.15 series kernels available and you should change to the latest 4.15 series kernel.
I always update, but since i've installed Mint 19.2 everytime i try to upgrade this error is showing:

Code: Select all

HP-Compaq-dc7700-Small-Form-Factor ~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-4.15.0-60-generic (4.15.0-60.67) ...
I: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-58-generic
Processing triggers for initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-58-generic
W: initramfs-tools configuration sets RESUME=UUID=4f36e6cb-37a6-47b8-84d0-223ee7de3e2e
W: but no matching swap device is available.
Warning: No support for locale: en_US.utf8

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.15.0-58-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-4.15.0-60-generic (4.15.0-60.67) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 4.15.0-60-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-60-generic
W: initramfs-tools configuration sets RESUME=UUID=4f36e6cb-37a6-47b8-84d0-223ee7de3e2e
W: but no matching swap device is available.
Warning: No support for locale: en_US.utf8

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.15.0-60-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.15.0-60-generic (--configure):
 installed linux-image-4.15.0-60-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
 linux-image-4.15.0-60-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

User avatar
Spearmint2
Level 16
Level 16
Posts: 6878
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Spearmint2 » Thu Sep 05, 2019 6:31 pm

PS/2 usually has hard wired chip on motherboards, and since the mouse is also working, either there is something wrong with the keyboard, or the port it's plugged into.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Larry78723
Level 7
Level 7
Posts: 1582
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Larry78723 » Thu Sep 05, 2019 6:54 pm

From your inxi report:
Partition:
ID-1: / size: 70.81 GiB used: 38.68 GiB (54.6%) fs: ext4 dev: /dev/dm-0
ID-2: /boot size: 471.6 MiB used: 430.0 MiB (91.2%) fs: ext2
dev: /dev/sda1
ID-3: swap-1 size: 1.97 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2
It appears that your /boot partition is close to full. Please post the following reports. This will give us a concise overview of your drives and on how Mint sees them.

Here is how to generate the report and post it:

Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Execute each of the commands

Code: Select all

lsblk 

Code: Select all

df -m
exactly as they have been typed here.

Mark the complete text output which the command will display with your mouse.
Press the keyboard shortcut <Shift><Ctrl>C to copy the marked text into the clipboard.
Enclose the results between the code markers by selecting </> from the mini toolbar above the textbox where you type your reply then paste <Ctrl>V them in your reply between the code markers.

The results will help us to help you.

Larry
Image

User avatar
Yeyo117
Level 1
Level 1
Posts: 9
Joined: Sun Sep 01, 2019 9:40 am

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Yeyo117 » Fri Sep 06, 2019 2:09 pm

lexqbit wrote:
Thu Sep 05, 2019 4:47 pm
Try switching to 4.15 kernel or other, I had some issues with PS/2 mouse + keyboard on my game PC with 5.0.0.XX kernel, how I have usb so 5.0.0.XX works.

I hope this helps.
Regards, Lex
Thank you, as soon as i've resolved the update issue i will upgrade the kernel.

User avatar
Yeyo117
Level 1
Level 1
Posts: 9
Joined: Sun Sep 01, 2019 9:40 am

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Yeyo117 » Fri Sep 06, 2019 2:11 pm

Spearmint2 wrote:
Thu Sep 05, 2019 6:31 pm
PS/2 usually has hard wired chip on motherboards, and since the mouse is also working, either there is something wrong with the keyboard, or the port it's plugged into.
It worked perfectly with Mint 18.3, immediately after rebooting to Mint 19 it stopped. I don't think that the port is broken, because the keyboard works at boot.

User avatar
Spearmint2
Level 16
Level 16
Posts: 6878
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Spearmint2 » Fri Sep 06, 2019 2:35 pm

Yeyo117 wrote:
Fri Sep 06, 2019 2:11 pm
Spearmint2 wrote:
Thu Sep 05, 2019 6:31 pm
PS/2 usually has hard wired chip on motherboards, and since the mouse is also working, either there is something wrong with the keyboard, or the port it's plugged into.
It worked perfectly with Mint 18.3, immediately after rebooting to Mint 19 it stopped. I don't think that the port is broken, because the keyboard works at boot.
Then it must be something with the OS settings. I use an EagleTec Mechanical Keyboard, and in 17.3 I had to use a quirks mode in my grub.cfg file to have it work correctly in it. When I upgraded to 18.3 that carried over, so haven't checked to see if I still need it. I did check in 19.1 and it's no longer needed for my keyboard.

For instance, I used a command to find the manufacturer designator for the Holteck Semiconductor, which was 04d9:a0cd and then entered the quirks mode into grub.cfg which was usbhid.quirks=0x04D9:0xA0CD:0x20000408

I had to put that in each vmlinux boot line just before "quiet flash". Notice I also had to put 0x in front of each quartet of numbers in the manufacturer number.

Code: Select all

lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
Bus 001 Device 002: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04d9:a0cd Holtek Semiconductor, Inc. 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Information Links
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Yeyo117
Level 1
Level 1
Posts: 9
Joined: Sun Sep 01, 2019 9:40 am

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Yeyo117 » Fri Sep 06, 2019 2:45 pm

Larry78723 wrote:
Thu Sep 05, 2019 6:54 pm
From your inxi report:
Partition:
ID-1: / size: 70.81 GiB used: 38.68 GiB (54.6%) fs: ext4 dev: /dev/dm-0
ID-2: /boot size: 471.6 MiB used: 430.0 MiB (91.2%) fs: ext2
dev: /dev/sda1
ID-3: swap-1 size: 1.97 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2
It appears that your /boot partition is close to full. Please post the following reports. This will give us a concise overview of your drives and on how Mint sees them.

Here is how to generate the report and post it:

Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Execute each of the commands

Code: Select all

lsblk 

Code: Select all

df -m
exactly as they have been typed here.

Mark the complete text output which the command will display with your mouse.
Press the keyboard shortcut <Shift><Ctrl>C to copy the marked text into the clipboard.
Enclose the results between the code markers by selecting </> from the mini toolbar above the textbox where you type your reply then paste <Ctrl>V them in your reply between the code markers.

The results will help us to help you.

Larry
Here it is:

Code: Select all

HP-Compaq-dc7700-Small-Form-Factor ~ $ lsblk
NAME                MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                   8:0    0  74,5G  0 disk  
├─sda1                8:1    0   487M  0 part  /boot
├─sda2                8:2    0     1K  0 part  
└─sda5                8:5    0  74,1G  0 part  
  ├─mint--vg-root   253:0    0  72,1G  0 lvm   /
  └─mint--vg-swap_1 253:1    0     2G  0 lvm   
    └─cryptswap1    253:2    0     2G  0 crypt [SWAP]
sdb                   8:16   0  74,5G  0 disk  
└─sdb1                8:17   0  74,5G  0 part  
sr0                  11:0    1  1024M  0 rom   
zram0               252:0    0 493,5M  0 disk  [SWAP]
zram1               252:1    0 493,5M  0 disk  [SWAP]

Code: Select all

HP-Compaq-dc7700-Small-Form-Factor ~ $ df -m
Filesystem                1M-blocks  Used Available Use% Mounted on
udev                            961     0       961   0% /dev
tmpfs                           198     2       197   1% /run
/dev/mapper/mint--vg-root     72506 39780     29021  58% /
tmpfs                           988     4       984   1% /dev/shm
tmpfs                             5     1         5   1% /run/lock
tmpfs                           988     0       988   0% /sys/fs/cgroup
/dev/sda1                       472   431        18  97% /boot
cgmfs                             1     0         1   0% /run/cgmanager/fs
tmpfs                           198     1       198   1% /run/user/1000
/home/HP/.Private        72506 39780     29021  58% /home/HP
Thank you :D

User avatar
Yeyo117
Level 1
Level 1
Posts: 9
Joined: Sun Sep 01, 2019 9:40 am

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Yeyo117 » Fri Sep 06, 2019 2:54 pm

Spearmint2 wrote:
Fri Sep 06, 2019 2:35 pm
Yeyo117 wrote:
Fri Sep 06, 2019 2:11 pm
Spearmint2 wrote:
Thu Sep 05, 2019 6:31 pm
PS/2 usually has hard wired chip on motherboards, and since the mouse is also working, either there is something wrong with the keyboard, or the port it's plugged into.
It worked perfectly with Mint 18.3, immediately after rebooting to Mint 19 it stopped. I don't think that the port is broken, because the keyboard works at boot.
Then it must be something with the OS settings. I use an EagleTec Mechanical Keyboard, and in 17.3 I had to use a quirks mode in my grub.cfg file to have it work correctly in it. When I upgraded to 18.3 that carried over, so haven't checked to see if I still need it. I did check in 19.1 and it's no longer needed for my keyboard.

For instance, I used a command to find the manufacturer designator for the Holteck Semiconductor, which was 04d9:a0cd and then entered the quirks mode into grub.cfg which was usbhid.quirks=0x04D9:0xA0CD:0x20000408

I had to put that in each vmlinux boot line just before "quiet flash". Notice I also had to put 0x in front of each quartet of numbers in the manufacturer number.

Code: Select all

lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
Bus 001 Device 002: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04d9:a0cd Holtek Semiconductor, Inc. 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Information Links
Thank you for the suggestion, but i can't use lsusb for displaying PS/2 devices. There is a similar command?

User avatar
Spearmint2
Level 16
Level 16
Posts: 6878
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Spearmint2 » Fri Sep 06, 2019 5:49 pm

Don't know of one. As mentioned before,PS/2 is mostly on motherboard chip, it's own sort of beast, and it either works or doesn't. It's not hot pluggable, and I don't even remember seeing it in the "dev" nor "blk" type devices.
Are you precluded from using a USB keyboard? With PS/2 there's basically 3 problems. Either in chip on motherboard, or with the device plugged to it, or the port being bad. It's one reason many USB keyboards fail to work when used with a USB to PS/2 adapter, because the USB keyboard may not also have the capability to work on PS/2 at all, some do include that ability, fewer in newest ones today.

What happens if you switch PS/2 ports used between the mouse and the keyboard?

I see windows uses the i8042prt.sys driver.
The i8042 was the chip on the old IBM pc that took care of the keyboard interface for PS/2. Today they'd consider it "Internet of Things" meaning it was hard coded to interact with PS/2 devices.

This is the closest thing I can find similar to you problem.
http://www.shibuvarkala.com/2011/01/sol ... em-in.html

https://wiki.osdev.org/%228042%22_PS/2_Controller

Maybe time to get a Logitech combo Keyboard with Mouse using a unifying receiver, which with the Solaar program in Linux works great through the USB port.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Spearmint2
Level 16
Level 16
Posts: 6878
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Spearmint2 » Fri Sep 06, 2019 7:01 pm

It also seems you have a swap file but it's UUID has been changed and your grub.cfg has "RESUME" set to the former UUID. Two drives of 75 GB each?

https://www.cnet.com/products/hp-compaq ... -business/

Maybe found the answer for you.

https://unix.stackexchange.com/question ... -of-ubuntu
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Larry78723
Level 7
Level 7
Posts: 1582
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Larry78723 » Sat Sep 07, 2019 8:16 am

Yeyo117 wrote:
Thu Sep 05, 2019 4:44 pm
Larry78723 wrote:
Thu Sep 05, 2019 7:25 am
From your inxi report:
Kernel: 4.10.0-38-generic x86_64 bits: 64 compiler: gcc v: 5.4.0
Have you run the updates since the upgrade? If so, you should have the 4.15 series kernels available and you should change to the latest 4.15 series kernel.
I always update, but since i've installed Mint 19.2 everytime i try to upgrade this error is showing:

Code: Select all

HP-Compaq-dc7700-Small-Form-Factor ~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-4.15.0-60-generic (4.15.0-60.67) ...
I: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-58-generic
Processing triggers for initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-58-generic
W: initramfs-tools configuration sets RESUME=UUID=4f36e6cb-37a6-47b8-84d0-223ee7de3e2e
W: but no matching swap device is available.
Warning: No support for locale: en_US.utf8

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.15.0-58-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-4.15.0-60-generic (4.15.0-60.67) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 4.15.0-60-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-60-generic
W: initramfs-tools configuration sets RESUME=UUID=4f36e6cb-37a6-47b8-84d0-223ee7de3e2e
W: but no matching swap device is available.
Warning: No support for locale: en_US.utf8

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.15.0-60-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.15.0-60-generic (--configure):
 installed linux-image-4.15.0-60-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
 linux-image-4.15.0-60-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Folks, I think once we help him clean out his /boot so he can update, a kernel update may fix his keyboard problem.
Image

User avatar
Yeyo117
Level 1
Level 1
Posts: 9
Joined: Sun Sep 01, 2019 9:40 am

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Yeyo117 » Tue Sep 10, 2019 10:11 am

Spearmint2 wrote:
Fri Sep 06, 2019 5:49 pm
Don't know of one. As mentioned before,PS/2 is mostly on motherboard chip, it's own sort of beast, and it either works or doesn't. It's not hot pluggable, and I don't even remember seeing it in the "dev" nor "blk" type devices.
Are you precluded from using a USB keyboard? With PS/2 there's basically 3 problems. Either in chip on motherboard, or with the device plugged to it, or the port being bad. It's one reason many USB keyboards fail to work when used with a USB to PS/2 adapter, because the USB keyboard may not also have the capability to work on PS/2 at all, some do include that ability, fewer in newest ones today.

What happens if you switch PS/2 ports used between the mouse and the keyboard?

I see windows uses the i8042prt.sys driver.
The i8042 was the chip on the old IBM pc that took care of the keyboard interface for PS/2. Today they'd consider it "Internet of Things" meaning it was hard coded to interact with PS/2 devices.

This is the closest thing I can find similar to you problem.
http://www.shibuvarkala.com/2011/01/sol ... em-in.html

https://wiki.osdev.org/%228042%22_PS/2_Controller

Maybe time to get a Logitech combo Keyboard with Mouse using a unifying receiver, which with the Solaar program in Linux works great through the USB port.

Thank you for your suggestions i will try to switch ports and to visit the links that you provided. Since this is a spare computer i don't want to buy something that i will use rarely, and also the ps2 keyboard that i was using is very good so if it was possible to solve this problem it would be great.
Spearmint2 wrote:
Fri Sep 06, 2019 7:01 pm
It also seems you have a swap file but it's UUID has been changed and your grub.cfg has "RESUME" set to the former UUID. Two drives of 75 GB each?

https://www.cnet.com/products/hp-compaq ... -business/

Maybe found the answer for you.

https://unix.stackexchange.com/question ... -of-ubuntu
I will try also this, thank you. My PC was an office PC, i don't know why it was configured like this, yes it has two 80gb HDDs, and it came out with Windows 7 Enterprise.

User avatar
Yeyo117
Level 1
Level 1
Posts: 9
Joined: Sun Sep 01, 2019 9:40 am

Re: PS/2 Keyboard not working after upgrading from Linux Mint 18.3 to linux 19.x

Post by Yeyo117 » Tue Sep 10, 2019 10:12 am

Larry78723 wrote:
Sat Sep 07, 2019 8:16 am
Yeyo117 wrote:
Thu Sep 05, 2019 4:44 pm
Larry78723 wrote:
Thu Sep 05, 2019 7:25 am
From your inxi report:

Have you run the updates since the upgrade? If so, you should have the 4.15 series kernels available and you should change to the latest 4.15 series kernel.
I always update, but since i've installed Mint 19.2 everytime i try to upgrade this error is showing:

Code: Select all

HP-Compaq-dc7700-Small-Form-Factor ~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-4.15.0-60-generic (4.15.0-60.67) ...
I: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-58-generic
Processing triggers for initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-58-generic
W: initramfs-tools configuration sets RESUME=UUID=4f36e6cb-37a6-47b8-84d0-223ee7de3e2e
W: but no matching swap device is available.
Warning: No support for locale: en_US.utf8

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.15.0-58-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-4.15.0-60-generic (4.15.0-60.67) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 4.15.0-60-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-60-generic
W: initramfs-tools configuration sets RESUME=UUID=4f36e6cb-37a6-47b8-84d0-223ee7de3e2e
W: but no matching swap device is available.
Warning: No support for locale: en_US.utf8

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.15.0-60-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.15.0-60-generic (--configure):
 installed linux-image-4.15.0-60-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
 linux-image-4.15.0-60-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Folks, I think once we help him clean out his /boot so he can update, a kernel update may fix his keyboard problem.

Thank you, I will try to clean /boot. There is a safe method to do it?

Post Reply

Return to “Hardware Support”