You are not logged in.

#201 2014-05-03 19:21:41

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

Re: Acer C720/C720P Chromebook

@nariox

Great !
My future C720 on it way...

Offline

#202 2014-05-03 23:11:20

kschwarz
Member
Registered: 2014-04-27
Posts: 17

Re: Acer C720/C720P Chromebook

pdixon wrote:

I've got suspend and resume going on 3.14 kernels. Based on my debugging and looking through some old chrome-os bugs there is a quirk in the chromebook firmware's handling of the tpm hardware that means the system resets on resume. On 3.13 kernels this quirk is worked around in the tpm drivers. During suspend the tpm drivers put the tpm hardware into a state where it will resume successfully. Unfortunately the tpm drivers in 3.14 are broken on c720. I haven't figured out what's wrong with them, but by reverting all the 3.14 changes to the tpm drivers I end up with a system that resumes.

I've written a PKGBUILD to install the patched modules
https://github.com/pdixon/PKGBUILDs/tre … 20-modules
This package includes the patched modules to get the touchpad working.

I'm using the following kernel command line

tpm_tis.interrupts=0 modprobe.blacklist=ehci_hcd,ehci_pci nmi_watchdog=0

the

tpm_tis.interrupts=0

is needed or the system hangs on resume.

the

modprobe.blacklist

stuff deals with the stray ehci device. This removes the need for the bind and unbind stuff that the cros-sound-suspend.sh script does.

After installing this my touchscreen won't work anymore and suspension works for 2 seconds till the red led appears and my acer resumes into screensaver.
Could anyone help please?

Offline

#203 2014-05-04 04:18:49

pdixon
Member
From: Christchurch, New Zealand
Registered: 2014-04-21
Posts: 5

Re: Acer C720/C720P Chromebook

kschwarz wrote:

After installing this my touchscreen won't work anymore and suspension works for 2 seconds till the red led appears and my acer resumes into screensaver.
Could anyone help please?

Sorry, I should have mentioned I have the non-touchscreen version. I think both problems you've noticed are because the touchscreen drivers aren't loaded.

I've updated my package to include the calls to the touchscreen driver in chromeos_laptop. On my non-touchscreen c720 I now see it probing for (and failing to find) the touchscreen device.

Offline

#204 2014-05-04 04:39:16

pdixon
Member
From: Christchurch, New Zealand
Registered: 2014-04-21
Posts: 5

Re: Acer C720/C720P Chromebook

@nariox
I'll update that kernel bug. I haven't figured what's cause the tpm driver to break yet. Luckily it's a fairly quite corner of the kernel so there's not a lot of changes to test.

I haven't found anything that doesn't work with the ehci driver disabled.  One of the chrome os kernel developers commented on this post that the echi port wasn't actually attached to anything.

Offline

#205 2014-05-04 11:29:04

kschwarz
Member
Registered: 2014-04-27
Posts: 17

Re: Acer C720/C720P Chromebook

@pdixon Thank you suspend is working now. What do i have to do to get my touchscreen to work again?

Offline

#206 2014-05-07 04:02:18

n8henrie
Member
From: Shiprock, NM
Registered: 2014-03-30
Posts: 45
Website

Re: Acer C720/C720P Chromebook

@pdixon: Thank you! The suspend issue was really bugging me!

How did you figure that out? Was there some error log somewhere that tipped you off?

Offline

#207 2014-05-07 20:44:15

zenolijo
Member
Registered: 2013-03-19
Posts: 36

Re: Acer C720/C720P Chromebook

@pdixon Thanks alot! Works flawlessly!

Will this need a kernel recompilation each kernel update like the script on the wiki or is this somewhat futureproof?
Seemes in the pkgbuild that it is 3.14.2 specific.

Wondering if i should add the linux packages to IgnorePkg in pacman.conf and update manually or just let the kernel update everytime i sync pacman.

Offline

#208 2014-05-07 23:19:59

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

Re: Acer C720/C720P Chromebook

The resume bug is caused by this commit https://github.com/torvalds/linux/commit/1569a4c4ceba, hopefully someone will now be able to fix it.

Offline

#209 2014-05-08 03:03:44

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

Re: Acer C720/C720P Chromebook

@pdixon: I've tried your PKGBUILD, it compiles fine, but when I reboot the touchpad doesn't work. It seems like my i2c is not cooperating:

