#asahi · 2022-02-20 17:28
GlanzmannDavid[m]123456789: This needs to run under macos.#asahi · 2022-02-20 17:17
GlanzmannDavid[m]123456789: as tpw_rules said the last tar was good#asahi · 2022-02-20 15:25
GlanzmannI know, good enough for me.#asahi · 2022-02-20 15:25
GlanzmannOkay, thank you.#asahi · 2022-02-20 15:24
GlanzmannBut than it should be 18? https://pbot.rmdir.de/FuSYemu4Cnoq40cqgd6Y_g#asahi · 2022-02-20 15:24
Glanzmann return _SMC_KEY("gP\0\0") | (hex_asc_hi(offset) << 8) | hex_asc_lo(offset);#asahi · 2022-02-20 15:22
GlanzmannI have another id. so wifi is gP0d 0d in hex is decimal 13.#asahi · 2022-02-20 15:22
GlanzmannWhy do you think that?#asahi · 2022-02-20 15:18
GlanzmannSo this is what I have: https://pbot.rmdir.de/VQmGue1Sqq4hriFS7WwNFw but I need to resolve gP12 so that i can put it in FIXME.#asahi · 2022-02-20 15:17
GlanzmannSo, now that i found that, does someone know how I can resolve gP12 into the corresponding number?#asahi · 2022-02-20 15:16
Glanzmannj`ey / sven: https://pbot.rmdir.de/7d4Nh6T4zpjjr1k4FWAmbA So this appears to be the syntax.#asahi · 2022-02-20 14:29
GlanzmannYep.#asahi · 2022-02-20 14:29
GlanzmannAnd it goes on again with the same content#asahi · 2022-02-20 14:29
GlanzmannYep.#asahi · 2022-02-20 14:28
GlanzmannI tried by modifying proxyclient/experiments/pcie_enable_devices.py and it works.#asahi · 2022-02-20 14:25
GlanzmannI see.#asahi · 2022-02-20 14:21
GlanzmannOkay, I'll try that. But first I try that thing with m1n1 if really does what I think it does.#asahi · 2022-02-20 14:20
Glanzmannsven: Yes, I think there are also other references to the gpio in the device tree.#asahi · 2022-02-20 14:18
Glanzmannsven: https://pbot.rmdir.de/OC6GGzPgzA4Dh59uuZGyjA#asahi · 2022-02-20 14:17
Glanzmannsven: I found an example from another device table which is using it.#asahi · 2022-02-20 14:04
GlanzmannBut have not figured out how to do that. That would be really nice.#asahi · 2022-02-20 14:03
Glanzmannsven: I also thought about that. :-)#asahi · 2022-02-20 14:03
Glanzmannj`ey: I see, thanks.#asahi · 2022-02-20 14:00
Glanzmannj`ey: I thought about this in the wiki smc documentation: * `gP12`: on at least one system, the LCD backlight. Can be turned off, which reduces apparent power consumption, and turned back on.#asahi · 2022-02-20 13:58
Glanzmannmps: No, I was just searching for an easy example.#asahi · 2022-02-20 13:57
GlanzmannI thought about playing with it by copying the driver and see if I get to the point where I can turn it off and on.#asahi · 2022-02-20 13:57
GlanzmannI found a simple enough backlight driver: drivers/video/backlight/gpio_backlight.c#asahi · 2022-02-20 13:57
Glanzmannas400[m]: Nope. When you're in a dark room, you can see that the backlight is on when the lid is closed.#asahi · 2022-02-20 13:55
GlanzmannBut for a start that would be enough.#asahi · 2022-02-20 13:55
GlanzmannBut I think only on and off.#asahi · 2022-02-20 13:55
Glanzmannsven: The backlight is smc.#asahi · 2022-02-20 13:54
Glanzmannsven: I thought about starting to be able to turn of the lcd backlight on and off.#asahi · 2022-02-20 13:52
Glanzmannmps: https://pbot.rmdir.de/KUir-Mu6hwO2GoqFeWgE1g First event on lid close, second on open.#asahi · 2022-02-20 13:51
GlanzmannAlso you get events when the lid is closed and opened#asahi · 2022-02-20 13:50
GlanzmannI also get the events on the air.#asahi · 2022-02-20 13:32
Glanzmannas400[m]: I'm on macbook air.#asahi · 2022-02-20 13:32
Glanzmannas400[m]: If you want I pull the plug now and tell you when the system crashes.#asahi · 2022-02-20 13:32
GlanzmannBut I was only charged like 80%#asahi · 2022-02-20 13:32
GlanzmannBefore cpufrequ It was giving me 6:41 during a regular work day.#asahi · 2022-02-20 13:31
GlanzmannNow I think more like 10 hours.#asahi · 2022-02-20 13:31
Glanzmannas400[m]: At least 6 hours.#asahi · 2022-02-20 11:33
Glanzmannjmr2: Maybe it was the issue in m1n1, because I thought I update m1n1 on my webserver when I run bootstrap.sh from the m1-debian repository, but I don't so maybe my m1n1 was a few days old. But I corrected that and will see if I see the issue later on.#asahi · 2022-02-20 11:28
Glanzmannas400[m]: But I had the same issue yesterday.#asahi · 2022-02-20 11:28
Glanzmannas400[m]: It was also disabled in my config, I just checked.#asahi · 2022-02-20 11:27
Glanzmannas400[m]: You need to disable that kernel option.#asahi · 2022-02-19 22:04
Glanzmanntpw_rules: Unless you want to find bugs. :-)#asahi · 2022-02-19 22:02
Glanzmannjmr2: Done.#asahi · 2022-02-19 22:01
Glanzmannjmr2: I add anything that I was once missing. So I'm adding them now.#asahi · 2022-02-19 22:00
Glanzmannjmr2: Do you want to do it or should I do it?#asahi · 2022-02-19 21:58
Glanzmannjmr2: I installed the newest m1n1 as of yesterday.