You are not logged in.
thanks,
it is there, just someplace else.
solved by =menu-config which lets easily edit config.txt and saves
/boot/broadcom/config.txt
would be nice if there were toggle in Network section to activate/deactivate also the WiFi/Bluetooth (most probably needed separately)
thanks , it function after pulseaudio removed, however not on devuanpi
it seems devuanpi is missing alsa-base or similar, because after removing pulseaudio there is no more sound.
on raspios the c\hange is made, a little bit silly situation resulted however, to change the playback from one device now to copy .asoundrc , practically heeded your advice and made several copy for different devices i~d like to activate.
it is no issue at all for me since it cost next to nothing, however there is room for improvement< if i remember correctly , there was a similar situationn on debian wheezy since after removing pulseaudio, the alsa plugin would only function for regulating the volume and not much more else, but could be mistaken.
EDIT> checked on older version of debian, not sure if the alsa mixer there effectively allowed for selection of devices , but probably it did, and you can mute/unmute. picture is taken of debian 5.
Hello ,
thanks , it is missing.
cat /boot/config.txt Z=file or directory not foundas before, it would continue to play on headphone-out (with both vc4hdmi0 or vc4hdmi1), so most probably pulseaudio is interfering or the config is not fully satisfactorly. will test some more 2morrow.
thank you and good night.
fuser -kv $(find /dev/snd -type c 2>/dev/null)
USER PID ACCESS COMMAND
/dev/snd/controlC1: test1 2251 F.... pulseaudio
/dev/snd/controlC0: test1 2251 F.... pulseaudio
$ fuser -av $(find /dev/snd -type c 2>/dev/null)
USER PID ACCESS COMMAND
/dev/snd/controlC2:
/dev/snd/pcmC2D0p:
/dev/snd/controlC1: test1 2898 F.... pulseaudio
/dev/snd/pcmC1D0p:
/dev/snd/controlC0: test1 2898 F.... pulseaudio
/dev/snd/pcmC0D0p:
/dev/snd/seq:
/dev/snd/timer:thank you very much, it plays,
would not have found out. (that easily)
now there are other devices, i have cable on hdmi0.
feel .asoundrc could be useful in this usecase<
mousepad, installed
no, want to remove it.
but first want to see how to effectuate change with it present.
maybe pulseuadio interferes with .asoundrc?
it seems whatever i put in there, it is overriden by pavucontrol?
aplay -D hw:0,0 test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
^CAborted by signal Interrupt...
$ aplay -D hw:1,1 test.wav
aplay: main:831: audio open error: No such file or directory
$ aplay -D hw:2,2 test.wav
aplay: main:831: audio open error: No such file or directory
$ cat /proc/asound/cards
0 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphones
1 [vc4hdmi0 ]: vc4-hdmi - vc4-hdmi-0
vc4-hdmi-0
2 [vc4hdmi1 ]: vc4-hdmi - vc4-hdmi-1
vc4-hdmi-1
$ aplay -D hw:1 test.wav
aplay: main:831: audio open error: Device or resource busy
$ aplay -D hw:2 test.wav
aplay: main:831: audio open error: Unknown error 524For RaspiOS
fuser -av $(find /dev/snd -type c 2>/dev/null)
USER PID ACCESS COMMAND
/dev/snd/controlC2: rich 733 F.... wireplumber
/dev/snd/pcmC2D0p:
/dev/snd/controlC1:
/dev/snd/pcmC1D0p:
/dev/snd/controlC0: rich 733 F.... wireplumber
/dev/snd/pcmC0D0p:
/dev/snd/seq: rich 729 F.... pipewire
/dev/snd/timer:inxi -A
Audio:
Device-1: bcm2711-hdmi0 driver: vc4_hdmi
Device-2: bcm2711-hdmi1 driver: vc4_hdmi
API: ALSA v: k6.12.34+rpt-rpi-v8 status: kernel-api
Server-1: PipeWire v: 1.2.7 status: activecat /proc/asound/cards
0 [vc4hdmi0 ]: vc4-hdmi - vc4-hdmi-0
vc4-hdmi-0
1 [vc4hdmi1 ]: vc4-hdmi - vc4-hdmi-1
vc4-hdmi-1
2 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphonesfor Devuanpi
fuser -av $(find /dev/snd -type c 2>/dev/null)
USER PID ACCESS COMMAND
/dev/snd/controlC2:
/dev/snd/pcmC2D0p:
/dev/snd/controlC1: test1 2167 F.... pulseaudio
/dev/snd/pcmC1D0p:
/dev/snd/controlC0: test1 2167 F.... pulseaudio
/dev/snd/pcmC0D0p:
/dev/snd/seq:
/dev/snd/timer:inxi -A
Audio:
Device-1: bcm2711-hdmi0 driver: vc4_hdmi
Device-2: bcm2711-hdmi1 driver: vc4_hdmi
API: ALSA v: k6.1.93 status: kernel-api
Server-1: PulseAudio v: 16.1 status: activecat /proc/asound/cards
0 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphones
1 [vc4hdmi0 ]: vc4-hdmi - vc4-hdmi-0
vc4-hdmi-0
2 [vc4hdmi1 ]: vc4-hdmi - vc4-hdmi-1
vc4-hdmi-1i am primarily interested in sorting it for Devuanpi atm.
@igor to get arateconf one has to geo go the extra mile first, so it should be feasible also without?
have just checcked on "raspios" which is favored by raspberry pi foundation, and there is also no .asoundrc,
but i presume the plugin which is function beautifully is handled via pulseaudio<
it functions, but there is alot of stuttering involved, which is probably abit feature of pulse as already experienced in the past.
hello ,
have installed the devuanpi for raspi 4/
am enquiring on how to disable the wi/fi and bt/card since i am not using it and it interferes with my concentration.
on raspios there is
/boot/config.txtdtoverlay=disable-wifi
dtoverlay=disable-bt
how would it be handled on devuanpi?
thanks.
I think I would start by making a super simple .asoundrc and going from there.
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
unfortunately this would not switch the audio to device 0 if in pulseaudio hdmi0 is selected as active fallback.
maybe there is some additional info needed to effectuate the change.
https://imgur.com/vUjyq7t.png
https://imgur.com/ccaTY5j.png
https://imgur.com/kDYeQSx.png
https://imgur.com/MR6ptML.png
https://imgur.com/UXc7DAy.png
@greenjeans, yes, have installed xfce4 and start with "startx" for user now test1.
thanks, will look into it and test abit all your solutions that may reach.
EDIT> have not yet removed pulse or pipe, would like to see if this can be handled at "pristine" state right out of devuanpi. pulse audio is a bit handy as it allows via pavucontrol socalled "fallback" reallive-switching of sources. but the task should be handled by alsa via alsamixer or any other feature easily activabble even for a fairly inexperienced user.
there is unfortunately no .asoundrc as it seems ,
however i am @root account since the adduser did not create a user directory and hence startx would not start for sudo user.
maybe there is a switch in this configuration however that can easily be operated?
/usr/share/alsa/alsa.conf
#
# ALSA library configuration file
#
# pre-load the configuration files
@hooks [
{
func load
files [
"/var/lib/alsa/conf.d"
"/usr/etc/alsa/conf.d"
"/etc/alsa/conf.d"
"/etc/asound.conf|||/usr/etc/asound.conf"
"~/.asoundrc"
{
@func concat
strings [
{
@func getenv
vars [
XDG_CONFIG_HOME
]
default "~/.config"
}
"/alsa/asoundrc"
]
}
]
errors false
}
]
# load card-specific configuration files (on request)
cards.@hooks [
{
func load
files [
{
@func concat
strings [
{ @func datadir }
"/cards/aliases.conf"
]
}
]
}
{
func load_for_all_cards
files [
{
@func concat
strings [
{ @func datadir }
"/cards/"
{ @func private_string }
".conf"
]
}
{
root {
@func private_integer
}
file {
@func concat
strings [
"/var/lib/alsa/card"
{ @func private_integer }
".conf.d"
]
}
}
]
table {
id {
@func concat
strings [
{ @func private_integer }
]
}
value {
@func concat
strings [
"cards."
{ @func private_string }
]
}
}
errors false
}
]
#
# defaults
#
# show all name hints also for definitions without hint {} section
defaults.namehint.showall on
# show just basic name hints
defaults.namehint.basic on
# show extended name hints
defaults.namehint.extended on
#
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000 # in us
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.tstamp_type default
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.channels 2
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format unchanged
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround21.card defaults.pcm.card
defaults.pcm.surround21.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.pcm.file_format raw
defaults.pcm.file_truncate true # truncate files via file or tee PCM
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
#
# PCM interface
#
pcm.hw {
@args [ CARD DEV SUBDEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_PCM_CARD
ALSA_CARD
]
default {
@func refer
name defaults.pcm.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_PCM_DEVICE
]
default {
@func refer
name defaults.pcm.device
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name defaults.pcm.subdevice
}
}
type hw
card $CARD
device $DEV
subdevice $SUBDEV
hint {
show {
@func refer
name defaults.namehint.extended
}
description "Direct hardware device without any conversions"
}
}
pcm.plughw {
@args [ CARD DEV SUBDEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_PCM_CARD
ALSA_CARD
]
default {
@func refer
name defaults.pcm.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_PCM_DEVICE
]
default {
@func refer
name defaults.pcm.device
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name defaults.pcm.subdevice
}
}
type plug
slave.pcm {
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
hint {
show {
@func refer
name defaults.namehint.extended
}
description "Hardware device with all software conversions"
}
}
pcm.plug {
@args [ SLAVE ]
@args.SLAVE {
type string
}
type plug
slave.pcm $SLAVE
}
pcm.shm {
@args [ SOCKET PCM ]
@args.SOCKET {
type string
}
@args.PCM {
type string
}
type shm
server $SOCKET
pcm $PCM
}
pcm.tee {
@args [ SLAVE FILE FORMAT ]
@args.SLAVE {
type string
}
@args.FILE {
type string
}
@args.FORMAT {
type string
default {
@func refer
name defaults.pcm.file_format
}
}
type file
slave.pcm $SLAVE
file $FILE
format $FORMAT
truncate {
@func refer
name defaults.pcm.file_truncate
}
}
pcm.file {
@args [ FILE FORMAT ]
@args.FILE {
type string
}
@args.FORMAT {
type string
default {
@func refer
name defaults.pcm.file_format
}
}
type file
slave.pcm null
file $FILE
format $FORMAT
truncate {
@func refer
name defaults.pcm.file_truncate
}
}
pcm.null {
type null
hint {
show {
@func refer
name defaults.namehint.basic
}
description "Discard all samples (playback) or generate zero samples (capture)"
}
}
# redirect to load-on-demand extended pcm definitions
pcm.cards cards.pcm
pcm.default cards.pcm.default
pcm.sysdefault cards.pcm.default
pcm.front cards.pcm.front
pcm.rear cards.pcm.rear
pcm.center_lfe cards.pcm.center_lfe
pcm.side cards.pcm.side
pcm.surround21 cards.pcm.surround21
pcm.surround40 cards.pcm.surround40
pcm.surround41 cards.pcm.surround41
pcm.surround50 cards.pcm.surround50
pcm.surround51 cards.pcm.surround51
pcm.surround71 cards.pcm.surround71
pcm.iec958 cards.pcm.iec958
pcm.spdif iec958
pcm.hdmi cards.pcm.hdmi
pcm.dmix cards.pcm.dmix
pcm.dsnoop cards.pcm.dsnoop
pcm.modem cards.pcm.modem
pcm.phoneline cards.pcm.phoneline
#
# Control interface
#
ctl.default cards.ctl.default
ctl.sysdefault cards.ctl.default
ctl.hw {
@args [ CARD ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_CTL_CARD
ALSA_CARD
]
default {
@func refer
name defaults.ctl.card
}
}
}
type hw
card $CARD
hint.description "Direct control device"
}
ctl.shm {
@args [ SOCKET CTL ]
@args.SOCKET {
type string
}
@args.CTL {
type string
}
type shm
server $SOCKET
ctl $CTL
}
#
# RawMidi interface
#
rawmidi.default {
type hw
card {
@func getenv
vars [
ALSA_RAWMIDI_CARD
ALSA_CARD
]
default {
@func refer
name defaults.rawmidi.card
}
}
device {
@func igetenv
vars [
ALSA_RAWMIDI_DEVICE
]
default {
@func refer
name defaults.rawmidi.device
}
}
hint.description "Default raw MIDI device"
}
rawmidi.hw {
@args [ CARD DEV SUBDEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_RAWMIDI_CARD
ALSA_CARD
]
default {
@func refer
name defaults.rawmidi.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_RAWMIDI_DEVICE
]
default {
@func refer
name defaults.rawmidi.device
}
}
}
@args.SUBDEV {
type integer
default -1
}
type hw
card $CARD
device $DEV
subdevice $SUBDEV
hint {
description "Direct rawmidi driver device"
device $DEV
}
}
rawmidi.virtual {
@args [ MERGE ]
@args.MERGE {
type string
default 1
}
type virtual
merge $MERGE
}
#
# Sequencer interface
#
seq.default {
type hw
hint.description "Default sequencer device"
}
seq.hw {
type hw
}
#
# HwDep interface
#
hwdep.default {
type hw
card {
@func getenv
vars [
ALSA_HWDEP_CARD
ALSA_CARD
]
default {
@func refer
name defaults.hwdep.card
}
}
device {
@func igetenv
vars [
ALSA_HWDEP_DEVICE
]
default {
@func refer
name defaults.hwdep.device
}
}
hint.description "Default hardware dependent device"
}
hwdep.hw {
@args [ CARD DEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_HWDEP_CARD
ALSA_CARD
]
default {
@func refer
name defaults.hwdep.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_HWDEP_DEVICE
]
default {
@func refer
name defaults.hwdep.device
}
}
}
type hw
card $CARD
device $DEV
hint {
description "Direct hardware dependent device"
device $DEV
}
}
#
# Timer interface
#
timer_query.default {
type hw
}
timer_query.hw {
type hw
}
timer.default {
type hw
class {
@func refer
name defaults.timer.class
}
sclass {
@func refer
name defaults.timer.sclass
}
card {
@func refer
name defaults.timer.card
}
device {
@func refer
name defaults.timer.device
}
subdevice {
@func refer
name defaults.timer.subdevice
}
hint.description "Default timer device"
}
timer.hw {
@args [ CLASS SCLASS CARD DEV SUBDEV ]
@args.CLASS {
type integer
default {
@func refer
name defaults.timer.class
}
}
@args.SCLASS {
type integer
default {
@func refer
name defaults.timer.sclass
}
}
@args.CARD {
type string
default {
@func refer
name defaults.timer.card
}
}
@args.DEV {
type integer
default {
@func refer
name defaults.timer.device
}
}
@args.SUBDEV {
type integer
default {
@func refer
name defaults.timer.subdevice
}
}
type hw
class $CLASS
sclass $SCLASS
card $CARD
device $DEV
subdevice $SUBDEV
hint {
description "Direct timer device"
device $DEV
}
}EDIT> i am now at user @test1 , but there is still no .asoundrc present.
have to admin that i am quite an ignoramus when it comes to (sound)architecture, and so , no , i havent tested it yet (if asked), as it seems to me quite @advanced magic.
was hoping for something foolproof_ that could also withstand a shuffling around of the devices e.g. when something new is added to the mix, without need for cp files<
like if the alsamixer can do so much finetuning, and actually adjust volumes, what prevents it from actually swtiching the output to the desired device?
maybe there is some @hidden?menu that lets it activate the device one wants to play and finally disable to ?bt_device sufficiently.
Hello ,
i have installed devuanpi on pi4 and like how responsive the mpv player can get.
now i would like however to change the default @audio from alsa-headphones to alsa-vc4/hdmi1.
i am selecting in alsamixer F6 and select soundcard, but the sound would not switch.
what is the proper procedure to switch the sound from the headphones to the HDMI on this raspberry easily, preferably via terminal, or via applet.
thanks.
PRETTY_NAME="Devuan GNU/Linux 5 (daedalus)"
NAME="Devuan GNU/Linux"
VERSION_ID="5"
VERSION="5 (daedalus)"
VERSION_CODENAME="daedalus"
ID=devuan
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"which graphics card are you trying to get to function with wayland?
if you get the "windows boot manager" deleted, you can also remedy by choosing to boot from SSD on where Windows sits manually, and select to boot into recovery, from there select "enter recovery console" and type "bootrec /rebuildbcd".
after reboot, the windows bootmanager should be back.
no , partitioning the windows is not that risky, you can do that inside windows, no problem at all; only issue i found with ddual-triple booting or the like is that grub tends to install itself at times, even when told otherwise, onto the windows partition in EFI, but that can be easily fixed if it so happens; (booting into windows and deleting the entry manually via diskpart et al) maybe this happens beause my BIOS could have trouble differentiating the three NVME i have installed, have not found a reason why it happens on my PC. (it seems they are getting mixed up or "tossed around" sometime)
you can check that by going into BIOS after you finished your install of Linux, and look if you find on Windows SSD side two entries, one for Windows Manager, and one for Ubuntu or Debian or whatever; of course if you want to use a SSD for both systems, then it should be that way , provided you install install Grub onto location that is being proposed to you.
think the netselect-apt is not yet fully compatible with devuan; it would be nice to have a easy tool via terminal to select the fastest server based on ones location.
EDIT: if you can afford, you would be better of using a pcie ssd over a sata based one; you can then still use the sata ssd for data storage or for your windows installation if you so like; basically you can find pcie ssd a cheaper prices than sata ssd sometimes nowadays. this does not explain why for you debian could be better chose.
debian13 is quite responsive, especially when downloading packages;
but proof is in the pudding, and feeling is that devuan overall is more responsive, even when run on gen3x4 ssd over an debian on gen4x4 ssd;
the n100 is 12thn gen, and should be very good for easy task requiring single execution; certainly another league than most atom ever were, probably.
that said, i like apu more, because overall round package, although it is difficult with driver sometimes.
@zappa, thanks, looked again, the 3a mini is sans-nfc, maybe the one for me.
but i like the numpad on the onlyky, "looks" useful.
found that even with passkey it often needs another verification with 2fa, like on ebay, so you still need another device at hand.
maybe such one could help
https://www.token2.com/shop/product/mol … ware-token
thanks , will look into it; the DAC is relegated into another task, so my config could stand for HDMI and why two Intel HDA.
Audio:
Device-1: AMD driver: snd_hda_intel
Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
API: ALSA v: k6.1.0-38-amd64 status: kernel-api
| Main menu |
---------------
Curr. | Used | Play (def) | Rec (def) | Available cards
----------|------|------------|-----------|-----------------------------------
0 - >>>>> | * | * * | * * | HDA-Intel - HDA ATI HDMI
1 - | * | * | * | HDA-Intel - HD-Audio Generic
2 - | * | * | * | HDA-Intel - HD-Audio Genericit is AMD graphics, but Intel driver;
Aristophanes, Juvenal? No, i am still learning to read properly. computer screen reading tending to dislike but still on it, also bit of a mystery.
But fallback mechanism would be not bad, maybe KDE has implemented into Phonon, if i remember correctly from KDE 3 or 4.
Thanks for guiding me along to also stand on my own feet.
Gonna take a recess ... to read.
Ciao.
to get back to original topic:
now have installed devuan 5.0 (with cinnamon, alas);
issue at hand is that i don't have fallback mechanism; it seems with arateconf i can not easily implement?
for example at the moment i have only
internal audio +
hdmi audio
translates to
(arateconf)
0 >> hdmi
1 >> intel audio hd?
2 >> intel audio hd?
intel audio hd is listed twice, but i have only one audio card to my knowlegdge?
so i need to set (2) as (default playback) because if i set (1) then there is no sound;
now, however, i would like to for example, fallback to (0>hdmi) if i switch off the loudspeakers ; and switch back to (2>intel audio hd) if i turn on the loudspeaker;
normally , this would be also achievable through sound applet in task bar; but cinnamon does not seem to offer such option; maybe i have made again a bad decision by not heeding your advice of using M A T E, but the window management is nice on cinnamon, can also be adapted on mate;
do you think this is issue with cinnamon or how could i improve the situation with alsa - arateconf? do ineed to manually set options for switchting sound card in alsa configuration?
thanks.
If you quote AI, you might be mobbed by AI haters.
it is the thin line called "satira" that a lot of fall prey to; so it is best avoided, such to give less space to misinterpretations.
but pungent remarks can hardly be called satira, and as such should be fully welcomed by awakening minds and such type.
i dislike censorshop, but even more so disonesty, travestie, misguidance, untruthfulness, and fautora of AI dominance are in for a rude awakening;
found that the mail reader easiest to read is undoubtedly "sylpheed" ;
unfortunately it does not support RSS plugin (as does claws-mail), but your probably would not mind;
(it needs some adaptation for gmail to function if 2FA is active, though)
congratulations for having such a "modern" and lively father ![]()