libera/#devuan/ Thursday, 2022-10-20

nemowhat service launches rtkit-daemon ?02:55
nemodbus?02:55
nemoprocess tree is not helpful02:56
rwpThat's a good question.  I have it running.  But I don't see what would have started it.02:58
chomwittgood day to all. in stable without a desktop (just a tiling window manager) what packages are needed to enable sound ?07:56
debdogalsa-base alsa-utils at least. but then there are special cases. do you have a specific isue, chomwitt?08:00
chomwitthi debdog . thanks. i'll try them now08:01
chomwittnot any that i am aware of . hope alsa works08:02
debdogat first open alsamixer and check that the required faders are not muted!08:02
debdog(and some browsers need PA, don't test sound with a browser)08:05
chomwittis there alsa-base ?08:05
debdogare we talking Chimaera?08:06
chomwittyes08:06
debdogwait08:06
debdogsomething's changed. alsa-base is just a dummy package now08:07
debdogalsaplayer-alsa should be there, right? you can use that to test sound08:07
onefangI don't even see alsa-base in Chimaera.08:08
debdogdummy package08:08
debdogsorry, must have been a leftover on my system08:08
onefangIf it's a dummy package, it would still show up.08:09
debdogthen it was dummy package on an older release?08:10
chomwittok alsaplayer-alsa installed .08:10
onefangPossibly a dummy transition package on an older release, so no longer needed.08:11
debdogdang, I cannot recall which command to use to test audio, some aplay option?08:11
debdogor alsaplayer?08:11
onefangWhen I was last messing with sound I found vlc to be very helpful, coz you get a menu of where to send the sound.08:12
onefangHepled me figure out how to send certain sounds to my main monitor instead of to my headphones.08:13
chomwitti try alsaplayer08:13
onefangMostly coz there was seven HDMI sound devices, but only one of them actually made sound.  lol08:14
debdog"speaker-test" haha I was looking for an option named so but that is the command itself08:14
chomwitt$ speaker-test  gives ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave08:15
chomwittPlayback open error: -2,No such file or directory08:15
debdogonefang: yah, I wonder how that HDMI hardware stuff works. same situation on my laptop. two out of seven work08:15
chomwitt cat /proc/asound/cards  gives me [HDMI]: HDA-Intel - HDA ATI HDMI08:16
debdogchomwitt: is pulseaudio installed an running?08:16
chomwitti think no08:16
debdogwell, check08:16
* chomwitt checking08:16
onefangWell I do have a graphics card with four outputs, but no idea where the other three came from.08:16
golinuxI won't need PA is you install apulse08:16
golinuxYou won't . . .08:17
golinuxis > if08:17
golinuxI am past ready for a long sleep . . .08:17
debdog"unable to open slave" might indicate that it is blocked by something, like PA08:17
chomwittPA ?08:18
debdogpulseaudio08:18
chomwittonly libpulse0  is installed08:19
debdogwhat's the output of "aplay -l", chomwitt?08:19
chomwittdebdog, it gives a dozen of  HDMI [HDA ATI HDMI], device 3:08:19
chomwittand two generic  Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]08:20
debdogok, that's a good sign08:20
chomwittalsaplayer plays a song but i dont hear sound. (i mean it show time progress etc)08:21
debdoghave you checked alsamixer for muted channels?08:22
debdogby default they are muted (so no damage to speakers and ears)08:22
debdogalso, what plug do you use?08:23
debdoganalog or HDMI?08:23
chomwittalsamixer shows me 6 s/pdif two of them muted but no any level . should i be able to raise the level when unmuted ?08:24
debdogjust 6 s/pdif? not more?08:24
chomwittno08:24
debdogin alsamixer press F6 to switch to other cards08:25
chomwitti changed to a generic and i see many channels with levels08:28
debdogPCM and Master are usually the important ones08:28
debdogdepending on hardware08:29
debdogagain: analog or HDMI plug? for where the speakers are connected08:29
chomwittstrange still no sound and speaker-test fails08:30
chomwittdebdog, i have headphones connected in front of the case08:32
chomwitti will try the mobo io panel08:32
debdogat the bottom of each fader there is either a "OO" or a "MM". MM indicates muted, press "m" to toggle08:37
chomwitti tried also my speaker. nothing08:37
chomwittdebdog, i did that08:37
debdogI need the complete output of "aplay -L"08:39
chomwitti hear some low noise08:39
debdogspeaker-test just outputs noise08:39
chomwittspeaker test not running08:41
debdogare you doing this as root? ordinary users have to be added to group uhm "audio" I think08:42
chomwitthttps://pastebin.com/b35Cafgt08:44
chomwittas a user but as 'id' show i am in audio group08:44
debdogdang, what hardware is that?08:46
chomwittstill nothing08:55
chomwittjust a strange noise whenever my speakers plug touch any audio port08:55
chomwittand without any test running08:56
chomwittand having muted all channels of the generic card in alsamixer08:57
debdogsorry, I cannot recall the speaker-test -D option's syntax08:57
debdogand I am tired. but at least your base system seems fine and you just have to find out which entry you need in .asoundrc to define the proper device as default09:00
debdogsomethning like:09:00
debdogdefaults.ctl.!card Generic09:00
debdogdefaults.pcm.!card Generic09:00
chomwittok debdog . thanks. i ll check .asoundrc09:03
chomwittok!09:13
chomwittoptions snd_hda_intel index=1  in /etc/modprobe.d/default.conf09:14
chomwitti found it as an alt solution to .asoundrc  .09:14
chomwitti ll try now that also09:15
KingsyHi, what is the best way of disabling init.d scripts from being executed at startup?10:44
u-amarsh04Kingsy see man update-rc.d11:13
djphKingsy: see /etc/rcX.d for your runlevel (e.g. /etc/rc3.d ...)11:15
djph... and what u-amarsh04 said11:15
Kingsythanks11:23
Kingsyhow come update-rc.d doesnt have a status to see what run level the service is in?11:29
fsmithredKingsy, try sysv-rc-conf11:44
u-amarsh04fsmithred, what package is sysv-rc-conf in?11:45
fsmithredthat is the package11:45
fsmithredand the command11:45
u-amarsh04thanks11:46
fsmithredit shows a table of services and runlevels. You can check/uncheck what starts when11:47
fsmithredarrow keys and space bar11:47
fsmithredq to quit11:47
Kingsywow sysv-rc-conf is a cool tool. why would a service be under more than one run level? perhaps I don't understand what run levels are.12:04
Kingsybut can I assume if a service is under none.. then its disabled.12:04
Kingsyyeah.. I don't understand why there would be a service in more than one run level..12:07
fsmithred  because you don't want things to stop if you change runlevel12:08
fsmithredwell, you might want some things to stop12:08
Kingsyohhhhhh12:08
fsmithredthe idea is you can configure different runlevels for different purposes12:08
fsmithreddebian lumps runlevels 2-5 together. All the same.12:09
Kingsywhats the difference between 0 (halt) and 6 (reboot)12:09
fsmithredIn redhat/suse and some others, runlevels 2 and 3 are console-only, 4 and 5 are graphical12:09
fsmithredwith reboot, the system comes up again.12:09
fsmithredhalt=shutdown12:10
Kingsywhat services would you ever add to 0 or 6? I cant imagine it ever being useful12:10
u-amarsh040 would have final preparations for shutdown12:11
fsmithredlook at the symlinks in rc.X - they are either S (start) or K (kill)12:11
fsmithredstuff gets started or stopped in a particular order12:11
Kingsysysv-rc-conf has 0, 6 and S12:11
u-amarsh046 would send instructions for a reboot of the machine, perhaps loading a kexec image beforehand12:11
fsmithredso, what is it you want to disable?12:12
Kingsyoh I managed it. it was some AV agent. I just disabled it across 2-5, so thats fine. I was just more curious looking at this.. hence the questions :D12:13
Kingsycan someone recommend a general purpose clipboard manager? something that isnt tied to a DE? I use bspwm you see, so I don't want KDE or xfce specific things.12:31
Kingsyahh clipmenu looks awesome, but it isnt in the repos12:34
djphKingsy: use the source?13:40
Kingsydjph: I went for copyq for now. but yeah I'll look into it.14:33
chomwittin the apt log file i see in some depedencies the word (automatic) . but from a quick check i saw that they are depedencies stated in the package's depend field.17:02
gnarfacei think that just means they were automatically installed as opposed to manually installed17:11
chomwittgnarface, that must be it17:14
chomwittgnarface, thanks.17:14
gnarfaceit keeps track of which stuff you asked to have installed specifically by package name as opposed to the things that were pulled in by those as dependencies17:15
gnarfacestuff you requested explicitly will have some modest protection from being automatically removed in the same fashion17:16
chomwittgnarface, regarding auto removal , apt says that a package X is no longer required and i can if a want remove it  with sudo apt autoremove but searching for X in the logs i see that calibre installion pulled that X and calibre is still installed17:24
djphchomwitt: check the current depends of calibre - maybe it no longer relies on X17:25
chomwittdjph, checking17:25
djpher, "package X" being assumed as a placeholder name ...17:26
gnarfacechomwitt: check the package name and version carefully, possibly calibre has actually upgraded to something else that looks very similar like libsomething3 instead of libsomething2 for example17:27
gnarfacenot familiar with calibre so i can't guess about specifics but that type of thing happens a lot17:28
gnarfacesometimes when they bump a version enough and still want it to coexist with earlier versions or if there's a fork or something, they push the major version number into the package name itself17:29
chomwittno . X which is python3-cssselect in the calibre depedencies both show from apt and dpkg17:29
chomwitts/in the/is in the17:30
gnarfacejust doing a quick search on ceres i see python3-cssselect and python3-cssselect2 both present...17:30
gnarfacelook at all these different libx264 library versions i have: libx264-123, libx264-133, libx264-142, libx264-15217:31
gnarfaceactually that's not even all of them17:31
gnarfaceand libx265 is in a similar state17:32
chomwittgnarface, i see your point17:32
gnarfaceif you're running testing or unstable keep in mind that a possible explanation is also that maybe they're moving from one to the other and it's not done yet17:34
chomwittbut in the list that apt presented to me (of the packages no longer required) there is no version . so its like apt sayingt that package is not needed17:35
chomwitti run stable three days now17:36
chomwitti ll do a test and remove ii  python3-cssselect                    1.1.0+ds-117:38
gnarfacei can't tell you if it's really not, but if autoremove only removes that one package and then calibre breaks you'll know and you can just install it again, at which point it'll be marked manually selected so it won't happen to you again and you can report it as a bug17:39
gnarface... upstream at debian where this probably started17:39
chomwittxmm strange sudo apt autoremove didnt remove python3-cssselect17:40
gnarfacedid it remove anything?17:40
chomwittyes17:40
chomwittit removed a subset of the packages that said they were not longer needed17:41
chomwittsorry17:42
chomwittmy mistake17:42
chomwittthat list was presented to me when i gave the command sudo apt-get purge libasound217:43
gnarfaceah17:43
gnarfacepurge and autoremove aren't the same thing though they can be used together17:43
chomwittso apt do its logic found all the packages that will must be unistalled (due to not being able to function without libsound) and then presented to me the list17:44
gnarfaceyea, the autoremovable list is actually presented before you do the actual triggering removal17:45
gnarfaceit words it like "right now" but it really means "only if you proceed with this action"17:45
chomwitti see17:48
chomwittSo apt-get purge libsound presented two lists. The autoremoval that wont be removed (unless i want to afterwards) and a list of packages that will be removed , In the autoremoval i see calibre-bin in the later calibre. So as i understand it apt-get purge will remove all packages X that depend on libsound and packages Y  that depend on those X and so forth going backwards to calibre but it wont remove right away a calibre18:11
chomwittdepedency Z if that Z dont depent on libsound ?18:11
gnarfaceuh... having trouble following that but i think yes?18:16
gnarfaceit will remove anything that doesn't work without libasound right away, along with libasound18:17
gnarfacebut that can still orphan other things18:19
gnarfaceand not everything that's a dependency is a hard requirement; some stuff is just recommended or suggested (there are 2 additional tiers of "optional" dependencies besides the hard dependencies)18:20
chomwitti mean i say remove X . apt will remove F -> X and and C -> F -> X but not G even if C -> F18:21
chomwitteven it C -> G18:22
gnarfacecould it still be in use by something else?18:22
gnarfacesome dependencies are shared18:23
chomwittyou right!18:23
chomwitti forgot that possibility18:23
gnarfacealso if you ever manually requested it installed explicitly18:24
gnarfacewhich can be done even after it's already installed; if you try to request installation of a package already installed it just tells you it's already there but it's marking it as manually installed18:24
chomwittinteresing18:41
chomwittinteresting18:41

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