LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-17-2008, 12:25 AM   #1
mnem0nic
LQ Newbie
 
Registered: Feb 2008
Location: Colorado, where the air is thin and so is the logic
Distribution: Slackware, if I can figure it out
Posts: 7

Rep: Reputation: 0
Slackware 12.0 repeating keystrokes problem


I have an Asus G2 series laptop with core 2 Duo processor and have been using Linux for 2 days now. I have a very annoying problem that seems to come and go at random. I get pauses from the keyboard where it will stop typing, then I get multiple repeated keystrokes at other times. To show what I mean, I will leave the following sentence unedited:

"The quick brown fox jumps oveeeeer the lazy sleeping dogggg"

I have to continuously edit for readability. Sometimes it is so bad that I just walk away for a minute to wait for it co calm back down. I found two threads that sound like others have been having similar problems here:

https://bugs.launchpad.net/ubuntu/+s...nux/+bug/99356

and here:

http://ubuntuforums.org/showthread.p...=acpi+thinkpad

and it seems that there might be a solution I could try if I understood what it meant. I want to try this:
"From the above link: add "ec_intr=0" to your boot line to fix this."

First, I don't know what this option does, so doing it, although it might work, isn't teaching me anything. Second, I don't know what my "boot line" is or where to find it.

Heeeelpppp!
 
Old 02-17-2008, 06:10 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If you're using the lilo bootloader (the default), then you should edit your '/etc/lilo.conf' and add an 'append=' line, something like:
Code:
append="ec_intr=0"
Then you must run '/sbin/lilo' to update the config. See 'man lilo.conf' for more info.

I don't know what "ec_intr=0" is for, but the answer may be somewhere in the kernel documentation.
 
Old 02-17-2008, 02:22 PM   #3
mnem0nic
LQ Newbie
 
Registered: Feb 2008
Location: Colorado, where the air is thin and so is the logic
Distribution: Slackware, if I can figure it out
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you for the reply.

Ok, my lilo.conf has a section like this:

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Slackware
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends

So can I add the switch somewhere in this section, or can it go anywhere in the file? I modified the file to read like this:

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Slackware
read-only # Partitions should be mounted read-only for checking
append="ec_intr=0" # ACPI Workaround - to potentially fix keyboard reeppppppppeats
# Linux bootable partition config ends

I don't want to try this until sommeone tells me it is ok. I am afaid of messing up lilo and losing access to the ability to fix it. Thanks.

++++++++++++

As for the ec_intr option, I found from here:

http://lkml.org/lkml/2006/2/14/446

this about it:

+ ec_intr= [HW,ACPI] ACPI Embedded Controller interrupt mode
+ Format: <int>
+ 0: polling mode
+ non-0: interrupt mode (default)

Apparently there are some recent issues with some ACPI (power management) options, and putting the switch to '0' turns off interrupt mode, and really just hides some bugs in the interrupt mode for some hardware (or hides bugs in the hardware, if you prefer). It appears that this is not viewed as a long term solution, but can suffice for now. (Just in case anyone wanted to know)
 
Old 02-17-2008, 02:43 PM   #4
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
You can try it once, without modifying your /etc/lilo.conf
Just boot your machine, and when the LILO menu comes up, type in the prompt
Linux ec_intr=0
and hit Enter.

Your modifications to /etc/lilo.conf sees correct if you want to go ahead with it.
 
Old 02-17-2008, 03:00 PM   #5
mnem0nic
LQ Newbie
 
Registered: Feb 2008
Location: Colorado, where the air is thin and so is the logic
Distribution: Slackware, if I can figure it out
Posts: 7

Original Poster
Rep: Reputation: 0
Oh! That's nice to know.

Since when I configured lilo I changed my label from "Linux" to "Slackware", I assume that for my machine I would type:
Slackware ec_intr=0
instead?
 
Old 02-18-2008, 10:43 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Yes, the label is what goes there, in your case you're good to try it. Don't be scared, nothing bad is gonna happen

... and even if it does, you can fix it pretty easy.
 
  


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
Problem with quotation keystrokes Gordog MEPIS 6 05-29-2008 01:04 PM
repeating command monu Linux - General 3 10-20-2007 06:18 PM
Repeating keypress problem with Mandrive LE2005 on Toshiba Portege M300 mchung Mandriva 0 07-05-2005 07:26 AM
critical problem keeps repeating axion0917 Slackware 11 02-08-2004 06:46 AM
Weird key repeating problem zovres Linux - Newbie 5 10-14-2002 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:19 PM.

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