#
#asahi · 2023-03-24 10:51
kujegerhttps://github.com/kujeger/macsmc-charged
#asahi · 2023-03-24 10:50
kujegerFigured this might be of use to someone else as well; it's a small daemon for managing the battery charging behaviour
#asahi · 2023-03-24 09:09
IEFI do have this Fresco Logic FL2000DX adapter , it shows up in lsusb, but unable to get the driver for it working
#asahi · 2023-03-24 09:08
IEF(USB 3 adapter?)
#asahi · 2023-03-24 09:08
IEFHi - seeing as Thunderbolt or HDMI currently does not work (IIRC) on M1 Max: anyone that can recommend some solution to driving an external display?
#asahi · 2023-03-24 07:24
svenI haven’t had time to fix that yet
#asahi · 2023-03-24 07:24
svenI think usb device mode broke with the usb 3 support
#asahi · 2023-03-24 06:54
Stephanv1nSchaikor just modprobe g_mass_storage file=/home/user/foo.img nothing seems to show up on the host side.
#asahi · 2023-03-24 06:54
Stephanv1nSchaikbut when trying to use e.g. this script https://unix.stackexchange.com/questions/388304/no-udc-shows-up-for-usb-mass-storage-gadget-with-configfs
#asahi · 2023-03-24 06:53
Stephanv1nSchaikif I connect a USB C to USB A or USB C cable, 382280000.usb or 502280000.usb do show up in /sys/class/udc.
#asahi · 2023-03-24 06:52
Stephanv1nSchaikdo USB gadgets (e.g. g_mass_storage or USB configfs) work for anyone else on Asahi Linux (not m1n1)?
#asahi · 2023-03-24 05:59
jannauBurger: headphone jack works on both variants. the edge kernel has only additional (bleeding edge) features
#asahi · 2023-03-24 05:43
BurgerI have a M1 Max MBP with asahi edge isthe 3.5mm out working or is it only linux-asahi? I have an external dac if necessary
#asahi · 2023-03-23 22:18
jannaudoesn't work yet but can still trigger bugs
#asahi · 2023-03-23 22:17
jannaujacksonchen666: night shift
#asahi · 2023-03-23 22:17
jannaufortunately night color has custom begin/end times. testing would have been a little annoying without that. I guess I could have changed the system time
#asahi · 2023-03-23 22:16
jacksonchen666is this convo about "dark theme" or something similar to macos' "night shift"?
#asahi · 2023-03-23 22:16
mkurzjannau: Anyway, thanks a lot again!
#asahi · 2023-03-23 22:15
mkurzso being caused by night color changes makes total sense for me
#asahi · 2023-03-23 22:14
mkurzbecause I sometimes also lock my screen during the day for a couple of hours if I have other stuff to do but I was wondering why the bug didn't occur then
#asahi · 2023-03-23 22:14
mkurzso that also explain why it was happening "randomly"
#asahi · 2023-03-23 22:13
mkurzMy setting was "Sunset and Sunrise at current location" so that means at sunset and sunrise there is like a 50 minute time window each where the colors will be changed and the bug can unfold
#asahi · 2023-03-23 22:12
jannauchadmed: experienced the same problem but wasn't able to reproduce it after that
#asahi · 2023-03-23 22:12
mkurzjannau: Thanks! I am happy you found the cause and this is getting fixed. It's an very annoying bug.
#asahi · 2023-03-23 22:11
jannauI reproduced it locally on my dev mbp 13" which had night color enabled, but only after I returned to it after sunset
#asahi · 2023-03-23 22:09
jannaubug was reported in kwin's irc/matrix channel by me before that.
#asahi · 2023-03-23 22:08
mkurzjannau: I will. I am wondering the merge requeset was opened 21 minutes ago, after your message here. How did you find out it was the night color?
#asahi · 2023-03-23 22:07
jannauas workaround disable night color for now. it doesn't do anything yet
#asahi · 2023-03-23 22:06
mkurzthanks!
#asahi · 2023-03-23 22:06
jannauonly a merge request
#asahi · 2023-03-23 22:05
jannauhttps://invent.kde.org/plasma/kwin/-/merge_requests/3868
#asahi · 2023-03-23 22:05
mkurzjannau: You have a link to the KDE bug?
#asahi · 2023-03-23 22:04
mkurzand I think once in later afternoon
#asahi · 2023-03-23 22:03
mkurzand I thing once on later afternoon
#asahi · 2023-03-23 22:03
mkurzjannau: possible yes, night color is active and it happened over night
#asahi · 2023-03-23 21:24
jannauseems to be triggered if night light is enabled/disabled while the display is off
#asahi · 2023-03-23 21:12
bluetail3there are reports from osx users that some vscode dark themes trigger flashing on the m series machines. I don't wonder about anything anymore. But, I really love my m1 running linux headless. It does its job well.
#asahi · 2023-03-23 21:08
jannauchadmed: ^^^
#asahi · 2023-03-23 21:08
jannaumkurz: do you happen to have kde night color enabled/set? Does the black display issue only happens after sunset with night color enabled?
#asahi · 2023-03-23 20:02
mpsopticron: yes, I follow asahi-wip branch when looking for changes
#asahi · 2023-03-23 19:59
opticronI was under the impression that asahi was where that was happening
#asahi · 2023-03-23 19:58
opticronmps, I think the confusion is that the release was cut from asahi-wip instead of from asahi
#asahi · 2023-03-23 19:36
mpsopticron: I wrote daemon for this method about 9 months ago, https://www.arvanta.net/2x3d1kfg/charge-ctl.c
#asahi · 2023-03-23 19:35
rannhi all, was curious about the TBA status of the PMU driver for M2 based devices; does it matter much that that's not there yet?
#asahi · 2023-03-23 19:35
mpsopticron: there is also 'old' option to control charging with some userspace daemon writing to /sys/class/power_supply/macsmc-battery/charge_behaviour
#asahi · 2023-03-23 19:29
opticronI think it got implemented in a way I didn't expect
#asahi · 2023-03-23 19:15
mpsopticron: in kernel tree is file Documentation/ABI/testing/sysfs-class-power which explains usage
#asahi · 2023-03-23 19:11
mpsalso '2022-12-25 18:30..........@m_arcan| and also battery charge threshold emulation in the macsmc-power kernel driver'
#asahi · 2023-03-23 19:11
opticronmaybe I'm looking in the wrong place, then
#asahi · 2023-03-23 19:09
mpsopticron: 2022-12-25 my msg on #asahi-dev was 'I see two new files in /sys/class/power_supply/macsmc-battery, charge_control_start_threshold and charge_control_end_threshold'

plus ›