Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
laptop sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
badgers
l33t
l33t


Joined: 04 Sep 2003
Posts: 680
Location: Madison, WI

PostPosted: Mon Apr 04, 2005 12:47 pm    Post subject: laptop sources Reply with quote

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
View user's profile Send private message
Ravilj
Apprentice
Apprentice


Joined: 29 Jul 2004
Posts: 164
Location: ziig / #

PostPosted: Mon Apr 04, 2005 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
badgers
l33t
l33t


Joined: 04 Sep 2003
Posts: 680
Location: Madison, WI

PostPosted: Mon Apr 04, 2005 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
M@rijn
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2004
Posts: 145
Location: Zierikzee (The Netherlands)

PostPosted: Mon Apr 04, 2005 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
badgers
l33t
l33t


Joined: 04 Sep 2003
Posts: 680
Location: Madison, WI

PostPosted: Mon Apr 04, 2005 1:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
M@rijn
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2004
Posts: 145
Location: Zierikzee (The Netherlands)

PostPosted: Mon Apr 04, 2005 8:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
badgers
l33t
l33t


Joined: 04 Sep 2003
Posts: 680
Location: Madison, WI

PostPosted: Mon Apr 04, 2005 8:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
stgreek
Apprentice
Apprentice


Joined: 18 Jan 2004
Posts: 155
Location: Guildford, UK

PostPosted: Mon Apr 04, 2005 9:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
badgers
l33t
l33t


Joined: 04 Sep 2003
Posts: 680
Location: Madison, WI

PostPosted: Mon Apr 04, 2005 9:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
ephilli2
n00b
n00b


Joined: 18 Sep 2004
Posts: 27

PostPosted: Tue Apr 05, 2005 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
strerror
Retired Dev
Retired Dev


Joined: 16 Jan 2004
Posts: 24

PostPosted: Wed Jun 01, 2005 9:08 pm    Post subject: Reply with quote

Check out brix's overlay. http://dev.gentoo.org/~brix
Back to top
View user's profile Send private message
ttuttle
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 131

PostPosted: Thu Jun 02, 2005 1:38 am    Post subject: Reply with quote

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
View user's profile Send private message
lavacano
Apprentice
Apprentice


Joined: 29 May 2005
Posts: 190
Location: Poulsbo, WA

PostPosted: Thu Jun 02, 2005 8:18 am    Post subject: Reply with quote

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
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Thu Jun 02, 2005 10:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Thu Jun 02, 2005 10:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
yamakawa
Guru
Guru


Joined: 28 Jul 2003
Posts: 340

PostPosted: Fri Jun 03, 2005 5:27 am    Post subject: Reply with quote

skunk is another good choice! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum