#asahi-alt · 2023-12-22 09:57
stintelalso I read in the code something that charge_control_start_threshold is writeable to not confuse userspace but it's either 100 if charge_control_end_threshold is 100, otherwise it's always 75#asahi-alt · 2023-12-22 09:57
jannegbut now it quickly jumped to 80% and then 81%#asahi-alt · 2023-12-22 09:56
jannegit was initially at 79% but claimed charging#asahi-alt · 2023-12-22 09:56
stintelI guess it's just a bit finicky#asahi-alt · 2023-12-22 09:56
jannegor maybe it does now#asahi-alt · 2023-12-22 09:55
jannegbut yes, setting charge_control_end_threshold to 100 doesn't seem to have the desired effect#asahi-alt · 2023-12-22 09:55
stintelalthough I don't have time to let it finish anymore, need to leave for the airport in less than the time it takes to compile chromium :P#asahi-alt · 2023-12-22 09:54
stintellet me try again#asahi-alt · 2023-12-22 09:54
jannegoh#asahi-alt · 2023-12-22 09:54
stinteljanneg: it was already below #asahi-alt · 2023-12-22 09:54
jannegstintel: that's not true either since at 80% the charger will kick in#asahi-alt · 2023-12-22 09:53
stinteland the battery kept discharging, estimate was ~2h remaning which isn't even enough to compile chromium (takes 4+h) so if that was right, I would have never been able to compile chromium before #asahi-alt · 2023-12-22 09:53
mpsI still use my charge-ctl daemon, it is more controlable#asahi-alt · 2023-12-22 09:52
stintelnow my original problem was: I was building chromium (gentoo), and it claimed the charger wasn't powerful enough, which is bs, I've also tried all 3 which worked fine before#asahi-alt · 2023-12-22 09:51
jannegit shouldn't, the udev rule is only executed on probe/load#asahi-alt · 2023-12-22 09:51
j`eyweird, I would have only expected that to run once#asahi-alt · 2023-12-22 09:51
stintelI changed the udev rule, it's at 100 now#asahi-alt · 2023-12-22 09:50
stintelhmm, the udev rule seems to instantly set that back to 80#asahi-alt · 2023-12-22 09:48
stinteljanneg: I set it to 100 manually #asahi-alt · 2023-12-22 09:48
jannegstintel: that will result in discharging if you're over 80%#asahi-alt · 2023-12-22 09:47
stinteland I changed that to 100 because I'm traveling today, so I can have a full battery when I leave#asahi-alt · 2023-12-22 09:47
stintelI have the udev rule: SUBSYSTEM=="power_supply", KERNEL=="macsmc-battery", ATTR{charge_control_end_threshold}="80"#asahi-alt · 2023-12-22 09:46
j`eyhavent change any sysfs settings?#asahi-alt · 2023-12-22 09:46
stintelplugged in but still discharging - tried 3 different power supplies that all worked fine before#asahi-alt · 2023-12-22 09:46
stintelhmmm I'm having trouble charging :/#asahi-alt · 2023-12-22 07:27
leio(maybe one day I'll manage to get that far that I can send a bunch of PRs, that day is not yet today :( )#asahi-alt · 2023-12-22 07:26
leiochadmed: the speakersafetyd ebuild shouldn't have a systemd USE flag, as it's only used to install openrc service when it's not set - openrc and systemd service files ought to be installed unconditionally when there's no extra deps (and there are eclasses to figure out where to install service files instead of upstream pkg-config variable checks)#asahi-alt · 2023-12-22 07:25
leioand assumes your package installs the rule and the service file (make install)#asahi-alt · 2023-12-22 07:22
leiotpw_rules: the autostart from udev works only with systemd: https://github.com/AsahiLinux/speakersafetyd/blob/main/95-speakersafetyd.rules#asahi-alt · 2023-12-22 07:21
Glanzmanntpw_rules: Nope, but I have the same issue with Debian with the version I packages approx. around Nov 11 2023. I'll spend the next day to get on par regarding the audio stuff with Debian. So if you find anything out, please let me know, I'll do the same.#asahi-alt · 2023-12-22 07:12
tpw_rulesalsa-info shows identical info in both broken and working cases#asahi-alt · 2023-12-22 07:12
tpw_rulesdoes anybody happen to have any clues?#asahi-alt · 2023-12-22 07:12
tpw_rulesso i've got the speaker stuff running under nixos (w/ official versions and configs) but it only works if i manually start speakersafetyd after logging into plasma. if it starts during boot, then plasma shows me no audio devices until i stop it. once i start it everything works again#asahi-alt · 2023-12-21 13:45
leionot that I found the information about that - they just don't have the metadata and I don't spot a relevant layout.conf key for it, but they have a metadata included mirror for users iirc#asahi-alt · 2023-12-21 13:39
leioon the subject of overlay, do you really want to track metadata in it?#asahi-alt · 2023-12-21 13:39
chadmedboth invalid atoms #asahi-alt · 2023-12-21 13:38
chadmedtried both#asahi-alt · 2023-12-21 13:37
leiochadmed: sam_: can't we have an asahi meta package pull mesa::asahi specifically, or p.mask mesa::gentoo in the overlay?#asahi-alt · 2023-12-21 12:37
stintelI only added it in LDFLAGS#asahi-alt · 2023-12-21 12:35
sam_told u#asahi-alt · 2023-12-21 12:35
stintelok so it is 918897 and I failed to enable lld #asahi-alt · 2023-12-21 12:35
stinteloh I just spotted the actual error#asahi-alt · 2023-12-21 12:34
stintellet me post a build.log #asahi-alt · 2023-12-21 12:33
stintelmight be a different problem with chromium here#asahi-alt · 2023-12-21 12:17
stintelI'll try with lld #asahi-alt · 2023-12-21 12:17
stintelyeah chromium is a complete disaster but unfortunately I can't do without, some websites just refuse to work in firefox :(#asahi-alt · 2023-12-21 12:16
sam_stintel: try using lld and tell me if it works#asahi-alt · 2023-12-21 12:16
sam_only pain#asahi-alt · 2023-12-21 12:16
sam_there is no fun with chromium