You are not logged in.

#576 2014-08-28 03:24:10

silicon
Member
Registered: 2014-08-28
Posts: 2

Re: Acer C720/C720P Chromebook

@dhead No problem! I wasn't sure if it made a difference in any case.

@scot14 Thank you! I'll wait for 3.17-rc3 or 4 then, I'm not sure of the process to apply patches myself. Everything else is working great with my system, as far as I can tell.

Offline

#577 2014-08-28 13:00:26

scot14
Member
Registered: 2014-06-02
Posts: 123

Re: Acer C720/C720P Chromebook

dhead wrote:

... I do see also

kernel: isl29018: module is from the staging directory, the quality is unknown, you have been warned.
kernel: isl29018 1-0044: No cache defaults, reading back from HW

and

$ lsmod|grep isl29018

isl29018               13111  0 
industrialio           42699  1 isl29018
regmap_i2c             12783  1 isl29018
i2ccore                50201  13 drm,i2c_designware_pci,i915,i2c_i801,cyapa,i2c_designware_platform,regmap_i2c,drm_kms_helper,i2c_algo_bit,isl29018,v4l2_common,chromeos_laptop,videodev

So the light sensor kernel module is now working. (More discussion about it back on pages 2 and 3.)

dhead wrote:
kernel: platform chromeos_laptop: Driver chromeos_laptop requests probe deferral
kernel: __add_probed_i2c_device failed to register device 1-4a
kernel: platform chromeos_laptop: Driver chromeos_laptop requests probe deferral
kernel: __add_probed_i2c_device failed to register device 1-4a
kernel: platform chromeos_laptop: Driver chromeos_laptop requests probe deferral
kernel: __add_probed_i2c_device failed to register device 1-4a
kernel: platform chromeos_laptop: Driver chromeos_laptop requests probe deferral
kernel: __add_probed_i2c_device failed to register device 1-4a
kernel: chromeos_laptop_probe: Ran out of tries for device.

The C720 and the C720P both have product name "Peppy". Since the chromeos_laptop module looks for devices based on the product name, and it sees the name "Peppy", then it looks for a touchpad, a touchscreen and a lightsensor. These error messages are logged on the C720 when it doesn't find the touchscreen. They would also be logged on the C720P if it doesn't have a light sensor.

The test shows these messages are logged even when everything is working. Thanks!

Last edited by scot14 (2014-08-28 13:24:08)

Offline

#578 2014-08-28 14:47:44

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

@scot14

Thanks, isl29018 does gives me light, ir and proximity values ( cat /sys/bus/iio/devices/iio\:device0/ ).

I've tried blacklisting atmel_mxt_ts (via kernel command line from grub) to see if the error messages will appear and they did, so I guess I just leave it like that.

Offline

#579 2014-08-28 21:05:58

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

Re: Acer C720/C720P Chromebook

dhead wrote:

@scot14

Thanks, isl29018 does gives me light, ir and proximity values ( cat /sys/bus/iio/devices/iio\:device0/ ).

I've tried blacklisting atmel_mxt_ts (via kernel command line from grub) to see if the error messages will appear and they did, so I guess I just leave it like that.

I've this proff of concept for adjusting screen luminosity to light. If someone wants to improve it...

#!/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 10% (we don't want black screen!)
LIGHT_LEVEL=$(($MIN_BRIGHT * 10))

# devices
# reads the max ambient light from the sensor
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

Offline

#580 2014-08-28 23:15:25

meowcats
Member
Registered: 2014-05-06
Posts: 4

Re: Acer C720/C720P Chromebook

Running latest ROM from johnlewis (8/26) backlight does not show up. Seems to be confirmed issue.
https://johnlewis.ie/suspend-fixed-in-c720peppy-rom/ (read comments from johnlewis)

Running Linux-mainline 3.17rc2.

Suspend/touchpad is indeed fixed, all that is needed is to provided suspend/wakeup script for ehci (else you get kernel panic)

can't seem to get logind to handle the lidswitch suspend though (openbox). assigning suspend to powerkey works however.
it works, but if you close the lid too fast logind does not register a lid event,

Otherwise everything works great.

Last edited by meowcats (2014-08-28 23:47:47)

Offline

#581 2014-08-30 12:47:21

_JZA_
Member
Registered: 2014-08-28
Posts: 32

Re: Acer C720/C720P Chromebook

I am new to Arch, finally survived the partition hell and the /boot/ miss configuration. Got X and locale working. I am finally see the light with LXQt finally installed and configured with Xorg11. However to my surprise the trackback is not working. I did the git pull driver and ran the script.

However I get a message saying that gzip:/lib/modules/3.16.1-1-ARCH/kernel/drivers/platform/chrome/chromeos_laptop.ko.gz already exists; do you wish to overwrite (y or n)?  n
not overwritten
#>

Before I put 'y' and still got the same message. Something is telling me the modules are not being correctly delivered. Please help.

Offline

#582 2014-08-30 13:01:16

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720/C720P Chromebook

@ _JZA_

I would recommend using linux-chromebook from the AUR instead. It's a patched kernel with the touchpad and other fixes included. You can download prebuilt packages here. https://www.copy.com/s/yxLPq6leYvky/linux-chromebook

Just install and rebuild your grub config.

@ anyone else reading this

I just built 3.17-rc2 (with the tpm patch from linux-chromebook) and am getting somewhat similar results as meowcats. I'm not using a custom rom or anything, and if I don't use the /etc/tmpfiles.d/cros-acpi-wakeup.conf and /usr/lib/systemd/system-sleep/cros-sound-suspend.sh files described in the wiki I get a bunch of nasty looking errors that I never had on 3.16. I also cannot always get the suspend to trigger from the lid close action at all under 3.17 and have to use systemctl to initiate it sometimes, even though the action is logged by systemd-logind.

journalctl output without cros-acpi-wakeup.conf and cros-sound-suspend.sh:

