Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PS2 Keyboard not working after kernel update [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Thu Feb 20, 2014 1:06 pm    Post subject: PS2 Keyboard not working after kernel update [solved] Reply with quote

I've upgraded a server (no X) from gentoo-sources-3.6.11 to gentoo-sources-3.10.25 and now the PS/2 keyboard is not working. The keyboard works both in BIOS and Grub, but as soon as the kernel boots it stops working.

The kernel seems totally unaware of the keyboard

Code:
#  dmesg | egrep -i "keybo|kbd"
serio: i8042 KBD port at 0x60,0x64 irq 1


When I boot with the old (working) kernel I get
Code:
# dmesg | egrep -i "keybo|kbd"
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2


These are my current kernel options:

Code:
Device Drivers  --->
   Input device support  --->
      *- Generic input layer (needed for keyboard, mouse, ...)
      [*]   Keyboards  --->
      <*>   AT keyboard
      Hardware I/O ports  --->
      -*- Serial I/O support
      -*-   i8042 PC Keyboard controller


Did I forget any input option? PS/2 mouse and USB mouse/keyboard are working fine.


Last edited by Stolz on Mon Feb 24, 2014 11:12 am; edited 1 time in total
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 527
Location: Connecticut, USA

PostPosted: Sun Feb 23, 2014 12:30 am    Post subject: Reply with quote

I believe something related to the PS2 input has moved to something you now need to explicitly enable. I don't remember the details (it doesn't affect my system) but I saw it mentioned on the Arch Linux announce list - see their site. Maybe it will help you figure out if there is some other kernel option you also need to set.
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun Feb 23, 2014 1:15 am    Post subject: Reply with quote

Do you still have both configs around? If so, you can take a difference between them like `diff -u file1 file2` and see whether there is a relevant option that has changed state.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 527
Location: Connecticut, USA

PostPosted: Sun Feb 23, 2014 1:21 am    Post subject: Reply with quote

And even if you don't have the .config file, as long as you can still boot to that kernel, you can (assuming you set the appropriate kernel parameters in the first place) get it from /proc/config.gz.
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Mon Feb 24, 2014 11:12 am    Post subject: Reply with quote

Thanks all for the answers. I fixed it. genterminl comments helped although was not the problem listed in the Arch Linux site it made me try a different approach.

Changing CONFIG_HID_GENERIC from [m] to [y] fixed the problem. I thought PS/2 devices don't use HID at all but seems I was wrong. For those finding this post in the future, the exact kernel option is located at
Code:
Device Drivers
     -> HID support
         -> HID bus support
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 527
Location: Connecticut, USA

PostPosted: Mon Feb 24, 2014 2:19 pm    Post subject: Reply with quote

It's great you got it fixed - but I had thought changing something from module to built in should only be necessary for things needed before the kernel can manage to load the module, such as the code for the file system of the root partition. I wonder if there is some configuration item missing which would have loaded the module earlier. (Unfortunately, you obviously couldn't just type "modprobe whatever" if the keyboard isn't working yet...)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum