EMLommers / Apollolake_Audio

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

script fails with sh: 1: Syntax error: Unterminated quoted string #4

Closed nagaisa closed 1 year ago

nagaisa commented 2 years ago

full output:

sudo sh /home/user/Apollolake_Audio/apollolake_audio2.sh
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'alsa-topology-conf' for glob 'alsa-topology*'
Note, selecting 'alsa-ucm-conf' for glob 'alsa-ucm*'
alsa-topology-conf is already the newest version (1.2.2-1).
alsa-ucm-conf is already the newest version (1.2.2-1ubuntu0.13).
linux-firmware is already the newest version (20220329.git681281e4-0ubuntu1+system76~1648845229~20.04~f573d5b).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
sh: 1: Syntax error: Unterminated quoted string
nagaisa commented 2 years ago

from what i tested sudo sh -c 'echo "options snd-sof-pci fw_path="intel/sof" >> /etc/modprobe.d/inteldsp.conf' is the one causeing the isuse

EMLommers commented 2 years ago

Add before the quotation marks of "intel/sof".. \ Results is: $ sudo sh -c 'echo "options snd-sof-pci fw_path=\"intel/sof\" >> /etc/modprobe.d/inteldsp.conf'

Check software path via journalctl and adjust accordingly

EMLommers commented 2 years ago

Or create a file in /etc/modprobe.d for example sofpath.conf contents of the file: options snd-sof-pci fw_path="intel/sof"

EMLommers commented 2 years ago

should be ok now

Meganium97 commented 1 year ago

Should be properly fixed now.

EMLommers commented 1 year ago

Fixed