From: pritambankar1988@gmail.com (Pritam Bankar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: a few questions regarding acpi and kernel configuration
Date: Tue, 22 Nov 2011 18:32:35 +0530 [thread overview]
Message-ID: <003001cca917$03882de0$0a9889a0$@gmail.com> (raw)
In-Reply-To: <4E9DF9F6.5050907@tysdomain.com>
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@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
prev parent reply other threads:[~2011-11-22 13:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 22:13 a few questions regarding acpi and kernel configuration Littlefield, Tyler
2011-10-19 5:16 ` Srivatsa Bhat
2011-11-22 13:02 ` Pritam Bankar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003001cca917$03882de0$0a9889a0$@gmail.com' \
--to=pritambankar1988@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).