Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto Install Gentoo on a um32w laptop.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
bdraw
n00b
n00b


Joined: 24 Nov 2003
Posts: 21
Location: Tampa

PostPosted: Fri Dec 19, 2003 4:57 pm    Post subject: Howto Install Gentoo on a um32w laptop. Reply with quote

Howto Install Gentoo on a um32w laptop.

I have spend a few months getting everything on my Laptop working with gentoo. I have tried to limit this to specifics about this laptop and gentoo.
These instructions are only meant to suplement the install docs not to replace them. Use at your own risk.

If you try to boot from the gentoo livecd as per the intallation docs. When the usb cdrom tries to boot it will leave you at a prompt with very limited commands.
Use another distro's boot cd that supports usb cdrom.

Boot from Fedura Core 1 cd ( or any cd that will boot from the usb cdrom)
At the prompt type
Code:
linux rescue vga=0x317

(vga parameter will ensure that your lcd will display properly)

Choose your language and Keyboard layout(may take a few mins to get to this screen)
Choose to turn on your network( make sure your cable is plugged into your NIC)
You can have it find your linux partition if you have one or just choose skip if you know you don't.
If your network comes up OK continue from Gentoo install step 5. “Setting your system's date and time.

On step 8. “Stage tarballs and chroot”
If you want to use the stages on the CD rather than downloading one.
Make sure that the cd is not mounted

Code:
df


This should not return anything mounted at /dev/scd0
Then run
Code:

mkdir /mnt/cdrom
mount -t iso9660 -r /dev/scd0 /mnt/cdrom

Now your cd will be mounted at /mnt/cdrom so you can continue with the gentoo docs.

In step 8. you will not be able to use the mirrorselect tool. You will need to select your mirror ahead of time. Get your mirror from http://www.gentoo.org/main/en/mirrors.xml
So instated of running mirrorselect run
Code:

nano -w /mnt/gentoo/etc/make.conf

Add this line towards the bottom. The line may already be there so if it is just edit it so that your preferred mirror is listed.
Code:

GENTOO_MIRROR="ftp://gentoo.oregonstae.edu/"

Add as many mirrors as you like just leave a space between them.

When building your own kernel.
Make sure you include the following modules.
Email me for a complete .config file if you like.

thermal
battery
ac
button
fan
proccesor
8139too
orinoco_pci
sr_mod
agpgart
i810_audio
ac97_codec
yenta_socket
pcmcia_core
ohci1394
ieee1394
usb-ohci
ehci-hcd
usbcore
sr_mod
scsi_mod
isa-pnp

There are more but these are required for the um32w. To make the hardware work.

Things that work.
Network load module and use normal scripts for lan
for wireless use the orinoco_pci module and emerge wireless-tools to get iwconfig to configure the wlan.
To make the cf-card and the pccard to work emerge pcmcia-cs
If the modules are loaded correctly simply starting the pcmcia service will detect the slots.
To use dma on your HD, make sure you have the correct modules installed(isa_pnp & others) then emerge hdparm then
edit /etc/conf.d/hdparm make sure this line is there.
Code:

all_args+"-d1"

Make sure you start the services at boot see gentoo docs for details on rc-update

To get X and your desktop working use the gentoo desktop guide
http://www.gentoo.org/doc/en/desktop.xml

To get all the synaptics pad features to work(scroll) also emerge synamptics I had to emerge without dependacies at the time of this writing. Works without issue.


When running
/usr/X11R6/bin/xf86config
Use the following setting for the video card and LCD
HorizSync 31.5-48.5
VertRefresh 60-60
Driver "i810"
The um32w has 16mb of memory for the video card. ( not verified)
For the display I only use 1024x768 with a depth of 24.



Also to get the pad to work with all the features( not necesary if you are not using the synpatics drivers) you must add some lines to your XF86config file.(after you are done running xf86config but before you startx)
Use these setting when running xfreeconfig
Here are my relavent lines for the um32w.
Code:
   Load  “synaptics”

add this right after load “glx” which should already be there, use the same syntax.
In the Section “InputDevice”
I changed the following lines.
Code:

    Identifier   "TouchPad" # used to say Mouse1
    Driver   "synaptics" # changed from mouse to synaptics
    Option "Device"          "/dev/psaux" # was /dev/input/event0 (only necessary on 2.4 not 2.6)

Then I added the folowing lines right underneath.
Code:

    Option "Emulate3Buttons" "on"
    Option "Emulate3Timeout" "50"
    Option "Name"            "Autodetection"
    Option "Protocol"        "event"
    Option "Vendor"          "Protel"
    Option "ZAxisMapping"    "4 5"
    Option "LeftEdge"        "1900"
    Option "RightEdge"       "5400"
    Option "BottomEdge"      "1800"
    Option "TopEdge"         "3900"
    Option "FingerLow"       "25"
    Option "FingerHigh"      "30"
    Option "MaxTapTime"      "180"
    Option "MaxTapMove"      "220"
    Option "VertScrollData"  "100"
    Option "MinSpeed"        "0.02"
    Option "MaxSpeed"        "0.18"
    Option "AccelFactor" "0.0010"

Under “ServerLayout”
I changed the following lines.
Code:

InputDevice "TouchPad" "CorePointer"

To turn off the LCD after a set time I added
Under Montior section just under
Code:

   Identifier  "Generic LCD"
Option "DPMS"

Under “ServerLayout” I added.
Code:

    Option "OffTime" "10"


What definitely works
USB, cfcard, pccard, LCD, touchpad, NIC, Sound, Wifi, ACPI. CPU FAN. Back light turns off when lid is shut.
What I have never tried
Modem, Firewire, USB2.0 devices. External mouse, keyboard, or monitor.

Please email me for my conplete .config file or my XF86config file.
Also let me know if you find any problems
gyros@hotmail.com
_________________
If it's too easy it's boring.
Ben
Back to top
View user's profile Send private message
kung.foo
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2003
Posts: 99

PostPosted: Mon Dec 22, 2003 12:07 am    Post subject: Reply with quote

did you patch your synaptics driver? when i use 2.6 kernel and the synaptics driver is enabled, the driver crashes the whole system when waking up from suspend...
Back to top
View user's profile Send private message
bdraw
n00b
n00b


Joined: 24 Nov 2003
Posts: 21
Location: Tampa

PostPosted: Mon Dec 22, 2003 7:45 pm    Post subject: Reply with quote

kung.foo wrote:
did you patch your synaptics driver? when i use 2.6 kernel and the synaptics driver is enabled, the driver crashes the whole system when waking up from suspend...


No I did not patch it, but I have not tried to resume from suspend with 2.6
_________________
If it's too easy it's boring.
Ben
Back to top
View user's profile Send private message
kung.foo
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2003
Posts: 99

PostPosted: Wed Dec 24, 2003 10:11 am    Post subject: Reply with quote

bdraw wrote:
kung.foo wrote:
did you patch your synaptics driver? when i use 2.6 kernel and the synaptics driver is enabled, the driver crashes the whole system when waking up from suspend...


No I did not patch it, but I have not tried to resume from suspend with 2.6


Could you?? *justasking*
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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