Difference between revisions of "Lenovo Ideapad y530"

From ArchWiki
Jump to: navigation, search
m (Sample xorg.conf)
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
[[Category:Lenovo]]
 
==Making stuff work==
 
==Making stuff work==
 
===Enabling all speakers===
 
===Enabling all speakers===
  echo "optios snd_hda_intel model=lenovo-sky" >> /etc/modprobe.conf
+
  echo "options snd_hda_intel model=lenovo-sky" >> /etc/modprobe.d/modprobe.conf
  
 
===Workaround for brightness bug===
 
===Workaround for brightness bug===
Since it only allows for switching between 30 nad 36% using shortcuts.
+
The Lenovo Ideapad Y530 has an unusual implementation of the ACPI system. A patch to the kernel (2.6.29) is being developed. Until its release the following workaround should help control the display brightness beyond the limited ability of the keyboard shortcuts.
echo 65 > /proc/acpi/video/VGA/LCDD/brightness
+
 
cat the above mentioned file to see all accepted values
+
To see the list of available options:
ps. funny thing brightness works perfecly in bios or memtest
+
    cat /proc/acpi/video/VGA/LCDD/brightness
 +
 
 +
Replace XX in the following command with the display intensity you desire.
 +
    echo XX > /proc/acpi/video/VGA/LCDD/brightness
 +
 
 +
For full brightness:
 +
    echo 65 > /proc/acpi/video/VGA/LCDD/brightness
  
 
===Switching wifi on/off during work===
 
===Switching wifi on/off during work===
Line 98: Line 105:
 
Device    "Card0"
 
Device    "Card0"
 
Monitor    "Monitor0"
 
Monitor    "Monitor0"
DefaultColorDepth 16
+
DefaultColorDepth 24
 
SubSection "Display"
 
SubSection "Display"
 
Depth    16
 
Depth    16
Modes "1280x800"
 
 
EndSubSection
 
EndSubSection
 
SubSection "Display"
 
SubSection "Display"
 
Depth    24
 
Depth    24
Modes "1280x800"
 
 
EndSubSection
 
EndSubSection
 
SubSection "Display"
 
SubSection "Display"
 
Depth    32
 
Depth    32
Modes "1280x800"
 
 
EndSubSection
 
EndSubSection
 
  EndSection
 
  EndSection
 
</pre>
 
</pre>

Revision as of 13:03, 23 April 2012

Making stuff work

Enabling all speakers

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

Workaround for brightness bug

The Lenovo Ideapad Y530 has an unusual implementation of the ACPI system. A patch to the kernel (2.6.29) is being developed. Until its release the following workaround should help control the display brightness beyond the limited ability of the keyboard shortcuts.

To see the list of available options:

    cat /proc/acpi/video/VGA/LCDD/brightness

Replace XX in the following command with the display intensity you desire.

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

For full brightness:

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

Switching wifi on/off during work

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

Sample xorg.conf

Remember 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 24
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
	EndSubSection
	SubSection "Display"
		Depth     32
	EndSubSection
 EndSection