NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Gentoo on Sager 3880, question and answers
New Posts  All Forums:Forum Nav:

Gentoo on Sager 3880, question and answers

post #1 of 16
Thread Starter 
First off I have had my 3880 for about a week now and wow. this thing is incredible, soooo sleak and clean and the screen is just over the top amazing to use. But......

being the geek that I am of course I not only have to put Gentoo on this right away but I have to get everything, and I mean everything to work.

As I go I will turn this thread into sort of a walkthrough of the pitfalls I have hit and trust me there are tons of them.

Problems I have hit so far:

Problem:

As soon as I booted up the live cd I ran into the first one. Wireless wasn't working for some reason which was odd being that its the standard intel centrino stuff. I could modprobe ipw2200 and it would fail with a bunch of errors in dmesg.


Solution:

It turned out that the driver was timing out before the hardware got a chance to respond, after starting up simply do.

PHP Code:
echo "60" > /sys/class/firmware/timeout && modprobe -r ipw2200 && modprobe ipw2200
What this does is sets the driver to wait a bit longer for hardware to respond, if 60 doesn't work try 100 or even 150. After that just try

PHP Code:
iwconfig ifconfig
these should show a device, configure your wifi like the manual says and you should be good to go.


Problem:

Touchpad needs special drivers for touch clicking and such things.


Solution:

This is an easy one just emerge synaptics and change the mouse drive in xorg.conf to synaptics

Problem:

Sound refuses to work. The 915P audio uses azalia drivers which are pretty new. as far as I can tell the 2.6.11 kernel doesn't support them at all. I tried compiling the 2.6.12 and ran into all sorts of problems. Some people claim to have gotten this to work by using alsa-driver instead of kernel alsa support, but I have been working on this all day with no luck. If anyone has gotten this to work please reply and help me out.


Solution:

This one took me forever to figure out. it turned out in the end that alsa's method of loading modules was the problem of sorts. compile you kernel with sound support, run the script mentioned in the post below from realtek... get it here ok now that you ran that and it said it worked go back and undo what it did. take alsasound out of the boot runlevel:

rc-update del alsasound boot

now open up /etc/conf.d/local.start and add the line

modprobe -v snd_hda_intel model="z71v" position_fix="1"

not sure why the z71v works but it does so it makes me happy. you might try it without the position_fix and see if it works, when I did that sound was very bad quality you can also try position_fix="2" if you need to.


Problem:

Speed Step doesn't exactly just automagically work


Solution:

You first need to compile the right options into the kernel, specifically ondemand cpu governor. once you have this compiled in its a realitively simple task to enable it.

PHP Code:
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo "60" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/down_threshold echo "90" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
What these commands actually do is first set the scaling_governor to ondemand, then we tell ondemand that anytime proc usage goes below 60% it should go to low state and anytime the proc hits 90% it should go to high state. You need to give these commands anytime that you log in so I suggest putting them into /etc/conf.d/local.start this way they will get executed every time you boot.

Problem:

Marvell Yukon Ethernet controller doesn't want to play nice with my kernel. There should be kernel support for this but as of now I haven't been able to get the driver working. sk98lin is the driver that should work with this. I will try tomorrow to get sources and compile them by hand instead of whatever the kernel gives me. Right now I am getting

kobject_register failed for skge (-17)

in dmesg, ill figure out what that means maybe tomorrow, but for now I don't even have an ethernet port to plug it into.


To solve this one just head to here download the driver and after compiling your kernel run the installer, it will patch your kernel and recompile the important bits including the sk98lin module. I have had to redo this after each kernel compile, there is an option to make a kernel patch in the setup util but I haven't gone to the trouble yet. after this is done modprobe sk98lin and you should see your adapter in ifconfig.

Problem:

Motorola modem, errm I dunno what to even say about this one. I think this is a certified winmodem because lspci doesn't even acknowledge its existance. If anyone has clue > 0 please speak up.


Problem:

Native resolution on the crispy display


Solution:

add a couple lines to the Monitor section of /etc/X11/xorg.conf

PHP Code:
Option "DPMS" ModeLine "1600x1024" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
Then under the screen section change Modes of color depth 24 to include 1600x1024 and you are all set. the screen should now be just as crispy as ever.




Anyway there is alot I haven't gotten to yet but give me time, when I get finished I will post all my config files and such to make 3880 setup easy for people. if anybody can help we out with the stuff I haven't figurted out please reply, thanks.
post #2 of 16
Just thought I'd revive this post, I don't want it to get lost.

I just got my Sager 3880 last week, dead pixel free from PCtorque.com (thank you, heh). I've installed Gentoo using this short guide, and thought I should add to this a bit.

Sound driver works fine, you can download the driver from Realteks website here.
I haven't been able to get the sound driver to work with the latest Alsa drivers (which was 1.0.9b), but I haven't tried cvs, but it works well with realteks driver which is using 1.0.9b.

The Marvell Gigabit Ethernet works fine if you don't use the ones included in the kernel (I'm using 2.6.12 which doesn't work with the included modules), just download, make, install this.

The modem I haven't played with yet as I don't use it, I heard people getting it to work on the 9880, so I assume the same for the 3880.

IR works fine, ACPI seems to be ok too, cpufreq works out of the box along with using the latest powernowd. Nvidia card works with the nvidia drivers. Only thing I'm trying to figure out now, is how to get the web-camera to work. If anyone has info on how to get the camera to work, post please

Basically I'm pretty happy with this laptop, thanks to the people at PCtoque and Sager for a great mobile linux laptop

