You are not logged in.
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
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
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
@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
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
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
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 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
Offline
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
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
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
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
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
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
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%.
But the volume is quite low without boost...
Last edited by Yannick@ekiga (2014-01-04 17:02:11)
Offline
@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
Has anyone tried using xf86-input-cmt instead of xf86-input-synaptics? Would it work?
Offline
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
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
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
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
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
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/unbindThe 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
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
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
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.
Offline