| Alverstone | Forget it | 00:11 |
|---|---|---|
| Alverstone | I just made my own daemon :D | 00:11 |
| Alverstone | Though it sleeps 10 seconds then rereads the capacity file in /sys/class/power_supply | 00:12 |
| Alverstone | I don't know if it's possible do to it better | 00:12 |
| fsmithred | Alverstone, are you running a desktop? If so, the power manager might do it. | 00:21 |
| DPA | I 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 |
| Alverstone | fsmithred, which power manager, exactly? | 00:32 |
| Alverstone | DPA, that's right. But I don't want to touch udev to do this to be honest | 00:34 |
| Alverstone | fsmithred, if you mean xfce4/gnome/mate power managers, they use polkit and I don't have polkit installed at the moment | 00:36 |
| rrq | sniffing capacity sounds good; you could do some delay calculations to avoid some sniffing of course, but that'd probably not be wortht he effort | 00:36 |
| fsmithred | yeah, I use xfce4-power-manager | 00:37 |
| Alverstone | rrq, 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 anything | 00:40 |
| onefang | Um, 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 |
| Alverstone | sleep(capacity - capacitymin > 20 ? 180 : 10); | 00:49 |
| onefang | Simples! B-) | 00:58 |
| 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 my | 02: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 my | 02: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 |
| nemo | this late in evening on a weekend you probably will have to wait a while for an answer | 02:04 |
| nemo | me, I have no idea since I have never used that keyboard combo, so I don't know what values are supported | 02:05 |
| fluffywolf | can't you just hit the compose key? dunno, I've never had a keyboard with one. lol | 02:14 |
| fluffywolf | may be a bug... I think it thinks sun 7 doesn't have a compose key, when it clearly does. | 02:23 |
| nemo | maybe just fix after install... | 02:23 |
| fluffywolf | you 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 |
| fluffywolf | whoops, no, googling says it reuses the menu key keycode | 02:26 |
| fluffywolf | so select menu key from the list and see if that works | 02:26 |
| fluffywolf | right control is altgraph. I was close. been a while since I fucked with keyboards. | 02:28 |
| leitz | Ideas on how to trouble-shoot an old Dell Latitude E6500 not doing wifi? | 13:24 |
| leitz | I have an HP with wifi running, and nmtui shows the configs to be the same. | 13:26 |
| gnarface | if leitz comes back tell them to check dmesg for missing firmware... | 15:58 |
| gnarface | ...and to stick around longer | 15:58 |
| * Alverstone wonders what was their problem? | 16:10 | |
| cousin_luigi | gnarface: 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/!