Tiny Core Base > TCB Q&A Forum
ALSA volume control with a DAC
gordon64:
Hi
We now know you have 2 cards visible to Alsa and its card 1 you want
first lets try to create a .asoudrc file (dot) asoundrc in home folder......later if this fails we try the index=1 with kernel models to swap card positions
try this as local user
--- Code: ---echo 'pcm.!default {
type hw
card 1
device 0
}
ctl.card1 {
type hw
card 1
device 0
}' > .asoundrc
--- End code ---
reboot and see if alsamixer now shows what was card 1 as the new default card.
good luck
bmarkus:
It looks like you are not using piCore but a derivate, piCorePlayer. In native piCore the built-in sound device not started by default to avoid such issues with an optional sound card, kernel module must be modprobed explicitely.
Also, in piCorePlayer you can manage sound devices via the WEB interface which is expected to work. If not, better to use the piCorePlayer site to get support for the player. You can also PM sbp, author of piCorePlayer.
squeezypeas:
--- Quote from: bmarkus on September 11, 2015, 12:23:05 PM ---It looks like you are not using piCore but a derivate, piCorePlayer. In native piCore the built-in sound device not started by default to avoid such issues with an optional sound card, kernel module must be modprobed explicitely.
Also, in piCorePlayer you can manage sound devices via the WEB interface which is expected to work. If not, better to use the piCorePlayer site to get support for the player. You can also PM sbp, author of piCorePlayer.
--- End quote ---
You are correct. I am seeking help there too but there's now a bit of circular referring going on! I am forking the code and using it as an opportunity to learn some C and crack this nut. Despite both cards being marked as default I would have still expected it to be possible to index the DAC directly by name rather than work around by editing .asoundrc to change the order, but this doesn't appear to be the case so far. The piCore method seems a logical approach so I'll quiz the piCorePlayer board. Thanks for the pointers.
squeezypeas:
--- Quote from: gordon64 on September 11, 2015, 10:59:56 AM ---Hi
We now know you have 2 cards visible to Alsa and its card 1 you want
first lets try to create a .asoudrc file (dot) asoundrc in home folder......later if this fails we try the index=1 with kernel models to swap card positions
try this as local user
--- Code: ---echo 'pcm.!default {
type hw
card 1
device 0
}
ctl.card1 {
type hw
card 1
device 0
}' > .asoundrc
--- End code ---
reboot and see if alsamixer now shows what was card 1 as the new default card.
good luck
--- End quote ---
I don't think the home folder is persistent in piCorePlayer. It has been pointed out that there are some differences with piCore so I'll quiz them about the modprobe before I lead you a merry dance. Thank you for your help.
Navigation
[0] Message Index
[*] Previous page
Go to full version