You are not logged in.

#551 2014-08-20 06:38:09

pegasus21
Member
Registered: 2014-06-15
Posts: 17

Re: Acer C720/C720P Chromebook

dhead wrote:

@pegasus21

I'm not sure why you want a link, but here:

GeekBeat Live #144 Uncut, it defaults to WEBM VP9, see image.

The latest EEVblog, it defaults to MP4 AVC probably because it's a more recent upload, see image.

Edit: forgot to emphasize that both are using the HTML5 tag so no flash player.

In my case, when I right click on the video on youtube, the drop down menu lists about flashplayer so I assume it isn't the HTML5 player unless I'm wrong. This is what you were facing issues with right?

Offline

#552 2014-08-20 06:51:29

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

Re: Acer C720/C720P Chromebook

Yes the flash player is freezing in full screen after a few minutes of playback when using SNA.
No faults with HTML5.

Of course I got back to UXA and is flash working fine.

Offline

#553 2014-08-20 07:15:47

pegasus21
Member
Registered: 2014-06-15
Posts: 17

Re: Acer C720/C720P Chromebook

dhead wrote:

Yes the flash player is freezing in full screen after a few minutes of playback when using SNA.
No faults with HTML5.

Of course I got back to UXA and is flash working fine.

When you say freezing, it's an intermittent, periodic or hard freeze?

I haven't tested more than 2 or 3 mins. I'll have to check that out in detail later.

Offline

#554 2014-08-20 07:49:51

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

Re: Acer C720/C720P Chromebook

@pegasus21

Browser (Chromium) and desktop (Gnome) are freezing for a few seconds while keyboard and mouse still responsive, after the this brief freeze the desktop is usable again but not the browser which need to be killed.
This behaviour kept recurring every few minutes after I opened the browser again and played a flash video.

Offline

#555 2014-08-20 10:53:40

pegasus21
Member
Registered: 2014-06-15
Posts: 17

Re: Acer C720/C720P Chromebook

dhead wrote:

@pegasus21

Browser (Chromium) and desktop (Gnome) are freezing for a few seconds while keyboard and mouse still responsive, after the this brief freeze the desktop is usable again but not the browser which need to be killed.
This behaviour kept recurring every few minutes after I opened the browser again and played a flash video.

Ok. In firefox I'm seeing some frame drops every couple of minutes. It seems to be happening every 3-5 minutes and based on dmesg, I'm seeing the following which I believe someone here mentioned earlier.

[  519.216430] [drm] stuck on render ring
[  519.217938] [drm] GPU HANG: ecode 0:0x87d3bffa, in Compositor [636], reason: Ring hung, action: reset
[  519.217943] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  519.217947] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  519.217950] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  519.217953] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  519.217956] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  521.216082] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[  844.169698] [drm] stuck on render ring
[  844.171064] [drm] GPU HANG: ecode 0:0x87d3bffa, in plugin-containe [940], reason: Ring hung, action: reset
[  846.169363] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[  952.150642] [drm] stuck on render ring
[  952.152344] [drm] GPU HANG: ecode 0:0x87d3bffa, in plugin-containe [940], reason: Ring hung, action: reset
[  954.150279] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off

I've captured the error file mentioned in case it needs to be reported.

Last edited by pegasus21 (2014-08-20 10:57:17)

Offline

#556 2014-08-20 16:29:42

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

Re: Acer C720/C720P Chromebook

SolarBoyMatt wrote:

Hey guys,
After accidentally hitting the power button one too many times, I disabled that functionality in /etc/systemd/logind.conf, but it got me wondering if there is any way to imitate Chrome OS' behavior for the power button, where holding it will initiate a standard power off, and shorter hold does a suspend. I'm sure that GNOME or KDE can be configured to pull up a shutdown menu when the button is pressed, but not all of us use DE's. From skimming through the Chromium OS developer wiki and source code, it looks like Google baked this functionality into Chrome OS' power management stack, so it isn't really feasible to patch/import it in directly.

The power key sends keypress and keyrelease events, but it doesn't send repeated keypress events when held down as an alphanumeric key would. So the program that watches for hotkey presses would need to time the difference. But it might be easy to use a modifier key. For example, PowerKey -> suspend and ModifierKey+PowerKey -> poweroff. This should be configurable in most window managers. Thanks for the great idea!

Detailed steps:
1. Ensure the powerkey is ignored by systemd. Edit /etc/systemd/logind.conf to include this line:

HandlePowerKey=ignore

2. Configure 'sudo' to run at least the 'systemctl' command without a password.
3. Tell the window manager how to handle the keypresses. For example with sxhkd, add these lines to ~/.config/sxhkd/sxhkdrc:

XF86PowerOff
	sudo systemctl suspend

shift + XF86PowerOff
	sudo systemctl poweroff

Last edited by scot14 (2014-08-20 22:04:42)

Offline

#557 2014-08-22 20:33:24

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

Re: Acer C720/C720P Chromebook

Hey everyone,

I'm using linux-chromebook 3.16.1-1 (downloaded from https://www.copy.com/s/yxLPq6leYvky) and after some update, the touchpad is not working anymore (touchscreen is working though, I'm using a C720P)

Does anyone has the same problem?

EDIT: The touchpad seems to be partially usable:

- It shows up in Xorg logs and in xinput list
- xinput query-state show the correct button state and there is are "valuator" values that change when I slide my finger though the touchpad:

ValuatorClass Mode=Absolute Proximity=In
	valuator[0]=323
	valuator[1]=295
	valuator[2]=15

# ... after touching ...

ValuatorClass Mode=Absolute Proximity=In
	valuator[0]=265
	valuator[1]=192
	valuator[2]=14

- Clicking on the touchpad physical button works (observable through xev)

Last edited by madx (2014-08-22 20:59:12)

Offline

#558 2014-08-24 05:44:43

akokai
Member
Registered: 2014-08-24
Posts: 2

Re: Acer C720/C720P Chromebook

@madx I also experienced erratic touchpad behaviour after updating to 3.16.1-1. I'm not the right person to identify the root cause of the problem, so I just switched back to 3.16-1, and the touchpad is normal. (My hardware is C720, not P.)

Offline

#559 2014-08-25 21:06:14

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

Re: Acer C720/C720P Chromebook

@akokai Thanks for the tip. I just found the solution and I think it was a configuration problem in X11. I guess the latest Xorg updates broke it somehow. I had configuration files in /usr/share/X11/xorg.conf.d and /etc/X11/xorg.conf.d and I guess there was some conflict.

I'm still investigating to find what's wrong.

Offline

#560 2014-08-26 15:35:26

akokai
Member
Registered: 2014-08-24
Posts: 2

Re: Acer C720/C720P Chromebook

@madx Thanks for pointing out the Xorg files. All I needed to do was restore a .pacsave'd configuration file, namely /etc/X11/xorg.conf.d/50-synaptics.conf, and now my touchpad works fine with the 3.16.1 kernel. I must have done an update that clobbered the file (perhaps xf86-input-synaptics update), and then didn't notice it until rebooting after the last kernel update. (However, this doesn't explain why switching back to 3.16 without fixing the conf file still resolved my issue before...)

Offline

#561 2014-08-26 16:32:44

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

Re: Acer C720/C720P Chromebook

Offline

#562 2014-08-26 18:25:34

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

Re: Acer C720/C720P Chromebook

All previous versions of these firmwares had a DSDT section listing the IFX0102 TPM chip, which caused the tpm_tis module to load. When the module loaded, it would attempt to talk to the TPM, which would fail since the TPM wasn't started by firmware. So the module would start the TPM itself. Then, since it was started, it would need to be interacted with in the correct way, which the module was not doing. Starting with today's version, the tpm_tis module should not be loaded since there is no TPM section in the DSDT, and therefore should not start the TPM chip, so all should work well.

Will anyone who tries this new version, without blacklisting any tpm modules or using the tpm_tis.interrupts=0 or tpm_tis.force=1 parameters, let us know if three suspend/resume cycles can be completed, and if suspend and resume takes less than a couple seconds?

Last edited by scot14 (2014-08-26 20:48:31)

Offline

#563 2014-08-26 21:57:43

bojack
Member
Registered: 2014-08-26
Posts: 1

Re: Acer C720/C720P Chromebook

Hi,

I encountered a problem with my chromebook's hdmi interface today. It was previously working fine. I am using 3.15.5-1-chromebook as the kernel. Here is an exerpt from /var/log/Xorg.0.log which I think is relevant:

[     3.015] (II) config/udev: Adding drm device (/dev/dri/card0)
[     3.015] (II) xfree86: Adding drm device (/dev/dri/card0)
[     3.015] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[     3.015] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event9)
[     3.016] (II) No input driver specified, ignoring this device.
[     3.016] (II) This device may have been added with another device file.
[     3.016] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event10)
[     3.016] (II) No input driver specified, ignoring this device.
[     3.016] (II) This device may have been added with another device file.
[     3.016] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event8)
[     3.016] (II) No input driver specified, ignoring this device.

