Comment 11 for bug 1132584

Revision history for this message
Fred Moses (fred-moses) wrote : Re: cedarview-drm kernel module fails to build on kernel 3.5.x [error: implicit declaration of function 'do_mmap']

No, that driver is for next generation Intel Product, that is not for cedarview. Ok, from my vantagepoint, the CDV driver is written for the 3.2 kernel and should be used with the 3.5 kernel. The only thing that works right now is as follows: This is my suggestion if you want to use cedarview with Ubuntu

Download 12.04.1 from here
http://old-releases.ubuntu.com/releases/12.04.1/
ubuntu-12.04.1-desktop-i386.iso
You should be able to install this to a USB stick
Boot stick
At the main screen, select “Install” BUT you will need to hit the “tab” key to adjust the load.
Remove splash –
Add video=LVDS-1:d
Install image
Reboot

Get into image
From terminal window install ssh server
sudo apt-get install openssh-server ( you may need this this )
Add the following to /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="vmalloc=256M video=LVDS-1:d"
sudo update-grub
Run the software update.
Reboot, you will have a new kernel 3.2.0-38-generic-pae

Now the following MUST BE DONE from either a tty window or an ssh session
If you try to install the driver through the graphical interface it will go to a black screen and never come back. Through the system is still alive. You can ssh in and remove cedarview-drm.

From a tty window or ssh session

sudo apt-get install cedarview-drm cedarview-graphics-driver libva-cedarview-vaapi-driver
sudo apt-get install libva-glx1 libvatpi1 vainfo libva-dev