You are not logged in.

#26 2013-12-19 05:52:38

AnonymousChen
Member
Registered: 2013-12-19
Posts: 9

Re: Acer C720/C720P Chromebook

How did you guys managed get arch installed and booted on the SSD because when try to run os-prober and grub-mkconfig -o /boot/grub/grub.cfg I keep getting an error message
https://docs.google.com/file/d/0B4QaUsz … edit?pli=1
https://docs.google.com/file/d/0B4QaUsz … edit?pli=1

(1) 1007KB BIOS boot partition (for grub)
(2) 200MB Linux filesystem (for /boot) (ext4)
(3) 2GB Linux filesystem (swap)
(3) 12.7GB Linux filesystem (for /) (ext4)

Last edited by AnonymousChen (2013-12-19 11:20:51)

Offline

#27 2013-12-19 21:15:55

AnonymousChen
Member
Registered: 2013-12-19
Posts: 9

Re: Acer C720/C720P Chromebook

Okay I fixed it but my Arch won't boot up

EDIT: Stupid me it's ctrl+L to boot

Last edited by AnonymousChen (2013-12-20 04:35:43)

Offline

#28 2013-12-24 14:02:00

Pascal148
Member
Registered: 2013-12-24
Posts: 4

Re: Acer C720/C720P Chromebook

Hi everybody,

Sorry for my poor english (I'm french).
Fisrt, thanks for the instructions which works really well.
I've installed Ubuntu on my Acer C720p and everything works fine (touchpad, sleep mode, ...) except one thing.
On the boot, the machine display a white screen saying "OS verification is off, press Space to re-enable). Then, I have to do Ctrl+L and have ubuntu to launch.
I've make a normal installation of Ubuntu (with grub).
Is there a way to avoid it and boot directly ?
Thanks in advance.

Pascal

Offline

#29 2013-12-27 14:53:19

madx
Member
Registered: 2012-10-11
Posts: 10

Re: Acer C720/C720P Chromebook

@Pascal148 do you have a working touchscreen too?

I'm also interested in the automatic boot to Linux if someone finds out.

Thanks to everyone in this thread, my C720P is running fine except for the known issues (suspend, hibernate, function keys and the touchscreen)

Offline

#30 2013-12-27 16:59:59

Pascal148
Member
Registered: 2013-12-24
Posts: 4

Re: Acer C720/C720P Chromebook

Hi,

No, the touchscreen isn't working (and I didn't try.
I'm under Ubuntu 13.10 and I found a solution to the suspend issue.
In /etc/default/grub, replace the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
by
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic"
and then make 'sudo update-grub'.

I found this on this page:
https://plus.google.com/+PedroLarroy/posts/6CgQypQukMa

I had no trouble wih the sound or the usb and everything seems to works well after suspend (closing the lid).

What is the issue with the function keys (on Ubuntu 13.10, it seems to works fine) ?

Pascal

Offline

#31 2013-12-27 17:30:11

Pascal148
Member
Registered: 2013-12-24
Posts: 4

Re: Acer C720/C720P Chromebook

Sorry, I've spoken too fast.
The computer didn't shutdown after resume.
The solution given by Mike Lin (as someone said on another page) seems to work fine. I paste it here:

1. Creating 05_Sound file under /etc/pm/sleep.d/
gedit /etc/pm/sleep.d/05_Sound
#####################
#!/bin/sh
# File: "/etc/pm/sleep.d/05_Sound".
case "${1}" in
hibernate|suspend)
# Unbind ehci for preventing error
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci-pci/unbind
# Unbind snd_hda_intel for sound
echo -n "0000:00:1b.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind
echo -n "0000:00:03.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind
;;
resume|thaw)
# Bind ehci for preventing error
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci-pci/bind
# Bind snd_hda_intel for sound
echo -n "0000:00:1b.0" | tee /sys/bus/pci/drivers/snd_hda_intel/bind
echo -n "0000:00:03.0" | tee /sys/bus/pci/drivers/snd_hda_intel/bind
;;
esac
#################
chmod +x /etc/pm/sleep.d/05_Sound