If anyone has any ideas, please let me know. Thanks.

Offline

#564 2014-08-27 08:06:52

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

Re: Acer C720/C720P Chromebook

I moved to linux-mainline 3.17rc2-1 (C720, Celeron 2955U , 4GB RAM), everything seems to work, that includes: wireless, touchpad, usb, graphics, backlight, suspend (original firmware/coreboot, tpm_tis.force=1 tpm_tis.interrupts=0 ) and sound.

Not sure if here is the best place to post this but here are some of the boot errors/warnings with linux-mainline 3.17rc2-1, some are exist also with linux-chromebook.

kernel: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140724/hwxface-580)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140724/hwxface-580)
....
PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
...
kernel: hpet: probe of PNP0103:00 failed with error -22
...
kernel: i8042: Warning: Keylock active
...
systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
...
kernel: dw_dmac_pci: probe of 0000:00:15.0 failed with error -2
...
kernel: platform chromeos_laptop: Driver chromeos_laptop requests probe deferral
kernel: fbcon: inteldrmfb (fb0) is primary device
...
systemd-tmpfiles[175]: Two or more conflicting lines for /proc/acpi/wakeup configured, ignoring.
...
kernel: __add_probed_i2c_device failed to register device 1-4a
kernel: platform chromeos_laptop: Driver chromeos_laptop requests probe deferral
kernel: usb 2-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409
kernel: __add_probed_i2c_device failed to register device 1-4a
kernel: platform chromeos_laptop: Driver chromeos_laptop requests probe deferral
kernel: input: Cypress APA Trackpad (cyapa) as /devices/pci0000:00/0000:00:15.1/i2c-0/0-0067/input/input11
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.
...

//  Didn't notice this with linux-chromebook, usb related (if it's not clear I got my Logitech mouse connected)

kernel: input: Logitech Unifying Device. Wireless PID:400a as /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.2/0003:046D:C52B.0003/0003:046D:C52B.0004/input/input15
kernel: logitech-djdevice 0003:046D:C52B.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:400a] on usb-0000:00:14.0-5:1
kernel: logitech-djreceiver 0003:046D:C52B.0003: logi_dj_raw_event: invalid device index:0
...
// I saw such wireless related issues also with linux-chromebook, maybe it related to usb ?

