You are not logged in.

#776 2014-12-05 15:32:11

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

Re: Acer C720/C720P Chromebook

I updated my AUR package xkeyboard-config-chromebook, now also alt+shift+arrows mapped to home, end, pgup, pagedown.

I might remove the altgr+arrows mapping so please speak out if you're using it.

More details at https://github.com/dhead666/archlinux-p … chromebook
The package is here https://aur.archlinux.org/packages/xkey … hromebook/

Offline

#777 2014-12-06 13:17:50

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

Re: Acer C720/C720P Chromebook

p.s.

If anyone wish to try, I have a solution for a global mapping of alt+shift+arrows that also works in chromium, firefox and libreoffice.
It's interesting that Google originally took the same approach to map the hotkeys with xkeyboard-config (and saved me time investigating how to fix the mapping for chromium) but gave up on it due to xorg-server bugs which seems like they failed to solve.

I added remarks at the top of the readme about solution, see
https://github.com/dhead666/archlinux-p … chromebook

Offline

#778 2014-12-08 22:55:56

serh
Member
Registered: 2011-08-16
Posts: 20

Re: Acer C720/C720P Chromebook

Howdy, folks.

Ever since I've upgraded to kernel 3.17.4, my C720 won't wake up after lid-closing suspend.
Or, rather, it looks like it's awake from the LED status, but the screen is completely blank.

I tried both with linux-chromebook and stock kernel.

Nothing seems to turn the screen back on except for forcing the turn off by holding the power key and doing a hard reboot that way.

Anyone else affected?

Offline

#779 2014-12-09 18:41:31

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

Re: Acer C720/C720P Chromebook

@serh

I don't got such issue with 3.17.4, suspend works great.

mshan wrote:
hckr wrote:

Anybody using kernel 3.17.4? Are the system freezes/hangups fixed in your experience for that kernel version?

I am using kernel 3.17.4. Since I have got kernel 3.17.4 update, I haven't had system freeze at all yet.
I didn't do any fix or patch but I am not using gnome or chromium.
I use openbox, firefox, libreoffice and etc...

