You are not logged in.

#476 2014-08-05 15:02:11

bluequakeralex
Member
Registered: 2014-06-09
Posts: 5

Re: Acer C720/C720P Chromebook

To get suspend/resume working I added these modules to the blacklist, tpm,tpm_tis,tpm_infineon

Offline

#477 2014-08-05 22:03:55

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

Re: Acer C720/C720P Chromebook

Latrina wrote:

I have flashed the latest custom coreboot rom for the peppy from the johnlewis.ie website and as you have mentioned I have enabled "HandleLidSwitch=suspend" in /etc/systemd/logind.conf , rebooted the c720 but resume doesn't work still. The system is literally frozen when resuming it from suspension.

Do you see the white warning screen anymore at the beginning of the boot process?

Also, will you try booting again without blacklisting the tpm modules? Then suspend and resume. After the screen freezes on resume, does the machine automatically unfreeze after between two and ten minutes?

Offline

#478 2014-08-06 07:26:16

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

Re: Acer C720/C720P Chromebook

bluequakeralex wrote:

To get suspend/resume working I added these modules to the blacklist, tpm,tpm_tis,tpm_infineon

Great thanks, it did work..

scot14 wrote:
Latrina wrote:

I have flashed the latest custom coreboot rom for the peppy from the johnlewis.ie website and as you have mentioned I have enabled "HandleLidSwitch=suspend" in /etc/systemd/logind.conf , rebooted the c720 but resume doesn't work still. The system is literally frozen when resuming it from suspension.

Do you see the white warning screen anymore at the beginning of the boot process?

Also, will you try booting again without blacklisting the tpm modules? Then suspend and resume. After the screen freezes on resume, does the machine automatically unfreeze after between two and ten minutes?

After having used the script to flash the custom rom I was effectively still running on the stock coreboot rom that came with ChromeOS, therefore I did a manual flash and it did work.

The suggestion mentioned from bluequakeralex indeed did work and "HandleLidSwitch=suspend"  in /etc/systemd/logind.conf had no effect whatsoever.

So in the end what I had to do in order to restore resume/suspension functionality with the custom coreboot rom was to delete  tpm_tis.force=1 tpm_tis.interrupts=0 from /etc/default/grub and blacklist tpm,tpm_tis,tpm_infineon modules.

Last edited by Latrina (2014-08-06 07:27:21)


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

#479 2014-08-06 13:09:25

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

Re: Acer C720/C720P Chromebook

bluequakeralex or latrina, will you please blacklist "tpm_tis", but not "tpm" or "tpm_infineon", and then try to suspend/resume a couple of times?

We might be able to patch the kernel such that anyone using John Lewis' firmware won't have to blacklist any of the tpm-related modules.

Offline

#480 2014-08-06 13:47:50

bluequakeralex
Member
Registered: 2014-06-09
Posts: 5

Re: Acer C720/C720P Chromebook

Only blacklisting tpm_tis works.

Offline

#481 2014-08-06 13:59:24

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

Re: Acer C720/C720P Chromebook

bluequakeralex wrote:

Only blacklisting tpm_tis works.

I can confirm resume does work with only tpm_tis module blacklisted.


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

#482 2014-08-06 14:43:43

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

Re: Acer C720/C720P Chromebook

Thank you. Will you also remove tpm_tis from the blacklist, reboot, and then post the output of "dmesg|grep -i tpm", before any suspending?

Also, what happens if you suspend/resume without blacklisting tpm_tis? Does it suspend successfully, but then reboot when resumed?

Last edited by scot14 (2014-08-06 15:17:59)

Offline

#483 2014-08-06 16:00:36

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

Re: Acer C720/C720P Chromebook

scot14 wrote:

Thank you. Will you also remove tpm_tis from the blacklist, reboot, and then post the output of "dmesg|grep -i tpm", before any suspending?

Also, what happens if you suspend/resume without blacklisting tpm_tis? Does it suspend successfully, but then reboot when resumed?

As you have requested here is the output of  "dmesg|grep -i tpm" without the tpm_tis module blacklisted and prior of any suspension.

