IdeaPad Y510 and Ubuntu Gutsy 7.10

Today I received the IdeaPad Y510.
After booting into Vista for the first time in this machine I proceeded to prepare the machine for Ubuntu to be installed as a Dual Boot operating system.

Here is what to do:

Boot into Windows Vista and go to Disk Management. (Right-Click on Computer > Manage > Disk Management)

If your IdeaPad is setup like mine the partitioning will be setup like so:

1. 30 GB Partition (where Vista runs from)
2. 190 GB Partition (this is an NTFS data partition)
3. 15 GB Partition (this is the recovery partition)

So what you want to do now is “Shrink” the 30GB partition to about 25GB (which is about as much as it allows you to shrink it). This will create a small partition that is labeled as “Unallocated”.
Then “Remove” the 190GB partition and “Delete” the resulting “Free Space”.
This will create a single large partition labeled as “Unallocated”.

Your work in Vista is done and you can Shut Down and boot up with the Ubuntu CD inserted.

From there you can complete setup easily by choosing the partitioning option of “Guided – Use largest continuous free space” or manually partitioning your ext3 and swap partitions.

From there on out its smooth sailing … as far as the installation goes.

First thing you may notice is that the Subwoofer is not working. Also the Compiz effects will not start.
For the Subwoofer there is a solution, but I am afraid that the problem with Compiz will not be repaired until October 2008 due to the type of graphics card that Intel recently released.
The Webcam also is a pretty new type of cam, and as such will not be working just yet.

The Subwoofer can be made to work by doing the following:

First, you need to make sure you have the right stuff installed

sudo aptitude install build-essential libncurses-dev gettext linux-headers-`uname -r`

Next get the latest ALSA drivers, and stow them away in some directory.

* alsa-driver
* alsa-lib
* alsa-utils

Next step is to create a directory for the files and copy the tar.bz2 files to that directory:

sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/* .
sudo tar xjf alsa-driver*.bz2
sudo tar xjf alsa-lib*.tar.bz2
sudo tar xjf alsa-utils*.tar.bz2

Next, compile and install:

– Compile and install alsa-driver

cd alsa-driver*
sudo ./configure –with-cards=hda-intel
sudo make
sudo make install

– Compile and install alsa-lib

cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install

– Compile and install alsa-utils

cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install

Next to tell alsa-base what to do:

sudo nano /etc/modprobe.d/alsa-base

at the end of that file, add:

options snd-hda-intel model=lenovo-ms7195-dig

Reboot and see if it’s working.

If it is not, do the following:

sudo su
cd /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/
mv snd-hda-intel.ko snd-hda-intel.ko.bak
ln -s /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
cd /usr/src/alsa/alsa-driver-1.0.16rc2/modules
cp * /lib/modules/2.6.22-14-generic/kernel/sound/
depmod -a

Reboot and it should be working.

Good Luck!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: