Installation sur MSI Wind

Aller à : navigation, rechercher
Language.png Cette page n'est pas encore traduite (ou pas complètement)

Cet article a besoin d'être traduit. Merci de participer au travail si vous en avez le temps et la compétence.
Si vous cherchez quelque chose à faire, regardez les autres Pages à traduire.


Introduction

openSUSE fonctionne très bien sur un MSI Wind. La seule chose que vous devez compiler manuellement et qui sont décrites sur cette page en détail sont les pilotes pour le wifi et la webcam.

Installation

Pour installer Opensuse, vous avez besoin du Système Opensuse Installer sur une clef USB « bootable ». Pour de plus amples informations : bootable USB stick. (En anglais).

Ensuite, choisissez l'installation en mode réseau, ajoutez le serveur suivant download.opensuse.org ainsi que le répertoire qui correspond à votre version d'Opensuse (10.3, 11.0, 11.1 …) que vous souhaitez installer. Par exemple : factory/repo/oss ou bien distribution/11.0/oss.

Si vous souhaitez garder votre version de Windows, vous devez démarrer votre session Windows avant d'installer Opensuse. Lorsque c'est fait, vous devez désactiver l'option hibernation afin de supprimer les fichiers conscernés sur le disque dur. Terminez ces manipulations en défragmentant votre disque dur afin de vous assurer que toutes vos données se situe bien en début de la partition. Lors de l'installation d'Opensuse vous aurez la possibilité de réduire la partition Windows à la taille que vous souhaiterez.

Vous pouvez par exemple : créer une partition Windows d'une taille de 20GB et créer une partition de 2GB pour le SWAP et le reste pour le /home.

WLAN

Pour le moment, il n'y a pas de paquets OpenSuse officiels pour le chipset RTL8187SE utilisé sur les MSI Wind U-100. Vous pouvez télécharger la version non officielle[ici]. Si cette solution ne marche pas, vous en saurez plus ici: [[1]].

Installez les paquets gcc et le kernel-source (noyau-source), décompressez les archives, compilez les drivers et installez-les.

sudo zypper install gcc
sudo zypper install kernel-source
tar xvfz rtl8187se_linux_26.1023.0928.2008.tar.gz
cd rtl8187se_linux_26.1023.0928.2008
./makedrv
sudo cp -r ieee80211/*.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
sudo cp -r rtl8185/r8180.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
su -c "depmod -ae"

Vous devrez répeter les lignes en commençant par ./makedrv après chaque mise à jour du kernel (noyau).

Webcam

You have to install subversion, get the driver, compile and isntall it.

sudo zypper install subversion
svn co svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
cd trunk
make
sudo make install

After each kernel update you will have to repeat the last two lines.

Harddisk

The harddisk clicks every 5 seconds which is quite annoying. This can be resolved by telling the harddisk to not try that hard to save power.

su -c "hdparm -B 254 /dev/sda"

If you want this to be applied automatically at every boot:

su - -c kwrite /etc/init.d/boot.local

Add hdparm -B 254 /dev/sda at the bottom and save the file.

In order to apply that setting after waking up from hibernation, do:

su - -c kwrite /etc/pm/sleep.d/50hdparm

Add and save:

#!/bin/bash
hdparm -B 254 /dev/sda

After that do:

sudo chmod +x /etc/pm/sleep.d/50hdparm

Suspend/Resume

Suspend to disk works. You can define which keys trigger it via kpowersave or by installing powerdevil. For the latter you have to make sure that powersaved is not started during boot. You can use YaST > System > Runlevel-Editor for that.

Display

In openSUSE 11.1 it shoudl work out of the box, i.e. you only need to change the resolution from 800x600 to 1024x600 via YaST > Hardware > Graphics.

In openSUSE 11.0 you have do a bit more.

xorg.conf

Your xorg.conf should look like this.

su - -c kwrite /etc/X11/xorg.conf
# /.../
# SaX generated X11 config file
# Created on: 2008-07-10T01:55:10+0100.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AIGLX" "on"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

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

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "gb"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Emulate3Buttons" "on"
  Option       "HorizScrollDelta" "0"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Synaptics;Touchpad"
  Option       "Protocol" "explorerps/2"
  Option       "SHMConfig" "on"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[3]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImPS/2 Generic Wheel Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  DisplaySize  271 159
  HorizSync    29-60
  Identifier   "Monitor[0]"
  ModelName    "1024X600@60HZ"
  Option       "DPMS"
  Option       "PreferredMode" "1024x600"
  VendorName   "--> LCD"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection 

Section "Modes"
  Identifier   "Modes[0]"
  Modeline      "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622
  Modeline      "1024x600" 43.00 1024 1072 1104 1184 600 603 613 619 +HSync -VSync
  Modeline      "800x600" 38.22 800 832 912 1024 600 601 604 622
  Modeline      "800x600" 34.75 800 848 880 960 600 603 607 617 +HSync -VSync
  Modeline      "768x576" 34.96 768 792 872 976 576 577 580 597
  Modeline      "768x576" 32.25 768 816 848 928 576 579 583 593 +HSync -VSync
  Modeline      "640x480" 23.86 640 656 720 800 480 481 484 497
  Modeline      "640x480" 23.25 640 688 720 800 480 483 487 494 +HSync -VSync
  Modeline      "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622 -HSync -VSync
EndSection 

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "945 GME"
  BusID        "0:2:0"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "monitor-LVDS" "Monitor[0]"
  VendorName   "Intel"
EndSection 

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection 

Section "Extensions"
  Option       "Composite" "on"
EndSection

etc/sysconfig

Use YaST > System > sysconfig-Editor to change Desktop > Display Manager > DISPLAYMANAGER_RANDR_MODE_auto to

1024x600_60 48.96 1024 1064 1168 1312 600 601 604 622 -HSync +Vsync

xrandr

If the resolution stil does not work, use KRandRTray to pick the correct resolution or do:

xrandr --output LVDS --mode 1024x600

Sound

Right-click on the kmix systray icon and set Front to be the Master channel. If you open the mixer and right-click the front channel, you can assign global shortcuts, i.e. the Fn-keys on the keyboard.

Boot Splash

Since you installed from an USB-stick openSUSE doesn't bother to set a splashscreen for the boot. So go to YaST > System > Bootloader and set the vga mode to 0x0314. After that open a konsole and do:

su -c mkinitrd