Greetings all! Find it somewhat ironic that I’m running an atomic operating system on a Yoga C13 chromebook that previously ran Google’s atomic operating system, but here we are.
After install and enrolling the secure boot key from the Aurora project, I found myself wanting to run WeirdTreeThing’s scripts to get keybindings correct and audio control working.
Just to note here, I’m definitely new to using u-blue distros, but interested in what the experience will be like on a chrultrabook.
I made sure that python and git were the latest, then ran through the cros keyboard map script and got these errors- any idea on how to run something like this on an atomic/immutable distro like Aurora? Do I need to use rpm-ostree or toolbox or something?
I appreciate the help.
chromebook-linux-audio on main via 🐍 v3.12.3
❯ ./setup-audio
[sudo] password for s31bz:
WARNING: You may run into audio issues, even after running this script. Please report any issues on github.
Installing UCM configuration
Cloning into '/tmp/chromebook-ucm-conf'...
remote: Enumerating objects: 1297, done.
remote: Counting objects: 100% (321/321), done.
remote: Compressing objects: 100% (136/136), done.
remote: Total 1297 (delta 170), reused 306 (delta 163), pack-reused 976
Receiving objects: 100% (1297/1297), 222.23 KiB | 1.18 MiB/s, done.
Resolving deltas: 100% (657/657), done.
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-nau8825': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-ssp_amp': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/adl/* /usr/share/alsa/ucm2/conf.d
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-bxtda7219ma': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/apl/* /usr/share/alsa/ucm2/conf.d
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/avs_da7219': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/avs_dmic': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/avs_max98357a': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/avs_max98373': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/avs_max98927': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/avs_nau8825': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/avs_rt5663': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/avs_ssm4567-adi': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/hdaudioB0D2': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/avs/* /usr/share/alsa/ucm2/conf.d
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-rt5682s-rt1': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/cezanne/* /usr/share/alsa/ucm2/conf.d
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-cmlda7219ma': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-cml_max9839': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-cml_rt1011_': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/cml/* /usr/share/alsa/ucm2/conf.d
cp: cannot create regular file '/usr/share/alsa/ucm2/conf.d/sof-glkda7219ma/HiFi.conf': Read-only file system
cp: cannot create regular file '/usr/share/alsa/ucm2/conf.d/sof-glkda7219ma/sof-glkda7219ma.conf': Read-only file system
cp: preserving times for '/usr/share/alsa/ucm2/conf.d/sof-glkda7219ma': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-glkrt5682ma': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/glk/* /usr/share/alsa/ucm2/conf.d
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-da7219max98': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/jsl/* /usr/share/alsa/ucm2/conf.d
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/sof-rt5682s-hs-': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/mendocino/* /usr/share/alsa/ucm2/conf.d
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/mt8183_da7219_r': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/mt8183_mt6358_t': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/mt8183/* /usr/share/alsa/ucm2/conf.d
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/acp3xalc5682101': Read-only file system
cp: cannot create regular file '/usr/share/alsa/ucm2/conf.d/acp3xalc5682m98/HiFi.conf': Read-only file system
cp: cannot create regular file '/usr/share/alsa/ucm2/conf.d/acp3xalc5682m98/acp3xalc5682m98.conf': Read-only file system
cp: preserving times for '/usr/share/alsa/ucm2/conf.d/acp3xalc5682m98': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/HD-Audio Generic': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/picasso/* /usr/share/alsa/ucm2/conf.d
cp: cannot create regular file '/usr/share/alsa/ucm2/conf.d/acpd7219m98357/HiFi.conf': Read-only file system
cp: cannot create regular file '/usr/share/alsa/ucm2/conf.d/acpd7219m98357/acpd7219m98357.conf': Read-only file system
cp: preserving times for '/usr/share/alsa/ucm2/conf.d/acpd7219m98357': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/conf.d/HDA ATI HDMI': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/stoney/* /usr/share/alsa/ucm2/conf.d
cp: cannot create regular file '/usr/share/alsa/ucm2/common/pcm/split.conf': Read-only file system
cp: preserving times for '/usr/share/alsa/ucm2/common/pcm': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/common/* /usr/share/alsa/ucm2/common
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/cs42l42': Read-only file system
cp: cannot create regular file '/usr/share/alsa/ucm2/codecs/hda/hdmi.conf': Read-only file system
cp: cannot create regular file '/usr/share/alsa/ucm2/codecs/hda/hdmi234.conf': Read-only file system
cp: cannot create regular file '/usr/share/alsa/ucm2/codecs/hda/hdmi2345.conf': Read-only file system
cp: cannot create regular file '/usr/share/alsa/ucm2/codecs/hda/hdmi345.conf': Read-only file system
cp: cannot create regular file '/usr/share/alsa/ucm2/codecs/hda/hdmi567.conf': Read-only file system
cp: preserving times for '/usr/share/alsa/ucm2/codecs/hda': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/max98357a': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/max98373': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/max98390': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/nau8825': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/rt1011': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/rt1015': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/rt1015p': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/rt1019': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/rt1019p': Read-only file system
cp: cannot create directory '/usr/share/alsa/ucm2/codecs/rt5682s': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/codecs/* /usr/share/alsa/ucm2/codecs
cp: cannot create directory '/usr/share/alsa/ucm2/platforms/intel-sof': Read-only file system
failed to run command: cp -rp /tmp/chromebook-ucm-conf/platforms/* /usr/share/alsa/ucm2/platforms
Traceback (most recent call last):
File "/var/home/s31bz/gitstuff/chromebook-linux-audio/./setup-audio", line 321, in <module>
install_ucm()
File "/var/home/s31bz/gitstuff/chromebook-linux-audio/./setup-audio", line 45, in install_ucm
cpdir("/tmp/chromebook-ucm-conf/sof-rt5682", "/usr/share/alsa/ucm2/conf.d/sof-rt5682")
File "/var/home/s31bz/gitstuff/chromebook-linux-audio/functions.py", line 65, in cpdir
mkdir(dst_as_string)
File "/var/home/s31bz/gitstuff/chromebook-linux-audio/functions.py", line 52, in mkdir
mk_dir_as_path.mkdir(parents=create_parents)
File "/usr/lib64/python3.12/pathlib.py", line 1311, in mkdir
os.mkdir(self, mode)
OSError: [Errno 30] Read-only file system: '/usr/share/alsa/ucm2/conf.d/sof-rt5682'