[    2.778050] i2c-designware-pci 0000:00:15.1: failure adding adapter
[    2.778222] i2c-designware-pci: probe of 0000:00:15.1 failed with error -16
[    2.778353] i2c-designware-pci 0000:00:15.2: failure adding adapter
[    2.778502] i2c-designware-pci: probe of 0000:00:15.2 failed with error -16
[    2.811840] find_i2c_adapter_num: i2c adapter i2c-designware-pci-1 not found on system.
[    2.811849] find_i2c_adapter_num: i2c adapter i2c-designware-pci-0 not found on system.

Have you seen something like this?

Offline

#210 2014-05-08 06:46:12

pdixon
Member
From: Christchurch, New Zealand
Registered: 2014-04-21
Posts: 5

Re: Acer C720/C720P Chromebook

nariox wrote:

@pdixon: I've tried your PKGBUILD, it compiles fine, but when I reboot the touchpad doesn't work. It seems like my i2c is not cooperating:

[    2.778050] i2c-designware-pci 0000:00:15.1: failure adding adapter
[    2.778222] i2c-designware-pci: probe of 0000:00:15.1 failed with error -16
[    2.778353] i2c-designware-pci 0000:00:15.2: failure adding adapter
[    2.778502] i2c-designware-pci: probe of 0000:00:15.2 failed with error -16
[    2.811840] find_i2c_adapter_num: i2c adapter i2c-designware-pci-1 not found on system.
[    2.811849] find_i2c_adapter_num: i2c adapter i2c-designware-pci-0 not found on system.

Have you seen something like this?

At a guess I'd say the patched i2c modules haven't been loaded. The package is meant to run depmod when you install it, it's possible something won't wrong with that. You could try manually running

sudo depmod

and rebooting.

Offline

#211 2014-05-10 01:28:38

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

Re: Acer C720/C720P Chromebook

Hi guys, I've added the kernel with the touchpad patches and tpm_ppi patch to the AUR, enjoy! https://aur.archlinux.org/packages/linux-chromebook/ (takes over an hour to compile with stock config)

Offline

#212 2014-05-10 07:26:57

daxofdeath
Member
Registered: 2014-03-22
Posts: 11

Re: Acer C720/C720P Chromebook

Hi everyone - a question for all chromebook users generally, but HP14 users specifically. 

I am using the HP14 Chromebook with Arch.  I've tried everything to get the touchpad working - every custom Kernel, every touchpad script, all the tips from every site I can find, but nothing works.  I think the problem may be because I removed all traces of Chrome OS - only Arch is installed.  Perhaps the installed modules from the touchpad script are referencing something in ChromeOS?

My question - Is there anyone who is NOT dual-booting (that is, only arch installed) who has managed to get the touchpad working?

Thanks!

Offline

#213 2014-05-10 07:30:56

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

Re: Acer C720/C720P Chromebook

daxofdeath wrote:

Hi everyone - a question for all chromebook users generally, but HP14 users specifically. 

I am using the HP14 Chromebook with Arch.  I've tried everything to get the touchpad working - every custom Kernel, every touchpad script, all the tips from every site I can find, but nothing works.  I think the problem may be because I removed all traces of Chrome OS - only Arch is installed.  Perhaps the installed modules from the touchpad script are referencing something in ChromeOS?

My question - Is there anyone who is NOT dual-booting (that is, only arch installed) who has managed to get the touchpad working?

Thanks!

I'm not dual booting (acer) and I don't think many people are. That seems strange, are you sure you have xf86-input-synaptics installed?

Offline

#214 2014-05-10 08:22:38

daxofdeath
Member
Registered: 2014-03-22
Posts: 11

Re: Acer C720/C720P Chromebook

Yeah, it's installed: 

[~]pacman -Ss xf86-input-synaptics
extra/xf86-input-synaptics 1.7.4-1 (xorg-drivers xorg) [installed]
  Synaptics driver for notebook touchpads

Thanks for quick reply.  Actually I'm pretty confused also - it seems like touchpads are a bit of a tricky subject with chromebooks, but I've not found anyone having as much trouble as I am.  In fact I've even done full, fresh installs with no help.  If I reinstall Chrome OS, touchpad works perfectly.

Last edited by daxofdeath (2014-05-10 08:24:30)

Offline

#215 2014-05-10 08:33:43

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

Re: Acer C720/C720P Chromebook

Hmm, the only thing I can think of is trying a fresh install, maybe you've mucked something up somewhere without realising. Do you know if other people have got it working with HP14?

Offline

#216 2014-05-10 08:42:46

daxofdeath
Member
Registered: 2014-03-22
Posts: 11

Re: Acer C720/C720P Chromebook

I've reinstalled several times with no effect, and at this point I'd rather just use a USB mouse when I can.  I switched my DE to i3, as it's a bit more 'no mouse' friendly for when I don't have a wired mouse with me...but you can imagine I'm still hoping for a fix.

