Difference between revisions of "Lenovo Ideapad y530"

From ArchWiki
Jump to: navigation, search
(Sample xorg.conf)
Line 14: Line 14:
 
===Sample xorg.conf===
 
===Sample xorg.conf===
 
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"
Line 126: Line 126:
 
Mode 0666
 
Mode 0666
 
  EndSection
 
  EndSection
 
 
}}}
 

Revision as of 00:25, 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