kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* a few questions regarding acpi and kernel configuration
@ 2011-10-18 22:13 Littlefield, Tyler
  2011-10-19  5:16 ` Srivatsa Bhat
  2011-11-22 13:02 ` Pritam Bankar
  0 siblings, 2 replies; 3+ messages in thread
From: Littlefield, Tyler @ 2011-10-18 22:13 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* a few questions regarding acpi and kernel configuration
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Srivatsa Bhat @ 2011-10-19  5:16 UTC (permalink / raw)
  To: kernelnewbies

Hi,

On Wed, Oct 19, 2011 at 3:43 AM, Littlefield, Tyler <tyler@tysdomain.com>wrote:

> 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.
>

If you are referring to Suspend-to-RAM here, you can install the 'pm-utils'
package and then run the 'pm-suspend' script from the cli to suspend
the machine.


> 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?
>
>
Most distros can be configured to do all that. You need not have to code
anything new. You'll just have to set up the power management policies
appropriately to tell what should happen when your laptop lid is closed
etc.

Regards,
Srivatsa S. Bhat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111019/c93ee51b/attachment.html 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* a few questions regarding acpi and kernel configuration
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Pritam Bankar @ 2011-11-22 13:02 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-22 13:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).