kernel: ------------[ cut here ]------------
kernel: WARNING: CPU: 0 PID: 450 at drivers/net/wireless/ath/ath9k/recv.c:548 ath_rx_tasklet+0xd2f/0xd50 [ath9k]()
kernel: Modules linked in: ctr ccm ath3k ecb uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common btusb videodev bluetooth media hid_logitech_dj usbhid hid snd_hda_codec_hdmi nvram tpm_infineon arc4 joydev mousedev coretemp hwmon ath9k intel_rapl cyapa x86_pkg_temp_thermal intel_powerclamp ath9k_common ath9k_hw kvm_intel iTCO_wdt iTCO_vendor_support kvm ath mac80211 chromeos_laptop crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel cryptd microcode evdev mac_hid i915 cfg80211 serio_raw pcspkr snd_hda_codec_realtek i2c_i801 snd_hda_codec_generic rfkill fan drm_kms_helper thermal ac battery tpm_tis tpm drm snd_hda_intel snd_hda_controller dw_dmac video gpio_lynxpoint snd_hda_codec snd_hwdep snd_pcm i2c_designware_pci i2c_designware_platform intel_gtt i2c_designware_core
kernel:  8250_dw i2c_algo_bit snd_timer i2ccore shpchp snd dw_dmac_pci dw_dmac_core lpc_ich processor soundcore spi_pxa2xx_platform button ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common atkbd libps2 xhci_hcd ahci libahci libata ehci_pci ehci_hcd scsi_mod usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core
kernel: CPU: 0 PID: 450 Comm: dhcpcd Not tainted 3.17.0-1-mainline #1
kernel: Hardware name: Acer Peppy, BIOS          10/18/2013
kernel:  0000000000000000 00000000f0fb8987 ffff88017ca03d80 ffffffff81538910
kernel:  0000000000000000 ffff88017ca03db8 ffffffff8106fbed ffff880173e1232e
kernel:  ffff880173f10018 ffff880173e52bc8 ffff880173e11a60 ffff880175f3dd00
kernel: Call Trace:
kernel:  <IRQ>  [<ffffffff81538910>] dump_stack+0x4d/0x6f
kernel:  [<ffffffff8106fbed>] warn_slowpath_common+0x7d/0xa0
kernel:  [<ffffffff8106fd1a>] warn_slowpath_null+0x1a/0x20
kernel:  [<ffffffffa06150ff>] ath_rx_tasklet+0xd2f/0xd50 [ath9k]
kernel:  [<ffffffffa0611bb4>] ath9k_tasklet+0xe4/0x270 [ath9k]
kernel:  [<ffffffff81074357>] tasklet_action+0xc7/0xd0
kernel:  [<ffffffff81073aa2>] __do_softirq+0xf2/0x2e0
kernel:  [<ffffffff81073de6>] irq_exit+0x86/0xb0
kernel:  [<ffffffff815413a6>] do_IRQ+0x56/0xe0
kernel:  [<ffffffff8153f36d>] common_interrupt+0x6d/0x6d
kernel:  <EOI>  [<ffffffffa01adb08>] ? ext4_ext_map_blocks+0xa18/0x16f0 [ext4]
kernel:  [<ffffffffa018115d>] ext4_map_blocks+0x1ad/0x610 [ext4]
kernel:  [<ffffffffa018167e>] _ext4_get_block+0xbe/0x1d0 [ext4]
kernel:  [<ffffffffa01817a6>] ext4_get_block+0x16/0x20 [ext4]
kernel:  [<ffffffff812053e8>] do_mpage_readpage+0x3e8/0x770
kernel:  [<ffffffffa0181790>] ? _ext4_get_block+0x1d0/0x1d0 [ext4]
kernel:  [<ffffffff8116153e>] ? lru_cache_add+0xe/0x10
kernel:  [<ffffffff8120586c>] mpage_readpages+0xfc/0x160
kernel:  [<ffffffffa0181790>] ? _ext4_get_block+0x1d0/0x1d0 [ext4]
kernel:  [<ffffffffa0181790>] ? _ext4_get_block+0x1d0/0x1d0 [ext4]
kernel:  [<ffffffff811a04c1>] ? alloc_pages_current+0xb1/0x160
kernel:  [<ffffffffa017fe1e>] ext4_readpages+0x3e/0x40 [ext4]
kernel:  [<ffffffff8115f57c>] __do_page_cache_readahead+0x1dc/0x270
kernel:  [<ffffffff812b061d>] ? radix_tree_lookup+0xd/0x10
kernel:  [<ffffffff8115f6ef>] ondemand_readahead+0xdf/0x280
kernel:  [<ffffffff8115f8fd>] page_cache_async_readahead+0x6d/0x90
kernel:  [<ffffffff8115428f>] filemap_fault+0x29f/0x400
kernel:  [<ffffffff8117db88>] __do_fault+0x48/0xd0
kernel:  [<ffffffff8118063f>] do_read_fault.isra.58+0x5f/0x310
kernel:  [<ffffffff810630dc>] ? pte_alloc_one+0x2c/0x40
kernel:  [<ffffffff8118317e>] handle_mm_fault+0x8ce/0x1100
kernel:  [<ffffffff8105df5f>] __do_page_fault+0x18f/0x600
kernel:  [<ffffffff81189790>] ? do_mmap_pgoff+0x380/0x430
kernel:  [<ffffffff8116f879>] ? vm_mmap_pgoff+0xb9/0xe0
kernel:  [<ffffffff8105e3f2>] do_page_fault+0x22/0x30
kernel:  [<ffffffff815407b8>] page_fault+0x28/0x30
kernel: ---[ end trace 2f8d9dafbc3a331c ]---

