Hardware - Support > Other

Acer C720 Touchpad

(1/2) > >>

gold_finger:
Excellent work finding that solution and thanks for posting back with it!  I'm sure that will help someone else along the way with similar problem.

Harry_Farthing:

--- Quote from: gold_finger on May 02, 2014, 02:12:19 PM ---
--- Quote from: Harry_Farthing ---One of the comments is a guy who is trying to run Elementary OS got that same error for patching files that I did. Since elementary OS is also based on LTS 12.04, I am pretty optimistic about this link:

http://realityequation.net/installing-elementary-os-on-an-hp-chromebook-14
--- End quote ---

Looks promising.  Let us know how that goes for you.

--- End quote ---

It worked!

I skipped these steps:
Step 1: Installing Elementary OS
Step 3: Upgrade xserver-xorg
Step 4: Solve issue with suspend

Step 1, because I already had set the laptop to legacy boot and installed linuxlite, and I skipped steps 3 and 4 because they described problems that I'm not having.

From what I understand, the problem is that it was downloading an older version of the kernel which didn't have the files that it was supposed to patch. The fix is 'manually' getting it via direct link and wget, rather than using aptitude.

gold_finger:

--- Quote from: Harry_Farthing ---One of the comments is a guy who is trying to run Elementary OS got that same error for patching files that I did. Since elementary OS is also based on LTS 12.04, I am pretty optimistic about this link:

http://realityequation.net/installing-elementary-os-on-an-hp-chromebook-14
--- End quote ---

Looks promising.  Let us know how that goes for you.

Harry_Farthing:
The problem seems to be here:


--- Code: ---# Grab Ubuntu kernel source
apt-get source linux-image-$mykern
cd $mykernver

if [ -f drivers/platform/x86/chromeos_laptop.c ]; then
  platform_folder=x86
elif [ -f drivers/platform/chrome/chromeos_laptop.c ]; then
  platform_folder=chrome
fi

--- End code ---

The value of $platform_folder is undefined, because chromeos_laptop.c is in neither of those directories. I can't find it at all, in fact. So, even if it WAS defined, then the script would later attempt to patch a source file that doesn't exist.

EDIT:
One of the comments is a guy who is trying to run Elementary OS got that same error for patching files that I did. Since elementary OS is also based on LTS 12.04, I am pretty optimistic about this link:

http://realityequation.net/installing-elementary-os-on-an-hp-chromebook-14

Harry_Farthing:
EDITED (See at the bottom)

First, thank you for responding. I did take a look at the custom search engine you recommended, and some of the first results were the two main sources I've been going from.

This is the arch guide I mentioned: https://wiki.archlinux.org/index.php/Acer_C720_Chromebook

It was helpful for the first part (actually getting linux lite to install), but I switched to the ubuntu guide because it was using arch-specific things like pacman instead of aptitude.

Because I tried multiple times, I decided to start again fresh and record everything. In hindsight, I realize I probably should have done this BEFORE making a forum post, so for that I apologize. I guess I was just naively hoping that someone had done this before.

This is the guide I was working from: http://ubuntuforums.org/showthread.php?t=2190187

Running a freshly-installed copy of linux lite on a virtual machine:
dist-upgrade didnít upgrade anything, so I just continued, assuming it was already running the latest version of the kernel.


--- Code: ---cd Downloads
wget https://googledrive.com/host/0B0YvUuHHn3MndlNDbXhPRlB2eFE/cros-haswell-modules.sh
[changed the file to be executable]
./cros-haswell-modules.sh
[password for super user]

--- End code ---
Received some errors:

--- Code: ---./cros-haswell-modules.sh: line 14: cd linux-3.8.0: No such file or directory
Canít find file to patch at input line 5
Perhaps you used the wrong Ėp or Ėstrip option?
The text leading up to this was:
------------------------------------
|diff Ėgit a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
|index f6ed06c..816cbd1 100644
|--- a/drivers/i2c/busses/i2c-designware-pcidrv.c
|+++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
------------------------------------
File to patch:

--- End code ---
It did that for a few other .c files, and I eventually just stopped it, because I evidently wasnít getting anywhere.
On the line of the first error (./cros-haswell-modules.sh: line 14: cd linux-3.8.0: No such file or directory) is the command:
cd $mykernver
The variable mykernver is declared earlier with

--- Code: ---mykernver=linux-$(echo $mykern | cut -d'-' -f 1)

--- End code ---
and mykern just before that with

--- Code: ---mykern=${1:-$(uname -r)}

--- End code ---

At this point I decided to go through the script executing the commands line-by-line and seeing what happens. I hit an error near the beginning at:

--- Code: ---sudo apt-get build-dep -y --no-install-recommends linux-image-$mykern
E: You must put some Ďsourceí URIs in your sources.list

--- End code ---

So, I have no idea what repo/s Iím supposed to add at this point, but I think thatís what I need to do to go further.

Iím guessing this is the point where it didnít actually download anything, so it had nothing to patch, which is what tripped it up later.

-------------------------------------------------
Edit:
Maybe 5 seconds after I submitted the post, I had a moment of inspiration. I realized that since it was a fresh install, the sources.list weren't set right yet. I ran apt-get update, then ran the script again.

Now, instead of telling me to add lines to sources.list it's:

--- Code: ---Picking linux-lts-raring as source package instead of 'linux-image-3.8.0-34-generic'
0 upgraded, 0 newly installed, 0 to remove and 139 not upgraded.

--- End code ---

But later on, it still can't find the files to patch. I'll keep going through line by line.

Navigation

[0] Message Index

[#] Next page

Go to full version