libera/#devuan/ Monday, 2021-09-27

judabudahello18:34
judabudaim trying to install squirrelmail package, but seems it isn't in devuan package repo18:35
UsLcan't see it in https://pkgmaster.devuan.org/bannedpackages.txt18:47
UsLeither18:47
judabudahow to install it then?18:48
UsLdon't know. Usually when a package is missing it's too systemd dependent and end up banned.18:49
UsLis it in the debian repo?18:49
judabudaUsL: yes18:53
judabudashould be18:53
UsLotherwise I guess grab the tar balls https://www.squirrelmail.org/download.php18:54
judabudaUsL: then what? is there auto install script?18:59
golinuxWhat is in your sources.list?18:59
golinuxDon't paste too many lines here or you may get kicked19:00
golinuxpaste somewhere.19:00
judabudadeb http://deb.devuan.org/merged beowulf          main non-free contrib19:01
judabudadeb http://deb.devuan.org/merged beowulf-updates  main non-free contrib19:01
judabudadeb http://deb.devuan.org/merged beowulf-security main non-free contrib19:01
judabudagolinux:19:01
golinuxHmmm . . .19:04
golinuxOK I checked and looks lie it hasn't been in Debian since jessie.19:05
golinuxhttp://archive.devuan.org/merged jessie19:06
golinuxWhich means it's been removed  from the debian repos for some reason19:07
golinuxjudabuda: I should have included a link: https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=squirrelmail&x=submit19:50
peterrooneyI have added  "snd_hda_intel index=1,0" to /etc/modules and rebooted, but the output of aplay --list does show a changed ordering. That is not expected.20:14
freemangordonany hint why 'gio mount -d $DEVICE' would give 'gio: $DEVICE: No volume for device file'20:28
freemangordonsure there is no volume, but I was expecting it to be created when $DEVICE gets plugged in. $DEVICE is /dev/sdb1 and is a partition on USB drive20:29
peterrooneyI get the sense that I've ended up in an XY situation. I just want sound to work at all in chimaera just as it does in beowulf. Instead, I'm trying a ridiculously large number of intrusive OS modifications.20:49
peterrooneyNow I'm looking at unbinding stuff in /sys/bus/... instead of just selecting a soundcard and adjusting volume.20:50
peterrooneyblacklisting & rebooting...20:58
peterrooneyYep, I'm definitely in XY territory here. Apparently, blacklisting a module, running depmod, and updating initramfs are not enough to stop a module from being loaded. What next, to get sound operating correctly?21:58
gnarfacehow exactly did you blacklist which module now?21:59
peterrooneygnarface: I added "blacklist snd_hda_codec_hdmi" to /etc/modules.d/snd_hda_codec_hdmi-blacklist.conf ; ran depmod -a; update-initramfs -u22:02
peterrooneyand yes, I can hear you saying "why on earth is this even being tried" under your breath.22:03
gnarfaceshoulda worked i dunno22:04
peterrooneynew hardware forced a move from beowulf to chimaera to get video operating (thanks, amd), the only difference visible in the sound (tree /sys/bus/hdaudio) is an additional audio card22:09
peterrooneythe sound on this system is exceptionally flakey and I can't yet identify why. alsa tutorials on the internet seem worse than bash tutorials on the internet.22:14
gnarfacewell it's the snd_hda_intel driver22:15
gnarfaceit's haunted22:15
gnarfacedo you need both sound cards or can you disable on in the bios?22:16
gnarfacemight be easier22:16
peterrooneyif i disable it in the bios i end up with only the S/PDIF outputs visible.22:17
gnarfaceyou mean the ones on the video card?22:17
DashiePietrust me when I say, everything intel is cursed22:17
gnarfacepeterrooney: does speaker-test work?22:18
gnarfacepeterrooney: when you say it's flaky can you elaborate?22:19
peterrooneyno video card, just onboard amd ryzen 722:19
gnarfaceif it's new hardware it might just not be auto-detecting right and maybe one of the generic models is close enough that you can override auto-detection to that22:20
peterrooneygnarface: speaker-test doesn't work by default, reading man page. and yes, I can elaborate for longer than anyone wants.  VLC will work, for example, if I direct it to use particular parts,but then all other programs cannot play sound.22:24
peterrooneyBut, reading man page for speaker-test first to see if anything can be uncovered.22:24
gnarfacewell a couple things22:25
gnarfaceyou're probably directing it to the wrong parts22:25
gnarfaceyou're probably directing it to "hw" which would bypass dmix which would mean the card can only play one thing at a time - that part is actually expected behavior22:25
gnarfacethe part about needing to specify it is not22:26
Walexpeterrooney: http://www.sabi.co.uk/Notes/linuxSoundALSA.html#troubles22:26
gnarfaceit is common for misdetected cards to not have "!default" set correctly22:26
peterrooneyi know nothing of  dmix.22:26
gnarfacewhich is also easy enough to route around with a custom ~/.asoundrdc22:27
gnarfacei mean ~/.asoundrc22:27
peterrooneygnarface: sorry, still working on speaker-test22:27
gnarfacetry this: speaker-test -c 2 -D "plug:\"dmix:hw,0\""22:29
gnarfaceif that plays, it should also allow multiple instances22:29
gnarface-c 2 might be necessary because strangely enough they're starting to omit 1-channel audio support... somehow22:30
gnarfaceat the hardware level22:31
gnarfacecheapskates somehow managed to provide a soundcard that can do 2, 3, 4, 6, or 8 channel sound but not 122:32
peterrooneygnarface: no luck, however, the output of aplay -L | grep dmix" is...22:32
gnarfaceuse paste.debian.net for pastes22:32
peterrooneydmix:CARD=Generic,DEV=322:32
gnarfacetry this then: speaker-test -c 2 -D"plug:\"dmix:Generic,3\""22:33
peterrooneygnarface: thanks, http://paste.debian.net/1213483/22:34
gnarfaceah, you have Generic and Generic_122:34
gnarfaceif Generic doesn't work try: speaker-test -c 2 -D"plug:\"dmix:Generic_1,X\"" where X is one of those devs22:35
gnarfacebeware of mismatching counting from index of 0 or index of 1 though, the actual value might be one higher or lower in some contexts ....22:36
peterrooneygnarface: why is it that for so many linux tools, there is a mismatch between how bus IDs are reported and how they are expected as inpu.22:36
gnarfacei don't know, i didn't do it22:36
peterrooneygnarface: not blaming you, then.22:37
gnarfacedo either of those last speaker-test commands work?22:37
peterrooneygnarface: Generic_1,0 works, Generic_1,1 is silence.22:37
gnarfacealright cool22:37
gnarfacethat's progress22:37
gnarfaceto make it the default you just need a ~/.asoundrc22:38
gnarface3 lines22:38
gnarfacehttps://paste.debian.net/1213484/22:39
gnarfacethere22:39
gnarfacetry that for your ~/.asoundrc22:39
gnarfacethen everything should magically work22:39
gnarfaceline #3 isn't strictly necessary as 0 is the default but i included it there for your reference in case you need to use this on the other devices22:40
peterrooneyi am considering running a thourough test on all devices:22:41
peterrooneyfor c in $(aplay -L | grep ^[a-zA-Z]  | sed 's/CARD=//; s/DEV=//' ) ; do speaker-test -c 2 -D"$c" ; done22:41
gnarfacewell the hdmi ones will be useless unless something is attached22:41
peterrooneygnarface: probably useless since there are no speakers on the monitor.22:42
peterrooneygnarface: well this is better, VLC plays using default device instead of me having to manually specify one. other sound tests (particularly midi, and also simultaneous applications) to follow22:45
gnarfacei think the index= thing might have worked you just had the syntax or numbers wrong or something22:59
peterrooneypossible. I ran across the format in several forums and it seemed plausible.23:08
peterrooneywell, rosegarden is working as expected. Still not able to have two applications using sound at same time.23:12
peterrooneyafk; appointment, gnarface that's such an improvent, thank you23:13
gnarfaceno problem23:17
gnarfaceenabling dmix will take more than 3 lines23:26
ktinos89hey23:48
ktinos89will devuan move to a more modern init (excluding the systemd mess of course) like openrc, runit, or even s6?23:49
ktinos89sysv is way too old at this point23:49
sadsnorkLooks like ktinos89 didn't hang around very long, but in case anyone finds this question in the chanlogs, take a look at the first set of bullet points here https://www.devuan.org/os/init-freedom23:51

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!