...

kernel: ------------[ cut here ]------------
kernel: WARNING: CPU: 0 PID: 541 at drivers/gpu/drm/i915/intel_panel.c:804 pch_enable_backlight+0x1ba/0x200 [i915]()
kernel: cpu backlight already enabled
kernel: Modules linked in: fuse ctr ccm ath3k ecb uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common btusb videodev bluetooth media hid_logitech_dj usbhid hid snd_hda_codec_hdmi nvram tpm_infineon arc4 joydev mousedev coretemp hwmon ath9k intel_rapl cyapa x86_pkg_temp_thermal intel_powerclamp ath9k_common ath9k_hw kvm_intel iTCO_wdt iTCO_vendor_support kvm ath mac80211 chromeos_laptop crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel cryptd microcode evdev mac_hid i915 cfg80211 serio_raw pcspkr snd_hda_codec_realtek i2c_i801 snd_hda_codec_generic rfkill fan drm_kms_helper thermal ac battery tpm_tis tpm drm snd_hda_intel snd_hda_controller dw_dmac video gpio_lynxpoint snd_hda_codec snd_hwdep snd_pcm i2c_designware_pci i2c_designware_platform intel_gtt i2c_designware_core
kernel:  8250_dw i2c_algo_bit snd_timer i2ccore shpchp snd dw_dmac_pci dw_dmac_core lpc_ich processor soundcore spi_pxa2xx_platform button ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common atkbd libps2 xhci_hcd ahci libahci libata ehci_pci ehci_hcd scsi_mod usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core
kernel: CPU: 0 PID: 541 Comm: Xorg.bin Tainted: G        W      3.17.0-1-mainline #1
kernel: Hardware name: Acer Peppy, BIOS          10/18/2013
kernel:  0000000000000000 000000000f118aee ffff880175f5b9c0 ffffffff81538910
kernel:  ffff880175f5ba08 ffff880175f5b9f8 ffffffff8106fbed ffff880174230000
kernel:  ffff88007a852400 0000000000000003 0000000080000000 ffff88017430e800
kernel: Call Trace:
kernel:  [<ffffffff81538910>] dump_stack+0x4d/0x6f
kernel:  [<ffffffff8106fbed>] warn_slowpath_common+0x7d/0xa0
kernel:  [<ffffffff8106fc6c>] warn_slowpath_fmt+0x5c/0x80
kernel:  [<ffffffffa04ac02a>] pch_enable_backlight+0x1ba/0x200 [i915]
kernel:  [<ffffffffa04ac794>] intel_panel_enable_backlight+0xa4/0x100 [i915]
kernel:  [<ffffffffa049d804>] intel_edp_backlight_on+0x54/0x140 [i915]
kernel:  [<ffffffffa0495ee3>] intel_enable_ddi+0xb3/0x100 [i915]
kernel:  [<ffffffffa0480f59>] haswell_crtc_enable+0x599/0xa70 [i915]
kernel:  [<ffffffffa047b3fa>] __intel_set_mode+0x87a/0x16d0 [i915]
kernel:  [<ffffffffa0187334>] ? ext4_dirty_inode+0x54/0x60 [ext4]
kernel:  [<ffffffffa0483b96>] intel_set_mode+0x16/0x30 [i915]
kernel:  [<ffffffffa0484d44>] intel_crtc_set_config+0xaf4/0xef0 [i915]
kernel:  [<ffffffffa0304424>] drm_mode_set_config_internal+0x64/0xe0 [drm]
kernel:  [<ffffffffa030852b>] drm_mode_setcrtc+0x2ab/0x5b0 [drm]
kernel:  [<ffffffffa02f9fcf>] drm_ioctl+0x1df/0x680 [drm]
kernel:  [<ffffffff811da9e0>] do_vfs_ioctl+0x2d0/0x4b0
kernel:  [<ffffffff811ca611>] ? __sb_end_write+0x31/0x60
kernel:  [<ffffffff811e51fe>] ? __fget+0x6e/0xb0
kernel:  [<ffffffff811dac41>] SyS_ioctl+0x81/0xa0
kernel:  [<ffffffff8153e8e9>] system_call_fastpath+0x16/0x1b
kernel: ---[ end trace 2f8d9dafbc3a331d ]---
kernel: usb 2-4: new full-speed USB device number 5 using xhci_hcd
kernel: usb 2-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409
kernel: usb 2-4: USB disconnect, device number 5
kernel: usb 2-4: new full-speed USB device number 6 using xhci_hcd
kernel: usb 2-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409

