Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.22 /drivers/misc/asus-laptop not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Lorneagle
n00b
n00b


Joined: 10 May 2004
Posts: 25
Location: Furtwangen

PostPosted: Sun Aug 12, 2007 11:22 am    Post subject: 2.6.22 /drivers/misc/asus-laptop not found Reply with quote

Hi there
I recently upgraded my kernel to 2.6.22 on my Asus A6T. Till then i used the "Asus Laptop Extras" in the kernels ACPI configuration. (asus_acpi). But now it seems that asus_acpi is deprecated and will be replaced by asus-laptop in the future. My problem is, that i am not able to select any asus acpi module in "Device Drivers --> Misc" although i have the asus-laptop.c in the corresponding directory of my kernel (drivers/misc). I guess there is a dependency i don't know about. Unfortunately i don't know how to check for necessary dependencies.


Can anyone help
Thx in advance
_________________
System:
AMD Barton 2500+
Abit NF7 V2.0 nforce2
BIOS Version:2.4
512 MB DDR-333 RAM
vanilla-kernel 2.6.11

CFLAGS are:
Code:
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow -msse -mfpmath=sse,387"
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Aug 12, 2007 12:46 pm    Post subject: Re: 2.6.22 /drivers/misc/asus-laptop not found Reply with quote

Code:

make menuconfig


.config - Linux Kernel v2.6.22-gentoo-r2 Configuration wrote:
</> for Search


Code:

/
asus\n


.config - Linux Kernel v2.6.22-gentoo-r2 Configuration wrote:

Symbol: ASUS_LAPTOP [=n]
Prompt: Asus Laptop Extras (EXPERIMENTAL)
Defined at drivers/misc/Kconfig:81
Depends on: X86 && ACPI && EXPERIMENTAL && !ACPI_ASUS && LEDS_CLASS && BACKLIGHT_CLASS_DEVICE
Location:
-> Device Drivers
-> Misc devices


Quote:

CFLAGS are:
Code:

CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow -msse -mfpmath=sse,387"



I think you meant:
Code:

CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"


-O3 == code bloat with potentially worse performance resulting therefrom. Packages have also been known to fail with this enabled (too lazy to go and find them again on bugzilla. Sorry).

-ffast-math == trouble. Stuff that benefits safely probably has this enabled anyway.

-mmmx == -m3dnow == -msse == probably alright, actually, but how often the compiler generates code using these instructions, I don't know. My guess: not very. Still, that's just a guess.

-mfpmath=sse,387 ==
gcc 4.2 man page wrote:
Attempt to utilize both instruction sets at once. This effectively double the amount of available registers and on
chips with separate execution units for 387 and SSE the execution resources too. Use this option with care, as it is
still experimental, because the GCC register allocator does not model separate functional units well resulting in insta-
ble performance.

Does the athlon xp have separate fp units? Of course, the most compelling part is the free register doubling; the least compelling part is that in gaining this register windfall, you can end up breaking things and/or experience general flakiness.

-ffast-math + -mfpmath=sse,387 == just seems like tempting fate
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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