post #3 of 16
Thread Starter 

Still around

Any chance that you are still around somewhere. I still haven't been able to get sound going and the link you posted is broken. any chance I could get a step by step on what you did to make this work.
post #4 of 16
The link he was trying to post is: http://www.realtek.com.tw/downloads/dlhd-2.aspx/?lineid=2004052&famid=2004052&series=2004061&Software=True#2004061Unix%20(Linux)

(I think!)

(Edit: link didn's seem to autoformat... Too much of a forum noob to do it by hand..)

(Further edit: what you get only seems to be from alsa-1.09b anyhow, though the (Realtek) readme file within may still be worth a look.)
post #5 of 16
video related:

Just got my sager 3880 the other day, was installing up gentoo and after everything was set, i went to install my nvidia drivers, emerge nvidia-kernel etc

then i went down to my /etc/X11/xorg.conf and changed my video driver from "nv" to "nvidia" when i run startx i get an error saying my nvidia device is not working properly

is there kernel options i may be missing? i have not compiled a kernel in a long time.

if you need anymore information i can provide just let me know.
post #6 of 16
Quote:
Originally Posted by sarah.wicks
video related:

Just got my sager 3880 the other day, was installing up gentoo and after everything was set, i went to install my nvidia drivers, emerge nvidia-kernel etc

then i went down to my /etc/X11/xorg.conf and changed my video driver from "nv" to "nvidia" when i run startx i get an error saying my nvidia device is not working properly

is there kernel options i may be missing? i have not compiled a kernel in a long time.

if you need anymore information i can provide just let me know.
I discovered this problem with the recent coldplug and kernel. It's disabling the nvidia card and I have no idea why. Just turn off coldpluging from the boot option rc-update del coldplug. Also make sure you have PCIE enabled in the kernel. Other than those issues I've ran into, I have no idea.

Quote:
The link he was trying to post is: http://www.realtek.com.tw/downloads/dlhd-2.aspx/?lineid=2004052&famid=2004052&series=2004061&Software=True#2004061Unix%20(Linux)

(I think!)

(Edit: link didn's seem to autoformat... Too much of a forum noob to do it by hand..)

(Further edit: what you get only seems to be from alsa-1.09b anyhow, though the (Realtek) readme file within may still be worth a look.)
Yes, it's the recent alsa-1.09b, but for me the Alsa drivers from the Alsa site do not work for me for some reason, if you have any luck with this, let me know (as I'd rather use the Alsa drivers from the original Alsa site). The Realtek Alsa drivers work fine for me though.
post #7 of 16
Quote:
Originally Posted by DarKry
Any chance that you are still around somewhere. I still haven't been able to get sound going and the link you posted is broken. any chance I could get a step by step on what you did to make this work.
All I did to get the sound working:
Recompile your kernel without the Alsa drivers..
Quote:
<M> Sound card support
Advanced Linux Sound Architecture --->
Open Sound System --->
Quote:
< > Advanced Linux Sound Architecture
Make sure to turn off ALSA in the kernel.

Then I downloaded the driver here
http://www.realtek.com.tw/products/p...odelid=2004058

Untared, ran the installer in root (install.sh), and enabled alsasound to load up after boot time with rc-update add alsasound default.

And that's it, sound works. I've had zero luck getting the sound to work with the Alsa drivers from the Alsa website as I said before, as much as I'd like to use that instead (easier to maintain then).
post #8 of 16
Quote:
Originally Posted by hell
I discovered this problem with the recent coldplug and kernel. It's disabling the nvidia card and I have no idea why. Just turn off coldpluging from the boot option rc-update del coldplug. Also make sure you have PCIE enabled in the kernel. Other than those issues I've ran into, I have no idea.



Yes, it's the recent alsa-1.09b, but for me the Alsa drivers from the Alsa site do not work for me for some reason, if you have any luck with this, let me know (as I'd rather use the Alsa drivers from the original Alsa site). The Realtek Alsa drivers work fine for me though.

thanks i'll try as soon as i get home, i have not yet tried disabling coldplug, i'm pretty sure everything for pcie is built into my kernel but then again i might be retarded there too. this would be the first machine i've ever built a kernel on with pcie
post #9 of 16
still having trouble, is there anyway someone can give me an list of kernel options that are essential to pci-e?
post #10 of 16
good job, and sweet looking laptop
post #11 of 16
DarKey, awesome lab journal work Nicely done.
post #12 of 16
Quote:
Originally Posted by sarah.wicks
still having trouble, is there anyway someone can give me an list of kernel options that are essential to pci-e?
Quote:
Bus options (PCI, PCMCIA, EISA, MCA, ISA) --->
[*] PCI Express support
<*> PCI Express Hotplug driver
That's all I enabled.

Make sure you have dri disabled:

Quote:
Device Drivers --->
Character devices --->
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
Then just install the nvidia drivers.
post #13 of 16
that worked, i had DRI compiled in. Everything seems to be working now except i'm having a bit of trouble with sound. I'm not at home right now so i cant post the error. but what i did was remove all alsa support from kernel, and tried to build the realtek package thats linked above. I end up with some kind of compile error. I'll post later.
post #14 of 16
Well, make sure you have sound support completly disabled in the kernel or it doesn't like that.
post #15 of 16
Let me correct myself from the last post. Recent reltek driver wants the Soundcore module, so be sure to add that in without alsa or oss support (it'll compile that in itself)
post #16 of 16
will try tonight, thank god its friday
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Gentoo on Sager 3880, question and answers