View previous topic :: View next topic |
Author |
Message |
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Mon Apr 04, 2005 12:47 pm Post subject: laptop sources |
|
|
Hello, I have been using desktop computers with the "love" sources for awhile now.
I went with "love" because it seemed that it was targeting the desktop user.
Is there a kernel source that is targeted to laptops?
It seems that suspend and power management seem to be big ticket items on laptops.
thank you for your time and have a good day
Mike Daugird _________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
Ravilj Apprentice
Joined: 29 Jul 2004 Posts: 164 Location: ziig / #
|
Posted: Mon Apr 04, 2005 12:52 pm Post subject: |
|
|
The kernel comes with ACPI support as standard. So any kernel you use will have support for it. Though the software suspend that the kernel supports isnt that great there is a patch for suspend2 I think it is called which is better to use. The only problem is that the patch only works on some of the kernels. I was unable to get it working on the old gentoo-dev-sources which are now the development sources if I am not mistaken (the vanilla sources with all the patches applied). So yeah have a look here: http://www.gentoo.org/doc/en/power-management-guide.xml |
|
Back to top |
|
|
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Mon Apr 04, 2005 12:57 pm Post subject: |
|
|
I was under the impression some of the unsupported kernels had already patched for swsusp2
I guess that was why I was asking as I don't know which sources have the patch and which don't _________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
M@rijn Tux's lil' helper
Joined: 28 Jan 2004 Posts: 145 Location: Zierikzee (The Netherlands)
|
Posted: Mon Apr 04, 2005 1:24 pm Post subject: |
|
|
badgers wrote: | I was under the impression some of the unsupported kernels had already patched for swsusp2
I guess that was why I was asking as I don't know which sources have the patch and which don't |
Nitro-sources has swsusp2 but they don't have IPW2200 support because a conflict with swsusp2 _________________ Gentoo is just an Aston Martin, "Power, beauty and soul" |
|
Back to top |
|
|
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Mon Apr 04, 2005 1:51 pm Post subject: |
|
|
are you telling me that the R51 laptop I am looking at is going to be a problem due to the wifi driver?
that kind of sucks... _________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
M@rijn Tux's lil' helper
Joined: 28 Jan 2004 Posts: 145 Location: Zierikzee (The Netherlands)
|
Posted: Mon Apr 04, 2005 8:45 pm Post subject: |
|
|
With nitrosources yes, to be honest with every kernel that supports swsusp2 wil IPW2200 (centrino) doesn't work :S _________________ Gentoo is just an Aston Martin, "Power, beauty and soul" |
|
Back to top |
|
|
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Mon Apr 04, 2005 8:50 pm Post subject: |
|
|
i am not sure I follow the grammer of your post.
Are you saying that the 2200 version is working?
I noticed that the 2100 is listed as not working? _________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
stgreek Apprentice
Joined: 18 Jan 2004 Posts: 155 Location: Guildford, UK
|
Posted: Mon Apr 04, 2005 9:20 pm Post subject: |
|
|
Laptops aren't only swsusp2. Your Thinkpad will work with everything (including swsusp2 and Intel wifi), just use APM instead of ACPI (IBM supports both). If you use ACPI, make sure you check the IBM_ACPI tools in the kernel. There is no standard "laptop-mode" because it is not really needed, since cpufreq and the kernel can take care of the proc, ACPI/APM of the other devices and hdparm of the hard-disk spinning. _________________ The day Microsoft makes something that doesn't suck is probably the day that they start making vacuum cleaners |
|
Back to top |
|
|
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Mon Apr 04, 2005 9:23 pm Post subject: |
|
|
is it best to make modules out of most of the kernel?
I have alway compiled in everything, sound, network, firewire, ect.
but that was on a desktop machine. Do laptops do better with more modules?
I never really had a good reason for building a monolithic kernel other then it worked so far....
thank you for your help and have a good day
mike _________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
ephilli2 n00b
Joined: 18 Sep 2004 Posts: 27
|
Posted: Tue Apr 05, 2005 6:20 pm Post subject: |
|
|
It looks like the latest love sources 2.6.12 has ipw2200 included. I think problems with ipw2200 and swsup2 are fixed by building in swsup2 instead of as a module. I haven't had a chance to use either of these features though.
EDIT: It looks like swsup2 isn't in 2.6.12 even though it was in previous. _________________ Dell 600m Pentium M 1.5 Ghz, 512MB, 40GB, ATI M9
Stage 1 on 3, NPTL, GCC 3.4.3, 2.6.11-love1, Reiser 4
www.robotskirts.com |
|
Back to top |
|
|
strerror Retired Dev
Joined: 16 Jan 2004 Posts: 24
|
|
Back to top |
|
|
ttuttle Tux's lil' helper
Joined: 03 Oct 2004 Posts: 131
|
Posted: Thu Jun 02, 2005 1:38 am Post subject: |
|
|
A couple things:
re modules: I always build everything possible as modules, because anything you build as a module could save you a potential reboot. If you use Software Suspend, it's nice to be able to unload drivers that don't work right with it.
re ipw2200: You don't need ipw2200 built in to the kernel; it's in Portage and the ebuild works fine building it outside the kernel tree. (Did you know it has rfmon and you can use Kismet now? It's awesome!) |
|
Back to top |
|
|
lavacano Apprentice
Joined: 29 May 2005 Posts: 190 Location: Poulsbo, WA
|
Posted: Thu Jun 02, 2005 8:18 am Post subject: |
|
|
if your laptop is a desktop replacement i'd use love cause of the rtp patches. Otherwise Nitro is also a swsup2 kernel on the bleeding edge. and JFS of coarse _________________ Sincerely,
Chadwick Ferguson |
|
Back to top |
|
|
baeksu l33t
Joined: 26 Sep 2004 Posts: 609 Location: Seoul, Korea
|
Posted: Thu Jun 02, 2005 10:00 am Post subject: |
|
|
Let's not forget about morph-sources, people. It has swsusp2 and optional acpi-patches, plus a choice between the staircase and nicksched schedulers.
Plus, they're still patching a 2.6.11-kernel, instead of the 2.6.12-rc* ones in nitro and love sources. I'm mentioning this because nvidia-kernels newer than 6111 are needed for 2.6.12-kernels, and those happen to break with many GeForce cards (which are common in laptops).
Would be nice if someone threw together laptop-specific kernel patches, though. Not sure what would be good in it, but at least swsusp2, wifi-support and some scheduler to reduce swapping and io-bottlenecks, laptop harddisks being so slow.
badgers wrote: | is it best to make modules out of most of the kernel?
I have alway compiled in everything, sound, network, firewire, ect. |
Loading modules is a little slow, at least when booting. Though with swsusp2 you're not going to be booting that often. But it's nice to be able to unload problematic drivers (like some usb modules) before suspension
On the other hand hardware in laptop is not very likely to change, so you won't need to compile in support for that much stuff.
I myself have almost everything compiled in, except for stuff I rarely use (like printers, ntfs, etc). Often I end up compiling new hardware support as a module cause then I can just modprobe the new module without having to reboot to use a new kernel. But everyone has their own preferences, and I don't think anyone can really say which (compiling in vs. modules) is superior. _________________ Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do. |
|
Back to top |
|
|
Archangel1 Veteran
Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Thu Jun 02, 2005 10:33 pm Post subject: |
|
|
baeksu wrote: | But everyone has their own preferences, and I don't think anyone can really say which (compiling in vs. modules) is superior. |
You're right, that's one of those meaning of life type questions...
Some things are best to keep as modules; USB (or at least most of it) for example if you're using swsusp2, because horrible breakage occurs if it can't unload them. There are a few other bits and pieces too - the list is in /etc/hibernate/blacklisted-modules.
I tend to build quite a few other things as modules, for no particular reason. _________________ What are you, stupid? |
|
Back to top |
|
|
yamakawa Guru
Joined: 28 Jul 2003 Posts: 340
|
Posted: Fri Jun 03, 2005 5:27 am Post subject: |
|
|
skunk is another good choice! |
|
Back to top |
|
|
|