So after I stuck quite a long time with my Asus lapop, I recently decided to get me a new, shiny toy. As you can see from the title, my choice is Lenovo this time, with an IdeaPad Y560.
As I'm a Linux user for several years now, one of the first things to do after the purchase was to install my favorite operating system on it. In the following, I want to collect some experiences and maybe hacks required to successfully use Linux on that device - as information for myself and maybe others that also want to install something different than Windows on that laptop ;)
The Situation
The IdeaPad Y560 has an Intel i7 Quad core and comes with 6 GB RAM preinstalled. From the spec, it says, one can upgrade up to 8 GB.
My operating system choice is Fedora (currently version 14), 64 bit with KDE as default desktop.
Installation
At least my laptop had the following initial partitions:
- Windows Boot Partition (200 MB)
- Windows System Partition (around 580 GB)
- Some "driver" partition (around 30 GB); this contained only some Windows drivers and programs
- OEM Partition
The driver partition is set up as a logical drive inside an extended partition, so when using Windows, you actually might see 5 partitions reported.
Despite I usually don't use Windows anymore, I decided to keep it installed in case some of the installed devices aren't going to work with Linux. So, what I did was:
- Making a backup of the driver partition; I assume, one can get these drivers from the Lenovo website as well, but just wanted to keep the files in case something goes horribly wrong ;)
- Next step, I deleted the drivers partition and the extended partition. Note, that it is currently a rather bad idea to delete the (hidden) OEM partition, as it is required to restore the laptop to factory settings (unless your model is delivered with a backup DVD, but mine was not)
- In case you don't trust the Linux installer, you optionally might want to shrink the Windows partition from inside Windows; however, note, that in this case you can only shrink that partition until the first non-movable sectors are located. What - however - might be a good idea is to defragment the partition before proceeding with the Linux installation, at least, if the system has already been used for some time
Now the actual installation can begin. Insert the install CD/DVD/USB stick and reboot. Make sure, booting from the appropriate device is enabled and the device's boot priority is higher as the priority of the hard disk.
At last for me, the following boot procedure was straightforward: Actually, you just need to follow the instructions. I decided to shrink the Windows partition (to 100 GB, so Linux has a total of 480 GB in my setup). The installer will do the rest for you (usually, it will suggest to create a extended partition, where it will create a boot partition and a LVM volume with root and swap partitions). I advice to Use 3 LVM volumes - root, swap and home - for root, I used 20 GB (which is sufficient in most cases, but in case you are unsure you can set it at least to 50 GB, which is enough in any case).
After the copying of the live image to the hard disk, just reboot into the new system and complete installation.
First Impression
After I had quite some trouble with both my tower PC and my Asus laptop in the first time, I was really impressed. Linux works really well in this laptop, and most things seem to work out-of-the-box. So for example, the volume control keys indeed are usable (I especially like the mute button 8) ). WLAN does not need any additional work this time (which still wasn't the case with my Asus laptop, where I needed to install additional kernel modules manually) and graphics also do fine with the open source radeon driver.
What might need some work
Graphics
The radeon driver, which is used by default on Fedora, works quite well. Sometimes, there are some fragments but these are negligible. However, if you want to run heavy-weight 3D applications (games, modelers, etc) or just like to use your desktop's shiny 3D effects, you might want to use the (proprietary) display drivers.
Update:
The pre-installed radeon driver works now well (currently using F15) from a graphical point of view (no glitches, desktop effects working flawless and multiple monitors are no problem, too). However, currently, sound via HDMI seems not to be possible, so if you require it, consider installing the proprietary driver, too.
I recommend using the drivers from RPM Fusion. After enabling their repositories, issue an
If you decided to install the 32 bit version, you don't need to install the xorg-x11-drv-catalyst-libs package for 64 and 32 bit, of course.
Also note that you might consider installing the "kmod" package instead of the "akmod". The akmod's are good in case when a new kernel is installed the appropriate kmod is not yet available (which might result in a blank screen as soon as you boot the next time using the new kernel). In that case, the kernel module will be build when starting the system. However, this increases boot time (so if you want to keep boot times absolutely minimal, better go for the simple kmod variant.
After installation, you should rebuild your initramfs (and make a backup of the old, in case you need to revert):
mv /boot/initramfs-`uname -r`.img /boot/initramfs-`uname -r`.img-backup
dracut -v /boot/initramfs-`uname -r`.img `uname -r`
You should also disable KMS. Edit your /etc/grub.conf: You have to add radeon.modeset=0 to the kernel line. A complete section should then look like this:
root (hd0,4)
kernel /vmlinuz-2.6.35.11-83.fc14.x86_64 [...] radeon.modeset=0
initrd /initramfs-2.6.35.11-83.fc14.x86_64.img
Last but not least: If you have manually created and changed the file /etc/X11/xorg.conf, create a backup as well. If this file does not exist in your installation, you don't need to do something here (the file is not required anymore).
cd /etc/X11/
cp xorg.conf xorg.conf.bak
For further information and some hacks, there is a blog post which I found to be quite useful.
Setting up dual-head
I usually use an additional monitor attached to my laptop. While configuration via the open source drivers worked flawless (just setup what you want in System Settings -> Display and Monitor, the proprietary driver had some problems. More specifically:
I want to setup one X screen to span both monitors. Usually, I have the laptop monitor configured to be the primary and the external monitor right of the laptop. One is able to set this configuration up via the Catalyst Control Center (start it via su -c amdcccle), however, the changes were not permanent, i.e.:
- the control center instructed me to restart X (which I did)
- after that restart, all was setup as instructed
- however, after a system reboot, the external monitor was always set to be a clone of the first
After a bit playing around with the X configuration, I found this setup to be what I needed:
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/catalyst"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
Section "Monitor"
Identifier "0-LVDS"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1366x768"
Option "TargetRefresh" "60"
Option "Position" "0 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Section "Monitor"
Identifier "0-DFP1"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1920x1080"
Option "TargetRefresh" "60"
Option "Position" "1366 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "fglrx"
Option "OpenGLOverlay" "off"
Option "Monitor-LVDS" "0-LVDS"
Option "Monitor-DFP1" "0-DFP1"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 3286 1920
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Sound
In case you don't hear any sound in KDE, don't panic. At least for me, KDE picked the HDMI out as default output. So just go to the KDE system settings (hit Alt+F2 and enter "systemsettings" and hit enter to start it). There, navigate to Multimedia and select Phonon in the left sidebar. Now you can set up default output devices for the defined categories. Make sure, the entry "Internal Audio Analog Stereo" is at the very top of the list of output devices. You can Apply Device List To... to apply the list to all categories. Then, hit Apply to save the changes.
Ambient Light Sensor
The laptop comes with an integrated Ambient Light Sensor (ALS), which is used to automatically adjust the backlight brightness depending on the ambient light level. Up to Fedora 14, this sensor obviously has not been detected (and therefor automatic adjusting was off). However, starting from Fedora 15, the sensor is detected and fully used. In case you don't want/need the ALS: I had to boot into Windows and disable the automatic brightness changes there (Lenovo preinstalled a tool for this, just tap the special button with the battery icon and it should show up, unless you wiped everything away). There, you can disable the ALS (use the button with the gear icon and then there should be an option to disable ALS). This seems to deactivate the sensor hardware-wise (after rebooting, the screen brightness remains constant in Fedora, too).
By the way: In case somebody knows either how to enable/disable the ALS from Linux or the name/manufacturer of the ALS in the laptop... would be nice if you could drop me a message ;)

