LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Compaq Presario 6030 setup (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/compaq-presario-6030-setup-497124/)

tmchardy 10-31-2006 01:24 AM

Compaq Presario 6030 setup
 
Well, I spent over a week trying to get this Compaq Presario V6030 working, so I figured I'd share my final solution. Note, I haven't done extensive testing, but it boots, the glxgears test works, and that makes me happy.

This should work for anyone who is using a compaq or hp laptop with similar hardware. It's the one with the nVidia chipset, 6150 vid card, MCP51 network.

Problems:
1) Network doesn't work
2) Video drivers don't work
3) Machine freezes to black screen

Ok, so...
How to fix it:
1) Run the install, set it up how you like it.
2) When machine reboots, boot into runlevel 1.
3) Disable the network. (chkconfig --levels 35 network off)
4) Reboot into runlevel 5.
5) Start the network from the "Administration > Network"
6) Run "yum install kernel-devel"
7) run "yum install xorg-x11-devel-nvidia"
8) Download the BETA video drivers from nVidia (9625)
(The Non-beta drivers DID NOT WORK! I spent forever playing with these things! Hopefully that gets fixed soon.)
9) Run "sh ./NVIDIA-<driverName>.run --extract-only"
10) Modify the following (had to find these pieces in different posts)

CHANGE: /usr/src/nv/nv-linux.h
-#include <linux/config.h>
+#include <linux/autoconf.h>

CHANGE: /usr/src/nv/os-registry.c
-static int NVreg_SoftEDIDs = 1;
+static int NVreg_SoftEDIDs = 0;
-static int NVreg_Mobile = ~0;
+static int NVreg_SoftEDIDs = 3;

In /usr/src/nv run "make"

11) Disable the network
12) Reboot into runlevel 3 and run the "nvidia-installer"
13) Modify the xorg.conf (My sample attached below)
14) Re-enable the network in runlevel 3/5.

15) Restart the machine! It worked for me. I hope it works for you.
(Some of the details assume you know how to do some of the basics such as booting up into different runlevels - if you don't there's lots of posts around here on how to do that kind of stuff.)
I'm now on to trying to get Cedega to work. If that works, then I'd say that I've been successful. But at least now the machine boots without crashing! So I get to play. :)


----xorg.conf----
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib64/xorg/modules"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "record"
Load "freetype"
Load "type1"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
#HorizSync
#VertRefresh
Identifier "DFP"
VendorName "Compaq"
ModelName "V6030 LCD"
DisplaySize 380 300
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "nVidia"
BoardName "GeForce 6150LE"
Option "RenderAccel" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "DFP"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection


All times are GMT -5. The time now is 12:08 PM.