libera/#devuan-arm/ Thursday, 2022-02-03

steevc0rnelius: oh wow, i just noticed your patch to add 2K.  thanks for that21:14
Tenkawa2k videp?21:16
Tenkawaer video21:16
steevyeah21:19
steevnow i need to get my 2K lcd back out and test again21:19
Tenkawaahh.. yeah neat feature… If my tv had an open hdmi port I'd hook up a connection and try that out21:20
Tenkawasince my unit is sitting under it at the moment21:20
c0rneliuslet me know if it works.21:25
steevseems to!21:56
steevwell, i tested the 2K monitor, and it did21:57
c0rneliusnice21:57
c0rneliusTenkawa: which dsitro you running on the rzero?22:26
Tenkawadevuan22:27
c0rneliusyou have it overclocked?22:28
TenkawaI don't think so.. let me check22:28
Tenkawa1.8ghz22:29
Tenkawaso I think thats no right?22:29
c0rneliusecho "overclock=1" | sudo tee /etc/opt/overclock.txt; sudo service tweaks restart22:29
Tenkawasure22:29
Tenkawajust a sec22:29
c0rneliuswhen I was running bullseye it would overclock but not kick in when rebooting until I hit `governor -p`22:30
c0rneliuson jammy it seems to just work22:30
c0rneliusnot sure if it was just a bad install or debian acting dumb.22:30
Tenkawayou dont have a restart function in the script22:31
Tenkawasudo service tweaks restart22:31
TenkawaUsage: /etc/init.d/tweaks start22:31
c0rneliussame difference as restarting the service22:31
Tenkawanope22:32
Tenkawanote the error22:32
Tenkawasyntax22:32
TenkawavE486: Pattern not found: restart22:32
c0rneliusis the init bad? I haven't really checked.22:32
Tenkawain your script22:32
Tenkawayes22:33
c0rneliusI'll fix it.22:33
Tenkawa(or whoevers)22:33
Tenkawaok22:33
c0rneliusnah I just created it on the fly. I probs missed something.22:33
Tenkawaahh22:33
Tenkawayeah there's no restart function in it22:33
Tenkawajust a start case22:34
Tenkawano other cases22:34
Tenkawaa bunch of elses but their conditions are missing22:34
c0rneliuscan you just run, sudo service tweaks start ?22:34
Tenkawasure22:34
c0rneliusit might sleep for a few seconds22:35
Tenkawafailed22:35
c0rneliuswell... shit.22:35
Tenkawalet me trave it22:35
Tenkawaer trace22:35
c0rneliusI'll correct it22:35
Tenkawanow i have sound compiled out so I notice it tries running sound stuff and you have no checks for that so I could be causing those to fail22:37
Tenkawabecause this did change22:37
Tenkawamore /sys/devices/system/cpu/cpufreq/boost22:37
Tenkawa122:37
Tenkawacpu max did change22:38
Tenkawait went from 1.8ghz to 2ghz22:38
c0rneliusok so that worked. How yeah it checks for amixer22:38
c0rneliusif you have sound remove uninstall alsa22:39
c0rneliusremoved*22:39
c0rneliusif it doesn't find amixer it shouldn't run that bit.22:39
Tenkawano.. because I have amixer… but I "dont" have it in the kernel which still causes a non exit 022:40
c0rneliusthats why I'm saying uninstall it. don't need it if ur compiled it out of the kernel.22:40
c0rneliusits useless22:41
c0rneliusyeah. purge alsa-utils22:42
c0rneliusshould remove amixer and prevent the script fro running that bit.22:42
Tenkawayou might want to put a execute bit check on that if and that would make sure of both.. exists and executable22:43
Tenkawaomg I can barely see outside now22:44
Tenkawayikes22:44
Tenkawathere we go22:45
Tenkawalet me reboot it and run it again22:45
c0rneliusis alsa-utils still installed?22:46
Tenkawait was almost instantaneous22:46
Tenkawano22:46
Tenkawayeah instantaneous22:46
c0rneliuswell when you reboot re-install it and test this. if [ -x /usr/bin/amixer ]; then echo "yeap!"; fi22:47
c0rneliuswon't work for me as my stuff works.22:47
Tenkawaok22:47
c0rneliusmaybe it was bad install? who knows. Just wanted to make sure it was coming up in Devuan correctly.22:47
Tenkawano. not a bad install… "alsa is not in my kernel" so alsa utilities make it exit 122:48
Tenkawaso the script errors22:49
Tenkawathats why I "had" to remove them22:49
c0rneliusdo you get an echo when you run the above? `if fi`22:49
Tenkawathere's nothing broke there..22:49
Tenkawabut the restart "is" broke however22:50
Tenkawabooting now22:50
Tenkawayes it echos22:50
c0rneliuswhats the exact error when you run amixer22:51
c0rneliusI could grep for something. Not sure how to check for that.22:51
Tenkawaamixer: Mixer attach default error: No such file or directory22:52
Tenkawabut you can check for any non exit 022:52
Tenkawatheres a builtin shell exit condition checj22:53
Tenkawaer check22:53
c0rneliussounds like a pain in the butt. Just uninstall it :)22:54
Tenkawa amixer ; echo $?22:54
Tenkawaamixer: Mixer attach default error: No such file or directory22:54
Tenkawa122:54
c0rneliusnormal people I thinks would want audio :)22:54
Tenkawathat should be 022:54
Tenkawa echo hi ; echo $?22:55
Tenkawahi22:55
Tenkawa022:55
c0rneliusburning a devuan img.22:58
steevdo it23:03
c0rneliusboots prettyquick23:04
steevthey do indeed23:11
Tenkawasteev: you still using sysvinit or you started looking at runit/openrc or I've heard maybe even s6 might be a possibility down the road much yet?23:13
steevTenkawa: we use systemd in kali :(23:14
steevas a former gentoo dev though, i like openrc23:14
TenkawaI am still a big sysvinit fan… I can deal with the lack of job control personally23:16
Tenkawawhen you've used it long as I have you find ways to augment it23:17
steevi'm not a devuan dev, if that's why you were asking me though :)23:17
TenkawaI know.. but you use it right so I am always curious what the users like too23:20
Tenkawaer right?23:20
c0rneliusrestart works fine for me.23:21
c0rneliusi do suck at writing inits though23:21
TenkawaI've been involved with the development side of devuan on arm in the past.23:21
Tenkawac0rnelius: I am ok at writing those if you need them written.23:22
c0rneliusfeel free to have a go at it23:22
Tenkawa"scripting" I'm decent at… high level programming is not my thing23:22
c0rneliushttps://github.com/pyavitz/debian-image-builder/tree/feature/files/inits23:22
c0rneliusnot my strong suit thats for sure23:23
Tenkawaahh these… yeah no problem.. I'll take a look23:23
Tenkawawow I am just waiting for my power to go23:25
Tenkawagood thing I'm fully charged, backup batteries are ready… hotspot is ready… all supplies are ready...23:28
steevi really hope our power doesn't go out23:30
steevbut who knows23:30
Tenkawasteev: you in the states?23:32
steevyep23:32
Tenkawawith my lack of this memory thing I wasn't aware of that23:33
Tenkawawe are getting utterly blasted right now23:33
TenkawaI read this a  little while ago on our local forecast: they still expect us to get 9 more inches of snow on top of the 4 or so inches of ice we already have23:34

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