Aug 30 12:38:33 chromebook systemd-logind[146]: Lid closed.
Aug 30 12:38:42 chromebook systemd-logind[146]: Lid opened.
Aug 30 12:38:54 chromebook dbus[140]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
Aug 30 12:38:54 chromebook polkitd[711]: Started polkitd version 0.112
Aug 30 12:38:54 chromebook polkitd[711]: Loading rules from directory /etc/polkit-1/rules.d
Aug 30 12:38:54 chromebook polkitd[711]: Loading rules from directory /usr/share/polkit-1/rules.d
Aug 30 12:38:54 chromebook polkitd[711]: Finished loading, compiling and executing 1 rules
Aug 30 12:38:54 chromebook dbus[140]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Aug 30 12:38:54 chromebook polkitd[711]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Aug 30 12:38:54 chromebook polkitd[711]: Registered Authentication Agent for unix-process:708:5248 (system bus name :1.6 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Aug 30 12:38:54 chromebook polkitd[711]: Unregistered Authentication Agent for unix-process:708:5248 (system bus name :1.6, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Aug 30 12:38:54 chromebook systemd-sleep[719]: Suspending system...
Aug 30 12:39:01 chromebook kernel: PM: Syncing filesystems ... done.
Aug 30 12:39:01 chromebook kernel: PM: Preparing system for mem sleep
Aug 30 12:39:01 chromebook kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Aug 30 12:39:01 chromebook kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Aug 30 12:39:01 chromebook kernel: PM: Entering mem sleep
Aug 30 12:39:01 chromebook kernel: Suspending console(s) (use no_console_suspend to debug)
Aug 30 12:39:01 chromebook kernel: wlp1s0: deauthenticating from e0:46:9a:3c:b5:50 by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 30 12:39:01 chromebook kernel: cfg80211: Calling CRDA to update world regulatory domain
Aug 30 12:39:01 chromebook kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Aug 30 12:39:01 chromebook kernel: sd 0:0:0:0: [sda] Stopping disk
Aug 30 12:39:01 chromebook kernel: PM: suspend of devices complete after 401.952 msecs
Aug 30 12:39:01 chromebook kernel: PM: late suspend of devices complete after 31.431 msecs
Aug 30 12:39:01 chromebook kernel: ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
Aug 30 12:39:01 chromebook kernel: xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
Aug 30 12:39:01 chromebook kernel: PM: noirq suspend of devices complete after 13.514 msecs
Aug 30 12:39:01 chromebook kernel: ACPI: Preparing to enter system sleep state S3
Aug 30 12:39:01 chromebook kernel: PM: Saving platform NVS memory
Aug 30 12:39:01 chromebook kernel: Disabling non-boot CPUs ...
Aug 30 12:39:01 chromebook kernel: intel_pstate CPU 1 exiting
Aug 30 12:39:01 chromebook kernel: kvm: disabling virtualization on CPU1
Aug 30 12:39:01 chromebook kernel: smpboot: CPU 1 is now offline
Aug 30 12:39:01 chromebook kernel: ACPI: Low-level resume complete
Aug 30 12:39:01 chromebook kernel: PM: Restoring platform NVS memory
Aug 30 12:39:01 chromebook kernel: Enabling non-boot CPUs ...
Aug 30 12:39:01 chromebook kernel: x86: Booting SMP configuration:
Aug 30 12:39:01 chromebook kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Aug 30 12:39:01 chromebook kernel: kvm: enabling virtualization on CPU1
Aug 30 12:39:01 chromebook kernel: Intel pstate controlling: cpu 1
Aug 30 12:39:01 chromebook kernel: CPU1 is up
Aug 30 12:39:01 chromebook kernel: ACPI: Waking up from system sleep state S3
Aug 30 12:39:01 chromebook kernel: ehci-pci 0000:00:1d.0: Refused to change power state, currently in D3
Aug 30 12:39:01 chromebook kernel: xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
Aug 30 12:39:01 chromebook kernel: ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
Aug 30 12:39:01 chromebook kernel: ehci-pci 0000:00:1d.0: Refused to change power state, currently in D3
Aug 30 12:39:01 chromebook kernel: PM: noirq resume of devices complete after 85.780 msecs
Aug 30 12:39:01 chromebook kernel: PM: early resume of devices complete after 20.073 msecs
Aug 30 12:39:01 chromebook kernel: snd_hda_intel 0000:00:03.0: irq 43 for MSI/MSI-X
Aug 30 12:39:01 chromebook kernel: snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X
Aug 30 12:39:01 chromebook kernel: ath: phy0: ASPM enabled: 0x43
Aug 30 12:39:01 chromebook kernel: rtc_cmos 00:03: System wakeup disabled by ACPI
Aug 30 12:39:01 chromebook kernel: ehci-pci 0000:00:1d.0: Refused to change power state, currently in D3
Aug 30 12:39:01 chromebook kernel: sd 0:0:0:0: [sda] Starting disk
Aug 30 12:39:01 chromebook kernel: usb usb3: root hub lost power or was reset
Aug 30 12:39:01 chromebook kernel: ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
Aug 30 12:39:01 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:01 chromebook kernel: dpm_run_callback(): usb_dev_resume+0x0/0x20 [usbcore] returns -32
Aug 30 12:39:01 chromebook kernel: PM: Device 3-1 failed to resume async: error -32
Aug 30 12:39:01 chromebook kernel: usb 1-3: reset high-speed USB device number 2 using xhci_hcd
Aug 30 12:39:01 chromebook kernel: xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
Aug 30 12:39:01 chromebook kernel: usb 1-3: hub failed to enable device, error -22
Aug 30 12:39:01 chromebook kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Aug 30 12:39:01 chromebook kernel: ata1.00: configured for UDMA/100
Aug 30 12:39:01 chromebook kernel: usb 1-3: reset high-speed USB device number 2 using xhci_hcd
Aug 30 12:39:01 chromebook kernel: xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
Aug 30 12:39:01 chromebook kernel: usb 1-3: hub failed to enable device, error -22
Aug 30 12:39:01 chromebook kernel: ------------[ cut here ]------------
Aug 30 12:39:01 chromebook kernel: WARNING: CPU: 0 PID: 789 at drivers/gpu/drm/i915/intel_panel.c:804 pch_enable_backlight+0x1ba/0x200 [i915]()
Aug 30 12:39:01 chromebook kernel: cpu backlight already enabled
Aug 30 12:39:01 chromebook kernel: Modules linked in: ctr ccm ath3k uvcvideo ecb videobuf2_vmalloc videobuf2_memops btusb videobuf2_core bluetooth v4l2_common videodev media uas usb_storage snd_hda_codec_hdmi tpm_infineon nvram arc4 joydev mousedev cyapa ath9k intel_rapl ath9k_common ath9k_hw x86_pkg_temp_thermal intel_powerclamp ath iTCO_wdt iTCO_vendor_support kvm_intel mac80211 kvm crct10dif_pclmul chromeos_laptop crc32_pclmul crc32c_intel i915 ghash_clmulni_intel cryptd microcode pcspkr evdev snd_hda_codec_realtek mac_hid snd_hda_codec_generic serio_raw cfg80211 i2c_i801 fan snd_hda_intel snd_hda_controller drm_kms_helper snd_hda_codec thermal rfkill battery ac snd_hwdep snd_pcm tpm_tis drm tpm shpchp snd_timer snd video i2c_designware_pci gpio_lynxpoint dw_dmac intel_gtt i2c_designware_platform soundcore i2c_designware_core
Aug 30 12:39:01 chromebook kernel:  i2c_algo_bit 8250_dw i2ccore lpc_ich dw_dmac_pci spi_pxa2xx_platform dw_dmac_core button processor coretemp hwmon ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common atkbd libps2 ahci libahci libata scsi_mod ehci_pci ehci_hcd xhci_hcd usbcore i8042 usb_common serio sdhci_acpi sdhci led_class mmc_core
Aug 30 12:39:01 chromebook kernel: CPU: 0 PID: 789 Comm: kworker/u4:72 Not tainted 3.17.0-1-mainline #1
Aug 30 12:39:01 chromebook kernel: Hardware name: Acer Peppy, BIOS          03/07/2014
Aug 30 12:39:01 chromebook kernel: Workqueue: events_unbound async_run_entry_fn
Aug 30 12:39:01 chromebook kernel:  0000000000000000 00000000473a83a4 ffff88006cbdb9a0 ffffffff81538910
Aug 30 12:39:01 chromebook kernel:  ffff88006cbdb9e8 ffff88006cbdb9d8 ffffffff8106fbed ffff8800708c0000
Aug 30 12:39:01 chromebook kernel:  ffff880073958c00 0000000000000003 0000000080000000 ffff880074067338
Aug 30 12:39:01 chromebook kernel: Call Trace:
Aug 30 12:39:01 chromebook kernel:  [<ffffffff81538910>] dump_stack+0x4d/0x6f
Aug 30 12:39:01 chromebook kernel:  [<ffffffff8106fbed>] warn_slowpath_common+0x7d/0xa0
Aug 30 12:39:01 chromebook kernel:  [<ffffffff8106fc6c>] warn_slowpath_fmt+0x5c/0x80
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa04da02a>] pch_enable_backlight+0x1ba/0x200 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa04da794>] intel_panel_enable_backlight+0xa4/0x100 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa04cb804>] intel_edp_backlight_on+0x54/0x140 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa04c3ee3>] intel_enable_ddi+0xb3/0x100 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa04aef59>] haswell_crtc_enable+0x599/0xa70 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa0479417>] ? i915_gem_object_ggtt_unpin+0x47/0x90 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa04a93fa>] __intel_set_mode+0x87a/0x16d0 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa04b3c1f>] intel_modeset_setup_hw_state+0x85f/0xd30 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa0496ae0>] ? hsw_write64+0x150/0x150 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa044f159>] __i915_drm_thaw+0x159/0x1d0 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa044fda8>] i915_resume+0x28/0x50 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffffa044fde5>] i915_pm_resume+0x15/0x20 [i915]
Aug 30 12:39:01 chromebook kernel:  [<ffffffff812e9bb4>] pci_pm_resume+0x64/0xb0
Aug 30 12:39:01 chromebook kernel:  [<ffffffff812e9b50>] ? pci_pm_thaw+0xa0/0xa0
Aug 30 12:39:01 chromebook kernel:  [<ffffffff813b9a4c>] dpm_run_callback+0x4c/0x150
Aug 30 12:39:01 chromebook kernel:  [<ffffffff813ba666>] device_resume+0xd6/0x200
Aug 30 12:39:01 chromebook kernel:  [<ffffffff813ba7ad>] async_resume+0x1d/0x50
Aug 30 12:39:01 chromebook kernel:  [<ffffffff81090277>] async_run_entry_fn+0x37/0x130
Aug 30 12:39:01 chromebook kernel:  [<ffffffff81088283>] process_one_work+0x173/0x410
Aug 30 12:39:01 chromebook kernel:  [<ffffffff8108882b>] worker_thread+0x6b/0x4a0
Aug 30 12:39:01 chromebook kernel:  [<ffffffff810887c0>] ? init_pwq.part.22+0x10/0x10
Aug 30 12:39:01 chromebook kernel:  [<ffffffff8108d7aa>] kthread+0xea/0x100
Aug 30 12:39:01 chromebook kernel:  [<ffffffff8108d6c0>] ? kthread_create_on_node+0x1b0/0x1b0
Aug 30 12:39:01 chromebook kernel:  [<ffffffff8153e83c>] ret_from_fork+0x7c/0xb0
Aug 30 12:39:01 chromebook kernel:  [<ffffffff8108d6c0>] ? kthread_create_on_node+0x1b0/0x1b0
Aug 30 12:39:01 chromebook kernel: ---[ end trace dc4f0be043f88b84 ]---
Aug 30 12:39:01 chromebook kernel: usb 1-3: reset high-speed USB device number 2 using xhci_hcd
Aug 30 12:39:01 chromebook kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880037dd25a0
Aug 30 12:39:01 chromebook kernel: PM: resume of devices complete after 782.102 msecs
Aug 30 12:39:01 chromebook kernel: PM: Finishing wakeup.
Aug 30 12:39:01 chromebook kernel: Restarting tasks ... 
Aug 30 12:39:01 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:01 chromebook systemd[396]: Time has been changed
Aug 30 12:39:01 chromebook wpa_actiond[277]: Interface 'wlp1s0' lost connection to network 'MATTGEAR'
Aug 30 12:39:01 chromebook systemd-sleep[719]: System resumed.
Aug 30 12:39:01 chromebook kernel: done.
Aug 30 12:39:01 chromebook systemd-logind[146]: Operation finished.
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: usb usb3-port1: over-current condition
Aug 30 12:39:02 chromebook kernel: usb 3-1: USB disconnect, device number 2
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:02 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: cfg80211: Calling CRDA to update world regulatory domain
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:03 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 1 resume error -19
Aug 30 12:39:04 chromebook kernel: [50B blob data]
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:04 chromebook kernel: usb usb3-port2: over-current condition
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:04 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: cfg80211: Calling CRDA to update world regulatory domain
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: wlp1s0: authenticate with e0:46:9a:3c:b5:50
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: wlp1s0: send auth to e0:46:9a:3c:b5:50 (try 1/3)
Aug 30 12:39:05 chromebook kernel: wlp1s0: authenticated
Aug 30 12:39:05 chromebook kernel: wlp1s0: associate with e0:46:9a:3c:b5:50 (try 1/3)
Aug 30 12:39:05 chromebook kernel: wlp1s0: RX AssocResp from e0:46:9a:3c:b5:50 (capab=0x431 status=0 aid=2)
Aug 30 12:39:05 chromebook kernel: wlp1s0: associated
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook wpa_actiond[277]: Interface 'wlp1s0' reestablished connection to network 'MATTGEAR'
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:05 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:06 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:07 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:07 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:07 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:07 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:07 chromebook kernel: ehci-pci 0000:00:1d.0: port 2 resume error -19
Aug 30 12:39:07 chromebook kernel: BUG: unable to handle kernel NULL pointer dereference at 00000000000000e0
Aug 30 12:39:07 chromebook kernel: IP: [<ffffffff813aa751>] __dev_printk+0x11/0x90
Aug 30 12:39:07 chromebook kernel: PGD 0 
Aug 30 12:39:07 chromebook kernel: Oops: 0000 [#1] PREEMPT SMP 
Aug 30 12:39:07 chromebook kernel: Modules linked in: ctr ccm ath3k uvcvideo ecb videobuf2_vmalloc videobuf2_memops btusb videobuf2_core bluetooth v4l2_common videodev media uas usb_storage snd_hda_codec_hdmi tpm_infineon nvram arc4 joydev mousedev cyapa ath9k intel_rapl ath9k_common ath9k_hw x86_pkg_temp_thermal intel_powerclamp ath iTCO_wdt iTCO_vendor_support kvm_intel mac80211 kvm crct10dif_pclmul chromeos_laptop crc32_pclmul crc32c_intel i915 ghash_clmulni_intel cryptd microcode pcspkr evdev snd_hda_codec_realtek mac_hid snd_hda_codec_generic serio_raw cfg80211 i2c_i801 fan snd_hda_intel snd_hda_controller drm_kms_helper snd_hda_codec thermal rfkill battery ac snd_hwdep snd_pcm tpm_tis drm tpm shpchp snd_timer snd video i2c_designware_pci gpio_lynxpoint dw_dmac intel_gtt i2c_designware_platform soundcore i2c_designware_core
Aug 30 12:39:07 chromebook kernel:  i2c_algo_bit 8250_dw i2ccore lpc_ich dw_dmac_pci spi_pxa2xx_platform dw_dmac_core button processor coretemp hwmon ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common atkbd libps2 ahci libahci libata scsi_mod ehci_pci ehci_hcd xhci_hcd usbcore i8042 usb_common serio sdhci_acpi sdhci led_class mmc_core
Aug 30 12:39:07 chromebook kernel: CPU: 0 PID: 65 Comm: khubd Tainted: G        W      3.17.0-1-mainline #1
Aug 30 12:39:07 chromebook kernel: Hardware name: Acer Peppy, BIOS          03/07/2014
Aug 30 12:39:07 chromebook kernel: task: ffff880073ae8000 ti: ffff880037d18000 task.ti: ffff880037d18000
Aug 30 12:39:07 chromebook kernel: RIP: 0010:[<ffffffff813aa751>]  [<ffffffff813aa751>] __dev_printk+0x11/0x90
Aug 30 12:39:07 chromebook kernel: RSP: 0018:ffff880037d1bd20  EFLAGS: 00010206
Aug 30 12:39:07 chromebook kernel: RAX: ffff880037d1bd40 RBX: 0000000000000002 RCX: 00000000fffee5ea
Aug 30 12:39:07 chromebook kernel: RDX: ffff880037d1bd30 RSI: 0000000000000090 RDI: ffffffff8170415c
Aug 30 12:39:07 chromebook kernel: RBP: ffff880037d1bd20 R08: 0000000000000000 R09: ffff880037d1bd30
Aug 30 12:39:07 chromebook kernel: R10: ffffffffa006a73b R11: 0000000000002107 R12: ffff8800739b7000
Aug 30 12:39:07 chromebook kernel: R13: 0000000000000002 R14: 000000000000051f R15: ffff880037c5b460
Aug 30 12:39:07 chromebook kernel: FS:  0000000000000000(0000) GS:ffff880100200000(0000) knlGS:0000000000000000
Aug 30 12:39:07 chromebook kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 30 12:39:07 chromebook kernel: CR2: 00000000000000e0 CR3: 0000000001814000 CR4: 00000000000407f0
Aug 30 12:39:07 chromebook kernel: Stack:
Aug 30 12:39:07 chromebook kernel:  ffff880037d1bd90 ffffffff813aaa6c ffffffffa007e3c8 ffff880037d1bd40
Aug 30 12:39:07 chromebook kernel:  ffffffff00000010 ffff880037d1bda0 ffff880037d1bd60 000000008d64e932
Aug 30 12:39:07 chromebook kernel:  ffffffff812b0a67 0000000000000002 0000000000000002 00000000fffee5ea
Aug 30 12:39:07 chromebook kernel: Call Trace:
Aug 30 12:39:07 chromebook kernel:  [<ffffffff813aaa6c>] dev_err+0x6c/0x90
Aug 30 12:39:07 chromebook kernel:  [<ffffffff812b0a67>] ? ___ratelimit+0x87/0x100
Aug 30 12:39:07 chromebook kernel:  [<ffffffffa0064360>] hub_thread+0x1600/0x1860 [usbcore]
Aug 30 12:39:07 chromebook kernel:  [<ffffffff81539c10>] ? __schedule+0x3e0/0xa60
Aug 30 12:39:07 chromebook kernel:  [<ffffffff810aee00>] ? __wake_up_sync+0x20/0x20
Aug 30 12:39:07 chromebook kernel:  [<ffffffffa0062d60>] ? hub_port_debounce+0x160/0x160 [usbcore]
Aug 30 12:39:07 chromebook kernel:  [<ffffffff8108d7aa>] kthread+0xea/0x100
Aug 30 12:39:07 chromebook kernel:  [<ffffffff8108d6c0>] ? kthread_create_on_node+0x1b0/0x1b0
Aug 30 12:39:07 chromebook kernel:  [<ffffffff8153e83c>] ret_from_fork+0x7c/0xb0
Aug 30 12:39:07 chromebook kernel:  [<ffffffff8108d6c0>] ? kthread_create_on_node+0x1b0/0x1b0
Aug 30 12:39:07 chromebook kernel: Code: 0c 25 28 00 00 00 75 02 c9 c3 e8 9b 52 cc ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 85 f6 49 89 d1 48 89 e5 74 60 <4c> 8b 46 50 4d 85 c0 74 26 48 8b 86 90 00 00 00 48 85 c0 74 2a 
Aug 30 12:39:07 chromebook kernel: RIP  [<ffffffff813aa751>] __dev_printk+0x11/0x90
Aug 30 12:39:07 chromebook kernel:  RSP <ffff880037d1bd20>
Aug 30 12:39:07 chromebook kernel: CR2: 00000000000000e0
Aug 30 12:39:07 chromebook kernel: ---[ end trace dc4f0be043f88b85 ]---
Aug 30 12:39:10 chromebook systemd[396]: Starting -.slice.
Aug 30 12:39:10 chromebook systemd[396]: Created slice -.slice.
Aug 30 12:39:10 chromebook systemd[396]: Starting OfflineImap Sync...
Aug 30 12:39:10 chromebook systemd[396]: Started OfflineImap Sync.
Aug 30 12:40:22 chromebook systemd-logind[146]: Lid closed.
Aug 30 12:40:28 chromebook systemd-logind[146]: Lid opened.
Aug 30 12:41:10 chromebook systemd[396]: Starting OfflineImap Sync...
Aug 30 12:41:10 chromebook systemd[396]: Started OfflineImap Sync.
Aug 30 12:43:10 chromebook systemd[396]: Starting OfflineImap Sync...
Aug 30 12:43:10 chromebook systemd[396]: Started OfflineImap Sync.

And if I try to poweroff after suspending when I don't have those two files, I get a kernel panic on poweroff. It need to be both too; I've tried with just one or the other and it results in the same journal messages and a kernel panic at poweroff. Has anyone else running 3.17 seens this before?

and for posterity, journalctl after a suspend/resume cycle with the two files:

Aug 30 13:13:12 chromebook systemd[402]: Starting OfflineImap Sync...
Aug 30 13:13:12 chromebook systemd[402]: Started OfflineImap Sync.
Aug 30 13:13:32 chromebook dbus[140]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
Aug 30 13:13:32 chromebook polkitd[892]: Started polkitd version 0.112
Aug 30 13:13:32 chromebook polkitd[892]: Loading rules from directory /etc/polkit-1/rules.d
Aug 30 13:13:32 chromebook polkitd[892]: Loading rules from directory /usr/share/polkit-1/rules.d
Aug 30 13:13:32 chromebook polkitd[892]: Finished loading, compiling and executing 1 rules
Aug 30 13:13:32 chromebook dbus[140]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Aug 30 13:13:32 chromebook polkitd[892]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Aug 30 13:13:32 chromebook polkitd[892]: Registered Authentication Agent for unix-process:889:45564 (system bus name :1.8 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Aug 30 13:13:32 chromebook polkitd[892]: Unregistered Authentication Agent for unix-process:889:45564 (system bus name :1.8, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Aug 30 13:13:32 chromebook systemd-sleep[900]: 0000:00:1d.0tee: /sys/bus/pci/drivers/ehci-pci/unbind: No such device
Aug 30 13:13:32 chromebook systemd-sleep[901]: /usr/lib/systemd/system-sleep/cros-sound-suspend.sh failed with error code 1.
Aug 30 13:13:32 chromebook systemd-sleep[900]: Suspending system...
Aug 30 13:13:39 chromebook kernel: PM: Syncing filesystems ... done.
Aug 30 13:13:39 chromebook kernel: PM: Preparing system for mem sleep
Aug 30 13:13:39 chromebook kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Aug 30 13:13:39 chromebook kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Aug 30 13:13:39 chromebook kernel: PM: Entering mem sleep
Aug 30 13:13:39 chromebook kernel: Suspending console(s) (use no_console_suspend to debug)
Aug 30 13:13:39 chromebook kernel: wlp1s0: deauthenticating from e0:46:9a:3c:b5:50 by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 30 13:13:39 chromebook kernel: cfg80211: Calling CRDA to update world regulatory domain
Aug 30 13:13:39 chromebook kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Aug 30 13:13:39 chromebook kernel: sd 0:0:0:0: [sda] Stopping disk
Aug 30 13:13:39 chromebook kernel: PM: suspend of devices complete after 419.208 msecs
Aug 30 13:13:39 chromebook kernel: PM: late suspend of devices complete after 38.064 msecs
Aug 30 13:13:39 chromebook kernel: xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
Aug 30 13:13:39 chromebook kernel: PM: noirq suspend of devices complete after 13.536 msecs
Aug 30 13:13:39 chromebook kernel: ACPI: Preparing to enter system sleep state S3
Aug 30 13:13:39 chromebook kernel: PM: Saving platform NVS memory
Aug 30 13:13:39 chromebook kernel: Disabling non-boot CPUs ...
Aug 30 13:13:39 chromebook kernel: intel_pstate CPU 1 exiting
Aug 30 13:13:39 chromebook kernel: kvm: disabling virtualization on CPU1
Aug 30 13:13:39 chromebook kernel: smpboot: CPU 1 is now offline
Aug 30 13:13:39 chromebook kernel: ACPI: Low-level resume complete
Aug 30 13:13:39 chromebook kernel: PM: Restoring platform NVS memory
Aug 30 13:13:39 chromebook kernel: Enabling non-boot CPUs ...
Aug 30 13:13:39 chromebook kernel: x86: Booting SMP configuration:
Aug 30 13:13:39 chromebook kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Aug 30 13:13:39 chromebook kernel: kvm: enabling virtualization on CPU1
Aug 30 13:13:39 chromebook kernel: Intel pstate controlling: cpu 1
Aug 30 13:13:39 chromebook kernel: CPU1 is up
Aug 30 13:13:39 chromebook kernel: ACPI: Waking up from system sleep state S3
Aug 30 13:13:39 chromebook kernel: pci 0000:00:1d.0: Refused to change power state, currently in D3
Aug 30 13:13:39 chromebook kernel: xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
Aug 30 13:13:39 chromebook kernel: PM: noirq resume of devices complete after 13.809 msecs
Aug 30 13:13:39 chromebook kernel: PM: early resume of devices complete after 19.628 msecs
Aug 30 13:13:39 chromebook kernel: snd_hda_intel 0000:00:03.0: irq 43 for MSI/MSI-X
Aug 30 13:13:39 chromebook kernel: snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X
Aug 30 13:13:39 chromebook kernel: ath: phy0: ASPM enabled: 0x43
Aug 30 13:13:39 chromebook kernel: rtc_cmos 00:03: System wakeup disabled by ACPI
Aug 30 13:13:39 chromebook kernel: sd 0:0:0:0: [sda] Starting disk
Aug 30 13:13:39 chromebook kernel: usb 1-3: reset high-speed USB device number 2 using xhci_hcd
Aug 30 13:13:39 chromebook kernel: xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
Aug 30 13:13:39 chromebook kernel: usb 1-3: hub failed to enable device, error -22
Aug 30 13:13:39 chromebook kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Aug 30 13:13:39 chromebook kernel: ata1.00: configured for UDMA/100
Aug 30 13:13:39 chromebook kernel: usb 1-3: reset high-speed USB device number 2 using xhci_hcd
Aug 30 13:13:39 chromebook kernel: xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
Aug 30 13:13:39 chromebook kernel: usb 1-3: hub failed to enable device, error -22
Aug 30 13:13:39 chromebook kernel: usb 1-3: reset high-speed USB device number 2 using xhci_hcd
Aug 30 13:13:39 chromebook kernel: ------------[ cut here ]------------
Aug 30 13:13:39 chromebook kernel: WARNING: CPU: 0 PID: 745 at drivers/gpu/drm/i915/intel_panel.c:804 pch_enable_backlight+0x1ba/0x200 [i915]()
Aug 30 13:13:39 chromebook kernel: cpu backlight already enabled
Aug 30 13:13:39 chromebook kernel: Modules linked in: ctr ccm ecb uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media ath3k btusb uas bluetooth usb_storage snd_hda_codec_hdmi joydev mousedev tpm_infineon nvram cyapa arc4 iTCO_wdt iTCO_vendor_support ath9k ath9k_common intel_rapl ath9k_hw x86_pkg_temp_thermal intel_powerclamp kvm_intel ath kvm mac80211 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel chromeos_laptop cryptd microcode cfg80211 evdev mac_hid serio_raw pcspkr rfkill i2c_i801 fan thermal battery ac i915 snd_hda_codec_realtek snd_hda_codec_generic tpm_tis tpm drm_kms_helper drm snd_hda_intel gpio_lynxpoint dw_dmac video 8250_dw snd_hda_controller i2c_designware_platform snd_hda_codec snd_hwdep lpc_ich intel_gtt snd_pcm i2c_algo_bit i2c_designware_pci snd_timer i2c_designware_core
Aug 30 13:13:39 chromebook kernel:  snd shpchp i2ccore spi_pxa2xx_platform soundcore dw_dmac_pci processor dw_dmac_core button coretemp hwmon ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common atkbd libps2 ahci libahci libata scsi_mod ehci_pci xhci_hcd ehci_hcd usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core
Aug 30 13:13:39 chromebook kernel: CPU: 0 PID: 745 Comm: kworker/u4:25 Tainted: G        W      3.17.0-1-mainline #1
Aug 30 13:13:39 chromebook kernel: Hardware name: Acer Peppy, BIOS          03/07/2014
Aug 30 13:13:39 chromebook kernel: Workqueue: events_unbound async_run_entry_fn
Aug 30 13:13:39 chromebook kernel:  0000000000000000 00000000de88b405 ffff88005b2bf9a0 ffffffff81538910
Aug 30 13:13:39 chromebook kernel:  ffff88005b2bf9e8 ffff88005b2bf9d8 ffffffff8106fbed ffff8800740d0000
Aug 30 13:13:39 chromebook kernel:  ffff880037992800 0000000000000003 0000000080000000 ffff880071031338
Aug 30 13:13:39 chromebook kernel: Call Trace:
Aug 30 13:13:39 chromebook kernel:  [<ffffffff81538910>] dump_stack+0x4d/0x6f
Aug 30 13:13:39 chromebook kernel:  [<ffffffff8106fbed>] warn_slowpath_common+0x7d/0xa0
Aug 30 13:13:39 chromebook kernel:  [<ffffffff8106fc6c>] warn_slowpath_fmt+0x5c/0x80
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa040402a>] pch_enable_backlight+0x1ba/0x200 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa0404794>] intel_panel_enable_backlight+0xa4/0x100 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa03f5804>] intel_edp_backlight_on+0x54/0x140 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa03edee3>] intel_enable_ddi+0xb3/0x100 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa03d8f59>] haswell_crtc_enable+0x599/0xa70 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa03a3417>] ? i915_gem_object_ggtt_unpin+0x47/0x90 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa03d33fa>] __intel_set_mode+0x87a/0x16d0 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa03ddc1f>] intel_modeset_setup_hw_state+0x85f/0xd30 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa03c0ae0>] ? hsw_write64+0x150/0x150 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa0379159>] __i915_drm_thaw+0x159/0x1d0 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa0379da8>] i915_resume+0x28/0x50 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffffa0379de5>] i915_pm_resume+0x15/0x20 [i915]
Aug 30 13:13:39 chromebook kernel:  [<ffffffff812e9bb4>] pci_pm_resume+0x64/0xb0
Aug 30 13:13:39 chromebook kernel:  [<ffffffff812e9b50>] ? pci_pm_thaw+0xa0/0xa0
Aug 30 13:13:39 chromebook kernel:  [<ffffffff813b9a4c>] dpm_run_callback+0x4c/0x150
Aug 30 13:13:39 chromebook kernel:  [<ffffffff813ba666>] device_resume+0xd6/0x200
Aug 30 13:13:39 chromebook kernel:  [<ffffffff813ba7ad>] async_resume+0x1d/0x50
Aug 30 13:13:39 chromebook kernel:  [<ffffffff81090277>] async_run_entry_fn+0x37/0x130
Aug 30 13:13:39 chromebook kernel:  [<ffffffff81088283>] process_one_work+0x173/0x410
Aug 30 13:13:39 chromebook kernel:  [<ffffffff8108882b>] worker_thread+0x6b/0x4a0
Aug 30 13:13:39 chromebook kernel:  [<ffffffff810887c0>] ? init_pwq.part.22+0x10/0x10
Aug 30 13:13:39 chromebook kernel:  [<ffffffff8108d7aa>] kthread+0xea/0x100
Aug 30 13:13:39 chromebook kernel:  [<ffffffff8108d6c0>] ? kthread_create_on_node+0x1b0/0x1b0
Aug 30 13:13:39 chromebook kernel:  [<ffffffff8153e83c>] ret_from_fork+0x7c/0xb0
Aug 30 13:13:39 chromebook kernel:  [<ffffffff8108d6c0>] ? kthread_create_on_node+0x1b0/0x1b0
Aug 30 13:13:39 chromebook kernel: ---[ end trace f6093ff671120845 ]---
Aug 30 13:13:39 chromebook kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880074b3dea0
Aug 30 13:13:39 chromebook kernel: PM: resume of devices complete after 785.445 msecs
Aug 30 13:13:39 chromebook kernel: PM: Finishing wakeup.
Aug 30 13:13:39 chromebook kernel: Restarting tasks ... done.
Aug 30 13:13:39 chromebook systemd-sleep[900]: System resumed.
Aug 30 13:13:39 chromebook systemd[402]: Time has been changed
Aug 30 13:13:39 chromebook kernel: usb 1-4: USB disconnect, device number 7
Aug 30 13:13:39 chromebook wpa_actiond[280]: Interface 'wlp1s0' lost connection to network 'MATTGEAR'
Aug 30 13:13:39 chromebook systemd-sleep[913]: /usr/lib/systemd/system-sleep/cros-sound-suspend.sh failed with error code 1.
Aug 30 13:13:39 chromebook systemd-sleep[900]: 0000:00:1d.0tee: /sys/bus/pci/drivers/ehci-pci/bind: No such device
Aug 30 13:13:39 chromebook systemd-logind[146]: Operation finished.
Aug 30 13:13:39 chromebook kernel: ehci-pci 0000:00:1d.0: Refused to change power state, currently in D3
Aug 30 13:13:39 chromebook kernel: ehci-pci 0000:00:1d.0: EHCI Host Controller
Aug 30 13:13:39 chromebook kernel: ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 3
Aug 30 13:13:39 chromebook kernel: ehci-pci 0000:00:1d.0: can't setup: -19
Aug 30 13:13:39 chromebook kernel: ehci-pci 0000:00:1d.0: USB bus 3 deregistered
Aug 30 13:13:39 chromebook kernel: ehci-pci 0000:00:1d.0: init 0000:00:1d.0 fail, -19
Aug 30 13:13:41 chromebook kernel: cfg80211: Calling CRDA to update world regulatory domain
Aug 30 13:13:41 chromebook kernel: usb 1-4: new full-speed USB device number 8 using xhci_hcd
Aug 30 13:13:41 chromebook kernel: usb 1-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409
Aug 30 13:13:41 chromebook kernel: usb 1-4: USB disconnect, device number 8
Aug 30 13:13:41 chromebook kernel: usb 1-4: new full-speed USB device number 9 using xhci_hcd
Aug 30 13:13:41 chromebook kernel: usb 1-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409
Aug 30 13:13:41 chromebook systemd-udevd[911]: Failed to apply ACL on /dev/bus/usb/001/008: No such file or directory
Aug 30 13:13:41 chromebook systemd-udevd[911]: Failed to apply ACL on /dev/bus/usb/001/008: No such file or directory
Aug 30 13:13:43 chromebook kernel: cfg80211: Calling CRDA to update world regulatory domain
Aug 30 13:13:43 chromebook kernel: wlp1s0: authenticate with e0:46:9a:3c:b5:50
Aug 30 13:13:43 chromebook kernel: wlp1s0: send auth to e0:46:9a:3c:b5:50 (try 1/3)
Aug 30 13:13:43 chromebook kernel: wlp1s0: authenticated
Aug 30 13:13:43 chromebook kernel: wlp1s0: associate with e0:46:9a:3c:b5:50 (try 1/3)
Aug 30 13:13:43 chromebook kernel: wlp1s0: RX AssocResp from e0:46:9a:3c:b5:50 (capab=0x431 status=0 aid=2)
Aug 30 13:13:43 chromebook kernel: wlp1s0: associated
Aug 30 13:13:43 chromebook wpa_actiond[280]: Interface 'wlp1s0' reestablished connection to network 'MATTGEAR'