2. rc.local editing
gedit /etc/rc.local

echo EHCI > /proc/acpi/wakeup
echo HDEF > /proc/acpi/wakeup
echo XHCI > /proc/acpi/wakeup
echo LID0 > /proc/acpi/wakeup
echo TPAD > /proc/acpi/wakeup
echo TSCR > /proc/acpi/wakeup
echo 300 > /sys/class/backlight/intel_backlight/brightness
rfkill block bluetooth
/etc/init.d/bluetooth stop


3. grub editing
gedit /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash tpm_tis.force=1"
update-grub
update-grub2

Pascal

Offline

#32 2013-12-27 17:46:36

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Acer C720/C720P Chromebook

Pascal148,
Welcome to Arch Linux.  Please use BBCode code tags when posting program output and file contents.  There is also a handy link under all of the reply and post boxes on the forums.

Thanks.
EDIT:  P.S. Pascal is a great name for one who is French smile  I have very much enjoyed my visits to your country.

Last edited by ewaller (2013-12-27 17:49:50)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#33 2013-12-27 18:17:39

madx
Member
Registered: 2012-10-11
Posts: 10

Re: Acer C720/C720P Chromebook

Pascal148 I'll try your fixes asap.
I've got a working touchscreen here, I'll post instructions when I get back to my c720p. I found info here https://plus.google.com/app/basic/strea … yxtrazmk0k and adapted the script for Arch

I'll also update the wiki with the C720P-specific instructions

Bonne soirée :-)

Offline

#34 2013-12-27 23:33:13

madx
Member
Registered: 2012-10-11
Posts: 10

Re: Acer C720/C720P Chromebook

Ok so,

Here's the script I used for generating the custom modules (for touchpad + touchscreen): http://pastie.org/8581310

I also followed the directions on Pedro Larroy's Google+ post and came up with the following two files:

# /etc/tmpfiles.d/cros-acpi-wakeup.conf
w /proc/acpi/wakeup - - - - EHCI
w /proc/acpi/wakeup - - - - HDEF
w /proc/acpi/wakeup - - - - XHCI
w /proc/acpi/wakeup - - - - LID0
w /proc/acpi/wakeup - - - - TPAD
w /proc/acpi/wakeup - - - - TSCR
# /usr/lib/systemd/system-sleep/cros-sound-suspend.sh
#!/bin/bash

