marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
<robinp>
pipcet[m]: I'm guessing macOS turns off the backlight between brightness setting 1 and 0. My HP doesn't and its rather annoying.
odmir has quit [Remote host closed the connection]
<shenki>
that's a great write up
VinDuv has joined #asahi
<PthariensFlame[m>
:tad
<PthariensFlame[m>
* :tada:
<PthariensFlame[m>
* 🎉
synthmeat has joined #asahi
VinDuv has quit [Quit: Leaving.]
maknho____ has joined #asahi
maknho___ has quit [Ping timeout: 240 seconds]
radex has quit [Ping timeout: 260 seconds]
ephe_meral1 has joined #asahi
Namidairo has quit [Read error: Connection reset by peer]
Namidairo has joined #asahi
radex has joined #asahi
<pipcet[m]>
robinp: if I'm reading the SMC return values correctly, turning off the backlight does save a lot of power, so that's good. What's not so good is it appears the Corellium code isn't sufficient to start charging the battery after the USB-C power cable is reconnected, although it does charge when booted with the power cable plugged in.
<arnd>
pipcet[m]: I'm fairly sure the Unix-like parts of MacOS use the normal 1970-based epoch, though there are still some traditional MacOS parts like HFS+ that use an epoch using unsigned integers starting in 1904, which means 32-bit time values are a little over 2 years off -- 1904 to 2040 instead of 1902 to 2038
<pipcet[m]>
thanks, turns out it was nanoseconds since I got my mac rather than microseconds since the epoch. What's three orders of magnitude between friends? :-)
odmir has joined #asahi
tomtastic has quit [Remote host closed the connection]
vlixa has quit [Remote host closed the connection]
vlixa has joined #asahi
tomtastic has joined #asahi
choozy has joined #asahi
odmir has quit [Remote host closed the connection]
<pipcet[m]>
I've documented a few of the SMC keys at https://github.com/AsahiLinux/docs/wiki/HW:SMC. I have a list of all the ones on my system here, obtained from the SMC itself, but I'm not sure whether it would be legal to post the entire list...
odmir has joined #asahi
Bublik_ has joined #asahi
odmir has quit [Ping timeout: 240 seconds]
lewurm has joined #asahi
odmir has joined #asahi
<kettenis>
I don't see why that would be a problem
bloom has left #asahi [#asahi]
<kettenis>
btw, gP0d is the key used to control power to the WiFi chip
<sven>
i don't see any problem with posting such a list either. especially if it's easily obtained by asking the smc nicely
<pipcet[m]>
doesn't give us a license to use it if Apple claim copyright on the names. I don't think they can, but I thought I'd ask to be safe
<kettenis>
it is an interface
VinDuv has quit [Quit: Leaving.]
odmir has quit [Ping timeout: 268 seconds]
<pipcet[m]>
any idea what gP09, gP0f, and gP14 are? They're also defined and reserved in the Corellium device tree, but they're not actually used, as far as I can tell.
jeffmiw has quit [Ping timeout: 252 seconds]
<kettenis>
gP09 is "function-reset" for the dp2hdmi-gpio
<kettenis>
gP0f is "function-enable" for the stockholm node
jeffmiw has joined #asahi
<kettenis>
gP14 is "function-redriver_enable" for the display-subsystem node
<pipcet[m]>
ah, I can find gP0f, which...yes. No gP09 in my device tree, and no gP14 either, but I suppose they might exist on the Mini?
<kettenis>
possibly; no hdmi on the laptops isn't it?
<pipcet[m]>
I don't think so
<pipcet[m]>
* I don't think I have HDMI, no
diddledan has quit [Ping timeout: 250 seconds]
brinly has quit [Ping timeout: 248 seconds]
NekomimiScience has quit [Ping timeout: 258 seconds]