libera/#devuan/ Sunday, 2025-02-02

AlverstoneForget it00:11
AlverstoneI just made my own daemon :D00:11
AlverstoneThough it sleeps 10 seconds then rereads the capacity file in /sys/class/power_supply00:12
AlverstoneI don't know if it's possible do to it better00:12
fsmithredAlverstone, are you running a desktop? If so, the power manager might do it.00:21
DPAI think that kind of stuff can be done using udev rules. Also, I think the kernel has some way to notify udev about changes, whatever that is could probably also be used here.00:24
Alverstonefsmithred, which power manager, exactly?00:32
AlverstoneDPA, that's right. But I don't want to touch udev to do this to be honest00:34
Alverstonefsmithred, if you mean xfce4/gnome/mate power managers, they use polkit and I don't have polkit installed at the moment00:36
rrqsniffing capacity sounds good; you could do some delay calculations to avoid some sniffing of course, but that'd probably not be wortht he effort00:36
fsmithredyeah, I use xfce4-power-manager00:37
Alverstonerrq, I don't care to do it now, but if you calculate sleep time inversely proportional to the speed with which energy_now changes and cap it to avoid infinite delays, it might not be so complex to implement, though picking up the correct coefficient and the correct upper limit might be tricky. But really it boils down to strtol() so it's not like it wastes resources or anything00:40
onefangUm, don't check it so often if there's plenty of power reported?  Seems simple to me, but I have no idea here.00:42
Alverstonesleep(capacity - capacitymin > 20 ? 180 : 10);00:49
onefangSimples!  B-)00:58
kb3ieninstalling devuan on a desktop. I'm being prompted for my keyboard, I select Sun Type 7. All good. I select my keymap, Dvorak. All good. Then it asks me for my02:01
kb3ien installing devuan on a desktop. I'm being prompted for my keyboard, I select Sun Type 7. All good. I select my keymap, Dvorak. All good. Then it asks me for my02:01
kb3ien+altgraph key. I choose "Default for my keyboard", by which I presume it means the AltGraph Key. Then it wants to override the compose-key, but my choices inclued "no compose key" but not "just use the compose key, duh". How do I set it to just use the keys without remapping them during the installer ?02:02
kb3ien ?02:02
nemothis late in evening on a weekend you probably will have to wait a while for an answer02:04
nemome, I have no idea since I have never used that keyboard combo, so I don't know what values are supported02:05
fluffywolfcan't you just hit the compose key?  dunno, I've never had a keyboard with one.  lol02:14
fluffywolfmay be a bug...  I think it thinks sun 7 doesn't have a compose key, when it clearly does.02:23
nemomaybe just fix after install...02:23
fluffywolfyou might try right control, since the keyboard doesn't have one and the compose key is where one should be, and see if it's the right keycode.02:24
fluffywolfwhoops, no, googling says it reuses the menu key keycode02:26
fluffywolfso select menu key from the list and see if that works02:26
fluffywolfright control is altgraph.  I was close.  been a while since I fucked with keyboards.02:28
leitzIdeas on how to trouble-shoot an old Dell Latitude E6500 not doing wifi?13:24
leitzI have an HP with wifi running, and nmtui shows the configs to be the same.13:26
gnarfaceif leitz comes back tell them to check dmesg for missing firmware...15:58
gnarface...and to stick around longer15:58
* Alverstone wonders what was their problem?16:10
cousin_luigignarface: Had he stuck around long enough, I would also have suggested them to look into rfkill switches, both soft and hard.21:07

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