Edit: p.s. I've got cros-acpi-wakeup.conf and cros-sound-suspend.sh as described in the wiki.

p.s.2. /var/log/journal/ size is 460MB is it normal ?

Last edited by dhead (2014-08-28 03:06:11)

Offline

#565 2014-08-27 12:03:59

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

Re: Acer C720/C720P Chromebook

bojack wrote:

[     3.015] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[     3.015] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event9)

Does the last message in this thread help?
https://github.com/Bumblebee-Project/Bu … issues/580

Offline

#566 2014-08-27 13:02:28

SolarBoyMatt
Member
From: Columbus, Ohio
Registered: 2012-01-07
Posts: 258
Website

Re: Acer C720/C720P Chromebook

For what it's worth I also get that same call trace on linux-mainline-chromebook with the patch to remove the need for "tpm_tis.force=1" after every suspend/resume cycle. I have the orginal firmware and SeaBIOS is NOT set as defualt. Maybe someone with the latest ROM could check and see if this happens for them too? Although it might have something to do with  reenabling the backlight, but everything otherwise works just after.

Last edited by SolarBoyMatt (2014-08-27 13:03:10)

Offline

#567 2014-08-27 13:45:26

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

Re: Acer C720/C720P Chromebook

dhead wrote:
kernel: ------------[ cut here ]------------
kernel: WARNING: CPU: 0 PID: 541 at drivers/gpu/drm/i915/intel_panel.c:804 pch_enable_backlight+0x1ba/0x200 [i915]()
kernel: cpu backlight already enabled
...
kernel: Call Trace:
kernel:  [<ffffffff81538910>] dump_stack+0x4d/0x6f
kernel:  [<ffffffff8106fbed>] warn_slowpath_common+0x7d/0xa0
kernel:  [<ffffffff8106fc6c>] warn_slowpath_fmt+0x5c/0x80
kernel:  [<ffffffffa04ac02a>] pch_enable_backlight+0x1ba/0x200 [i915]
kernel:  [<ffffffffa04ac794>] intel_panel_enable_backlight+0xa4/0x100 [i915]
kernel:  [<ffffffffa049d804>] intel_edp_backlight_on+0x54/0x140 [i915]
kernel:  [<ffffffffa0495ee3>] intel_enable_ddi+0xb3/0x100 [i915]
kernel:  [<ffffffffa0480f59>] haswell_crtc_enable+0x599/0xa70 [i915]
kernel:  [<ffffffffa047b3fa>] __intel_set_mode+0x87a/0x16d0 [i915]
kernel:  [<ffffffffa0187334>] ? ext4_dirty_inode+0x54/0x60 [ext4]
kernel:  [<ffffffffa0483b96>] intel_set_mode+0x16/0x30 [i915]
kernel:  [<ffffffffa0484d44>] intel_crtc_set_config+0xaf4/0xef0 [i915]
kernel:  [<ffffffffa0304424>] drm_mode_set_config_internal+0x64/0xe0 [drm]
kernel:  [<ffffffffa030852b>] drm_mode_setcrtc+0x2ab/0x5b0 [drm]
kernel:  [<ffffffffa02f9fcf>] drm_ioctl+0x1df/0x680 [drm]
kernel:  [<ffffffff811da9e0>] do_vfs_ioctl+0x2d0/0x4b0
kernel:  [<ffffffff811ca611>] ? __sb_end_write+0x31/0x60
kernel:  [<ffffffff811e51fe>] ? __fget+0x6e/0xb0
kernel:  [<ffffffff811dac41>] SyS_ioctl+0x81/0xa0
kernel:  [<ffffffff8153e8e9>] system_call_fastpath+0x16/0x1b
kernel: ---[ end trace 2f8d9dafbc3a331d ]---
kernel: usb 2-4: new full-speed USB device number 5 using xhci_hcd
kernel: usb 2-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409
kernel: usb 2-4: USB disconnect, device number 5
kernel: usb 2-4: new full-speed USB device number 6 using xhci_hcd
kernel: usb 2-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409
SolarBoyMatt wrote:

