Hi, after the installation of Legacy Firmware, I installed Ultramarine Linux and now have a dual booting THINKPAD C13 (MORPHIUS) with both OS working just fine.
Then I created a separate partition for my files (with GParted) as I always do, so that I have access to them from both Chrome OS and Linux.
And now I have to find a way to get Chrome OS to mount this partition.
I found some posts with directions like this one:
but I was hoping to get some help here, maybe someone did this already.
also I 'm pretty sure I tested the sound and was working fine, but now after a couple of restarts or something I did (???) there’s no sound on speakers. Headphones work though.
Do I need some script?
edit: I run the script for audio I found here but nothing changed unfortunately!
I can see that output device is named “dummy output”
any ideas?
#!/usr/bin/env bash
printf 'Welcome.\nThis script will ask you for sudo password, which is necessary to extract required information.\n'
# Get current username before escalating permissions
user=$USER
# Get board name
board="$(cat /sys/class/dmi/id/product_name)"
# Get current date and time
date="$(date +"%Y-%m-%d_%Hh%Mm")"
# Specify where to store logs
logdir="debug-logs-$board-$date"
logarchive="debug-logs-$board-$date.tar.gz"
# Create directory to store logs
mkdir -p $logdir
cd $logdir
# Download cbmem and mark it as executable
wget https://mrchromebox.tech/files/util/cbmem.tar.gz &> /dev/null
tar -xf cbmem.tar.gz
rm cbmem.tar.gz
chmod +x cbmem
# Grab logs necessary for debugging audio
if [ ! -z '$(pgrep pulseaudio)' ]
then
# Get logs from pipewire
systemctl --user stop pipewire.{socket,service}
systemctl --user stop pipewire-pulse.{socket,service}
if [ -z "$(which spa-acp-tool)" ]
then
printf 'spa-acp-tool not found. On distros using apt, install pipewire-bin\n'
touch no-spaacptool
fi
for card in $(grep '\[' /proc/asound/cards | awk '{print $1}')
do
echo "Pipewire card $card log:" >> audio-debug.log
spa-acp-tool -c $card -vvvv info &>> audio-debug.log
done
systemctl --user start pipewire.service
systemctl --user start pipewire-pulse.service
else
# Get logs from pulseaudio
systemctl --user stop pulseaudio.{socket,service}
echo "Pulseaudio log:" >> audio-debug.log
pulseaudio -v &>> audio-debug.log & sleep 5
killall pulseaudio
systemctl --user start pulseaudio.service
fi
# UCM logs
skip_ucm=0
if [ -z "$(which alsaucm)" ]
then
printf 'alsaucm not found. Please install alsa-utils.\n'
touch no-alsautils
skip_ucm=1
fi
if [ -z "$(which strace)" ]
then
printf 'strace not found. Please install strace.\n'
touch no-strace
skip_ucm=1
fi
if [ "$skip_ucm" = "0" ]
then
for card in $(grep '\[' /proc/asound/cards | awk '{print $1}')
do
echo "Alsa card $card UCM log:" >> alsa-ucm.log
strace alsaucm -c hw:$card reload &>> alsa-ucm.log
done
fi
lsmod > loaded-modules.log
find /lib/firmware > firmware.log
# grab journal on systemd distros
if [ ! -z "$(which journalctl)" ]
then
journalctl -b 0 > journal.log
fi
# Priviledge escalation [!!!]
{
sudo su <<EOF
# Grab logs and redirect output to files instead of stdout
dmesg >> dmesg.log
if [ -z "$(which lspci)" ]
then
printf 'lspci not found. Please install pciutils.\n'
touch no-lspci
else
lspci -vvvnn >> lspci.log
fi
if [ -z "$(which lsusb)" ]
then
printf 'lsusb not found. Please install usbutils.\n'
touch no-lsusb
else
lsusb -v >> lsusb.log
fi
if [ -z "$(which dmidecode)" ]
then
printf 'Dmidecode not found. Please install it.\n'
touch no-dmidecode
else
dmidecode >> dmidecode.log
fi
if [ -z "$(which libinput)" ]
then
printf 'libinput not found. Please install libinput utils.\n'
touch no-libinput
else
libinput list-devices >> libinput.log
fi
## Copy ACPI tables
mkdir acpi
cp /sys/firmware/acpi/tables/DSDT ./acpi/
cp /sys/firmware/acpi/tables/SSDT* ./acpi/
# Grab coreboot logs
./cbmem -c > cbmem.log
# Set file permissions for regular user
chown -R $user:$user *
chmod -R 755 *
EOF
} || {
echo "Error: Unable to gain root permission. Log archive will be incomplete!"
touch no-root
}
# Remove cbmem binary
rm cbmem
# Pack logs into archive and remove temporary folder that stores them
cd ..
tar -caf "$logarchive" "$logdir"
rm -r "$logdir"
printf "Log collection done.\nPlease upload ${logarchive} for analysis.\n"
I managed to sort out both of my problems, although it wasn’t exactly easy…
So l’ll put it here in case it helps someone.
First the audio problem. As I wrote I lost audio on speakers with UltraMarine Linux after first reboot. Now I believe the key remapping proccess is responsible. I tried everything with no luck, and decided to install latest fedora-xfce instead (for other reasons). I had exactly the same issue after remapping keys and first reboot - no audio on speakers. However fedora has extended audio settings and I discovered the output device was renamed…I had to switch to the new name and it worked fine since!
Audio was quite easy to solve, but getting Chrome OS to mount other internal partitions was an other thing…
Everything I found needed sudo with crosh, but unfortunately Google disabled sudo in crosh since version 117. And VT-2 terminal didn’t seem to work with these commands.
I though to ask ChatGPT, not expecting much of course. Actually first answer was the same I found and didn’t work, but I was amazed to see that it was coming back with updated aproach each time.
It guided me through the proccess, step by step, many commands and finally I had the partition mounted and managed to pin it to My Files. It even proposed scrips to automate the proccess after reboot, and repair in case an update screws something.
I was really impressed! Everything works just fine!
after remapping keys and reboot I had no audio on speakers. BT and stereo jack worked fine. It was the same with UltraMarine. I did nothing except key remapping and audio worked fine after installation, as it did with live USB.
I couldn’t figure it out with UltraMarine but with fedora I noticed the output profile was renamed from acp3xal…Pro to acp3xal…Pro 1. Second one works just fine. I’m pretty sure there was only acp3xal…Pro after installation.
In UltraMarine I tried the audio script, nothing changed. I went through all the settings but couldn’t change the “dummy output”. As with fedora, audio was working fine with live USB and initial installation.