I went back today to mainline kernel 3.17.4 and I still see hangs with Chromium ("stuck on render ring") though from the short period of time I tested it looks to be less frequent (only one hang today).
Also, for the first time I got a temporary hang with Chromium (which means I'm not forced to kill it) with the "stuck on render ring" error while using a mainline kernel without parameters, if it will continue like that then it might means that Chromium's devs added a fix that help Chromium recover from such hangs (as other apps do). EDIT: Another day passed and it seem this was an exception, nothing is change, I think I'll go  back to a patched kernel.

Last edited by dhead (2014-12-10 15:13:47)

Offline

#780 2014-12-11 01:12:17

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

Re: Acer C720/C720P Chromebook

Intel's Chris Wilson believe they might have a solution for the gpu hangs.
If anyone want to try then Peter, Kodi and OpenELEC developer, shared the proper patch for kernel 3.18.0.

I'm already testing this patch (with another one) and while I can't determine yet that there aren't no hangs anymore, I do believe there is a performance improvement of the browser.

https://github.com/fritsch/linux/commit … 2cd5.patch

Edit: This is also also need https://github.com/fritsch/linux/commit … dffc.patch

Last edited by dhead (2014-12-11 09:57:17)

Offline

#781 2014-12-11 10:27:11

mathijs
Member
Registered: 2014-12-09
Posts: 2

Re: Acer C720/C720P Chromebook

There were no working PKGBUILD's for xf86-input-cmt, so I edited the existing ones from the AUR to use Hugh Greenberg's repositories. You can find them here.

Offline

#782 2014-12-11 12:15:51

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

Re: Acer C720/C720P Chromebook

If anyone want to try I've built linux-mainline package (3.18-1) with the Chris Wilson's patch(es) which supposed to eliminate gpu hangs

https://drive.google.com/folderview?id= … Ul1eG5UMDQ

@mathijs

Why not to upload to AUR? you'll get much more feedback and PRs if the packages are easy to acquire and built.
Edit: you should clean the makedepends list of libevdevc.

Edit2: it doesn't work for me, the driver is unloaded, nothing useful in jorunald log

[     9.220] (II) config/udev: Adding input device Cypress APA Trackpad (cyapa) (/dev/input/event11)
[     9.220] (**) Cypress APA Trackpad (cyapa): Applying InputClass "evdev touchpad catchall"
[     9.220] (**) Cypress APA Trackpad (cyapa): Applying InputClass "touchpad"
[     9.220] (**) Cypress APA Trackpad (cyapa): Applying InputClass "touchpad peppy"
[     9.220] (**) Cypress APA Trackpad (cyapa): Applying InputClass "touchpad peppy cyapa"
[     9.220] (II) LoadModule: "cmt"
[     9.221] (II) Loading /usr/lib/xorg/modules/input/cmt_drv.so
[     9.242] (II) Module cmt: vendor="X.Org Foundation"
[     9.242] 	compiled for 1.16.2, module version = 0.0.1
[     9.242] 	Module class: X.Org XInput Driver
[     9.242] 	ABI class: X.Org XInput driver, version 21.0
[     9.242] (II) Using input driver 'cmt' for 'Cypress APA Trackpad (cyapa)'
[     9.242] (**) Cypress APA Trackpad (cyapa): always reports core events
[     9.242] (EE) PreInit returned 2 for "Cypress APA Trackpad (cyapa)"
[     9.242] (II) UnloadModule: "cmt"
[     9.242] (II) config/udev: Adding input device Cypress APA Trackpad (cyapa) (/dev/input/mouse0)/

Last edited by dhead (2014-12-11 12:56:39)

Offline

#783 2014-12-11 22:52:58

mathijs
Member
Registered: 2014-12-09
Posts: 2

Re: Acer C720/C720P Chromebook

@dhead thanks for the feedback. I might upload them to the AUR soon. Did you disable the xf86-input-synaptic driver? You might also need to copy 20-mouse.conf, 40-touchpad-cmt.conf, and a 50-touchpad-cmt-peppy.conf from /usr/share/xf86-input-cmt/ to /etc/X11/xorg.conf.d/, perhaps the PKGBUILD should do this for the user.

Offline

#784 2014-12-12 15:31:52

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

Re: Acer C720/C720P Chromebook

@mathijs

I did removed synaptics driver completely including my custom config.
I had in /etc/X11/xorg.conf.d all the configs mentioned.
As you can see in the section of X11 log attached in previous post, the cmt driver is loaded for the touchpad but immediately unloaded with the error message:

(EE) PreInit returned 2 for "Cypress APA Trackpad (cyapa)"

I'm not sure what is wrong and I didn't had the time to investigate it more.

p.s. I don't think it's a good idea for the package to install the peppy's config in /etc/X11/xorg.conf.d/ as you want to keep the package to be generic chromebook as possible.
What you can do is to read the board name with dmidecode (there's an example in John Lewis custom firmware script) and then copy the correct configs on the first installation. Edit: though I don't know if there's a value determining if it's a touchscreen model, so you might also look if the touchscreen recognized on boot by the kernel.

Last edited by dhead (2014-12-12 15:39:05)

Offline

#785 2014-12-14 13:01:07

ridobe
Member
From: Carmel, Indiana
Registered: 2014-08-05
Posts: 7

Re: Acer C720/C720P Chromebook

I have a question.  I added the gbb flags as shown in the wiki.  Why are they set to 0x489?  It sets these flags:

GBB_FLAG_DEV_SCREEN_SHORT_DELAY 0x00000001
GBB_FLAG_FORCE_DEV_SWITCH_ON 0x00000008
GBB_FLAG_FORCE_DEV_BOOT_LEGACY 0x00000080
GBB_FLAG_DEFAULT_DEV_BOOT_LEGACY 0x00000400

But, I still get the white screen for 1 second and it complains about "gbb.flags is nonzero: 0x00000489" which is exactly what I set.  It does boot automatically like it's supposed to but the chance to hit the space bar is still active.  Did I miss something or is this the expected result?

Offline

#786 2014-12-14 23:45:00

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

Re: Acer C720/C720P Chromebook

ridobe wrote:

I still get the white screen for 1 second and it complains about "gbb.flags is nonzero: 0x00000489" which is exactly what I set.  It does boot automatically like it's supposed to but the chance to hit the space bar is still active.  Did I miss something or is this the expected result?

This is the expected result, and pressing the space bar should have no effect.

Offline

#787 2014-12-15 00:52:25

ridobe
Member
From: Carmel, Indiana
Registered: 2014-08-05
Posts: 7

Re: Acer C720/C720P Chromebook

scot14 wrote:

This is the expected result, and pressing the space bar should have no effect.

Ok then, thanks.  I suppose if I were to change it to 0x000 I would lose the ability to choose a boot option.  But, afaik, that's the only way to get rid of the white screen completely.

Offline

#788 2014-12-15 01:11:51

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

Re: Acer C720/C720P Chromebook

ridobe wrote:

I suppose if I were to change it to 0x000 I would lose the ability to choose a boot option.  But, afaik, that's the only way to get rid of the white screen completely.

The white screen may be disabled by installing John Lewis' firmware. But I think this makes restoring ChromeOS much more difficult.

Offline

#789 2014-12-17 18:44:20

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

Re: Acer C720/C720P Chromebook

The gpu hang bug in freedesktop finally resolved, I'm guessing it will be included in one of RCs of 3.19.
I highly recommend picking the two related patches for kernel 3.18, see links in one of my previous messages or at the bottom of Chromebook page in the wiki.


This is a major improvement but I can't say I'm satisfied yet with my C720.

Though I need to do investigate it a little more and compare with other machine, I do believe that there's another GPU issue that causing high memory usage and slowdowns, I did described it a little bit better here.

I also still see wifi dropouts, though in much lower occurrences since I disabled ath9k power saving mode (which seem to eliminate full system freezes) but when it happen when I'm working through ssh it's very frustrating.

The last thing that stills annoys me is the touchpad, I need to get the cmt driver to work in hope palm rejection will finally be enabled.

Offline

#790 2014-12-17 22:04:39

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

Re: Acer C720/C720P Chromebook

dhead wrote:

I also still see wifi dropouts, though in much lower occurrences since I disabled ath9k power saving mode (which seem to eliminate full system freezes) but when it happen when I'm working through ssh it's very frustrating.

Do you use screen or tmux? They can help if the frustration is from losing terminal state. And to make the drops less frequent, have you enabled ssh's tcp keepalives? https://drupal.star.bnl.gov/STAR/comp/s … stable-con

Offline

#791 2014-12-18 11:44:17

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

Re: Acer C720/C720P Chromebook

@scot14

Thanks but I don't think enabling KeepAlive/ServerAliveInterval will help as this isn't ssh specific, if I ping it happen I will not get a response from the ssh destination or router.
Also, the ssh session isn't disconnecting but just hanging for a few seconds. Edit: and this can happen when the session is idle for less than 10 seconds.

I'm not experiencing this with my other machine so I don't believe the fault is with my router.

Last edited by dhead (2014-12-18 11:50:13)

Offline

#792 2014-12-18 11:55:59

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

Re: Acer C720/C720P Chromebook

dhead wrote:

...if I ping it happen I will not get a response from the ssh destination or router.

Oh, so sometimes you can't even ping the default gateway (as shown in "sudo route")?

Offline

#793 2014-12-18 12:58:16

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

Re: Acer C720/C720P Chromebook

@scot14

Yes, I can't ping the default gateway.

It might be WPA specific as I see dozen of the following message in journald (Edit: though I didn't confirmed yet these are the related messages to the dropouts)

wpa_supplicant[389]: wlp1s0: WPA: Group rekeying completed with **:**:**:**:**:** [GTK=CCMP]

and after that

------- The following output in a time frame of 1 second -----------
wpa_supplicant[389]: wlp1s0: CTRL-EVENT-DISCONNECTED bssid=**:**:**:**:**:** reason=3 locally_generated=1
wpa_supplicant[389]: wlp1s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
wpa_supplicant[389]: wlp1s0: SME: Trying to authenticate with **:**:**:**:**:** (SSID='********' freq=2462 MHz)
wpa_supplicant[389]: wlp1s0: Trying to associate with **:**:**:**:**:** (SSID='********' freq=2462 MHz)
wpa_supplicant[389]: wlp1s0: SME: Trying to authenticate with **:**:**:**:**:** (SSID='********' freq=2462 MHz)
wpa_supplicant[389]: wlp1s0: Trying to associate with **:**:**:**:**:** (SSID='********' freq=2462 MHz)
wpa_supplicant[389]: wlp1s0: Associated with **:**:**:**:**:**
wpa_supplicant[389]: wlp1s0: WPA: Key negotiation completed with **:**:**:**:**:** [PTK=CCMP GTK=CCMP]
wpa_supplicant[389]: wlp1s0: CTRL-EVENT-CONNECTED - Connection to **:**:**:**:**:** completed [id=0 id_str=]
wpa_supplicant[389]: wlp1s0: WPA: Group rekeying completed with **:**:**:**:**:** [GTK=CCMP]
wpa_supplicant[389]: wlp1s0: WPA: Group rekeying completed with **:**:**:**:**:** [GTK=CCMP]
wpa_supplicant[389]: wlp1s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
wpa_supplicant[389]: wlp1s0: WPA: Group rekeying completed with **:**:**:**:**:** [GTK=CCMP]
wpa_supplicant[389]: wlp1s0: WPA: Group rekeying completed with **:**:**:**:**:** [GTK=CCMP]
wpa_supplicant[389]: wlp1s0: WPA: Group rekeying completed with **:**:**:**:**:** [GTK=CCMP]

-------- This is about 15 minutes later which output in a time frame of 1 second -----------
NetworkManager[185]: <info> (wlp1s0): DHCPv4 state changed bound -> bound
NetworkManager[185]: <info>   address 192.168.1.100
NetworkManager[185]: <info>   plen 24 (255.255.255.0)
NetworkManager[185]: <info>   gateway 192.168.1.1
NetworkManager[185]: <info>   server identifier 192.168.1.1
NetworkManager[185]: <info>   lease time 3600
NetworkManager[185]: <info>   hostname '******'
NetworkManager[185]: <info>   nameserver '192.168.1.1'
NetworkManager[185]: <info>   domain name '*****'
dbus[189]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
dbus[189]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
nm-dispatcher[4452]: Dispatching action 'dhcp4-change' for wlp1s0

Last edited by dhead (2014-12-18 13:04:52)

Offline

#794 2014-12-18 14:55:51

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

Re: Acer C720/C720P Chromebook

dhead wrote:
------- The following output in a time frame of 1 second -----------
wpa_supplicant[389]: wlp1s0: CTRL-EVENT-DISCONNECTED bssid=**:**:**:**:**:** reason=3 locally_generated=1
...
NetworkManager[185]: <info> (wlp1s0): DHCPv4 state changed bound -> bound
NetworkManager[185]: <info>   address 192.168.1.100
NetworkManager[185]: <info>   plen 24 (255.255.255.0)
NetworkManager[185]: <info>   gateway 192.168.1.1
NetworkManager[185]: <info>   server identifier 192.168.1.1
NetworkManager[185]: <info>   lease time 3600
nm-dispatcher[4452]: Dispatching action 'dhcp4-change' for wlp1s0

It looks like the DHCP lease is only for one hour, does it seem to drop every hour?

Offline

#795 2014-12-18 16:20:33

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

Re: Acer C720/C720P Chromebook

@scot14

I don't think so, but I'm not quite sure, I'll need to test this further.
I do get the message you quote every half hour.

Offline

#796 2014-12-19 19:42:22

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

Re: Acer C720/C720P Chromebook

dhead wrote:

...

Though I need to do investigate it a little more and compare with other machine, I do believe that there's another GPU issue that causing high memory usage and slowdowns, I did described it a little bit better here.

...

I can reproduce a similar call trace with testdisplay from intel-gpu-tools.
I posted the details in a bug report that seems to me relevant.

https://bugs.freedesktop.org/show_bug.cgi?id=74102#c9

Offline

#797 2014-12-20 12:30:33

Latrina
Member
From: Italy - Mexico
Registered: 2014-07-02
Posts: 44

Re: Acer C720/C720P Chromebook

Guys I have been smashing my head on the wall for the past two days trying to figure out a way to map two keys to execute a function with xbindkeys.

To make a long story short, I would like to map the ctrl + hotkey keys to emulate the FN keys.

I have no idea what I am doing wrong, however I can only execute the FN key function by pressing the hotkey only instead of ctrl + hotkey combined.

Any help?

pietro@chromebook:~> xbindkeys -k
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"(Scheme function)"
    m:0x0 + c:72
    F6
pietro@chromebook:~> xbindkeys -k
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"(Scheme function)"
    m:0x4 + c:37
    Control + Control_L
pietro@chromebook:~> cat .xbindkeysrc
"xmodmap -e 'keycode 72 = F6'"
    m:0x4 + c:72
    Control + F6

Sun Netra T1 DC200  (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc

Offline

#798 2014-12-20 13:19:58

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

Re: Acer C720/C720P Chromebook

@Latrina

You want that Control + F6 will generate F6 keysym ?

Depending on your desktop environment and the application you're using xbindkeys might no be the best solution.
You might want to try my xkeyboard-config-chromebook AUR package (and read the README.md), I'm getting back the function keys with AltGR.

If you're insisting on using Ctrl then look how I set then Shift+Alt hotkeys, you'll be able to follow that example to set Ctrl.

Offline

#799 2014-12-20 13:58:36

Latrina
Member
From: Italy - Mexico
Registered: 2014-07-02
Posts: 44

Re: Acer C720/C720P Chromebook

dhead wrote:

@Latrina

You want that Control + F6 will generate F6 keysym ?

Depending on your desktop environment and the application you're using xbindkeys might no be the best solution.
You might want to try my xkeyboard-config-chromebook AUR package (and read the README.md), I'm getting back the function keys with AltGR.

If you're insisting on using Ctrl then look how I set then Shift+Alt hotkeys, you'll be able to follow that example to set Ctrl.

Hey I am using KDE and I am on OpenSUSE atm, therefore I can't use xkeyboard-config-chromebook. I will have a look at ur example.

Thanks


Sun Netra T1 DC200  (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc

Offline

#800 2014-12-21 04:58:56

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

Re: Acer C720/C720P Chromebook

Just a heads up, wireless may not be detected in the 3.19-rc1 kernel without the CONFIG_ATH9K_PCOEM config option.

Offline

Board footer

Powered by FluxBB