steev | c0rnelius: oh wow, i just noticed your patch to add 2K. thanks for that | 21:14 |
---|---|---|
Tenkawa | 2k videp? | 21:16 |
Tenkawa | er video | 21:16 |
steev | yeah | 21:19 |
steev | now i need to get my 2K lcd back out and test again | 21:19 |
Tenkawa | ahh.. yeah neat feature… If my tv had an open hdmi port I'd hook up a connection and try that out | 21:20 |
Tenkawa | since my unit is sitting under it at the moment | 21:20 |
c0rnelius | let me know if it works. | 21:25 |
steev | seems to! | 21:56 |
steev | well, i tested the 2K monitor, and it did | 21:57 |
c0rnelius | nice | 21:57 |
c0rnelius | Tenkawa: which dsitro you running on the rzero? | 22:26 |
Tenkawa | devuan | 22:27 |
c0rnelius | you have it overclocked? | 22:28 |
Tenkawa | I don't think so.. let me check | 22:28 |
Tenkawa | 1.8ghz | 22:29 |
Tenkawa | so I think thats no right? | 22:29 |
c0rnelius | echo "overclock=1" | sudo tee /etc/opt/overclock.txt; sudo service tweaks restart | 22:29 |
Tenkawa | sure | 22:29 |
Tenkawa | just a sec | 22:29 |
c0rnelius | when I was running bullseye it would overclock but not kick in when rebooting until I hit `governor -p` | 22:30 |
c0rnelius | on jammy it seems to just work | 22:30 |
c0rnelius | not sure if it was just a bad install or debian acting dumb. | 22:30 |
Tenkawa | you dont have a restart function in the script | 22:31 |
Tenkawa | sudo service tweaks restart | 22:31 |
Tenkawa | Usage: /etc/init.d/tweaks start | 22:31 |
c0rnelius | same difference as restarting the service | 22:31 |
Tenkawa | nope | 22:32 |
Tenkawa | note the error | 22:32 |
Tenkawa | syntax | 22:32 |
Tenkawa | vE486: Pattern not found: restart | 22:32 |
c0rnelius | is the init bad? I haven't really checked. | 22:32 |
Tenkawa | in your script | 22:32 |
Tenkawa | yes | 22:33 |
c0rnelius | I'll fix it. | 22:33 |
Tenkawa | (or whoevers) | 22:33 |
Tenkawa | ok | 22:33 |
c0rnelius | nah I just created it on the fly. I probs missed something. | 22:33 |
Tenkawa | ahh | 22:33 |
Tenkawa | yeah there's no restart function in it | 22:33 |
Tenkawa | just a start case | 22:34 |
Tenkawa | no other cases | 22:34 |
Tenkawa | a bunch of elses but their conditions are missing | 22:34 |
c0rnelius | can you just run, sudo service tweaks start ? | 22:34 |
Tenkawa | sure | 22:34 |
c0rnelius | it might sleep for a few seconds | 22:35 |
Tenkawa | failed | 22:35 |
c0rnelius | well... shit. | 22:35 |
Tenkawa | let me trave it | 22:35 |
Tenkawa | er trace | 22:35 |
c0rnelius | I'll correct it | 22:35 |
Tenkawa | now 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 fail | 22:37 |
Tenkawa | because this did change | 22:37 |
Tenkawa | more /sys/devices/system/cpu/cpufreq/boost | 22:37 |
Tenkawa | 1 | 22:37 |
Tenkawa | cpu max did change | 22:38 |
Tenkawa | it went from 1.8ghz to 2ghz | 22:38 |
c0rnelius | ok so that worked. How yeah it checks for amixer | 22:38 |
c0rnelius | if you have sound remove uninstall alsa | 22:39 |
c0rnelius | removed* | 22:39 |
c0rnelius | if it doesn't find amixer it shouldn't run that bit. | 22:39 |
Tenkawa | no.. because I have amixer… but I "dont" have it in the kernel which still causes a non exit 0 | 22:40 |
c0rnelius | thats why I'm saying uninstall it. don't need it if ur compiled it out of the kernel. | 22:40 |
c0rnelius | its useless | 22:41 |
c0rnelius | yeah. purge alsa-utils | 22:42 |
c0rnelius | should remove amixer and prevent the script fro running that bit. | 22:42 |
Tenkawa | you might want to put a execute bit check on that if and that would make sure of both.. exists and executable | 22:43 |
Tenkawa | omg I can barely see outside now | 22:44 |
Tenkawa | yikes | 22:44 |
Tenkawa | there we go | 22:45 |
Tenkawa | let me reboot it and run it again | 22:45 |
c0rnelius | is alsa-utils still installed? | 22:46 |
Tenkawa | it was almost instantaneous | 22:46 |
Tenkawa | no | 22:46 |
Tenkawa | yeah instantaneous | 22:46 |
c0rnelius | well when you reboot re-install it and test this. if [ -x /usr/bin/amixer ]; then echo "yeap!"; fi | 22:47 |
c0rnelius | won't work for me as my stuff works. | 22:47 |
Tenkawa | ok | 22:47 |
c0rnelius | maybe it was bad install? who knows. Just wanted to make sure it was coming up in Devuan correctly. | 22:47 |
Tenkawa | no. not a bad install… "alsa is not in my kernel" so alsa utilities make it exit 1 | 22:48 |
Tenkawa | so the script errors | 22:49 |
Tenkawa | thats why I "had" to remove them | 22:49 |
c0rnelius | do you get an echo when you run the above? `if fi` | 22:49 |
Tenkawa | there's nothing broke there.. | 22:49 |
Tenkawa | but the restart "is" broke however | 22:50 |
Tenkawa | booting now | 22:50 |
Tenkawa | yes it echos | 22:50 |
c0rnelius | whats the exact error when you run amixer | 22:51 |
c0rnelius | I could grep for something. Not sure how to check for that. | 22:51 |
Tenkawa | amixer: Mixer attach default error: No such file or directory | 22:52 |
Tenkawa | but you can check for any non exit 0 | 22:52 |
Tenkawa | theres a builtin shell exit condition checj | 22:53 |
Tenkawa | er check | 22:53 |
c0rnelius | sounds like a pain in the butt. Just uninstall it :) | 22:54 |
Tenkawa | amixer ; echo $? | 22:54 |
Tenkawa | amixer: Mixer attach default error: No such file or directory | 22:54 |
Tenkawa | 1 | 22:54 |
c0rnelius | normal people I thinks would want audio :) | 22:54 |
Tenkawa | that should be 0 | 22:54 |
Tenkawa | echo hi ; echo $? | 22:55 |
Tenkawa | hi | 22:55 |
Tenkawa | 0 | 22:55 |
c0rnelius | burning a devuan img. | 22:58 |
steev | do it | 23:03 |
c0rnelius | boots prettyquick | 23:04 |
steev | they do indeed | 23:11 |
Tenkawa | steev: 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 |
steev | Tenkawa: we use systemd in kali :( | 23:14 |
steev | as a former gentoo dev though, i like openrc | 23:14 |
Tenkawa | I am still a big sysvinit fan… I can deal with the lack of job control personally | 23:16 |
Tenkawa | when you've used it long as I have you find ways to augment it | 23:17 |
steev | i'm not a devuan dev, if that's why you were asking me though :) | 23:17 |
Tenkawa | I know.. but you use it right so I am always curious what the users like too | 23:20 |
Tenkawa | er right? | 23:20 |
c0rnelius | restart works fine for me. | 23:21 |
c0rnelius | i do suck at writing inits though | 23:21 |
Tenkawa | I've been involved with the development side of devuan on arm in the past. | 23:21 |
Tenkawa | c0rnelius: I am ok at writing those if you need them written. | 23:22 |
c0rnelius | feel free to have a go at it | 23:22 |
Tenkawa | "scripting" I'm decent at… high level programming is not my thing | 23:22 |
c0rnelius | https://github.com/pyavitz/debian-image-builder/tree/feature/files/inits | 23:22 |
c0rnelius | not my strong suit thats for sure | 23:23 |
Tenkawa | ahh these… yeah no problem.. I'll take a look | 23:23 |
Tenkawa | wow I am just waiting for my power to go | 23:25 |
Tenkawa | good thing I'm fully charged, backup batteries are ready… hotspot is ready… all supplies are ready... | 23:28 |
steev | i really hope our power doesn't go out | 23:30 |
steev | but who knows | 23:30 |
Tenkawa | steev: you in the states? | 23:32 |
steev | yep | 23:32 |
Tenkawa | with my lack of this memory thing I wasn't aware of that | 23:33 |
Tenkawa | we are getting utterly blasted right now | 23:33 |
Tenkawa | I 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 have | 23:34 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!