You are not logged in.

#51 2014-01-28 20:56:37

skimm
Member
Registered: 2014-01-16
Posts: 1

Re: Acer C720/C720P Chromebook

I was wondering if anyone had any luck dual booting with Chrome OS.  I used the Chrubuntu repartition script here http://chromeos-cr48.blogspot.com/2013/ … -with.html to repartition my SSD and give chromeOS five gigabytes.  This leaves a GPT scheme with 20+ Gb to install whatever distro you would like on it.  However I am unable to mount the partition for installation even after making the partition ext4.  Has anyone else tried this and had any luck?

EDIT:

My problem was formatting the partition to ext4.  If you leave the partition as ChromeOs and use --force to install grub so you can use blocking, everything works fine.

Last edited by skimm (2014-01-29 03:03:13)

Offline

#52 2014-02-02 09:39:34

parchedas
Member
From: Cambridge, UK
Registered: 2013-06-01
Posts: 74

Re: Acer C720/C720P Chromebook

Is anyone else unable to watch vimeo videos in chrome/chromium?

Offline

#53 2014-02-08 16:58:21

Yannick@ekiga
Member
Registered: 2014-01-04
Posts: 11

Re: Acer C720/C720P Chromebook

Just to let you know I've some sort of auto-brighness:

First you'll need to compile the kernel module for the ALS (ambient light sensor):
/drivers/staging/iio/light/isl29018.o

