Difference between revisions of "Medion MD98300"

From ArchWiki
Jump to: navigation, search
m (Introduction)
(finally found out how to get sound working with a headset)
Line 8: Line 8:
  
 
=Soundcard=
 
=Soundcard=
'''Warning:''' This should be actually the right way, but on my machine I get no sound at all. I'll edit this, when I found a working solution (with some additional steps)
+
This Notebook has a Realtek ALC 833.
 +
Run
 +
cat /proc/asound/version
 +
If it returns
 +
Advanced Linux Sound Architecture Driver Version 1.0.17.
 +
(or a higher version) then continue reading at ''editing modprobe.conf''
 +
==compile the newest alsa-driver==
 +
Go to the [http://alsa-project.org/main/index.php/Download AlsaProject download-page] and download the '''Stable Release''' of alsa-driver.
 +
Then unpack and compile the package:
 +
tar -xf alsa-driver-xxx
 +
cd alsa-driver-xxx
 +
./configure --with-cards=hda-intel --with-sequencer=yes
 +
make
  
This Notebook has a Realtek ALC 833 soundcard. To get your S/PDIF ports working, add
+
Finally run this as root:
 +
make install
 +
 
 +
'''Note:''' You must do this everytime you (re-)install or your kernel, because its (old) alsa-module overwrites the one you just installed.
 +
 
 +
==editing modprobe.conf==
 +
Add the following to /etc/modprobe.conf:
 
  options snd-hda-intel model=medion
 
  options snd-hda-intel model=medion
to /etc/modprobe.conf
+
and reboot then.
 +
 
 +
==unmute channels==
 +
Open a terminal and type
 +
alsamixer
 +
Use the arrow keys to turn up volume where you need it.
 +
 
 +
==how to mute your speakers and use your headset==
 +
You might have noticed that your speakers do not get muted automatically when you put in your earphones. Here's my solution to do that manually:
 +
Open up alsamixer (like described before)
 +
Mute '''Surround''' by pressing '''M''' (for mute), so it says '''MM''' instead of '''00'''. Also turn down '''PCM''' to 65 or lower.
  
Also my /etc/modprobe.d/sound looks like this (I'm not sure whether this will help you):
+
Now you won't hear anything from the built-in speakers, but you can use your earphones.
alias snd-card-0 snd-hda-intel
+
alias sound-slot-0 snd-hda-intel
+
  
 
=Graphicscard=
 
=Graphicscard=
Line 31: Line 57:
 
  pacman -Sy nvidia
 
  pacman -Sy nvidia
  
Note: ''The xorg.conf is based on [http://blackwiki.bl.ohost.de/upload/xorg.conf this one] which was made for gentoo.''[http://blackwiki.bl.ohost.de/wiki/doku.php?id=md98300]
+
'''Note:''' The xorg.conf is based on [http://blackwiki.bl.ohost.de/upload/xorg.conf this one] which was made for gentoo.[http://blackwiki.bl.ohost.de/wiki/doku.php?id=md98300]
  
 
Save the following as /etc/X11/xorg.conf:
 
Save the following as /etc/X11/xorg.conf:

Revision as of 10:28, 3 October 2008

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Medion MD98300#)

Introduction

Since I had a hard time getting my Laptop working with Arch (especially sound drivers) I decided to write this wiki entry to make it easier for people with the same problem. I may expand it later, but the S/PDIF ports took me like three days, so here we go.

MD stands for "Medion", that brand you can buy PCs at ALDI from.

Soundcard

This Notebook has a Realtek ALC 833. Run

cat /proc/asound/version

If it returns

Advanced Linux Sound Architecture Driver Version 1.0.17.

(or a higher version) then continue reading at editing modprobe.conf

compile the newest alsa-driver

Go to the AlsaProject download-page and download the Stable Release of alsa-driver. Then unpack and compile the package:

tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-cards=hda-intel --with-sequencer=yes
make

Finally run this as root:

make install

Note: You must do this everytime you (re-)install or your kernel, because its (old) alsa-module overwrites the one you just installed.

editing modprobe.conf

Add the following to /etc/modprobe.conf:

options snd-hda-intel model=medion

and reboot then.

unmute channels

Open a terminal and type

alsamixer

Use the arrow keys to turn up volume where you need it.

how to mute your speakers and use your headset

You might have noticed that your speakers do not get muted automatically when you put in your earphones. Here's my solution to do that manually: Open up alsamixer (like described before) Mute Surround by pressing M (for mute), so it says MM instead of 00. Also turn down PCM to 65 or lower.

Now you won't hear anything from the built-in speakers, but you can use your earphones.

Graphicscard

There are two possible drivers you can use for the Nvidia 6150 Geforce Go. I recommend the non-free driver, because the open one had no mouse cursor as I tried it (which was really annoying). If you want 3d-allocation, you must use the closed source one.

nv (free driver)

Installation:

pacman -Sy nv

Here's no customized xorg.conf yet. Go make one yourself following this guide and post it here.

nvidia (non-free driver)

Installation:

pacman -Sy nvidia

Note: The xorg.conf is based on this one which was made for gentoo.[1]

Save the following as /etc/X11/xorg.conf:

xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath         "/usr/share/X11/rgb"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load           "extmod"
    Load           "glx"
    Load           "dbe"
    Load           "record"
    Load           "xtrap"
    Load           "freetype"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
        Driver          "synaptics"
        Option          "Name"                  "Synaptics Touchpad"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "auto-dev"
        Option          "SendCoreEvents"        "true"
        Option          "SHMConfig"             "true"
        Option          "LeftEdge"              "1900"    
        Option          "RightEdge"             "5900"
        Option          "TopEdge"               "1900"
        Option          "BottomEdge"            "4350"
        Option          "FingerHigh"            "25"
        Option          "FingerLow"             "20"
        Option          "MaxTapMove"            "220"
        Option          "MaxTapTime"            "180"
        Option          "MaxDoubleTapTime"      "180"
        Option          "MinSpeed"              "0.04"
        Option          "MaxSpeed"              "0.18"
        Option          "AccelFactor"           "0.001"
        Option          "VertScrollDelta"       "100"
        Option          "HorizScrollDelta"      "100"
        Option          "EmulateMidButtonTime"  "0"
        Option          "RTCornerButton"        "0"
        Option          "RBCornerButton"        "0"
        Option          "LTCornerButton"        "2"
        Option          "LBCornerButton"        "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "de"
    Option         "XkbRules" "xorg"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LPL"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce Go 6150"
    Option         "NVAgp"         "3"
    Option         "RenderAccel" "true"
    Option         "Coolbits" "1" 
    Option         "AllowGLXWithComposite" "true"
	Option    "AddARGBGLXVisuals" "True"
	Option	   "TripleBuffer" "true"
    Option         "NoLogo" "1"
    Option         "DPMS" "TRUE"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "1280x800 +0+0; 800x600 +0+0; 640x480 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"    
	Option "Composite" "Enable"
EndSection