Lenovo Ideapad Y580

lscpu/lspci/lsusb
lscpu

lspci -nn

lsusb

Install base system without network card
The new network card needs the alx driver, which can be downloaded and installed from source separately. You can get the URL-s with emerge -fp package-name, then download the files and transfer to /usr/portage/distfiles (create if not exists) using a pendrive as described here.

Kernel Configuration

 * Excluse elfc driver, because it compiles with error! Including devtmpfs could be a good idea, as can be read in the detailed installation documentation. Enable RTC emulation to avoid error about the missing device during boot.


 * Install e2fsprogs and upgrade world before kernel install, because there are some outdated package that cause compile error.

Ethernet Driver
The driver is currently not part of the kernel, the latest compat wireless source must be downloaded, e.g. compat-wireless-2012-07-03-pc.tar.bz2. (Note, the "pc" in the filename.) Installation is simple: alx kernel module install

Video Driver

 * The chip is supported by x11-drivers/nvidia-drivers and x11-drivers/xf86-video-nouveau, and optimus by bumblebee, but currently there are some Lenovo BIOS bugs that blocks usage. See discussion on nvnews and opened kernel bug. There is a hack to workaround the issue.
 * The built-in intel driver (with module i915) can be used for running X. Keep in mind the package versions, unkeyword if needed.

/etc/make.conf
CFLAG -mno-avx is necessary due to compilation for some packages failing /etc/make.conf

/etc/X11/xorg.conf
/etc/X11/xorg.conf