LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   A new beginning... (https://www.linuxquestions.org/questions/mandriva-30/a-new-beginning-252605/)

LK873 11-08-2004 07:31 PM

A new beginning...
 
Okay, so I installed Mandrake 10.1CE today and everything seems to be in working order. Problem is, most of my hardware is not supported. My Geforce FX Go5600 is very, VERY figity and slow. My sound seems to be okay, but I remember from using Fedora Core 2 that there were a LOT of sounds in KDE? I only hear the opening dialog and shutdown and start KDE sounds. Where do I go to configure the sounds? And lastly, my modem, because Internet around here sucks. I have Conexant ACLink 56K Modem, if anybody would be so kind as to point me in the direction for drivers for both the Modem and Geforce that'd be greatly appreaciated.

Thanks in advance!

Thymox 11-08-2004 07:52 PM

Welcome aboard, LK873.

This may sound a little evangelical of me, but do you remember if your GeForce came with funky 3D drivers when you first installed Windows? I can answer that - it didn't. Linux too doesn't come with funky 3D drivers for some/most GFX cards. I would head over to nvidia.com and download their latest Linux drivers. There are lots of threads around detailing how to install the drivers... but there's also the README file on the nvidia site too.

As for sound. You can hear it though? If so, then you can set your sound events by going to the KDE Control Center (note: that is not the Mandrake Control Center), clicking on "Sound and Multimedia" and then selecting "System Notifications".

As for your modem - you may have some luck over at LinModems.org.

Good luck.

LK873 11-08-2004 08:06 PM

This may seem kinda odd, but the KDE Control Center's "Sound and Multimedia" is only "Sound" and there's no "System Notifications" in it, only System Bell.

Thymox 11-08-2004 08:13 PM

You may need to install the package "kde_multimedia" (or something like that) to get it then.

LK873 11-08-2004 08:23 PM

There was only a MIDI package of a whole whopping 5.5KB that I didn't install, that's all the search found...

LK873 11-08-2004 09:21 PM

The sound is not as bothersome as the modem right now, because I'm new to Linux I have NO idea how to compile the modem drivers I just DLed. And the readme didn't really help too much.


Okay, to help anybody I have an HP Pavilion ZD7000 Notebook and Mandrake 10.1 doesn't recognize the Geforce, the modem and the wireless card, if anybody wants to help either post here or IM me on MSN at ice_cream_man_2004@hotmail.com, thanks.
[/edit]

opjose 11-09-2004 03:43 AM

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!

opjose 11-09-2004 07:08 AM

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.

mtaylor57 11-09-2004 01:51 PM

I don't have anything to add to the original poster, but that's a hell of a write up, opjose. That's what this board is all about. Thumbs up for you.

:D

LK873 11-09-2004 03:03 PM

That was quite the insane write-up, thank you very much, I greatly appreciate it. Now to spend 18000 years downloading 10.1 official...:(

opjose 11-09-2004 05:05 PM

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.



Thanks for the kudos.

LK873 lit the fire when he posted that he had the exact system configuration that I had JUST finished setting up with good success.

Jschnell 02-18-2005 12:23 AM

opjose... wicked awesome coverage of fixes for ZD7000's
it would have saved me alot of time if i had stumbled across your post earlier... i ended up tracking down fixes from lots of sources just like you did... but there were still a few things that needed some work. Thanks for the post.

mfenn 03-07-2005 05:04 PM

opjose, great info... as a Mandrake newbie, I am trying to follow your how-to for configuring my new ZD7000. I used your XF86Config except used the default driver "nv" (instead of "nvidia" as you suggested). Seemed to get the full widescreen 1440x900 display. However, the font within a terminal window has a bit of a shadow ... not to good for looking at the screen for extended periods of time.

I tried to go back and find the nvidia drivers on the CDs but they don't seem to be there. Maybe its my inexperience in using urpmi. (Supposedly I am using Mandrake Official 10.1.)

Any ideas appreciated.

opjose 03-08-2005 06:59 AM

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.


All times are GMT -5. The time now is 06:52 PM.