Last edited by SolarBoyMatt (2014-08-30 17:16:54)

Offline

#583 2014-08-30 17:31:25

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

xvkbd & xbindkeys method doesn't work for me with some gtk apps (I've got no idea why, when using xvkbd directly from its gui it does works) like Epiphany so I decided to drop it completely and use xmodmap, not sure what will work when moving to Wayland (Gnome 3.14 release is a month from now).

Here's my .Xmodmap, it seems to work perfectly.
Notice that I can still use ALT+F4 to close windows (although CTRL+Q works for most apps) and that I mapped F5 to PrintScreen as it seems like X doesn't allow for two Super_L keys.

keycode  67 = XF86Back F1 F1 F1 F1 F1 XF86Switch_VT_1 F1 F1 XF86Switch_VT_1
keycode  68 = XF86Forward F2 F2 F2 F2 F2 XF86Switch_VT_2 F2 F2 XF86Switch_VT_2
keycode  69 = XF86Reload F3 F3 F3 F3 F3 XF86Switch_VT_3 F3 F3 XF86Switch_VT_3
keycode  70 = F11 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode  71 = Print F5 F5 F5 F5 F5 XF86Switch_VT_5 F5 F5 XF86Switch_VT_5
keycode  72 = XF86MonBrightnessDown F6 F6 F6 F6 F6 XF86Switch_VT_6 F6 F6 XF86Switch_VT_6
keycode  73 = XF86MonBrightnessUp F7 F7 F7 F7 F7 XF86Switch_VT_7 F7 F7 XF86Switch_VT_7
keycode  74 = XF86AudioMute F8 F8 F8 F8 F8 XF86Switch_VT_8 F8 F8 XF86Switch_VT_8
keycode  75 = XF86AudioLowerVolume F9 F9 F9 F9 F9 XF86Switch_VT_9 F9 F9 XF86Switch_VT_9
keycode  76 = XF86AudioRaiseVolume F10 F10 F10 F10 F10 XF86Switch_VT_10 F10 F10 XF86Switch_VT_10

