Unofficial MSIwWind Homepage
Unofficia MSI Wind Homepage MSI Wind Forums MSI Wind Wiki MSI Wind Links MSI Wind Images IRC MSI Wind Chat

OpenSuse 11.0

From MSI WInd User wiki

Jump to: navigation, search

Contents

Overview

SuSE 11.0 installs on an Wind/Advent4211 very smoothly and with a bit of the polish works out of the box.

Website of the Distribution: http://www.opensuse.org

Information about Opensuse 11.0: http://news.opensuse.org/2008/06/19/announcing-opensuse-110-gm/

Pre-Installation

You can install Opensuse 11.0 on the Wind/Advent 4211 using a USB Pen Drive or USB External DVD Drive

Install from USB Pen Drive

  1. Insert USB PenDrive.
  2. To create an internet install USB pendrive, use UNetbootin - The Universal Netbbot Installer, then reboot, and a Yast interface of the instalation will load, you must select "HTTP instalation source", then "download.opensuse.org" as server and "distribution/11.0/repo/oss" as directory.

Image:Unetbootin-internet-install.JPG

To create a bootable LiveUSB pendrive, you must follow this instructions from "Opensuse.org Lizards".Don't forget to get the initrdud as mentioned in the instructions.

  1. Boot the system and press F11 while on BIOS screen. Select the USB drive.

Install from External DVD Drive

  1. Download the Opensuse 11.0 iso from http://download.opensuse.org, and burn it into a DVD.
  2. Boot the system and press F11 while on BIOS screen. Select the USB External DVD Drive.

Installation

Follow this walkthough from Opensuse.org

SuSE will advise you on a HDD partitioning however you can tweak it additionally as follow:

/swap - recommended min value is 1GB, which equals preinstalled RAM
/ - root partition, min recommended is 10GB
/home - use the rest of space left on HDD

If you wish to leave your WinXP installation, SuSE will do it by default. It will shrink the partition to make a room for itself and additionally modify Grub for dual boot.

After installation

Hardware configuration

Resolving screen resolution issue

It doesn't look like Sax is dealing particularly well with 1024x600 screen resolution having some problems to probe all the settings correctly. Therefore a few small tweaks would be required.

--- xorg.conf modifications ---

Modify your xorg.conf file in /etc/X11/ as below. Take out of it whatever may be relevant for you, or copy the whole as it is. This is a fully working conf. Please discuss in following forum thread.

# /.../
# 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 modification ---

Start YaST and navigate to System => "etc/sysconfig editor". Then Desktop => Display Manager => DISPLAYMANAGER_RANDR_MODE_auto and replace the default setting with:

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

Alternatively you can manually edit it directly in: /etc/sysconfig/displaymanager

--- final touch with xrandr ---

if your system still goes 800x600 or 640x480 tweak it using KRandRTray from system tray, or execute the following in the command line:

xrandr --output LVDS --mode 1024x600

Wireless connection (Realtek RTL8187SE)

Note: Easiest solution is to replace the wifi card with Intel Pro 3945ABG. It works "out of the box". No downloading of any driver necessary.

Realtek driver is not included in Suse 11.0 kernel (2.6.25.9-0.2-pae) therefore needs to be compiled and inserted manually. Having a problems with an initial versions of driver, the most recent one proved to work without trouble using WPA Personal.

--- Compiling and running the driver ---

1. to be able to compile the drivers appropriate build environment and kernel headers are required. Those can be added via YaST > Software > Software Management. Add the following packages:

   * make
   * gcc
   * kernel-source
   * linux-kernel-headers 

2. download the driver from: http://launchpadlibrarian.net/16098501/rtl8187se_linux_26.1016.0716.2008.tar.gz

oryginally posted by Matthew here: no support for realtek rtl8187se

3. unpack:

tar xvzf rtl8187se_linux_26.1016.0716.2008.tar.gz

4. build drivers:

cd rtl8187se_linux_26.1016.0716.2008
./makedrv

5. start the new driver with:

sudo ./wlan0up

6. Now the new driver should be available in the system as wlan0. Configure it via KNetworkManager or any other if preferred.

--- Installing the driver ---

When the new driver has been tested and working fine it can be made permamently installed into the system becoming available at each system boot.

1. copy adequate kernel modues into kernel modules folder:

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

(above command will work assuming that being exectued from this same directory where ./makedrv has been called from earlier, which is the directory where driver package has been unpacked)

2. map files and add modules into the kernel:

su
depmod
modprobe r8180

Note 1: All above steps needs to be repeated again each time the kernel is updated.

Note 2: the modified Realtek driver rtl8187se_linux_26.1012.0331.2008_modified.tar.gz pulled out from this thread I have the wireless drivers BUT..... compiled with a few errors, but it was runnable. After successfully connecting to the network, last only a few minutes, before completely freezing up the system. Therefore this version is not recommended, please use rtl8187se_linux_26.1016.0716.2008 instead, as described above.


Ethernet

Wired network works out of the box from initial stage, therefore even system installation over the network is possible.


Bluetooth

Works out of the box. No adjustment required. Works fine in kbluemon/KDE3 in KDE4 environment.


[Fn] buttons

All function keys work under Gnome (see the instructions to setup s2ram though). KDE4 is a different story (read on).

Most of the [Fn] keys under KDE4 work. Some however will require a bit of the tuning.

Summary table
[Fn]+F2  - screen mode toggle - not checked yet
[Fn]+F3  - enable/disable touchpad - out of the box
[Fn]+F4  - decrease LCD brightness - out of the box
[Fn]+F5  - increase LCD brightness - out of the box
[Fn]+F6  - enable/disable Webcam - out of the box
[Fn]+F7  - decrease volume - works when hooked up in kmix (see "Volume kmix hookups" below)
[Fn]+F8  - increase volume - works when hooked up in kmix (see "Volume kmix hookups" below)
[Fn]+F9  - disable audio (mute) - works when hooked up in kmix (see "Volume kmix hookups" below)
[Fn]+F10 - enable/disable ECO - not confirmed yet
[Fn]+F11 - BT/WiFi toggle - out fo the box
[Fn]+F12 - system suspend - see "Suspend hookup" below
Volume buttons kmix hookups

Go to: System Settings > General > Keyboard & Mouse > Keyboard Shortcuts > KDE Component: kmix and modify as per screenshot below:

Image:Key_binding.png

Alternatively add the following to kglobalshortcutsrc in /home/<user>/.kde4/share/config

[KDE Global Shortcuts]
kmix\x01Decrease Volume - Front, HDA Intel=Volume Down
kmix\x01Increase Volume - Front, HDA Intel=Volume Up
kmix\x01Toggle mute - Front, HDA Intel=Volume Mute

Note: For some reason in KMix using the "second Front" as a Master Channel controller gives better result than using the "first Front". Additionally make sure that the "first Front" and "PCM" are set full scale in KMix.

Suspend button [Fn]+F12 hookup

Note: it will only work after modifying s2ram configuration. Please see below Suspend to RAM

1. go to: System Setting > Advanced > Input Action.

2. create "New Action" (you can set a New Group or put your new action in to any of the existing groups)

3. in "General" bookmark:

  • change action name to "Suspend to RAM" or whatever you like
  • change Action type to "Keyboard Shotcut -> Command/URL (simple)" by selecting it from dropdown list
  • make sure that Disable check box is not checked

4. in "Keyboard Shortcut" bookmark:

  • set new new key binding by pressing Fn+F12 over the button

5. in "Command/URL settings" bookmark:

  • enter "powersave -u" in "Command/URL to execute"

6. press Apply" and that's it.

Image:Suspend_2_RAM_pic1.png

Image:Suspend_2_RAM_pic3.png

Image:Suspend_2_RAM_pic3.png


Suspend to RAM

Advent 4211 is not included on s2ram whitelist yet. It will only work if executed with -f (force) option. To make it permanent into the system create a text file named "modules" or "config" into /etc/pm/config.d/ with the following entry:

S2RAM_OPTS="-f"

After using s2ram with forced option Advent is identified as:

# s2ram -i
This machine can be identified by:
    sys_vendor   = "DIXONSXP"
    sys_product  = "To be filled by O.E.M."
    sys_version  = "Ver.001"
    bios_version = "4.6.3""

This may be different on a genuine MSI Wind. Above info has been sent to s2ram developer, so hopefully Advent 4211 will be included in the next release.


Suspend to Disk

s2disk works out of the box and no additional tuning is required.


Screen Brightness

Under Gnome screen brightness does not seem to stick -- it keeps going back to 100% brightness within a minute of adjusting. Disable the ambient light sensor to fix this problem. Fire up gconf-editor and uncheck box under Apps->gnome-power-manager->ambient. You may have to set polling interval high and tweak other parameters here as well. In any case screen brightness may go back to 100% after resuming from suspend. Adjust it once and it sticks.


Software configuration

Windows fonts installation

If you get used to any specific Windows font you can just inject it into the SuSE through Personal Settings => Computer Administration => Font Installer, then "Add" and navigate to your windows fonts directory and choose the font. All that can be done without Microsoft license violation as far as you own a genuine Windows copy.

When the font is installed it can be used as system font via Personal Settings => Look & Feel => Apperance => Fonts.


Additional repositories

All additional repositories can be added through YaST => Software => Software Repositories, then "Add", choose Community Reositories and "Next". Choose the one you wish to add to your system. Highly recommended one is "Packman repository". It contains a lot of additional software not included in the main SuSE repository.


Playing restricted formats

By default SuSE do not offer any restricted formats to avoid any non-open license violation. Those can be easily added using 1-click install:

http://opensuse-community.org/codecs-kde.ymp

This will enable you to have:

  • Flash
  • Java
  • Latest Amarok (with MP3 Support) for KDE, or Helix-Banshee for GNOME users
  • Encrypted DVD (libdvdcss)
  • Extra xine codecs, for MPEG-4 etc. (libxine1)
  • K3b with MP3 Support (k3b-codecs)
  • Win 32 Codecs (w32codec-all)

1-click collection

More of 1-click collections can be found here: http://opensuse-community.org/1-click-collection

If you particularly like 1-click functionality try Webpin service and browse for more: http://packages.opensuse-community.org/. It also has a Firefox Search Engine functionality.

Personal tools