For what it's worth I also get that same call trace on linux-mainline-chromebook with the patch to remove the need for "tpm_tis.force=1" after every suspend/resume cycle. I have the orginal firmware and SeaBIOS is NOT set as defualt. Maybe someone with the latest ROM could check and see if this happens for them too? Although it might have something to do with  reenabling the backlight, but everything otherwise works just after.

Annoying message, right? The patch was just accepted and so might be in 3.17-rc3 & I also sent it to parchedas for his next build.
http://cgit.freedesktop.org/drm-intel/c … a3105b50f7

Offline

#568 2014-08-27 13:45:38

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

Re: Acer C720/C720P Chromebook

scot14 wrote:

All previous versions of these firmwares had a DSDT section listing the IFX0102 TPM chip, which caused the tpm_tis module to load. When the module loaded, it would attempt to talk to the TPM, which would fail since the TPM wasn't started by firmware. So the module would start the TPM itself. Then, since it was started, it would need to be interacted with in the correct way, which the module was not doing. Starting with today's version, the tpm_tis module should not be loaded since there is no TPM section in the DSDT, and therefore should not start the TPM chip, so all should work well.

Will anyone who tries this new version, without blacklisting any tpm modules or using the tpm_tis.interrupts=0 or tpm_tis.force=1 parameters, let us know if three suspend/resume cycles can be completed, and if suspend and resume takes less than a couple seconds?

I flashed the ROM and suspend/resume works at least 3 times without messing with TPM.

Backlight is not working for me using linux-chromebook 3.16.1-1 and the new ROM.

Offline

#569 2014-08-27 13:52:40

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

Re: Acer C720/C720P Chromebook

dhead wrote:
kernel: dw_dmac_pci: probe of 0000:00:15.0 failed with error -2
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: usb 2-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409
kernel: __add_probed_i2c_device failed to register device 1-4a
kernel: platform chromeos_laptop: Driver chromeos_laptop requests probe deferral
kernel: input: Cypress APA Trackpad (cyapa) as /devices/pci0000:00/0000:00:15.1/i2c-0/0-0067/input/input11
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.

Will someone building kernel 3.17-rc1, or higher, and these messages in the dmesg output try an experiment? Please enable these two items in .config:
CONFIG_IIO=m
CONFIG_SENSORS_ISL29018=m

If you are using "make menuconfig" it would be done like this:
select Device Drivers/Industrial I/O support as 'M'
then select Device Drivers/Staging drivers/IIO staging drivers/Light Sensors/ISL 29108 light and proximity sensor as 'M'
Exit and save config

Then rebuild the kernel, install modules, etc.

After rebooting, do you still see these error messages, culminating with "kernel: chromeos_laptop_probe: Ran out of tries for device." ?

Last edited by scot14 (2014-08-27 14:29:53)

Offline

#570 2014-08-27 14:50:28

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

