a few questions regarding acpi and kernel configuration

Pritam Bankar pritambankar1988 at gmail.com
Tue Nov 22 08:02:35 EST 2011


Hi, 
To cut down drivers you should configure your .config file in your source.
You will have to recompile kernel.
For pata you have ,

CONFIG_PATA_AMD=y
CONFIG_PATA_OLDPIIX=y
CONFIG_PATA_SCH=y

This can be set to "n" instead of "y" to remover support of pata. This can
be done to other modules also.





-----Original Message-----
From: kernelnewbies-bounces at kernelnewbies.org
[mailto:kernelnewbies-bounces at kernelnewbies.org] On Behalf Of Littlefield,
Tyler
Sent: 19 October 2011 03:43
To: kernelnewbies at kernelnewbies.org
Subject: a few questions regarding acpi and kernel configuration

Hello all:
I have a few questions, I was hoping someone could help me out here.
First, I'll start off by saying that my netbook is a sort of PDA for me. 
I just boot it up and when I'm taking care of stuff for work running around
getting info and that, I can use it to grab the info. I use Linux for this,
but my battery dies kind of quickly. I'm also looking to optomize
performance as much as possible.
So, I sat down and tried to optomize a kernel. Both to save space (since
this is a smaller drive), and to make things a bit quicker, even by a little
bit.
I put the config here:
http://tds-solutions.net/config.tar.bz2
First, I'm curious what else I can yank out of there to make everything
smaller. I'd like to cut down on the drivers and all that, and just include
the driver for my specific harddrive if that's possible, as well as the
wireless card. Can I turn off scsi/pata/ata since I have a sata drive? Is
there other stuff I missed that I could take out?
Finally, my last two questions.
1) Is there a way to access acpi so I can put the computer into standby
quickly? I'm not sure how to pull that off from the cli, but doing it with
code would work.
2) Is there a way for me to detect when the lid of my laptop has been closed
and put it into standby, and/or set an idle timer to put it into standby? If
there are clients out there that can interface with acpi and help with this,
awesome. If not, and I need to code something up, that works too.
Finally, I'm trying to find a way, since I do not use it to turn off the
display. Is this possible?

-- 

Take care,
Ty
Web: http://tds-solutions.net
The Aspen project: a light-weight barebones mud engine
http://code.google.com/p/aspenmud

Sent from my toaster.


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




More information about the Kernelnewbies mailing list