EMLommers / Apollolake_Audio

Linux Audio fix + sleep/resume Apollolake Chromebook
9 stars 5 forks source link

How to use this script #1

Open fengshuo2004 opened 2 years ago

fengshuo2004 commented 2 years ago

Could you please add some detailed instructions in the README file?

Is it as simple as running

git clone https://github.com/EMLommers/Apollolake_Audio.git
cd Apollolake_Audio
chmod +x apollolake.sh
./apollolake.sh

on the Chromebook (after installing and booting to Ubuntu of course) or do I need to set something up before I run the script?

Also is it possible to do the compiling steps on another computer/VM rather than on the Chromebook itself? Considering it will probably compile faster with better hardware, and not mess up the system packages on the Chromebook.

This repo seems like the only written solution for the Apollolake Chromebook linux audio issue. I personally thank you SO much for the efforts making this.

lilkidsuave commented 2 years ago

tried your instructions, sadly no i get "you must put some deb-src URIs in your sources list

lilkidsuave commented 2 years ago

@fengshuo2004

TUTORIAL for @whyiscassieongithub's method of installing audio

Make sure you are on Ubuntu 21.10 for this, doesn't matter what flavor

Adding Deb-Src URIs to the source list

Do sudo apt edit-sources then choose option one and undo the hash before deb-src in every link, except the impish indri image one at the top

Installing Git sudo apt install git

Cloning the repository that has the resources required _git clone https://github.com/EMLommers/Apollolake_Audio_

Go to the new directory _cd ApollolakeAudio

Make the new script executable chmod +x apollolake.sh

Run the new script ./apollolake.sh

Don't let the System sleep during this process as it can cause problems. NOTE: In my testing, the headphone jack doesn't work but YMMV.

EMLommers commented 2 years ago

Changed tplg file.. Check readme