#asahi · 2022-02-21 22:05
Glanzmannj`ey: I test it right now and I bet mps tests it as soon as he gets a chance.#asahi · 2022-02-21 22:02
GlanzmannTesting now.#asahi · 2022-02-21 22:02
Glanzmannsven: ^#asahi · 2022-02-21 22:02
Glanzmannkov / mps / j`ey: here is the patch: https://tg.st/u/0001-Hookup-backlight-for-MacBook-Pro-13-inch-M1-2020-J29.patch#asahi · 2022-02-21 21:53
GlanzmannOkay let me fix that up and than post the patch.#asahi · 2022-02-21 21:52
Glanzmannkov: One second.#asahi · 2022-02-21 21:51
GlanzmannBecause I mean for the mini, you don't want or can turn of the screen.#asahi · 2022-02-21 21:51
Glanzmannj`ey: Where should I put that patch to the arch/arm64/boot/dts/apple/t8103.dtsi?#asahi · 2022-02-21 21:51
GlanzmannI'm fixing the patch, testing it and than pasting it.#asahi · 2022-02-21 21:50
GlanzmannSo what I did, I used a second machine to log in via ssh and poked at stuff in the /sys/class/backlight/ thingy until I found that bl_power it is.#asahi · 2022-02-21 21:50
GlanzmannRest of the family is sleeping in the same room, but I turned on my mobile flash light, and I still can't see shit.#asahi · 2022-02-21 21:49
GlanzmannBut I'm in a dark room right now.#asahi · 2022-02-21 21:49
Glanzmannj`ey: No I can't see shit.#asahi · 2022-02-21 21:49
GlanzmannBut x started and logged me in.#asahi · 2022-02-21 21:49
GlanzmannSo what happened now I booted the right device tree and linux made the screen go black.#asahi · 2022-02-21 21:48
Glanzmannj`ey: I don't really know. But I would say it is the backlight.#asahi · 2022-02-21 21:47
Glanzmann0 menas on; 1 means off.#asahi · 2022-02-21 21:47
GlanzmannI can turn off and on the backlight of the air now by doing: echo 1 > /sys/class/backlight/backlight/bl_power ; sleep 1; echo 0 > /sys/class/backlight/backlight/bl_power#asahi · 2022-02-21 21:45
Glanzmannmixi: Backlight works. Problem is by default is off, because I forogt the defaulton thingy. I'm adding this now.#asahi · 2022-02-21 21:45
Glanzmannmixi: You we're right. I really screwed up with the device tree. What happened is that I copied the right u-boot with the right device tree to /boot/efi and had a script 'ush' which than downloaded the wrong u-boot and installed that one.#asahi · 2022-02-21 20:47
GlanzmannIf you want we can do 1-on-1 session to get it right.#asahi · 2022-02-21 20:47
GlanzmannOnce you cleaned up, you should start over.#asahi · 2022-02-21 20:47
GlanzmannSo delete everything but under no circumstances delete these partitions: https://pbot.rmdir.de/tT5jcXftVa1gTmrzxziMCQ#asahi · 2022-02-21 20:45
GlanzmannI think you know how to get rid of this.#asahi · 2022-02-21 20:45
GlanzmannThat can't be true.#asahi · 2022-02-21 20:27
GlanzmannAs you can see by the size of the ESP partition.#asahi · 2022-02-21 20:26
GlanzmannActually the above paste was from another installation method (dd) but this one was installed using the Debian installer: https://pbot.rmdir.de/Ct8mut-xMSBpz2CVcVn95A#asahi · 2022-02-21 20:25
GlanzmannSo in the beginning the esp and Linux partition had a partition number behind 1tr.#asahi · 2022-02-21 20:25
GlanzmannBut this was reordered when I updated the stub partition at some point.#asahi · 2022-02-21 20:24
GlanzmannThis is how it looks on my system.#asahi · 2022-02-21 20:24
GlanzmannMaybe you somehow destroyed the stub parition in a way that it is broken. But in order to see that I need a booted Linux and the output of https://pbot.rmdir.de/kCRi-yR4nW4D59POkQiulA#asahi · 2022-02-21 20:23
GlanzmannBecause the boot object will be copied somewhere else.#asahi · 2022-02-21 20:23
GlanzmannOkay, try to reinstall the stub. But I have no explanation how this can happen.#asahi · 2022-02-21 20:20
GlanzmannFrom the last output you pasted the identifier of the stub partition was disk0s3 but that can change after you reboot.#asahi · 2022-02-21 20:19
GlanzmannYou open a root shell in 1tr or macos and do the following: https://tg.st/u/delete_stub_parition.txt#asahi · 2022-02-21 20:18
GlanzmannDavid[m]123456789: But to answer your question, if you want to reinstall the stub partition and u-boot, you can do it as follows.#asahi · 2022-02-21 20:18
GlanzmannSo powering off your device and powering it on again?#asahi · 2022-02-21 20:18
GlanzmannDid you try to boot it more than once?#asahi · 2022-02-21 20:18
GlanzmannIt never happened to me, and I did a lot of installations.#asahi · 2022-02-21 20:17
GlanzmannI have no explanation how that can happen.#asahi · 2022-02-21 20:17
GlanzmannAnd than after rebooting u-boot was gone?#asahi · 2022-02-21 20:17
GlanzmannYou installed grub and kernel using the 'boot.sh' script?#asahi · 2022-02-21 20:17
GlanzmannThan you started the Debian installer. I can see the esp partition and the Linux partition.#asahi · 2022-02-21 20:17
GlanzmannSo, you had u-boot.#asahi · 2022-02-21 20:08
GlanzmannWhat happens when you pick 'Linux' in the boot picker?#asahi · 2022-02-21 20:07
GlanzmannDavid[m]123456789: Is u-boot working?#asahi · 2022-02-21 14:09
GlanzmannVinDuv: I see, thank you for the explanation.#asahi · 2022-02-21 13:52
GlanzmannAnd how is it a problem?#asahi · 2022-02-21 13:52
GlanzmannWhat is the hdmi overscan on the mini?#asahi · 2022-02-21 13:11
Glanzmannimmychan[m]: I had also a few times. I needed a reboot. But could not reproduce.