#asahi · 2021-08-11 06:12
amwIt's probably something screwy on my hacky set of patches that I have made - if anyone else tries it shoukd just be-aware of it.#asahi · 2021-08-11 06:10
amwI use it through a hub, but that shouldn't make a difference but I can move things around and see if this misbehave on other machines.#asahi · 2021-08-11 06:10
amwsven: My dart+nvme was pretty bad, but devel has the boot issues from time to time.#asahi · 2021-08-10 22:52
amwIt probably doesn't help that I can shutdown but it still doesn't power off the MBA#asahi · 2021-08-10 22:51
amwI can often run fsck and mount them - but it never works to boot again. I just reformat it and copy over the image again and all is good.#asahi · 2021-08-10 22:50
amwsven: The devel branch is much more stable but still has issues, files disappear and have wrong permissions#asahi · 2021-08-10 22:49
amwpipcet[m]: mplayer says '[H264] 1920x1080 24bpp 120.000 fps 20315.1 kbps + aac audio' - just raw from the phone#asahi · 2021-08-10 13:44
amwIf you wanted to go really gaudy you could try updating the Asahi Wiki with that and see if it displays the flashing keyboard ...#asahi · 2021-08-10 13:43
amwOk - see if you can display - https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/flashing-backlight.mp4#asahi · 2021-08-10 13:39
amwlooks pretty weird :-)#asahi · 2021-08-10 13:39
amwYep it's flashing - about .5s on and .5s off.... #asahi · 2021-08-10 13:38
amwimage at https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/backlight-working.jpg#asahi · 2021-08-10 13:34
amwok - yep that's working!#asahi · 2021-08-10 13:32
amwI did echo 100 > period; echo 30 > duty_cycle; echo 1 > enable#asahi · 2021-08-10 13:32
amwok - enabled clock and booted it back up and no crashes - so far - but no backliht that I can see?#asahi · 2021-08-10 13:28
amwpipcet[m]: Can you enable it in a driver or something?#asahi · 2021-08-10 13:26
amwYou can see a photo at https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/backlight-crash2.png#asahi · 2021-08-10 13:20
amwok - guess those clocks are important for something :-)#asahi · 2021-08-10 13:18
amwOh that wasn't so good : echo 100 > period gave SError and stack trace... no keyboard working ...#asahi · 2021-08-10 13:16
amwHmm echo 1 > enable => Invalid argument#asahi · 2021-08-10 13:13
amwWhat am I suppose to do to enable it? A /sysfs entry ?#asahi · 2021-08-10 13:12
amwpipcet[m]: I get applespi spi0.0: Error getting backlight level from EFI vars: -22#asahi · 2021-08-10 12:59
amwI need to enable PWM_APPLE_M1 and recompile ?#asahi · 2021-08-10 12:56
amwDo I need to change the interrupt-parent/AAPL,phandle ?#asahi · 2021-08-10 12:54
amwThat address matches something in my adt.txt - https://paste.debian.net/1207146/#asahi · 2021-08-10 12:45
amwpipcet[m]: What am I looking for - I have an adt.txt file extract via m1n1 adt.py script#asahi · 2021-08-10 12:44
amwHmm there are exactly 4 of those corrupted packet messages in the keyboard driver : git grep "corrupted packet" drivers/input/keyboard/applespi.c#asahi · 2021-08-10 12:41
amwj_ey: Yep - I get "applespi spi0.0: Received corrupted packet (invalid packet length 2357)"#asahi · 2021-08-10 12:39
amwAhh - so long hours on the hypervisor...#asahi · 2021-08-10 12:38
amwDoesn't the touchbar require those nasty co-processor/mailbox thingies?#asahi · 2021-08-10 12:37
amwpipcet[m]: You could "push a pull request" to https://github.com/amworsley/AsahiLinux/tree/asahi-keyboard#asahi · 2021-08-10 12:36
amwpipcet[m]: You probably know this but drivers/input/keyboard/applespi.c has Function keys and such already#asahi · 2021-08-10 12:33
amwj_ey: Still don't understand all where and why all those interrupt parent things are needed - so glad you could put it all together!#asahi · 2021-08-10 12:31
amwI got a 10y gift from work which I was able to influence (and paid the difference)#asahi · 2021-08-10 12:29
amwwith 16G Ram - :-)#asahi · 2021-08-10 12:29
amwmacbook air#asahi · 2021-08-10 12:24
amwI'll push it - now I guess we have to work out what to rip out / re-write ...#asahi · 2021-08-10 12:22
amwj_ey: That was it - keyboard now *WORKS* !!!!#asahi · 2021-08-10 10:46
amwj_ey: Sure - done#asahi · 2021-08-10 10:44
amwIt's in a state where I can edit the code and debug things now though which is much better#asahi · 2021-08-10 10:43
amwThanks j_ey I better pick this up tomorrow though#asahi · 2021-08-10 10:40
amwHmm - weird - that made no difference - it booted up and the spi failed with the same IRQ index 0 not found#asahi · 2021-08-10 10:35
amwThat change allowed it to boot up - but I can try it again#asahi · 2021-08-10 10:34
amwj_ey: Hmm - that seems like everything? - 3 changed files and 8 additionas and 3 deletions?#asahi · 2021-08-10 10:29
amwok - done #asahi · 2021-08-10 10:25
amwj_ey: Here's the dmesg snippet - https://paste.debian.net/1207139/#asahi · 2021-08-10 10:23
amwok - my fixed refclk stopped it crashing but it's now winging about IRQ index 0 not found...#asahi · 2021-08-10 10:20
amwThat's correct#asahi · 2021-08-10 10:18
amwNope - I think it is trying to enable it because it is used?#asahi · 2021-08-10 10:12
amwMay be I point the spi3 DT entry to refclk24mhz: or something safer?