<peterm6881>
is there a away to reset alsamixer to default, so I can work out that actually needs ajusted
<peterm6881>
instead of cranking everything up and unmuting everything
<Xogium>
hmm
<Xogium>
alsactl init, maybe
<Xogium>
ahah I found how to solve the issue of suspending the st dev kit for most of the day… the rtc can be a wakeup source.
<Xogium>
so the idea is this: I make a service that tells the rtc to make the board go in deep sleep until whatever time, and I run that service at like… Say half past 7 in the morning
<peterm6881>
what was the problem? im not clear
<peterm6881>
by the way I can confirm ant 1 is 2.4 GHz wifi antenna
<peterm6881>
if you want to use the ant 2 external antenna socket, you need to remove a 0 ohm link by unsoldering ;0
<peterm6881>
21.The IPEX 1 generation: External 2.4 G external antenna seat(When using an external antenna, need remove R49, R51 0Ω welding)
<Xogium>
I needed to find a way to automatically suspend the st dev kit at a certain hour then have it resuming at a certain time
<peterm6881>
for what purpose?
<Xogium>
the radio will only run at night, not during the day
<peterm6881>
by the way interestingly alsactl init puts the mixer settings into some kind of alsamixer defined default, which are different to the image makers
<peterm6881>
and most probably better
<Xogium>
really ? Weird
<peterm6881>
yeah with a fresh image, the headphone level is zero, and there is a separate setting for headphone mute, which was muted (as you predicted, that was the part i hadnt noticed). I changed them to 100 /100 and unmuted. When i ran alsactl init, headphone level went to 37 / 37 , still unmuted
<peterm6881>
makes sense
<Xogium>
interesting
<peterm6881>
the image makers settings are not alsamixer "factory" defaults
<Xogium>
yeah, mustn't be
<peterm6881>
so yeah, useful feature
<peterm6881>
especially when the sound cards number of options are as crazy as this lol
<Xogium>
oh yeah that DAC is kinda badass
<peterm6881>
its umm.... off the scale
<peterm6881>
;)
<peterm6881>
radio?
<Xogium>
yeah, the radio player I make for Simon so he can have music at night
<peterm6881>
are we talking about Luxembourg, or something else?
<peterm6881>
haha is he not permitted to have the radio during the day?
<Xogium>
more like since its in the bedroom there'd be no point leaving it running
<peterm6881>
bizarrely, alsactl does not affect the headphone mute setting
<peterm6881>
alsactl init
<peterm6881>
that make nil sense
<peterm6881>
makes, obvs
<Xogium>
alsa stuff rarely make sense tbh
<peterm6881>
lol
<peterm6881>
hmm.....alsactl init still gives me no audio, but its working when i unmute everything and crank everything up to max, so theres some settings beyond headphone level and headphone mute that stops any audio
<peterm6881>
its way too fucking complicated
<Xogium>
probably master
<peterm6881>
do you know what they call it
<peterm6881>
must be a mute setting, because now when i did alsactl init, its working, but at a lower volume
<Xogium>
hmm not sure. I haven't played with sound on the odyssey for a while
<peterm6881>
stereo separation is almost non existent
<peterm6881>
its there, but i can hear about 80% of the left channel on the right channel, and vice versa. The settings are all fucked up
<peterm6881>
The made it stupid by trying to make it smart
<peterm6881>
they, obvs
<peterm6881>
simplicity
<peterm6881>
why cant anything be simple
<peterm6881>
the mixer says F1 for help, but pressing F1 is exactly the same as hitting escape
<peterm6881>
stupid fuck
<Xogium>
huh
<peterm6881>
yeah im falling out of love with alsa
<Xogium>
here f1 really opens up help
<peterm6881>
sigh....
<peterm6881>
it works in Lubuntu Desktop, but i think its using ncurses
<Xogium>
yep, alsamixer uses ncurses
<peterm6881>
i dont think the seeed images has it
<Xogium>
yep it does, or alsamixer wouldn't even run
<Xogium>
but heh, its buster, maybe its busted. ha ha ha
<peterm6881>
there are two different skins for alsamixer, purely text only, and one that still runs in terminal but is more graphical
<peterm6881>
either way, this one is absolutely shit
<peterm6881>
but seems to be the same as alsactl init
<peterm6881>
meh
<Xogium>
I never liked linux audio to be honest
<Xogium>
its seriously having issues, particularly with alsa only setups
<Xogium>
pulseaudio is actually much nicer
<Xogium>
but alsa is so backwards… We're in 2022 and still linux with alsa alone has no way to play more than one sound at once. It is still exclusive access to hardware. That's why we even need pulseaudio
<peterm6881>
should i install pulseaudio?
<Xogium>
I don't know, it might not work properly with this hardware given the alsa support seems to be meh
<Xogium>
pulseaudio is on top of alsa after all
<Xogium>
that's stuff I'll check out while making your image
<peterm6881>
ok i have the definitive, documented answer to what needs to be changed in alsamixer, from the defaults you get with that full dtb
<Xogium>
oh ?
<peterm6881>
run alsamixer, adjust headphone volume and unmute RIGHT OUTPUT MIXER PCM and LEFT OUTPUT MIXER PCM
<Xogium>
ah damn
<peterm6881>
with nothing else changed, that gives good strong audio on the headphones, with 100% channel separation left to right
<Xogium>
ah good
<peterm6881>
yeah im satisfied I can set this puppy up good
<Xogium>
nice
<peterm6881>
also, i remembered about an old prolific PL2303 bridge cable i had, its like 10 times longer than the jumper cables on the cp210, and unlike the CP210 it can pass enough juice from the USB to power the board
<peterm6881>
so its up off the floor now :)
<peterm6881>
do you know if debian is the root account?
<peterm6881>
or is the root account always called root
<peterm6881>
audio sounds very very good.....
<peterm6881>
can i ask you something
<peterm6881>
im setting up the autologin account, using the guide I wrote for the OPi0, but im getting an error when i try to start the service