Then here is a bash script doing the trick:
(based on http://www.mail-archive.com/mactel-linu … 00270.html , I barely know what I'm doing using bash... It certainly can be improved !)

#!/bin/bash
# Screen auto-brightness for Acer C720P
# (C) 2006 by Ortwin Glück
# Adapted 2014 Yannick
#
# Screen no lower than this, in %
MIN_BRIGHT=30
# minimum value to get auto-dimming, if lower it default to MIN_BRIGHT (we don't want black screen!)
LIGHT_LEVEL=$(($MIN_BRIGHT * 10))

# devices
# reads the max ambient light from the two sensors
ambient_light() {
# Raw values from 0 (dark) to 999 (bright)
        light=$(cat /sys/bus/iio/devices/iio\:device0/in_illuminance0_input)
}

# calculates the target brightness level (with cutoff)
calc_bright() {
        if [ $light -gt $LIGHT_LEVEL ]; then
                bright=$(($light / 10))
        else
                bright=$MIN_BRIGHT
        fi
}

# adjusts brightness
adj_bright() {
	# echo $bright
        xbacklight =$bright
}


renice 19 -p $$ >/dev/null 2>&1
# adjustment loop
while [ 1 ]; do
        ambient_light
        calc_bright
        adj_bright
        sleep 1
done

Someone with C skill could probably adapt this code :
https://github.com/poliva/lightum

Last edited by Yannick@ekiga (2014-02-08 17:22:04)

Offline

#54 2014-02-08 18:02:25

timjefferies
Member
Registered: 2014-01-08
Posts: 5

Re: Acer C720/C720P Chromebook

Yannick@ekiga wrote:

Just to let you know I've some sort of auto-brighness:

First you'll need to compile the kernel module for the ALS (ambient light sensor):
/drivers/staging/iio/light/isl29018.o

How does one do that?

Sounds cool. Perhaps you could add it to the wiki?

Last edited by timjefferies (2014-02-08 18:03:42)

Offline

#55 2014-02-08 21:02:39

Yannick@ekiga
Member
Registered: 2014-01-04
Posts: 11

Re: Acer C720/C720P Chromebook

timjefferies wrote:
Yannick@ekiga wrote:

Just to let you know I've some sort of auto-brighness:

First you'll need to compile the kernel module for the ALS (ambient light sensor):
/drivers/staging/iio/light/isl29018.o

How does one do that?

Sounds cool. Perhaps you could add it to the wiki?

You'll need to adapt the script in the wiki for kernel modules and add this one:
drivers/staging/iio/light/isl29018.ko

I'm doing it in fedora, thus I can not test for arch. But judging from what I see it should not be difficult to add.

Offline

#56 2014-02-17 07:44:05

Yannick@ekiga
Member
Registered: 2014-01-04
Posts: 11

Re: Acer C720/C720P Chromebook

I had hard time getting tear-free video playback using fedora 20 and Gnome 3.10. The only way I found was to make the intel driver to use the sna method and the tearfree option.

Please, can someone tell me if you have tearfree video on arch linux and what is your intel driver configuration ?

Offline

#57 2014-02-18 20:46:09

vilefridge
Member
Registered: 2006-11-02
Posts: 93

Re: Acer C720/C720P Chromebook

Horrah, it looks like hotkey functionality has been added to the wiki, using Sxhkd.  However, the systemd file included with sxhkd isn't working though.  I get "Failed to issue method call: No such file or directory" when trying to call 'systemctl enable sxhkd.service'

Anyone else ran into this?  I'm running on systemd 208.

EDIT:  Nevermind, I gave up and used xbindkeys.  Here's my ~/.xbindkeysrc in case this helps anyone else.  I mapped F6-F10 to correspond with their actual visual printed symbols, and left F1-F5 alone.  I also added Home, End, Pg Up, Pg Down, and Del keys using the Alt+arrow key combos.  Other netbooks have a Fn key to implement this functionality, but the C720 lacks this and needed the mapping.

# ~/.xbindkeysrc
"xbacklight -dec 10"
    m:0x0 + c:72
    F6
"xbacklight -inc 10"
    m:0x0 + c:73
    F7
"amixer set Master toggle"
    m:0x0 + c:74
    F8
"amixer set Master 10- unmute"
    m:0x0 + c:75
    F9
"amixer set Master 10+ unmute"
    m:0x0 + c:76
    F10
"xvkbd -xsendevent -text '\[Delete]'"
Alt + BackSpace
"xvkbd -xsendevent -text '\[End]'"
Alt + Right
"xvkbd -xsendevent -text '\[Home]'"
Alt + Left
"xvkbd -xsendevent -text '\[Page_Down]'"
Alt + Down
"xvkbd -xsendevent -text '\[Page_Up]'"
Alt + Up

Last edited by vilefridge (2014-02-19 19:10:01)

Offline

#58 2014-02-21 21:10:24

vilefridge
Member
Registered: 2006-11-02
Posts: 93

Re: Acer C720/C720P Chromebook

Here's my cros-haswell-modules-archlinux.sh, modified for Linux 3.13.4.  Works for me.

#!/bin/bash
# Modified for Arch Linux from ChrUbuntu's cros-haswell-modules.sh
# https://googledrive.com/host/0B0YvUuHHn3MndlNDbXhPRlB2eFE/cros-haswell-modules.sh

set -e

# Create a temp directory for our work
tempbuild=`mktemp -d`
cd $tempbuild

# Determine kernel version
archkernver=$(uname -r)
kernver=$(uname -r | cut -d'-' -f 1)

# Install necessary deps to build a kernel
echo "Installing linux-headers..."
sudo pacman -S --needed linux-headers

# Grab kernel source
echo "Fetching kernel sources..."
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-${kernver}.tar.gz
echo "Extracting kernel sources..."
tar xfvz linux-${kernver}.tar.gz
cd linux-${kernver}

# Use Benson Leung's post-Pixel Chromebook patches:
# https://patchwork.kernel.org/bundle/bleung/chromeos-laptop-deferring-and-haswell/
echo "Applying Chromebook Haswell Patches..."
for patch in 3078491 3078481 3074391 3074441 3074421 3074401 3074431 3074411; do
  wget -O - https://patchwork.kernel.org/patch/$patch/raw/ | patch -p1
done

# Need this
cp /usr/lib/modules/${archkernver}/build/Module.symvers .

# Prep tree
zcat /proc/config.gz > ./.config
make oldconfig
make prepare
make modules_prepare

echo "Building relevant modules..."
# Build only the needed directories
make SUBDIRS=drivers/platform/chrome modules
make SUBDIRS=drivers/i2c/busses modules

echo "Installing relevant modules..."
# switch to using our new chromeos_laptop.ko module
# preserve old as .orig
sudo mv /lib/modules/$archkernver/kernel/drivers/platform/chrome/chromeos_laptop.ko.gz /lib/modules/$archkernver/kernel/drivers/platform/chrome/chromeos_laptop.ko.gz.orig
sudo cp drivers/platform/chrome/chromeos_laptop.ko /lib/modules/$archkernver/kernel/drivers/platform/chrome/
sudo gzip /lib/modules/$archkernver/kernel/drivers/platform/chrome/chromeos_laptop.ko

# switch to using our new designware i2c modules
# preserve old as .orig
sudo mv /lib/modules/$archkernver/kernel/drivers/i2c/busses/i2c-designware-core.ko.gz /lib/modules/$archkernver/kernel/drivers/i2c/busses/i2c-designware-core.ko.gz.orig
sudo mv /lib/modules/$archkernver/kernel/drivers/i2c/busses/i2c-designware-pci.ko.gz /lib/modules/$archkernver/kernel/drivers/i2c/busses/i2c-designware-pci.ko.gz.orig
sudo cp drivers/i2c/busses/i2c-designware-*.ko /lib/modules/$archkernver/kernel/drivers/i2c/busses/
sudo gzip /lib/modules/$archkernver/kernel/drivers/i2c/busses/i2c-designware-*.ko
sudo depmod -a $archkernver

echo "Installing xf86-input-synaptics..."
sudo pacman -S --needed xf86-input-synaptics

echo "Reboot to use your touchpad!"

Last edited by vilefridge (2014-02-22 22:07:11)

Offline

#59 2014-02-22 01:58:26

TheBiloi
Member
Registered: 2013-11-11
Posts: 6

Re: Acer C720/C720P Chromebook

It looks like the module script to get the touchpad working needs to be altered for kernel 3.13. I don't know the necessary edits to make. If someone could help me out I'd really appreciate it.

Offline

#60 2014-02-22 05:47:08

parchedas
Member
From: Cambridge, UK
Registered: 2013-06-01
Posts: 74

Re: Acer C720/C720P Chromebook

So what touchpad setups are people running? This is what I have at the moment but I think it could be tuned

Section "InputClass" 
    Identifier      "touchpad peppy cyapa" 
    MatchIsTouchpad "on" 
    MatchDevicePath "/dev/input/event*" 
    MatchProduct    "cyapa" 
    Option          "FingerLow" "5" 
    Option          "FingerHigh" "10" 
    Option          "VertTwoFingerScroll" "on" 
    Option          "HorizTwoFingerScroll" "on" 
    Option          "HorizTwoFingerScroll" "on" 
    Option          "ClickFinger1" "1" 
    Option          "ClickFinger2" "2" 
    Option          "ClickFinger3" "3" 
    Option          "TapButton1" "1" 
    Option          "TapButton2" "3" 
    Option          "TapButton3" "2" 
    Option          "MaxTapMove" "21" 
EndSection

On another note I think the mainline kernel has the patches in it now, will try it later, it's in the AUR.

Offline

#61 2014-02-22 20:58:35

TheBiloi
Member
Registered: 2013-11-11
Posts: 6

Re: Acer C720/C720P Chromebook

parchedas wrote:

On another note I think the mainline kernel has the patches in it now, will try it later, it's in the AUR.

I've been compiling linux-mainline on the C720 for coming up on about three hours now. If this fixes the issue, I'll be very appreciative.

It looks like it's finishing up right about now.

EDIT: I spoke too soon. Looks like there's still a long ways to go.

Last edited by TheBiloi (2014-02-22 21:02:55)

Offline

#62 2014-02-22 22:04:01

parchedas
Member
From: Cambridge, UK
Registered: 2013-06-01
Posts: 74

Re: Acer C720/C720P Chromebook

Oh wow that is a long time, I had been compiling 3.12 with the patches, it took about an hour, if I used makelocalconfig it took about 15min. If mainline proves to be successful you can modprobedb to cut down that time.

Offline

#63 2014-02-22 22:56:49

TheBiloi
Member
Registered: 2013-11-11
Posts: 6

Re: Acer C720/C720P Chromebook

Upon booting into linux-mainline my keyboard wasn't working so I never actually made it far enough to test the touchpad. Perhaps someone who knows what they're doing should give it a try.

In the meantime, if anyone needs to downgrade their kernel I'd just use the downgrade package in AUR.

downgrade linux

downgrade linux-headers

grub-mkconfig -o /boot/grub/grub.cfg

Then reboot and before executing the touchpad module script from the wiki, comment out the lines that would otherwise install the newest linux-headers.

Last edited by TheBiloi (2014-02-22 23:23:58)

Offline

#64 2014-02-23 00:28:42

ciarlill
Member
Registered: 2011-12-10
Posts: 19

Re: Acer C720/C720P Chromebook

Okay I got my C720 today. Following the wiki and trying to USB boot from 2013.10.01-dual.iso. I used unetbootin to create the USB loader and I am getting the following error:

Failed to load COM32 file menu.c32

Any ideas on that? I'm going to try a 32 bit ISO in the meantime since it is only a 2gb model. Having trouble tracking one down though.

Offline

#65 2014-02-23 00:40:27

vilefridge
Member
Registered: 2006-11-02
Posts: 93

Re: Acer C720/C720P Chromebook

See post #58, I've modified the cros-haswell-modules-archlinux.sh script and have the touchpad working for 3.13.  That being said, it appears that there's some sort of a performance degradation in 3.13 and it's quite noticeable for me when starting X.  Some top hits from Google seem to be Intel Haswell and filesystem regressions in 3.13.  I'm running btrfs, which reportedly takes the least dramatic hit.  Anyone else?

http://www.phoronix.com/scan.php?page=a … x313&num=1
http://www.phoronix.com/scan.php?page=a … tems&num=1

Offline

#66 2014-02-23 01:39:51

TheBiloi
Member
Registered: 2013-11-11
Posts: 6

Re: Acer C720/C720P Chromebook

ciarlill wrote:

Okay I got my C720 today. Following the wiki and trying to USB boot from 2013.10.01-dual.iso. I used unetbootin to create the USB loader and I am getting the following error:

Failed to load COM32 file menu.c32

Any ideas on that? I'm going to try a 32 bit ISO in the meantime since it is only a 2gb model. Having trouble tracking one down though.

The ISO you have is correct. Boot the i686 option with mem=1536m parameters. If that doesn't fix it, I would imagine unetbootin is the problem as I've never gotten a working Arch installation through unetbootin.

https://wiki.archlinux.org/index.php/US … or_Windows

If yo're making the installation medium on Windows, use USBwriter.

Last edited by TheBiloi (2014-02-23 01:42:43)

Offline

#67 2014-02-23 04:25:39

wolfishor
Member
Registered: 2013-11-10
Posts: 1

Re: Acer C720/C720P Chromebook

Thx ! If anyone can make a script,like chrubuntu,it will be best!

Offline

#68 2014-02-23 08:24:56

parchedas
Member
From: Cambridge, UK
Registered: 2013-06-01
Posts: 74

Re: Acer C720/C720P Chromebook

TheBiloi wrote:

Upon booting into linux-mainline my keyboard wasn't working so I never actually made it far enough to test the touchpad. Perhaps someone who knows what they're doing should give it a try.

Hmm yip, I have the same problem, will try and see what's causing it.

Offline

#69 2014-02-23 11:51:16

ScarZy
Member
Registered: 2014-02-23
Posts: 2

Re: Acer C720/C720P Chromebook

Trackpad broken yesterday as reported in kernel 3.13.4. Tried to downgrade orignally for the time being as couldn't tinker script (see #58) but that didn't work successsfully as the nature of the script meant I would still upgrade to 3.13.4 causing the directory problem all over again.

Just to clarify, #58 works absolutely fine but it left me still with some patches to do manually. I assume this is normal? The kernel-patches location needs adding, im sure others will have this problem, maybe we could change Benson Leung's patch files as it seems to look in wrong location?

To get around this for now with the 'input on line 5' error and looking for chromeos_laptop I entered:

#Checking to see temp file location
su password
cd /tmp/ ; ls
#This should then yield a temporary folder where the downloaded linux kernel is running from 
#If you have lots of temporary files then a little extra digging might be useful (you're looking for linux-3.13.4)
/tmp/tempdirectory/linux-3.13.4/drivers/platform/chrome/chromeos_laptop.c

Also because of the nature of arch I think we need to update the wiki.

Offline

#70 2014-02-23 12:41:37

Yannick@ekiga
Member
Registered: 2014-01-04
Posts: 11

Re: Acer C720/C720P Chromebook

On Fedora 20, we have kernel 3.13.3

I adapted the script for the touchpad and touchscreen. (acer C720P)

AFAIK, here are the relevant part for adapting to arch. The 3 lines with "atmel_mxt_ts" are for the touchscreen. On C720 you can remove them.
The trick here is :
1- using the old "chromeos_laptop.c" from goolge Chrome OS source, which avoid using 6 patches from Benson Leung, as they already are in.
2- the path in the kernel source tree has changed for the above file. #58 takes care of that already.

# Use Benson Leung's post-Pixel Chromebook patches:
# https://patchwork.kernel.org/bundle/bleung/chromeos-laptop-deferring-and-haswell/
echo "Applying Chromebook Haswell Patches..."
for patch in 3078491 3078481; do
  wget -O - https://patchwork.kernel.org/patch/$patch/raw/ | patch -p1
done

# fetch the chromeos_laptop and atmel maxtouch source code
# Copy made from chromium.googlesource.com chromeos-3.8 branch
# https://chromium.googlesource.com/chromiumos/third_party/kernel-next/+/refs/heads/chromeos-3.8
wget https://googledrive.com/host/0BxMvXgjEztvAbEdYM1o0ck5rOVE --output-document=patch_atmel_mxt_ts.c
# Fix for kernel >=3.13
sed -i -e "s/INIT_COMPLETION(/reinit_completion(\&/g" patch_atmel_mxt_ts.c
wget https://googledrive.com/host/0BxMvXgjEztvAdVBjQUljYWtiR2c --output-document=patch_chromeos_laptop.c

# copy source files into kernel tree replacing existing kernel source
cp ./patch_atmel_mxt_ts.c drivers/input/touchscreen/atmel_mxt_ts.c
cp ./patch_chromeos_laptop.c drivers/platform/chrome/chromeos_laptop.c

The full script for Fedora 20 can be found here, in #1 :
http://forums.fedora-fr.org/viewtopic.php?id=61252 (FR)

Last edited by Yannick@ekiga (2014-02-23 12:46:49)

Offline

#71 2014-02-23 14:11:39

ScarZy
Member
Registered: 2014-02-23
Posts: 2

Re: Acer C720/C720P Chromebook

Great work Yannick. I found your fedora script yesterday but didn't have the skills or patience to change it over to arch. Thanks for adopting it for arch too.

Offline

#72 2014-02-24 21:30:43

maep
Member
Registered: 2011-07-09
Posts: 8

Re: Acer C720/C720P Chromebook

Greetings! I got my C720 all set up but there are two things still bugging me.

Is there any way start SeaBIOS automatically without having to press Ctrl-L?

I really miss the Del/Home/End/PgUp/PgDown keys. I'd like to map them to AltGr+Backspace/Left/Right/Up/Down. Ideally it should work both in X11 and console. I looked into using udev like described here: https://wiki.archlinux.org/index.php/Ma … o_keycodes But I have no idea what I'm supposed to do there. For starters, what should the keyboard: match string look like?

Offline

#73 2014-02-25 11:05:04

Yannick@ekiga
Member
Registered: 2014-01-04
Posts: 11

Re: Acer C720/C720P Chromebook

maep wrote:

Greetings! I got my C720 all set up but there are two things still bugging me.

Is there any way start SeaBIOS automatically without having to press Ctrl-L?

You can do it. But I do *NOT* recommend it.

Why ?
* You'll need to open the case and this will probably void your warranty. Then take a screw out (the one protecting coreboot).
* Doing so will remove your access to seabios, thus you wont be able to boot your linux distro and reinstalling Chrome OS will be required, thus erasing your linux distro.
* the process itself is quite long (intalling Chrome OS, setup coreboot, installing your linux distro and reconfiguring it).
* the process is dangerous: it automatically updated coreboot in my case. If something went wrong it would have bricked the laptop. But it is made by google, so the odds are good I guess.
* you'd better place the screw back at the end to prevent software access to coreboot.

The result is a 1 second white screen and it goes directly to coreboot. Video: https://www.youtube.com/watch?v=B0-k2BztbcE

Would you like to know more? -> http://johnlewis.ie/how-to-make-seabios … acer-c720/

I did it and learned the hard way. Your experience might differ as you maybe have a different version of coreboot...

Last edited by Yannick@ekiga (2014-02-26 08:10:27)

Offline

#74 2014-02-26 15:12:07

ciarlill
Member
Registered: 2011-12-10
Posts: 19

Re: Acer C720/C720P Chromebook

Resolved my boot issue. The problem was simply using unetbootin. I used DD to create the bootable drive instead and everything worked fine.

I was wondering if anyone has experienced audio clicking issues? I just noticed with my headphones in that right before a sound plays I get a slight click, and shortly after it is finished another click. I am testing this using:

aplay /usr/share/sounds/alsa/Noise.wav

I am using TLP for power management and thought maybe sound card power management was the cause. I tried stopping the service, still hear clicking. Also tried commenting out the sound sections of TLP's config and restarting the service - still hear clicking. I also noticed I heard the click when I stop/start/restart the TLP service. Lastly, I tried disabling the service and rebooting - same result.

Just wondering if anyone else has experienced this and has suggestions. It is only a minor annoyance but I got everything else working so nicely that I figured I would try to resolve this as well.

EDIT:

Of course I find the answer as soon as I make a post! https://wiki.archlinux.org/index.php/Ad … g_playback

So the reason disabling TLP did not work because the default setting for snd_hda_intel seems to be to enable powersaving mode. I changed the power_save parameter to 10 and this is slightly better since it does not immediately shut the card back off. I am considering disabling altogether but cannot find any information about how much power draw the card is responsible for.

Last edited by ciarlill (2014-02-26 15:21:21)

Offline

#75 2014-02-28 16:04:27

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: Acer C720/C720P Chromebook

Just letting people know that I successfully installed 64bit Arch on my Acer C710-2615 Chromebook using the latest install media. I flashed my bios as per instructions from Johnny Phung's youtube videos, then installed Arch from a usb stick.

I created the Arch install usb stick from the wiki instructions with the "dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx && sync" command. For me what worked was one partition / and I used fdisk, MBR and grub. The touchpad worked straight away so someone has been doing some work - I notice there's a chromeos_laptop kernel module now in  the latest kernel so maybe that's why. Sound also worked right away.

I'm very happy to be free from Chrome. I feel like I own my laptop now!

Last edited by nirvanix (2014-02-28 17:15:18)


I've got a lovely bunch of coconuts...

Offline

Board footer

Powered by FluxBB