Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: tcl_user5 on April 28, 2024, 03:42:05 PM

Title: How to change default sound card in ALSA
Post by: tcl_user5 on April 28, 2024, 03:42:05 PM
I am using Corepure64.

I am not getting sound. My sound card is at sr no 1 whereas the default is set to 0. (Confirmed with aplay).
I want to change the default in /usr/local/etc/alsa/alsa.conf. but I am unable to do so as it is a read only file. I tried saving it as alsa1.conf and subsequently renaming it but that doesn't work.

I routinely do this setting on other distros so I am quite sure about the sound card and the required setting.

How do I change the default.sound card to 1?


Title: Re: How to change default sound card in ALSA
Post by: Rich on April 28, 2024, 08:14:07 PM
Hi tcl_user5
... I want to change the default in /usr/local/etc/alsa/alsa.conf. but I am unable to do so as it is a read only file. ...
You can make it writable like this:
Code: [Select]
sudo busybox cp /usr/local/etc/alsa/alsa.conf /usr/local/etc/alsa/
Title: Re: How to change default sound card in ALSA
Post by: Juanito on April 29, 2024, 03:20:07 AM
You can also do something analogous to this before loading alsa:
Code: [Select]
cat /etc/modprobe.conf
# /etc/modprobe.conf: Modprobe config file.
options snd_hda_intel index=1

..where you substitute the driver your sound card uses for "snd_hda_intel"