Regarding HP14's, I know other's have it working in different distro's and can presume that other's have it working on Arch, as the HP14 page on the wiki points to a set of 'working' instructions.  Really strange.  Thanks for your time!

Last edited by daxofdeath (2014-05-10 08:43:20)

Offline

#217 2014-05-10 17:52:28

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

Re: Acer C720/C720P Chromebook

I have arch running on my hp 14 chromebook and erased the whole ssd before the installation, which means i have the same setup. Which script did you run to get the touchpad working?

If you did a clean install, you should be running on kernel 3.14.2-1-ARCH. http://pastie.org/9074242 works for this version also on hp14. Not sure if this has any effect, but i choosed "y" twice at the end of the script-installation. After a reboot, the touchpad should work.

The HP14-wiki-page is actually kind of outdated, but all tweaks for the c720 should also work perfectly on the HP14, because the specs are basically the same.

Offline

#218 2014-05-11 12:56:39

kschwarz
Member
Registered: 2014-04-27
Posts: 17

Re: Acer C720/C720P Chromebook

There is a kernel update today... is it safe to update?

Offline

#219 2014-05-11 12:58:56

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

Re: Acer C720/C720P Chromebook

parchedas wrote:

The resume bug is caused by this commit https://github.com/torvalds/linux/commit/1569a4c4ceba, hopefully someone will now be able to fix it.

I confirm this is the root of the issue, reverting it fix suspend on Fedora 20 (I still have options in grub...)
See my bug report for Fedora here:
https://bugzilla.redhat.com/show_bug.cgi?id=1096511

Thank you guys for finding it!

Last edited by Yannick@ekiga (2014-05-11 12:59:35)

Offline

#220 2014-05-11 13:15:15

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

Re: Acer C720/C720P Chromebook

kschwarz wrote:

There is a kernel update today... is it safe to update?

It's safe. The 9074242 script works fine with Kernel 3.14.3-1

Offline

#221 2014-05-11 22:25:56

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

Re: Acer C720/C720P Chromebook

Yannick@ekiga wrote:
parchedas wrote:

The resume bug is caused by this commit https://github.com/torvalds/linux/commit/1569a4c4ceba, hopefully someone will now be able to fix it.

I confirm this is the root of the issue, reverting it fix suspend on Fedora 20 (I still have options in grub...)
See my bug report for Fedora here:
https://bugzilla.redhat.com/show_bug.cgi?id=1096511

Thank you guys for finding it!

Hi Yannick, there is more info here. https://bugzilla.kernel.org/show_bug.cgi?id=74021 Looks like it will be fixed in 3.15.

Offline

#222 2014-05-12 00:59:38

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

Re: Acer C720/C720P Chromebook

I have updated my patched kernel on the AUR https://aur.archlinux.org/packages/linux-chromebook/. It now has ehci removed so /etc/tmpfiles.d/cros-acpi-wakeup.conf and /usr/lib/systemd/system-sleep/cros-sound-suspend.sh are not needed AFAIK. The only thing that is needed is the kernel parameter "tpm_tis.force=1". Also I've added a link to my 64bit compiled packages if you don't want to compile it yourself.

Offline

#223 2014-05-12 04:38:53

kocsenc
Member
From: Eastern US
Registered: 2014-04-16
Posts: 2
Website

Re: Acer C720/C720P Chromebook

tumas wrote:
kschwarz wrote:

There is a kernel update today... is it safe to update?

It's safe. The 9074242 script works fine with Kernel 3.14.3-1

So yes, I can get the 9074242 pastie to work; but that only fixes the touchpad.

Resume is broken again however. The way I fixed it with 3.14.2 was using this repo and calling

makepkg -i

Hoping maybe @pdixon updates for new 3.14.3 kernel.

Offline

#224 2014-05-12 12:07:30

kschwarz
Member
Registered: 2014-04-27
Posts: 17

Re: Acer C720/C720P Chromebook

@kocsenc thank you I think @parchedas has updated his package to 3.14.3

@parchedas thank you for this complete and easy solution will there be a c720p (touchscreen) version?

edit

@pdixon has updated to 3.14.3 too

Last edited by kschwarz (2014-05-12 12:10:27)

Offline

#225 2014-05-14 03:11:00

springah
Member
Registered: 2014-04-28
Posts: 1

Re: Acer C720/C720P Chromebook

signed in just to say thanks to all involved in packaging this up. as someone who constantly re-installs Arch, these packages have made my life much easier.

Offline

Board footer

Powered by FluxBB