case $1/$2 in
  pre/*)
    # Unbind ehci for preventing error 
    echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci-pci/unbind
    # Unbind snd_hda_intel for sound
    echo -n "0000:00:1b.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind
    echo -n "0000:00:03.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind
    ;;
  post/*)
    # Bind ehci for preventing error 
    echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci-pci/bind
    # bind snd_hda_intel for sound
    echo -n "0000:00:1b.0" | tee /sys/bus/pci/drivers/snd_hda_intel/bind
    echo -n "0000:00:03.0" | tee /sys/bus/pci/drivers/snd_hda_intel/bind
    ;;
esac

Make the second one executable

chmod +x /usr/lib/systemd/system-sleep/cros-sound-suspend.sh

And don't forget to add tpm_tis.force=1 in your kernel parameters in

# vim /etc/default/grub
...
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash tpm_tis.force=1"
...
# grub-mkconfig -o /boot/grub/grub.cfg

It seems to be working fine now, I guess it might still have some issues or config tweaks to be better but it's totaly useable!

EDIT: I've fixed the second script, there was an extra ";" at the start of the case statement.

Last edited by madx (2013-12-30 21:22:26)

Offline

#35 2014-01-03 02:55:22

catern
Member
Registered: 2014-01-02
Posts: 2

Re: Acer C720/C720P Chromebook

madx, I'm using your instructions, and suspending mostly works, but after suspending I get massive spam in dmesg of

[  386.003409] ehci-pci 0000:00:1d.0: port 2 resume error -19
[  386.033417] ehci-pci 0000:00:1d.0: port 2 resume error -19
[  386.063451] ehci-pci 0000:00:1d.0: port 2 resume error -19
[  386.093443] ehci-pci 0000:00:1d.0: port 2 resume error -19
[  386.093699] ehci-pci 0000:00:1d.0: port 1 resume error -19
[  386.300097] ehci-pci 0000:00:1d.0: port 1 resume error -19
[  386.330073] ehci-pci 0000:00:1d.0: port 1 resume error -19
[  386.360065] ehci-pci 0000:00:1d.0: port 1 resume error -19

on and on, alternating between ports, until I reboot.

Weirdly, both USB ports still work.

Is this spam present for you as well?

Last edited by catern (2014-01-03 02:55:45)

Offline

#36 2014-01-03 04:19:35

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

Re: Acer C720/C720P Chromebook

catern wrote:

Is this spam present for you as well?

I had this but it was fixed when I removed the extra ";" as mentioned in madx's edit. Do you have it as well?

EDIT: If a few other people can confirm this suspend as working I think it should be added to the wiki.

Last edited by parchedas (2014-01-03 04:44:35)

Offline

#37 2014-01-03 05:33:01

catern
Member
Registered: 2014-01-02
Posts: 2

Re: Acer C720/C720P Chromebook

parchedas wrote:
catern wrote:

Is this spam present for you as well?

I had this but it was fixed when I removed the extra ";" as mentioned in madx's edit. Do you have it as well?

Figured it out; I copied the initial comment

# /usr/lib/systemd/system-sleep/cros-sound-suspend.sh

into the file as well, before the shebang, so systemd must have been choking when it tried to execute it. That line should be removed if it goes on the Arch wiki.

Suspend is working fine now.

Offline

#38 2014-01-03 23:12:27

tumas
Member
Registered: 2012-02-08
Posts: 89

Re: Acer C720/C720P Chromebook

parchedas wrote:
catern wrote:

Is this spam present for you as well?

I had this but it was fixed when I removed the extra ";" as mentioned in madx's edit. Do you have it as well?

EDIT: If a few other people can confirm this suspend as working I think it should be added to the wiki.

I have no C720, but i have the Chromebook 14 from HP. But since the cpu, ram etc. are quite the same, alle the tweaks for the c720 are working just fine with this model.
Suspend is also working with the changes made as mentioned above.

Unfortunately i can not test any more things, bcs. for some reason the charger is broken and my chromebook wont "charge up" anymore.....

Offline

#39 2014-01-04 11:28:17

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

Re: Acer C720/C720P Chromebook

Hi,

First of all thank you all, as with your help I'm able to use this computer and it's quite confortable. Especially with Gnome.

I'm running Fedora 20 on it and, as I'm french, wrote a step-by-step how-to (with also a script for modules compilation) in the french fedora forum here :
http://forums.fedora-fr.org/viewtopic.php?id=61252 (french)

My question : I'm having issue with the internal microphone. It doesn'y work by default. I'm curious : do you guys, running arch, have the same issue ?

At the moment my workaround is :
Use alsamixer, set all boosts mic to 0, set capture to mono, turn on internal mic and set it to 100%.
1388694548.png

But the volume is quite low without boost...

Last edited by Yannick@ekiga (2014-01-04 17:02:11)

Offline

#40 2014-01-05 23:27:32

madx
Member
Registered: 2012-10-11
Posts: 10

Re: Acer C720/C720P Chromebook

@catern, parchedas & tumas: I'm glad to hear that it is working fine for you too!

@Yannick: I'll try to test the microphone when I have some time and I'll tell you how it went.

My current issue is with the HDMI output: video & sound is working fine (& great!) but when I connect on my TV, the laptop's screen goes blank and the only way I (empirically) found to restore it is to unplug the HDMI cable, close the laptop, wait for the suspend to be effective then open it again.
Do you guys have tried this and do you face the same problem?

Offline

#41 2014-01-08 02:39:55

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

Re: Acer C720/C720P Chromebook

Has anyone tried using xf86-input-cmt instead of xf86-input-synaptics? Would it work?

Offline

#42 2014-01-08 22:03:54

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

Re: Acer C720/C720P Chromebook

AnonymousChen wrote:

How did you guys managed get arch installed and booted on the SSD because when try to run os-prober and grub-mkconfig -o /boot/grub/grub.cfg I keep getting an error message
https://docs.google.com/file/d/0B4QaUsz … edit?pli=1
https://docs.google.com/file/d/0B4QaUsz … edit?pli=1

(1) 1007KB BIOS boot partition (for grub)
(2) 200MB Linux filesystem (for /boot) (ext4)
(3) 2GB Linux filesystem (swap)
(3) 12.7GB Linux filesystem (for /) (ext4)

I'm getting this error as well. Also, cgdisk isn't working for me, it just says /dev/sda not found. I had to use cfdisk.

Can anyone provide a bit more detail on how to partition the disk so that grub will install?

Thanks,

Tim

Offline

#43 2014-01-09 06:41:25

shyrock
Member
Registered: 2009-03-24
Posts: 2

Re: Acer C720/C720P Chromebook

timjefferies wrote:
AnonymousChen wrote:

How did you guys managed get arch installed and booted on the SSD because when try to run os-prober and grub-mkconfig -o /boot/grub/grub.cfg I keep getting an error message
https://docs.google.com/file/d/0B4QaUsz … edit?pli=1
https://docs.google.com/file/d/0B4QaUsz … edit?pli=1

(1) 1007KB BIOS boot partition (for grub)
(2) 200MB Linux filesystem (for /boot) (ext4)
(3) 2GB Linux filesystem (swap)
(3) 12.7GB Linux filesystem (for /) (ext4)

I'm getting this error as well. Also, cgdisk isn't working for me, it just says /dev/sda not found. I had to use cfdisk.

Can anyone provide a bit more detail on how to partition the disk so that grub will install?

Thanks,

Tim

That GRUB issue is a known bug. There's a thread here. The upshot is to add

# Fix broken grub.cfg gen
GRUB_DISABLE_SUBMENU=y

to the end of /etc/defaults/grub and run grub-mkconfig again.

Offline

#44 2014-01-10 16:09:49

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

Re: Acer C720/C720P Chromebook

madx wrote:

My current issue is with the HDMI output: video & sound is working fine (& great!) but when I connect on my TV, the laptop's screen goes blank and the only way I (empirically) found to restore it is to unplug the HDMI cable, close the laptop, wait for the suspend to be effective then open it again.
Do you guys have tried this and do you face the same problem?

I do have the same issue : when I connect the laptop to a video projector using HDMI output the laptop screen goes blank. But on the video projector side I do have a screen (but as it is an extended screen, there is nothing there to do exept moving the mouse pointer)
My workaround is this :
- change the output on the laptop to tty using ctrl+alt+F2 (I'm using fedora 20 and Gnome 3.10). Wait a few seconds : the terminal should also appear on the HDMI output as well as on the laptop screen.
- Then switch back to x.org using ctrl+alt+F1 (fedora, it is F7 on debian and I don't know on arch...). Then I do have a working screen on the laptop and the video projector. It then use an extended screen for the video projector (and it is full HD 1080P).

I don't know why it behaves like this, but it works for me, I just used it at work today. I'll try my best to find a better way. I hope it works for you too as it's quite simple to workaround like that. (by the way, I'm using C720P with the atmel driver for the touchscreen ; just in case it is related...)

Last edited by Yannick@ekiga (2014-01-10 16:13:24)

Offline

#45 2014-01-12 21:31:58

paolod
Member
Registered: 2014-01-12
Posts: 1

Re: Acer C720/C720P Chromebook

When trying to suspend and resume, this didn't work on my system and doesn't seem to be necessary:

# Unbind snd_hda_intel for sound
    echo -n "0000:00:1b.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind
    echo -n "0000:00:03.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind

The first unbind command hangs. I removed the unbind and bind commands for snd-hda-intel from the cros-sound-suspend.sh script (leaving the ones for ehci-pci) and suspend/resume appears to be working fine. I'm running 32 bit kernel 3.12.7-1 and using the following kernel command line:
add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic

Offline

#46 2014-01-15 19:31:27

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

Re: Acer C720/C720P Chromebook

Good news : I've got the last piece of hardware to work :
The Ambient Light Sensor.

The kernel module to compile is :
drivers/staging/iio/light/isl29018.o

It has 3 sensors : light, infrared, proximity

To get raw values :
Light:
$ cat /sys/bus/iio/devices/iio\:device0/in_illuminance0_input
[from 0=dark, to 999=light]

infrared:
$ cat /sys/bus/iio/devices/iio\:device0/in_intensity_ir_raw

Proximity:
$ cat /sys/bus/iio/devices/iio\:device0/in_proximity_raw

There is a calibration system...

Issue is: I did not find software support for backlight autodimming.

This file seems related to calibration for acer C720:
https://chromium.googlesource.com/chrom … tiplier.sh

At this point, I've not enough skills to make this work...

Last edited by Yannick@ekiga (2014-01-15 19:32:20)

Offline

#47 2014-01-17 02:21:36

lpb612
Member
Registered: 2009-09-29
Posts: 16

Re: Acer C720/C720P Chromebook

paolod wrote:

When trying to suspend and resume, this didn't work on my system and doesn't seem to be necessary:

# Unbind snd_hda_intel for sound
    echo -n "0000:00:1b.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind
    echo -n "0000:00:03.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind

The first unbind command hangs. I removed the unbind and bind commands for snd-hda-intel from the cros-sound-suspend.sh script (leaving the ones for ehci-pci) and suspend/resume appears to be working fine. I'm running 32 bit kernel 3.12.7-1 and using the following kernel command line:
add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic

I can confirm that the unbind commands for snd_hda_intel cause hang during suspend. The symptom is that when suspending while sound card is being used, such as when a youtube video is being played, the unbind lines do not get finished, and suspend is stuck there. It can be checked by 'ps -A|grep cros'.

However, I had problem with the long list of kernel command line. The following works for me:

'quiet tpm_tis.force=1'

Offline

#48 2014-01-17 02:29:02

lpb612
Member
Registered: 2009-09-29
Posts: 16

Re: Acer C720/C720P Chromebook

vilefridge wrote:
vanboxel wrote:

Can anyone share their partition table configuration for this?

Using cgdisk (GPT Partition Layout), I created 3 partitions:
(1) 1007KB BIOS boot partition (for grub)
(2) 200MB Linux filesystem (for /boot)
(3) 14.7GB Linux filesystem (for /)

The BIOS boot partition is a requirement when using GPT and grub, so don't overlook this.  I formatted the /boot partition as ext4, and the / partition as btrfs.  I also added ext4 and btrfs to the MODULES line in /etc/mkinitcpio.conf.

I also wanted to mention, that in order to get ALSA to consider the Analog audio as default, and HDMI as secondary, I added the following to ~/.asoundrc:
pcm.!default {
        type hw
        card 1
}

ctl.!default {
        type hw
        card 1
}


I did this but it seems that the card index gets changed sometimes. So card 1 is not always the Analog audio. I have disabled HDMI by blacklisting the the snd_hda_codec_hdmi module in /etc/modprobe.d/blacklist.conf

blacklist snd_hda_codec_hdmi

Offline

#49 2014-01-17 02:31:40

lpb612
Member
Registered: 2009-09-29
Posts: 16

Re: Acer C720/C720P Chromebook

Is there any way that the fan speed can be controlled? I have tried to use

lm_sensors

package, and do

sensors-detect

. But the

sensors

command does not report any fan speed information.

Last edited by lpb612 (2014-01-17 02:33:47)

Offline

#50 2014-01-17 20:16:02

wnayes
Member
Registered: 2014-01-17
Posts: 3

Re: Acer C720/C720P Chromebook

parchedas wrote:

Has anyone tried using xf86-input-cmt instead of xf86-input-synaptics? Would it work?

I tried building it from the AUR but ran into some issues with building the dependencies (libgestures) and didn't pursue further.

This conf file for this input driver for our device seems very detailed, which is why I bothered trying.

https://chromium.googlesource.com/chrom … peppy.conf

Offline

Board footer

Powered by FluxBB