Edit: I'll probably move my keymap to a custom keyboard layout, that should work also on Wayland.

Last edited by dhead (2014-09-01 22:28:03)

Offline

#584 2014-08-30 19:03:13

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

p.s.

If you're missing keys then I found a nice how-to add a mode_switch key with xmodmap.
Again I'm not sure if this will be relevant on Wayland.

Here's for example how I get the backtick character (` or grave) back as the original key is use for toggle the drop down terminal.
My .Xmodmap

add mod1    =    Alt_L Meta_L
clear mod3
add mod3    =    Mode_switch
keysym Alt_R = Mode_switch
keycode  10 = 1 exclam grave exclam 1 exclam 1 exclam

Edit:
You might need to load the .Xmodmap after desktop as the desktop might change some of the keycode mapping.
I've got a setting in Gnome that changing the Alt_R to ISO_Level3_Shift (Gnome-Settings -> Keyboard -> Shortcut -> Typing -> Alternative Characters Key) so I need to load .Xmodmap after Gnome, I'm doing that by a simple .desktop file in ~/.config/autostart/

Last edited by dhead (2014-08-31 14:31:29)

Offline

#585 2014-08-31 09:09:09

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

Re: Acer C720/C720P Chromebook

Yannick@ekiga wrote:

@scot14
I've this proff of concept for adjusting screen luminosity to light. If someone wants to improve it...

I've changed it slightly to make is so that it only auto sets the brightness when on battery.
It also saves the previous brightness on AC and restores that when the AC power is plugged in again.

#!/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=20

# Default AC brightness
AC_bright=100

# minimum value to get auto-dimming, if lower it default to 10% (we don't want black screen!)
LIGHT_LEVEL=$(($MIN_BRIGHT * 10))

# devices
# reads the max ambient light from the sensor
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
        if [ $AC -eq 1 ];
        then
                AC_bright=$bright
        fi
}

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


renice 19 -p $$ >/dev/null 2>&1
# adjustment loop
while [ 1 ]; do
AC=$(cat /sys/class/power_supply/AC/online)
        # if not plugged in to AC
        if [ $AC -eq 0 ];
        then
                ambient_light
                calc_bright
                adj_bright
        # restore previous brightness when AC plugged in
        elif [ ! $bright = $AC_bright ]
        then
                bright=$AC_bright
                adj_bright
        fi
        sleep 1
done

EDIT: This doesn't actually  restore the previous AC_brighness value when plugged in. I've made a mistake somewhere....

Last edited by timjefferies (2014-08-31 09:13:40)

Offline

#586 2014-08-31 14:16:06

scot14
Member
Registered: 2014-06-02
Posts: 123

Re: Acer C720/C720P Chromebook