[    1.047134] tpm_tis 00:08: 1.2 TPM (device-id 0xB, rev-id 16)
[    1.095512] tpm_tis 00:08: Issuing TPM_STARTUP

Also when  resuming the chromebook from suspension without blacklisting the  tpm_tis module the chromebook results to be in a complete frozen state, can't move the touchpad, can't ping it, but the display is on.


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

#484 2014-08-06 16:04:02

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

Re: Acer C720/C720P Chromebook

tumas wrote:

I didn't know about those ROMs, but i just installed the newest ROM for C720/H14 (the are pretty much the same i guess) and it is working great. No white bootscreen, just straight seabios + grub. And the whole performance seems faster somehow wink Since tmp is removed, there is no need for the "tpm_tis.force=1 hack" anymore. Suspend works fine, at least when running it manually and waking it up afterwards.

Did you have to blacklist any of the tpm modules for resume to work on the HP14?

Offline

#485 2014-08-06 16:09:15

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

Re: Acer C720/C720P Chromebook

bluequakeralex wrote:

Only blacklisting tpm_tis works.

Latrina wrote:

Also when  resuming the chromebook from suspension without blacklisting the  tpm_tis module the chromebook results to be in a complete frozen state, can't move the touchpad, can't ping it, but the display is on.

Thank you.

Will either of  you try booting without blacklisting tpm_tis and then, after suspend/resume/freeze, wait for ten minutes to see if the machine unfreezes?

Last edited by scot14 (2014-08-06 18:10:52)

Offline

#486 2014-08-06 19:13:01

porphyry5
Member
Registered: 2014-06-04
Posts: 77

Re: Acer C720/C720P Chromebook

Many thanks to tumas and SolarBoyMatt re need to update grub.cfg when installing different kernel

Offline

#487 2014-08-06 22:02:33

bluequakeralex
Member
Registered: 2014-06-09
Posts: 5

Re: Acer C720/C720P Chromebook

The machine unfreezes after about five minutes.  Xorg doesn't start anymore until I reboot.  dmesg shows

hcd_pci_runtime_suspend-0x0/0x60 (usbcore) returns -16

How do I create a box around this message on the forum?

Offline

#488 2014-08-06 22:46:13

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

Re: Acer C720/C720P Chromebook

@bluequakeralex

http://bit.ly/1pXQuXV

Offline

#489 2014-08-06 22:49:39

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

Re: Acer C720/C720P Chromebook

bluequakeralex wrote:

The machine unfreezes after about five minutes.  Xorg doesn't start anymore until I reboot.  dmesg shows

hcd_pci_runtime_suspend-0x0/0x60 (usbcore) returns -16

How do I create a box around this message on the forum?

The box can be made like this, but without the tildes: [~code]somestuffhere[~/code]

Thanks for doing that test! I wonder if that error message would happen even if you let the computer sit undisturbed for five minutes at the console (when blacklisting tpm_tis), because of: https://bbs.archlinux.org/viewtopic.php?id=125604

Based on the help from you and Latrina, I think that the patch I posted yesterday will make it so you don't have to blacklist any tpm modules when using the updated firmware. Would either of you either be able to apply that patch and rebuild the tpm modules? If that's too involved, would you be able to test with the linux-mainline-chromebook package that parchedas will upload to the AUR, that includes that patch? (I think it will be version 3.16.0-1 or similar.)

Edit: it is linux-chromebook-3.16-1-x86_64.pkg.tar.xz in the copy.com folder below, or just wait until it hits the AUR

Last edited by scot14 (2014-08-07 00:38:57)

Offline

#490 2014-08-07 00:16:43

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

Re: Acer C720/C720P Chromebook

scot14 wrote:
bluequakeralex wrote:

The machine unfreezes after about five minutes.  Xorg doesn't start anymore until I reboot.  dmesg shows

hcd_pci_runtime_suspend-0x0/0x60 (usbcore) returns -16

How do I create a box around this message on the forum?

The box can be made like this, but without the tildes: [~code]somestuffhere[~/code]

Thanks for doing that test! I wonder if that error message would happen even if you let the computer sit undisturbed for five minutes at the console (when blacklisting tpm_tis), because of: https://bbs.archlinux.org/viewtopic.php?id=125604

Based on the help from you and Latrina, I think that the patch I posted yesterday will make it so you don't have to blacklist any tpm modules when using the updated firmware. Would either of you either be able to apply that patch and rebuild the tpm modules? If that's too involved, would you be able to test with the linux-mainline-chromebook package that parchedas will upload to the AUR, that includes that patch? (I think it will be version 3.16.0-1 or similar.)

linux-chromebook has the patch now, x86_64 version is available in my Copy folder https://copy.com/yxLPq6leYvky . I will update the AUR once 3.16 moves out of testing. I will update linux-chromebook-mainline today which will be same at the moment.

Offline

#491 2014-08-07 02:20:34

jpl888
Member
Registered: 2014-08-01
Posts: 4
Website

Re: Acer C720/C720P Chromebook

Guys, I've been working on this more or less the last 5 days - Latrina, enquiring about iPXE, gave me the idea of trying to shoehorn a tiny uClibc based Buildroot into a 2.88 Mb floppy image (because SeaBIOS supports embedding and booting from them), and running the NetbootCD script from there to install a choice of distros (Arch not in there, yet) without any install media. Would anyone like to try it? I've tested it up to the point where I'm about to wipe my drive.

Offline

#492 2014-08-07 07:48:00

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

Re: Acer C720/C720P Chromebook

bluequakeralex wrote:

The machine unfreezes after about five minutes.  Xorg doesn't start anymore until I reboot.  dmesg shows

hcd_pci_runtime_suspend-0x0/0x60 (usbcore) returns -16

How do I create a box around this message on the forum?

@scot14 I can confirm the c720 recovers from the frozen state if left alone for about 5 minutes. What I have also noticed though is that regardless whether you are in X or shell there's no way you can get online no matter what. Wifi module stays up and responds to up and down and static ip address changes, however there's no way to make it associate with the AP again until you reboot the machine..


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

#493 2014-08-08 15:39:31

LyokoNinja
Member
Registered: 2014-08-08
Posts: 4

Re: Acer C720/C720P Chromebook

My touchpad wasn't working no matter what I did until I installed the linux-c720 package from the AUR using yaourt, which required me to set the size of /tmp to larger than the default ~940 MiB on my 2 GB RAM c720.  I used 1.5 GiB:

# mount - o remount,size=1536M,noatime /tmp

I figure this'll help some of the people who were having the same issue I was.

Wish I could figure out why my phone's bluetooth connection keeps disconnecting from it a few seconds after successfully connecting, though.   I got it working solely as an audio input device without any disconnecting, but my phone considers that a separate bluetooth mode or something like that ("connected music") from a "full" (I guess?) connection.  Haven't been using anything but bluetoothctl because it's better than the GUIs I can find.

Last edited by LyokoNinja (2014-08-08 15:45:31)

Offline

#494 2014-08-08 15:52:57

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

Re: Acer C720/C720P Chromebook

Alternatively, don't use yaourt, or instead, set it to not build in /tmp and remove the build directory when you're done. Building in /tmp for small packages is ok, but I don't like doing it for large builds like a kernel.

As for the Bluetooth issues, do journalctl or bluetoothctl provide any meaningful error messages? I personally haven't used bluetooth on my C720 or any other machine, so I'm not familiar with any of the Bluetooth related tools, but any information about your setup (device you're trying to pair with, everything you've tried/installed so far, etc.) can be helpful. What kind of functionality are you trying to achieve with a bluetooth connection, specifically?

Last edited by SolarBoyMatt (2014-08-08 16:08:52)

Offline

#495 2014-08-08 18:00:24

LyokoNinja
Member
Registered: 2014-08-08
Posts: 4

Re: Acer C720/C720P Chromebook

Followed what you said and a fix for the initial error was found on the PulseAudio page on the wiki - I got an a2dp-source profile not found protocol not available error, which was solved by restarting PulseAudio.  But now I get an error that says (without quotes) "D-Bus failed to register /org/bluez/hci0/dev_Mac_Address/player0 path" .  My phone is a Nokia Lumia 1020 running Windows Phone 8.1, and at this point it's in the "connected music" mode I mentioned earlier.

EDIT: The errors are found using "journalctl -x --follow"
EDIT 2: Removed an extra "/' after "/org"

Last edited by LyokoNinja (2014-08-09 23:53:32)

Offline

#496 2014-08-09 23:52:37

LyokoNinja
Member
Registered: 2014-08-08
Posts: 4

Re: Acer C720/C720P Chromebook

I was fiddling with bluetooth some more today and checked the status of bluetooth.service using systemctl right after booting up the laptop, and found this:

Aug 09 19:14:01 chromearch bluetoothd[244]: Bluetooth daemon 5.21
Aug 09 19:14:01 chromearch bluetoothd[244]: Starting SDP servere
Aug 09 19:14:01 chromearch bluetoothd[244]: Bluetooth management interface 1.6 initialized
Aug 09 19:14:01 chromearch bluetoothd[244]: Sap driver initialization failed.
Aug 09 19:14:01 chromearch bluetoothd[244]: sap-server: Operation not permitted (1)
Aug 09 19:14:01 chromearch bluetoothd[244]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Aug 09 19:14:07 chromearch bluetoothd[244]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource
Aug 09 19:14:07 chromearch bluetoothd[244]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSink

Looked up what SAP is on Wikipedia and found out it has to do with devices like car phones using the SIM card of a cell phone to make their calls instead of needing their own SIM card.  Dunno why I would need that.  Also, could that path mentioned in the last two lines be the same path mentioned in my previous post?

Offline

#497 2014-08-10 21:39:46

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

Re: Acer C720/C720P Chromebook

scot14 wrote:

The touchpad code for the Haswell Chromebooks was written in October 2013, and rejected by some linux developers. A new version was accepted on the lkml mailing list by a subsystem maintainer in June, who said he would apply it to his repository on Wednesday. It's not clear whether this happened yet. Then he needs to send a pull request to Linus.

The touchpad code is finally in the kernel.
https://git.kernel.org/cgit/linux/kerne … fa06360c28

Offline

#498 2014-08-10 23:56:06

Charlular
Member
From: United Kingdom
Registered: 2014-07-10
Posts: 9

Re: Acer C720/C720P Chromebook

scot14 wrote:

The touchpad code is finally in the kernel.
https://git.kernel.org/cgit/linux/kerne … fa06360c28

Nice, too bad these will end up being in 3.17 rather than 3.16 though as Debian and Ubuntu's next major versions will be sticking with 3.16 so the drivers won't be as widespread as they could be, this is especially a nuisance as Xubuntu is a really popular choice for the C720 and I'm not surprised as out of the box apart from a couple of the drivers Xubuntu is a good distro for this laptop and is a very nice distro for people who want to get started with Linux.

Offline

#499 2014-08-11 00:29:20

rmtaylor
Member
Registered: 2014-08-10
Posts: 1

Re: Acer C720/C720P Chromebook

I'm curious whether anybody has gotten hibernation to work without issue.  I've been using linux-chromebook on AUR and have suspend and touchpad working.  I added a swap file last weekend and it gave me enough memory to compile linux-chromebook on the c720.  I then followed the instructions for hibernation on the arch wiki.  On systemctl hibernate, the screen blanks, lights up again and then reblanks, the status light goes amber and keeps blinking.  Opening the lid or tapping keys won't wake it up.  It takes the power button to do so and it's a full boot sequence into a successful restore.  Touchpad and everything appears to work.

However, there's the blinking amber light and if I just hold the power button to force a reset.  The computer will completely power off.  On pushing the power button it will go through full restore from hibernation, but this time the touchpad doesn't work.  Has anyone gotten past this?

Offline

#500 2014-08-11 10:12:43

Jam0864
Member
Registered: 2014-08-11
Posts: 1

Re: Acer C720/C720P Chromebook

With all of these (minor) issues in mind, is it worth purchasing a c720 for arch linux exclusively? What sort of battery life is typical with one of these devices in arch?

Last edited by Jam0864 (2014-08-11 10:26:28)

Offline

Board footer

Powered by FluxBB