tl;dr: ubuntu-kernel-for-acer-c7.sh. Works for Ubuntu 12.04 and Ubuntu 12.10.
I followed Jay Lee's instructions and installed ChrUbuntu on my Acer C7 Chromebook, after having upgraded the RAM and replaced the hard drive with an SSD.
Out of curiosity, I run the command kvm-ok, which reported that the machine was able to make use of the KVM extensions:
Then I proceed to install VirtualBox itself. Part of the installation process involves compiling and installing the host kernel modules. The process failed because no suitable kernel headers could be found on the system.
I then followed olofg's instructions in order to create Ubuntu packages for linux-image and linux-headers. The process finished successfully, but now kvm-ok reported that KVM extensions were not supported on the system.
It turns out that by adding the parameter disablevmx=offto the kernel command line, the KVM extensions are supported.
I've compiled a shell script, based on olofg's instructions which updates the boot partition with a KVM-enabled kernel, and installs the generated Ubuntu kernel packages (kernel image and headers), so that compiling VirtualBox kernel modules is possible:
Thanks!!!! thanks!!! Now it's possible run Virtualbox software.
ReplyDeleteThanks!!!
After running the script, during reboot it now says it can't find a patch for Atheros chip and then indicates Bluetooth can't be enabled before booting so quick I can't makeout what file it's complaining about. The system is working and I have kernel-headers...just no more Bluetooth :(
ReplyDelete@Anonymous: I normally don't use Bluetooth devices on the Acer, so I haven't had the chance to address that :( I'll have a look in the next days.
ReplyDeleteHi, yeah the C7 has both USB3 and Bluetooth3 ...there are many reviews out there claiming the contrary, so I have to presume some of the early prototypes or perhaps the first shipment had USB2 and no Bluetooth.
ReplyDeleteBootup errors are:
ReplyDeleteBluetooth: Patch file not found ar3k/AthrBT_0x11020000.dfu
Bluetooth: Loading patch file failed
and after bootup the Bluetooth icon is no longer illuminated in the top bar on Unity
Apparently, since at least January, they've been shipping the mainboard in the C710-2847 that was just announced in the new model that is $80 more expensive (but comes with an extra 2GB RAM and larger battery). Those new features are USB3, Bluetooth3, etc.
It turns out this is a bug in Ubuntu 12.04 (#1024884) which the ChrUbuntu guys apparently worked around but which is reset when reloading the fresh kernel with this script. After your script runs, Bluetooth can be restored by doing this in a Terminal window:
ReplyDeleteuser@ChrUbuntu~$ cd /lib/firmware/ar3k
user@ChrUbuntu~$ sudo wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884/+attachment/3244421/+files/AthrBT_0x11020000.dfu
Password:
user@ChrUbuntu~$ sudo wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884/+attachment/3244422/+files/ramps_0x11020000_40.dfu
user@ChrUbuntu~$ sudo reboot
After the system comes back, you'll find the Bluetooth icon illuminated again in the top bar on Unity and/or you can go to the Bluetooth panel in the System Settings. Some models of C7 might not have the AR3K chip so these directions might not do anything useful (but shouldn't hurt). Hopefully they can be incorporated into the above script.
Thank you for this - great work. However, doesn't seem to get virtual box or vmware working on my chrubuntu. I have the model just before they upgraded ram etc, c710-2847. While the compiled kernel seems to work fine, the vmmon and vmnet extensions (vmware) and the extensions for virtualbox fail to compile. I will try to post the respective information later when I'm running the netbook... but I'm at 12.10 (with the 3.4). I'm also trying to get the 3.8.3 kernel loaded up with the "drivers" needed for this machine - that may fix my problem as well...
ReplyDeleteI updated the script for kernel 3.8 running on Acer C7 Chrubuntu 13.04
ReplyDeletehttps://gist.github.com/Computertechgurus/5565382
The above script from NYC Tech Wizards works great to get VirtualBox going in 13.04. However, the display won't wake up after suspend with the new kernel.
ReplyDeleteI found what looked like promising information here:
http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-nightly&id=cf0a6584aa6d382f802f2c3cacac23ccbccde0cd
I tried porting these changes nto the 3.8.0 kernel source that the script loads into kernel-next and then re-ran the script to build with my modified intel_panel.c.
$ diff intel_panel.orig intel_panel.c
324,325c324,330
< if (dev_priv->backlight_enabled)
< intel_panel_actually_set_backlight(dev, level);
---
>
> // Mod to attempt to fix unable to wake up screen from sleep
> // remove the conditional and hard-set it
> dev_priv->backlight_enabled = true;
> // if (dev_priv->backlight_enabled)
> intel_panel_actually_set_backlight(dev, level);
>
397,402c402,410
< /* Call below after setting BLC_PWM_CPU_CTL2 and BLC_PWM_PCH_CTL1.
< * BLC_PWM_CPU_CTL may be cleared to zero automatically when these
< * registers are set.
< */
< dev_priv->backlight_enabled = true;
< intel_panel_actually_set_backlight(dev, dev_priv->backlight_level);
---
> // mods below to fix display unable to wake up from sleep issue
> /* Check the current backlight level and try to set again if it's zero.
> * On some machines, BLC_PWM_CPU_CTL is cleared to zero automatically
> * when BLC_PWM_CPU_CTL2 and BLC_PWM_PCH_CTL1 are written.
> */
> // dev_priv->backlight_enabled = true;
> // intel_panel_actually_set_backlight(dev, dev_priv->backlight_level);
> if (!intel_panel_get_backlight(dev))
> intel_panel_actually_set_backlight(dev, dev_priv->backlight_level);
Unfortunately this doesn't seem to fix the suspend issue. It doesn't seem to break anything either, so I am going to stick with it.
Any clues on how best to fix the suspend/backlight (?) issue on a C7 (i915)?