SolarBoyMatt wrote:

I just built 3.17-rc2 (with the tpm patch from linux-chromebook) and am getting somewhat similar results as meowcats. I'm not using a custom rom or anything, and if I don't use the /etc/tmpfiles.d/cros-acpi-wakeup.conf and /usr/lib/systemd/system-sleep/cros-sound-suspend.sh files described in the wiki I get a bunch of nasty looking errors that I never had on 3.16.

parchedas disabled EHCI in the config file for linux-chromebook

~:grep EHCI config.x86_64 
CONFIG_USB_EHCI_HCD=n
CONFIG_USB_EHCI_ROOT_HUB_TT=n
CONFIG_USB_EHCI_TT_NEWSCHED=n
CONFIG_USB_EHCI_PCI=n
# CONFIG_USB_EHCI_HCD_PLATFORM is not set

Offline

#587 2014-08-31 22:50:12

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720/C720P Chromebook

Ah thanks, I wasn't aware of that. Suspend/Resume works how it did on 3.16 now.

Offline

#588 2014-09-01 04:24:00

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

I decided to revert to xf86-video-intel-2.99.911 to see if that will help with the "stuck on render ring" bug I'm seeing.

If anyone else that experiencing issues wants to give this a try then see the attached list of packages.
It didn't helped with Chromium freezes but since v37 I'm experiencing much more freezes, so my assumption that it isn't related, at least until I'll see the error message "stuck on render ring" or output in /sys/class/drm/card0/errors.
It also won't help with vaapi, it might be a separate issue, so you probably will want to remove Iibva-intel-driver.

