LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-09-2005, 12:43 PM   #1
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Mandrake 10.1 on the ZD7000


I originally answered a post on this subject, but I have a bit of additional configuration information.

The following posts are copied from the original thread...
 
Old 03-09-2005, 12:44 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Original Poster
Rep: Reputation: 46
I've just finished setting up a brand new ZD7000 using Mandrake Official 10.1 and it works WONDERFULLY!

However you REALLY need the Official version not the Community.

Get the Official ASAP, don't bother with what your trying to do.


My quicky HOW TO:


Install Official and get the text console up and running.

On the Official CD's or DVD you'll find pre-build rpm's for the Nvidia Video, slamr modem, etc.

Once you have Official up to the console the first time (if it goes into a graphics mode hit [CTRL][ALT][F1]) do this as root

service dm stop

urpmi kernel-2.6.8.1-12mdk
urpmi nvidia-6111-4mdk
urpmi nvidia-kernel-2.6.8.1-12mdk
urpmi slmodem
urpmi slmodem-kernel-2.6.8.1-12mdk
urpmi synaptics
urpmi ndiswrapper
urpmi irda irda-utils
urpmi acme
urpmi arts kmix


This will install the UNIPROCESSOR kernel, the SMP kernel has a bunch of problems using both ndiswrapper (which you'll need for WiFi) and with the modem.

Now run lilo by typing

lilo

then copy this to /etc/X11/XF86Config replacing the old file...

---- Snip here --- delete this line and copy EVERYTHING below ---

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "synaptics"
Load "/usr/X11R6/lib/modules/extensions/libglx.so"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "InputDevice"
Identifier "SynapticsMouse1"
Driver "synaptics"
Option "Protocol" "auto-dev"
Option "Device" "/dev/input/mice"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "BottomEdge" "4200"
Option "SHMConfig" "on"
Option "LeftEdge" "1700"
Option "FingerLow" "25"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "FingerHigh" "30"
Option "VertScrollDelta" "100"
Option "TopEdge" "1700"
Option "RightEdge" "5300"
Option "AccelFactor" "0.0010"
EndSection

Section "Monitor"
Identifier "WideScreen-LCD"
VendorName "HP ZD7000"
ModelName "Flat Panel 1440x900"

HorizSync 30.0 - 64.0
VertRefresh 50.0 - 100.0


# Modeline for HP ZD7000 Series 1440x900 resolution Displays

ModeLine "1440x900" 106.47 1440 1520 1672 1904 900 901 903 932 -HSync +Vsync

# Option "UseEdidFreqs" "On"

EndSection

Section "Device"
Identifier "GeForce-FX-Go5700"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
Option "DPMS"
Option "IgnoreEDID" "1"
Option "NoLogo" "on"
Option "HWCursor" "on"
Option "CursorShadowYOffset" "5"
Option "CursorShadow" "1"
Option "RenderAccel" "1"
Option "CursorShadowXOffset" "4"
# Option "Backing_Store" "1"
Option "Save_Unders" "1"
Option "CursorShadowAlpha" "60"
EndSection

Section "Screen"
Identifier "screen1"
Device "GeForce-FX-Go5700"
Monitor "WideScreen-LCD"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubsection


EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "SynapticsMouse1" "AlwaysCore"
Screen "screen1"
EndSection

Section "ServerFlags"
AllowMouseOpenFail
EndSection


---- Snip here --- delete this line and copy EVERYTHING above ---

The above configuration enables the ZD7000's 1440x900 video resolution with full opengl support.

Finally reboot and make sure that you select the 2.6.8.1-12 kernel NOT the SMP one which was first installed.

This should make it replace the vmlinux kernel and it will then become the default for every boot, which you want.

Now your modem will appear as /dev/slamr0 which you can softlink to /dev/modem if you want.


Making IRDA work:

If you've done the above IRDA support is already installed...

All you need to do now is edit /etc/sysconfig/irda and make sure the line reads.

DEVICE=/dev/ttyS1

finally set irda to start at boot...

chkconfig --add irda

and start it

service irda start


Now to get WiFi working:


Download the WINDOWS wireless driver for your device. (For the ZD7000, go to www.hp.com and download SP28537.exe. Unzip the driver pack so that the individual files can be accessed and make them available to Linux.

Hint: you can retrieve the directory from the /mnt/windows partition if you want...


Install the WINDOWS driver onto your Linux system using ndiswrapper using the following commands as root:

cd sp28537a

/usr/sbin/ndiswrapper -i bcmwl5a.inf

Now check it's worked by typing:

/usr/sbin/ndiswrapper -l

You should see something like this:

Installed ndis drivers:
bcmwl5a hardware present


Set ndiswrapper to automatically start itself at every bootup:

/usr/sbin/ndiswrapper -m

reply:

Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf


Now go into the Mandrake MCC and add the wlan0 interface that now appears.

Configure it as needed.

Restart Linux networking, thus starting the ndiswrapper device driver:

service network restart


You should see a response like this:

Shutting down interface wlan0: [ OK ]
Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [Ok]
Bringing up interface wlan0: [ OK ]

check the network settings and status

ifconfig

you should see something like this...

eth0 Link encap:Ethernet HWaddr 00:C0:9F:52:2F:52
inet addr:192.168.0.166 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6088 errors:0 dropped:0 overruns:0 frame:0
TX packets:3249 errors:0 dropped:0 overruns:0 carrier:0
collisions:704 txqueuelen:1000
RX bytes:797922 (779.2 Kb) TX bytes:380924 (371.9 Kb)
Interrupt:20 Base address:0x5800

irda0 Link encap:IrLAP HWaddr ea:68:00:00
UP RUNNING NOARP MTU:2048 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3318 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:8
RX bytes:0 (0.0 b) TX bytes:50244 (49.0 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:284 errors:0 dropped:0 overruns:0 frame:0
TX packets:284 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:48107 (46.9 Kb) TX bytes:48107 (46.9 Kb)

wlan0 Link encap:Ethernet HWaddr 00:90:4B:9A:51:2D
inet addr:192.168.0.9 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4437 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:559153 (546.0 Kb) TX bytes:294 (294.0 b)
Interrupt:21 Memory:d2004000-d2005fff


Notice that both WiFi and the irda port are listed!!!!


The Touchpad:

When you did the urpmi synaptics, your system also installed a little utility called qsynaptics which appears buried in the kde menu.

Run it from the menu or manually while logged in under X.

This permits you to adjust the touchpad sensitivity, behavior, etc.

Set things as you desire...

Next set both the synaptics utility and ACME to start at login.

Open /home/MYUSERNAME/.kde/share/Autostart using konqueror/home and create shortcuts to BOTH /usr/bin/acme and /usr/bin/qsynaptics


Now when you log in both the Acme (hotkeys) and qsynaptics settings will be automatically restored.

Finally go to http://www.zebulon.org.uk/urpmi_en.html and follow the directions for setting up your urpmi sources.


This will provide you with a world of additional precompiled and WORKING software for your distro.



BTW: Audio "events" are found under KDE's look and feel.

You should have installed both kmix and arts above.

ENABLE the sound server in KDE but leave everything to their defaults.


Launch Kmix and turn UP the volume (it defaults to almost off), if you've followed the above directions your volume and muting controls already work!

In XMMS make sure that you select arts.

One last thing... edit /etc/sysconfig/harddisks and turn on 32 bit modes and DMA to vastly improve Linux's performance.



The ZD7000 is a real pleasure under Mandrake once configured properly.

Enjoy!
 
Old 03-09-2005, 12:45 PM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Original Poster
Rep: Reputation: 46
edit:

BTW: the qsynaptics program should be invoked with a "-r" argument from the autostart.

This causes it to load the settings w/o bringing up the gui.

Acme installs a little button on the tray that permits you to set up all of your hotkeys and other multimedia keys.

You should also enable acpid

chkconfig --add acpid

which also makes linux be aware of the power state, etc.

Also enable acpi in the kde control panel.
 
Old 03-09-2005, 12:45 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Original Poster
Rep: Reputation: 46
Re: Downloading

You could always consider this: http://www.linuxcd.org/view_item.php?id_version=452


It's well worth it to get the official.


Inspite of my long explanation, (which is based partially on information gleaned from other sources and partially my own experimentation and changes to a new system a couple of days ago...) with the above instructions in hand setup goes quite well.


If the Mandrake install had selected the non smp kernel during install and there had been a modeline for the 1440x900 screen, most of this would be automatic, (except for the WiFi card).


The only non working device is the card reader.

I've tried hacking the yenta_socket driver ID's but so far no luck though I do get some recognition.


Though there are already posts to the effect that newer 2.6.9 kernels and above will already be configured for the media reader.


With custom graphics ( http://www.kde-look.org ) it's rather fun to see the response I get when people see Linux/Mandrake booting up in all it's glory on the ZD7000 series units.
 
Old 03-09-2005, 12:46 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Original Poster
Rep: Reputation: 46
The Nvidia drivers are only provided on the RETAIL CD's not the downloaded version.

If you have the retail CD or DVD look for a directory call Drivers.

This contains the missing RPM's, including the slamr, slmodem, nvidia, etc.

Failing that you can install the Nvidia drivers yourself.

It's easy to do but there is a bit of a "trick" involved.


Consider this an addendum for those people with the download version....


First you -MUST- install the kernel-source RPM for your currently installed kernel.

Many make the mistake of merely "urpmi kernel-source" and end up with an updated source tree for a different kernel.

Once you have installed the kernel source, DO NOT TOUCH IT!

Do not compile, configure or otherwise modify it!

Next kill the display manager as root...

service dm stop

remove the memory resident module..

rmmod nvidia nv

and then

sh nvidia-xxx.xxx.xxx-run

the file you downloaded.

This will compile a NEW module for your existing kernel, and install it.

Once done again as root

depmod -a (to be sure that there are no errors...)

and

modprobe nvidia

If you get back no error so far so good.

Make the change to /etc/XFConfig as indicated and save the file.

Now type

X

again as root.

This SHOULD bring up a graphical display with a movable cursor, but nothing else.

If this works you are home free.

If you wish you can start the display manager again.


service dm start


Now on to the modem.

Set up your urpmi sources and

urpmi slmodem

This will install the slmodem init files, but may not install the actual kernell module.

You can find the slmodem-2.9.10 source, on the net (see rpmfind.net) which is actually newer than what Mandrake provides.

Download this and copy it to /usr/src

Now untar the file

tar -xzvf slmodem-2.9-10.tar.gz

or whatever it's called.

Now there is a bit of a problem with newer kernels, the .10 version may not properly compile with the newer kernels. I found a patch on the net which fixes this. It's small so I may post it here. More on this later...

change to the slmodem-2.9.10 directory and type

make install

Hopefully it will finish only issuing a warning or two.

Now check the modules symbols...

depmod -a

And then try loading it

modprobe slamr (I forget what it's actually called...)

If again you get no error you can pick up from my prior instructions above.

If you get an error during compilation you may need the patch.

I've upgraded my Mandrake 10.1 ZD7000 install to the 2.6.10-x series of kernels by doing what I've posted in this message.

Mandrake does not provide update RPM's for the drivers found on the CD/DVD unfortunately, so you are stuck either compiling them yourself or using the RPM's which Thac provides on his site.


__________________
 
Old 03-09-2005, 12:52 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Original Poster
Rep: Reputation: 46
While this may be nothing new to some, the GTF program can be utilized to generate any missing modelines.

As such I have added the missing screen modes to /etc/X11XF86Config below.

These are "optimal" modelines which result in square aspect widescreen images, with the exception of the standard modes...

--- Snip ---

Section "Monitor"
Identifier "WideScreen-LCD"
VendorName "HP ZD7000"
ModelName "Flat Panel 1440x900"
HorizSync 30.0 - 64.0
VertRefresh 50.0 - 100.0
DisplaySize 380 238

# Modelines for HP ZD7000 Series 1440x900 resolution Displays

# 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
ModeLine "1440x900" 106.47 1440 1520 1672 1904 900 901 903 932 -HSync +Vsync

# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync

# 1152x720 @ 60.00 Hz (GTF) hsync: 44.76 kHz; pclk: 67.32 MHz
Modeline "1152x720" 67.32 1152 1208 1328 1504 720 721 724 746 -HSync +Vsync

# 1088x680 @ 60.00 Hz (GTF) hsync: 42.24 kHz; pclk: 59.47 MHz
Modeline "1088x680" 59.47 1088 1136 1248 1408 680 681 684 704 -HSync +Vsync

# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
Modeline "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync

# 1024x640 @ 60.00 Hz (GTF) hsync: 39.78 kHz; pclk: 52.83 MHz
Modeline "1024x640" 52.83 1024 1072 1176 1328 640 641 644 663 -HSync +Vsync

# 800x600 @ 60.00 Hz (GTF) hsync: 37.32 kHz; pclk: 38.22 MHz
Modeline "800x600" 38.22 800 832 912 1024 600 601 604 622 -HSync +Vsync

# 800x500 @ 60.00 Hz (GTF) hsync: 31.08 kHz; pclk: 31.33 MHz
Modeline "800x500" 31.33 800 824 904 1008 500 501 504 518 -HSync +Vsync

# 640x480 @ 60.00 Hz (GTF) hsync: 29.82 kHz; pclk: 23.86 MHz
Modeline "640x480" 23.86 640 656 720 800 480 481 484 497 -HSync +Vsync
# Option "UseEdidFreqs" "On"
EndSection

--- Snip ---

And further down change...

--- Snip ---
Section "Screen"
Identifier "screen1"
Device "GeForce-FX-Go5700"
Monitor "WideScreen-LCD"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1440x900" "1280x800" "1152x720" "1088x680" "1024x768" "1024x640" "800x600" "800x500" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1440x900" "1280x800" "1152x720" "1088x680" "1024x768" "1024x640" "800x600" "800x500" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1440x900" "1280x800" "1152x720" "1088x680" "1024x768" "1024x640" "800x600" "800x500" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1440x900" "1280x800" "1152x720" "1088x680" "1024x768" "1024x640" "800x600" "800x500" "640x480"
EndSubsection
EndSection


-- Snip --
 
Old 02-01-2006, 01:42 AM   #7
texas319
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
GREAT INFO..... This type of post is unseen reguarding the zd7000 laptops. I am running Mandrake LE 2005 but will be upgrading to 10.1 off.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use wireless on my hp pavilion zd7000? mario64 Linux - Laptop and Netbook 2 02-20-2005 12:02 PM
HP Pavillion zd7000 Sound Card and FC3 enigmasoldier Linux - Hardware 0 01-17-2005 01:06 PM
SuSE 9.1 / HP Pavilion zd7000 laptop basd Linux - Laptop and Netbook 2 12-25-2004 09:04 PM
zd7000 widescreen zacherrin Linux - Newbie 1 10-19-2004 07:48 PM
HP zd7000 modeline for 15" model? NovaBurst Slackware 2 09-14-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration