LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-22-2010, 07:32 PM   #1
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Rep: Reputation: 18
keyboard not working unless charger plugged in


hi people,

yeah... a strange one (for me at least)...

slackware 13.0, dell vostro 1320. when i start up the laptop without the ac charger plugged in the keyboard doesn't work. this is the case when booting into runlevel 3 and 4.

then after restarting 3 or 4 times and getting sick of it, i plug the charger in, restart, get to the login screen and confirm that the keyboard works, unplug the charger and it's all good.

i ssh into the laptop when the keyboard is not working and restart hald but it doesn't help...

btw, tried ubuntu and the problem wasn't there.

any idea what i can do?
 
Old 05-22-2010, 11:27 PM   #2
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
i compared dmesg with charger and with no charger... the case with no charger is missing two lines (it's missing others but these are keyboard related)

Code:
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
 
Old 05-23-2010, 01:06 AM   #3
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
and the solution comes from alphageek on irc (#slackware channel)

adding 'i8042.reset' to the kernel command line fixes the issue. more information here https://patchwork.kernel.org/patch/62455/

to alphageek: thank you, thank you, thank you!
 
Old 05-24-2010, 04:19 AM   #4
vehn
Member
 
Registered: Dec 2007
Posts: 54

Rep: Reputation: 17
How long you test your laptop? I had the similar problem and adding this option (and other alike) has not helped me for a long time. Anyway, another solution:

You need compile CONFIG_SERIO_I8042=m as a module. To do this reconfigure your kernel source like below and recompile them.

Enable option:
Code:
General setup  --->[*] Configure standard kernel features (for small systems)
and compile CONFIG_SERIO_I8042 as module:
Code:
Device Drivers  --->
 Input device support  --->[*]   Keyboards (NEW)  --->
         <M>   AT keyboard

         Hardware I/O ports  --->
          {M}   i8042 PC Keyboard controller
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Keyboard only works when hot-plugged mort53 Linux - Hardware 10 06-17-2007 02:51 PM
x starting only when monitor plugged on X.org 1.3.0.0. Was working with X6.9.0 deimya Slackware 14 06-13-2007 04:16 PM
x starting only when monitor plugged on X.org 1.3.0.0. Was working with X6.9.0 deimya Slackware 1 05-29-2007 10:25 PM
How to detect programatically if a USB device is is plugged-in / plugged out? franc Linux - Software 3 02-01-2007 04:01 AM
How to avoid to have a keyboard plugged in for a server? xpucto Linux - General 1 01-13-2006 02:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration