Difference between revisions of "Lenovo Ideapad y530"

From ArchWiki
Jump to: navigation, search
Line 15: Line 15:
 
Remembet to tweak your keymap and mouse number of keys.
 
Remembet to tweak your keymap and mouse number of keys.
 
{{{
 
{{{
Section "ServerLayout"
+
Section "ServerLayout"
 
Identifier    "Xorg Configured"
 
Identifier    "Xorg Configured"
 
Screen      0  "Screen0" 0 0
 
Screen      0  "Screen0" 0 0
Line 21: Line 21:
 
         InputDevice    "USB Mouse" "SendCoreEvents"
 
         InputDevice    "USB Mouse" "SendCoreEvents"
 
         InputDevice    "touchpad" "CorePointer"
 
         InputDevice    "touchpad" "CorePointer"
EndSection
+
EndSection
 
+
Section "ServerFlags"
+
Section "ServerFlags"
 
Option "AllowMouseOpenFail"  "true"
 
Option "AllowMouseOpenFail"  "true"
 
Option "AutoAddDevices" "False"
 
Option "AutoAddDevices" "False"
EndSection
+
EndSection
 
+
Section "Files"
+
Section "Files"
 
ModulePath  "/usr/lib/xorg/modules"
 
ModulePath  "/usr/lib/xorg/modules"
 
FontPath    "/usr/share/fonts/misc:unscaled"
 
FontPath    "/usr/share/fonts/misc:unscaled"
Line 47: Line 47:
 
FontPath    "/usr/share/fonts/defoma/CID"
 
FontPath    "/usr/share/fonts/defoma/CID"
 
FontPath    "/usr/share/fonts/defoma/TrueType"
 
FontPath    "/usr/share/fonts/defoma/TrueType"
EndSection
+
EndSection
 
+
Section "Module"
+
Section "Module"
 
         Load  "ddc"  # ddc probing of monitor
 
         Load  "ddc"  # ddc probing of monitor
 
Load  "dbe"
 
Load  "dbe"
Line 60: Line 60:
 
Load  "record"
 
Load  "record"
 
Load  "synaptics"
 
Load  "synaptics"
EndSection
+
EndSection
 
+
Section "InputDevice"
+
Section "InputDevice"
 
Identifier  "Keyboard0"
 
Identifier  "Keyboard0"
 
Driver      "keyboard"
 
Driver      "keyboard"
Line 70: Line 70:
 
Option "XkbLayout" "pl"
 
Option "XkbLayout" "pl"
 
Option "XkbVariant" ""
 
Option "XkbVariant" ""
EndSection
+
EndSection
 
+
Section "InputDevice"
+
Section "InputDevice"
 
         Identifier      "USB Mouse"
 
         Identifier      "USB Mouse"
 
         Driver          "mouse"
 
         Driver          "mouse"
Line 80: Line 80:
 
         Option          "ZAxisMapping"          "4 5"
 
         Option          "ZAxisMapping"          "4 5"
 
         Option          "Buttons"              "5"
 
         Option          "Buttons"              "5"
EndSection
+
EndSection
 
+
Section "InputDevice"
+
Section "InputDevice"
 
         Identifier      "touchpad"
 
         Identifier      "touchpad"
 
         Driver          "synaptics"
 
         Driver          "synaptics"
Line 90: Line 90:
 
Option     "TapButton1" "1"
 
Option     "TapButton1" "1"
 
Option      "MaxTapTime"        "180"
 
Option      "MaxTapTime"        "180"
EndSection
+
EndSection
 
+
 
+
Section "Monitor"
+
Section "Monitor"
Identifier "Monitor0"
+
Identifier "Monitor0"
Option "DPMS" "true"
+
Option "DPMS" "true"
EndSection
+
EndSection
 
+
 
+
Section "Device"
+
Section "Device"
 
Identifier  "Card0"
 
Identifier  "Card0"
 
Driver      "nvidia"
 
Driver      "nvidia"
EndSection
+
EndSection
 
+
 
+
Section "Screen"
Section "Screen"
+
 
Identifier "Screen0"
 
Identifier "Screen0"
 
Device    "Card0"
 
Device    "Card0"
Line 122: Line 121:
 
Modes "1280x800"
 
Modes "1280x800"
 
EndSubSection
 
EndSubSection
EndSection
+
EndSection
 
+
Section "DRI"
+
Section "DRI"
 
Mode 0666
 
Mode 0666
EndSection
+
EndSection
  
  
 
}}}
 
}}}

Revision as of 00:23, 5 February 2009

Making stuff work

Enabling all speakers

echo "optios snd_hda_intel model=lenovo-sky" >> /etc/modprobe.conf

Workaround for brightness bug

Since it only allows for switching between 30 nad 36% using shortcuts.

echo 65 > /proc/acpi/video/VGA/LCDD/brightness

cat the above mentioned file to see all accepted values ps. funny thing brightness works perfecly in bios or memtest

Switching wifi on/off during work

Any ideas? Currently you have to reboot to make it work.

Sample xorg.conf

Remembet to tweak your keymap and mouse number of keys. {{{

Section "ServerLayout"

Identifier "Xorg Configured" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard"

       InputDevice    "USB Mouse" "SendCoreEvents"
       InputDevice    "touchpad" "CorePointer"
EndSection

Section "ServerFlags"

Option "AllowMouseOpenFail" "true" Option "AutoAddDevices" "False"

EndSection

Section "Files"

ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/75dpi" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/100dpi" FontPath "/usr/share/fonts/PEX" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/ttf/western" FontPath "/usr/share/fonts/ttf/decoratives" FontPath "/usr/share/fonts/truetype" FontPath "/usr/share/fonts/truetype/openoffice" FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera" FontPath "/usr/share/fonts/latex-ttf-fonts" FontPath "/usr/share/fonts/defoma/CID" FontPath "/usr/share/fonts/defoma/TrueType"

EndSection

Section "Module"
       Load  "ddc"  # ddc probing of monitor

Load "dbe" Load "dri" Load "extmod" Load "glx"

       Load  "bitmap" # bitmap-fonts

Load "type1" Load "freetype" Load "record" Load "synaptics"

EndSection

Section "InputDevice"

Identifier "Keyboard0" Driver "keyboard"

       Option      "CoreKeyboard"

Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "pl" Option "XkbVariant" ""

EndSection

Section "InputDevice"
       Identifier      "USB Mouse"
       Driver          "mouse"
       Option          "Device"                "/dev/input/mice"

Option "SendCoreEvents" "true"

       Option          "Protocol"              "IMPS/2"
       Option          "ZAxisMapping"          "4 5"
       Option          "Buttons"               "5"
EndSection

Section "InputDevice"
       Identifier      "touchpad"
       Driver          "synaptics"

Option "SendCoreEvents" "true" Option "VertEdgeScroll" "true" Option "HorizEdgeScroll" "true" Option "TapButton1" "1" Option "MaxTapTime" "180"

EndSection


Section "Monitor"
	Identifier "Monitor0"
	Option "DPMS" "true"
EndSection


Section "Device"

Identifier "Card0" Driver "nvidia"

EndSection

Section "Screen"

Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultColorDepth 16 SubSection "Display" Depth 16 Modes "1280x800" EndSubSection SubSection "Display" Depth 24 Modes "1280x800" EndSubSection SubSection "Display" Depth 32 Modes "1280x800" EndSubSection

EndSection

Section "DRI"

Mode 0666

EndSection


}}}