Re: Acer C720/C720P Chromebook

dhead wrote:
systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.

This worked for me:  sudo sed -i "/Wants=display-manager.service/d" /lib/systemd/system/graphical.target

Offline

#571 2014-08-27 17:46:33

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

Re: Acer C720/C720P Chromebook

scot14 wrote:
dhead wrote:
systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.

This worked for me:  sudo sed -i "/Wants=display-manager.service/d" /lib/systemd/system/graphical.target

ha ha, silly me, I don't got a display manager installed.

p.s.
Rebuilding kernel 3.17 with ISL29018 module on the Chromebook, that will take some time (darn, I away from my Arch server, it would have take 3 minutes).

Offline

#572 2014-08-28 02:07:51

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

Re: Acer C720/C720P Chromebook

dhead wrote:

I moved to linux-mainline 3.17rc2-1 (C720 , 4GB model), everything seems to work, that includes: wireless, touchpad, usb, graphics, backlight, suspend (original firmware/coreboot, tpm_tis.force=1 tpm_tis.interrupts=0 ) and sound.
Edit: p.s. I've got cros-acpi-wakeup.conf and cros-sound-suspend.sh as described in the wiki.

Hello, I have the same model of chromebook as you (Acer C720 4GB) with i3 CPU. I am also on the linux-mainline kernel, however my backlight isn't working. I'm a bit new so I'm sorry if this is obvious, but are these steps correct to install the linux-mainline kernel from the AUR?

Download tarball
makepkg
pacman -U
grub-mkconfig
reboot

I can't think what else could be the problem, this is a fresh install. I initially ran the touch.sh script from here https://github.com/masmullin2000/arch-c720p in order to get the touchpad working (while still on the default kernel) before I read that switching to the mainline kernel might solve several issues. I've tried linux-chromebook kernel as well to try to fix the backlight issue, and that didn't work for me either.

uname -r outputs 3.17.0-1-mainline so I must have booted into the linux-mainline kernel. Whenever I run xbacklight -dec 5 to test, it outputs "No outputs have backlight property".

Could anyone help me with this? Sorry if I'm missing something obvious. I haven't ever used non-default kernels before, so a lot of this is new. I'm using the default SeaBIOS, also. And I've done exactly the same things as in the quote above.

Offline

#573 2014-08-28 02:18:00

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

Re: Acer C720/C720P Chromebook

silicon wrote:

(Acer C720 4GB) with i3 CPU.

This patch should be in 3.17-rc3 or rc4:
http://cgit.freedesktop.org/drm-intel/c … 49524b46ae

Offline

#574 2014-08-28 02:57:32

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

Re: Acer C720/C720P Chromebook

scot14 wrote:
dhead wrote:
kernel: dw_dmac_pci: probe of 0000:00:15.0 failed with error -2
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: usb 2-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409
kernel: __add_probed_i2c_device failed to register device 1-4a
kernel: platform chromeos_laptop: Driver chromeos_laptop requests probe deferral
kernel: input: Cypress APA Trackpad (cyapa) as /devices/pci0000:00/0000:00:15.1/i2c-0/0-0067/input/input11
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.

Will someone building kernel 3.17-rc1, or higher, and these messages in the dmesg output try an experiment? Please enable these two items in .config:
CONFIG_IIO=m
CONFIG_SENSORS_ISL29018=m

If you are using "make menuconfig" it would be done like this:
select Device Drivers/Industrial I/O support as 'M'
then select Device Drivers/Staging drivers/IIO staging drivers/Light Sensors/ISL 29108 light and proximity sensor as 'M'
Exit and save config

Then rebuild the kernel, install modules, etc.

After rebooting, do you still see these error messages, culminating with "kernel: chromeos_laptop_probe: Ran out of tries for device." ?

Yes still exist, 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

Last edited by dhead (2014-08-28 02:58:10)

Offline

#575 2014-08-28 03:05:28

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

Re: Acer C720/C720P Chromebook

@silicon

Sorry for not being clear enough, I've got the 4GB Celeron 2955U model.

Offline

Board footer

Powered by FluxBB