LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-29-2007, 07:53 AM   #1
tovis
Member
 
Registered: Jan 2007
Location: Budapest
Distribution: Debian
Posts: 74

Rep: Reputation: 15
kernel config, disable building/using mouse


In my previous post I talk about CONFIG_SERIO_I8042 but I was wrong! Problem is that I can not disable mouse, which is consuming additional irq. I definitely would not use mouse, PS2 AT keyboard is enough, but I can not disable making of these drivers!
linux-2.6.19.2 on x86_32 arhcitecture, "make menuconfig" - how to disable mouse device to be built?
 
Old 01-29-2007, 11:14 AM   #2
tovis
Member
 
Registered: Jan 2007
Location: Budapest
Distribution: Debian
Posts: 74

Original Poster
Rep: Reputation: 15
OK! - I will response for myself.;o(
Precompiled kernel 2.6.8-2-386 #1 coming with netsinst Debian 3.1 r4 have modules loaded mousedev, evdev and psmouse. According to this there are two interrupts aimed by i8042 1 and 12 (on my box).
When I'm removing psmouse - the secondary (12) irq is became free!
After I'm removed mousedev - the keyboard is working well.
After I'm removed evdev - the keyboard still working well.
Seem to me these modules I does not need at all!
But how to switch them off in kernel configuration?
 
Old 01-29-2007, 12:09 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Try removing or commenting out appropriate lines in /etc/modules.autoload.d/kernel-<version>.
 
Old 01-29-2007, 12:36 PM   #4
tovis
Member
 
Registered: Jan 2007
Location: Budapest
Distribution: Debian
Posts: 74

Original Poster
Rep: Reputation: 15
Good idea!
One problem, I'd like to use kernel 2.6.19.2 (the newest one) than 2.6.8 which comes with Debian 3.1 r4 installer.
I'm trying about 10 times different configuration settings.
First what I realized I should check "Configure standard fetures (for small system)" in general setup. In this case menuconf allow me configure some more fields around Input drivers.
Now I does not check any kind of mouses but AT keyboard, libps2 and i8042 driver, but it does not help - i8042 driver aims two interrupts, event if psmouse and atkbd mosules are does not present!
I will try build a PS2 mouse module and load/unload to check what with second interrupt would happen!
One thing that I'm affraid that I machinate long part, and the problem reside in different place;o(
 
Old 01-29-2007, 05:58 PM   #5
tovis
Member
 
Registered: Jan 2007
Location: Budapest
Distribution: Debian
Posts: 74

Original Poster
Rep: Reputation: 15
At last I've get it! - with help of the author of input modules - thanks.
Need to path kernel parameter called i8042.noaux - which disable to use AUX port for mices - in result it does not use irq 12.
Funny, I struggling the WEB for hours, when the answer was on my hard disk - in the kernel Documentation;D
 
  


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
Building my own .deb package (help on postinst config) Hungry ghost Debian 3 01-28-2007 10:49 AM
Need to Disable Mouse in RH 7.2 DoomWolf Red Hat 4 01-21-2005 04:11 AM
Disable Mouse Acceleration atheist Linux - Software 1 07-04-2004 12:04 AM
Disable GUI Login and Config StartX firefly2442 Linux - Newbie 6 07-21-2003 11:02 PM
Load present kernel-config when building a new? grebbs Linux - General 5 01-26-2002 03:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:56 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