glamor-egl-0.6.0-1-x86_64.pkg.tar.xz
intel-dri-10.1.4-1-x86_64.pkg.tar.xz
mesa-10.1.4-1-x86_64.pkg.tar.xz
mesa-libgl-10.1.4-1-x86_64.pkg.tar.xz
xf86-input-evdev-2.9.0-1-x86_64.pkg.tar.xz
xf86-input-synaptics-1.8.0-1-x86_64.pkg.tar.xz
xf86-video-intel-2.99.911-2-x86_64.pkg.tar.xz
xorg-server-1.15.2-1-x86_64.pkg.tar.xz

Edit: After testing it looks like downgrading doesn't help.

Last edited by dhead (2014-09-07 16:48:10)

Offline

#589 2014-09-02 19:19:43

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

Out of the scope of this thread but just thought it worth mentioning that it's seems like 42mm NGFF SSDs starting to gain momentum, prices are a bit lower (128GB drop from 90$+ to 80$), I bet prices will equal mSata drive, Transcend and ZTC also offering drives and there's even a 256GB SSD available (Transcend MTS400).

Offline

#590 2014-09-08 16:09:10

scot14
Member
Registered: 2014-06-02
Posts: 123

Re: Acer C720/C720P Chromebook

Some updates for 3.17-rc4:
- The backlight-related stacktrace no longer shows up in dmesg / journald
- The backlight works on the Core i3 version of the C720

Offline

#591 2014-09-08 18:36:45

LeaveAThousand
Member
Registered: 2014-04-11
Posts: 36

Re: Acer C720/C720P Chromebook

I experience random reboots while the laptop is on battery. I don't really know how to find out what's causing it. However, I suspect it's due to hardware rather than software. I've done a quick google search and evidently other people (who were using Chrome OS) have experienced the same issue.

Last edited by LeaveAThousand (2014-09-08 18:37:13)

Offline

#592 2014-09-08 22:55:59

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720/C720P Chromebook

@ scot14

Thanks for the heads up! I just finished building rc4 and the suspend errors in journald indeed went away!

@ LeaveAThousand

I definitely haven't had any random reboots myself. You should contact Acer to see if you can get it fixed/get a replacement. Might be an issue with the battery or something.

Offline

#593 2014-09-09 00:28:13

LeaveAThousand
Member
Registered: 2014-04-11
Posts: 36

Re: Acer C720/C720P Chromebook

I've already voided my warranty by removing the write protect screw, so I doubt Acer will fix / replace it.

Offline

#594 2014-09-09 02:48:12

scot14
Member
Registered: 2014-06-02
Posts: 123

Re: Acer C720/C720P Chromebook

LeaveAThousand wrote:

I experience random reboots while the laptop is on battery. I don't really know how to find out what's causing it. However, I suspect it's due to hardware rather than software. I've done a quick google search and evidently other people (who were using Chrome OS) have experienced the same issue.

I wonder if the sept 6th post from ngharo in this thread would work?
https://productforums.google.com/forum/ … jSnZJeMEls

Offline

#595 2014-09-09 12:14:49

LeaveAThousand
Member
Registered: 2014-04-11
Posts: 36

Re: Acer C720/C720P Chromebook

Looks worth a try!

Offline

#596 2014-09-17 13:11:25

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

Wiki page looks like a mess.

1. Any reason for the "Fix Audio" paragraph ? I don't need it with 3.17rc3.
2. "Touchpad kernel modules" can be removed when 3.17 will released, what about "Touchscreen" ?
3. Some other installation steps can be moved to the general Chromebook page as they aren't C720 specific, does anyone that got another Chromebook model can confirm
4. Why "Unbricking with Raspberry Pi" is needed to be in the ArchWiki ? the Coreboot wiki is the right place for it.

Offline

#597 2014-09-17 13:20:38

nariox
Member
Registered: 2014-03-19
Posts: 128

Re: Acer C720/C720P Chromebook

dhead wrote:

Wiki page looks like a mess.

1. Any reason for the "Fix Audio" paragraph ? I don't need it with 3.17rc3.
2. "Touchpad kernel modules" can be removed when 3.17 will released, what about "Touchscreen" ?
3. Some other installation steps can be moved to the general Chromebook page as they aren't C720 specific, does anyone that got another Chromebook model can confirm
4. Why "Unbricking with Raspberry Pi" is needed to be in the ArchWiki ? the Coreboot wiki is the right place for it.

Agree with you on 3 and 4. I'd wait until 3.17 is on Arch repos before removing 1 and 2 (mine doesn't have touchscreen, so I don't know if the drivers/patches for it are included).

Offline

#598 2014-09-17 14:42:44

scot14
Member
Registered: 2014-06-02
Posts: 123

Re: Acer C720/C720P Chromebook

The chromeos_laptop module has a touchscreen patch starting with 3.17-rc1:
https://git.kernel.org/cgit/linux/kerne … 0d22787fc4

Is this all that's needed for the touchscreen to work?

Offline

#599 2014-09-17 15:33:03

dyladan
Member
Registered: 2014-09-17
Posts: 3

Re: Acer C720/C720P Chromebook

I'm currently running 3.17-rc4 and i've been running since rc1. Can confirm touchpad, screen backlight, and touchscreen all working.

I'm having issues with my sound. It seems like sometimes it works and sometimes it doesn't. Sometimes the audio will work then will stop working. I'm having a really tough time tracking this one down. Anybody have similar issues?

Offline

#600 2014-09-17 17:59:13

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

I got tired from xmodmap and xbindkeys so I patched xkeyboard-config.

Changes:
* F keys mapped to the same keysyms as ChromeOS, modifiers values were not changed (for example ALT+F4 still works).
* F5 mapped to the Print keysym as I don't think mapping it to Super_L will work.
* In the basic English US layout I mapped the ALT_R to ALTGR.
* ALTGR+Arrows (up, down right, left) mapped to the same keysyms as the combo CTRL+Arrows in ChromeOS (home, end, pgup, pgdown), this doesn't works in Chromium and Firefox (for navigation, it does in text boxes) but does anywhere else.
* ALTGR+Backspace mapped to Delete (in Nautilus I also set Alt+Backspace as send to trash action).

Benefits:
* This works great with multiple keyboard layouts (xmodmap setting is purged when changing layout/language).
* No issues with Gnome apps like Epiphany and Nautilus (xbindkeys+xvkbd didn't worked).
* If you using the dropdown terminal extension in Gnome, now you can get the backtick/grave character by ALTGR+` combo with the English US layout.
* If I understand it correctly then this might also work in a Wayland Desktop (Gnome 3.14) as Wayland supports XKB (Weston 1.5.0 seems to fallback to the layouts in kbd and not use xkeyboard-config).

AUR package xkeyboard-config-chromebook
Github

Last edited by dhead (2014-09-18 10:42:14)

Offline

Board footer

Powered by FluxBB