2021-12-22
00:38crabbedhaloablut has joined #asahi-dev
00:40kit_ty_kate has quit [Quit: WeeChat 2.9]
00:41kit_ty_kate has joined #asahi-dev
00:41loki_val has quit [Ping timeout: 480 seconds]
00:51chadmed has joined #asahi-dev
01:05yuyichao_ has joined #asahi-dev
01:06chadmed has quit [Quit: Konversation terminated!]
01:07chadmed has joined #asahi-dev
01:18chadmed has quit [Quit: Konversation terminated!]
01:25chadmed has joined #asahi-dev
01:37boardwalk has quit [Quit: The Lounge - https://thelounge.chat]
01:47boardwalk has joined #asahi-dev
03:52phiologe has joined #asahi-dev
07:46Major_Biscuit has joined #asahi-dev
07:47Major_Biscuit has quit []
07:47MajorBiscuit has joined #asahi-dev
08:48kettenismaz: the SMC controls the GPIO that provides power to some of the PCIe devices that are connected to the RC
08:52svenmarcan: just make sure to use rtkit from nvme/dev or that asahi-new-nvme branch once you tackle SMC.
08:53kettenisarch/riscv/boot/dts/sifive/fu740-c000.dtsi has a pwren-gpios property next to the reset-gpios property for this purpose
08:54kettenismy u-boot currently does power on the wifi, but this probably is something that Linux should do
10:00mazkettenis: agreed on both fronts. the pwren-gpios in the sifive binding looks strikingly similar, and Linux should definitely wiggle this pin if present in the DT. we need to work out timings (I doubt power-on is instantaneous).
10:22Dcow has quit [Read error: Connection reset by peer]
10:22Dcow__ has joined #asahi-dev
11:02marcanmaz: if that hifive approach sounds good to you, I'll go with that then (plus something for timings)
11:10Major_Biscuit has joined #asahi-dev
11:11MajorBiscuit has quit [Ping timeout: 480 seconds]
12:27refi64 has joined #asahi-dev
12:47aleasto has joined #asahi-dev
13:22chadmed has quit [Quit: Konversation terminated!]
13:33zimsneexh has joined #asahi-dev
13:45Gaspare has joined #asahi-dev
14:27MatthewLeach[m] has joined #asahi-dev
14:33yuyichao_ has quit [Ping timeout: 480 seconds]
14:49Gaspare has quit [Quit: Gaspare]
15:02yuyichao_ has joined #asahi-dev
15:07Gaspare has joined #asahi-dev
15:17Dcow has joined #asahi-dev
15:20rusty-nail[m] has joined #asahi-dev
15:20Dcow__ has quit [Ping timeout: 480 seconds]
16:04tpw_ruleshttps://patchwork.ozlabs.org/project/uboot/patch/6D9B1B2E-3C82-4614-A69A-09DB3B7FADA7@icloud.com/
16:07rusty-nail[m]Is there anyway I could merge touchpad and Wi-Fi branches to try on a intel t2 MacBook Pro 2019?
16:09rusty-nail[m]I do apologize in upfront if this is a stupid/dumb question to be made in here or anywhere else
16:11rusty-nail[m]_jannau_: Ok, thanks for answering so fast! As you said yet, it will work in the future? By the way, thanks for the awesome work you’re doing
16:15_jannau_I started splitting the driver into ACPI (to be used on T2) and Open Firmware (to be used on M1) variants. that should be ready soon-ish
16:17rusty-nail[m]That sounds awesome….I would like very much to be able to help….I’ll keep studying, maybe some day I can contribute in some manner…again…thanks for everything!
16:18Gaspare has quit [Quit: Gaspare]
16:18_jannau_rusty-nail[m]: does the keyboard backlight control with current driver work on your macbook?
16:19rusty-nail[m]yes, it works. Using the control on the touchbar
16:21rusty-nail[m]but im using a patched kernel and the apple-bce module
16:23rusty-nail[m]if it matters, my macbook is the macbookpro15,3
16:36jannauoh, I was not aware that T2 macbooks use something else to connect keyboard and trackpad. I assume they present as USB devices? which driver is used for the trackpad? bcm5974?
16:44rusty-nail[m]the apple-bce do expose the usbdevices, as far as i can see in my dmesg it does use the bcm5947
16:45rusty-nail[m] apple-bce: capturing our device... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/tbIFtvaBlYIpBWjcotGzWPmd)
16:46* rusty-nail[m]uploaded an image: (397KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/EfJGpqMsYoBlRptAKvUUcNiL/Screenshot%20from%202021-12-22%2013-46-33.png >
16:49* rusty-nail[m]posted a file: dmesg-macbookpro15,3 (130KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/rMdyvILwNiunplXgZkhQpkwN >
16:50rusty-nail[m]if useful for anything here is my full dmesg
16:52rusty-nail[m]t2 is the one who controls keyboard, touchpad, touchbar and sound if not more...
17:33jannauthe trackpad could be supported by hid-magicmouse after my changes (after adding vendor and product id). the rest of changes don't apply to t2 macs
17:44thasti has joined #asahi-dev
17:46rusty-nail[m]That sounds good, t2 Macs will be able to benefit from your force feedback implementation as long as Apple-bce is installed. My understanding is correct?
18:03Gaspare has joined #asahi-dev
18:09Major_Biscuit has quit []
18:17MajorBiscuit has joined #asahi-dev
18:30tpw_ruleskettenis: thanks for the review. even minor-er nit: the comment fits within 80 columns just fine if you use smaller tabs :) but i will reflow with 8 in mind next time.
19:29Gaspare has quit [Quit: Gaspare]
20:05rusty-nail[m]thats a shame, please, let me know if there is anything i can be useful with
20:05marcanin principle the patches should work as is if you disable the OTP codepath and manually pick the right firmware, but the entire point of this exercise is not having to do that
20:06rusty-nail[m]i understand. And btw, your work is impressive. Love to watch, i do admire a lot
20:07marcantoo bad it doesn't apply to x86... I really wish I had a hypervisor like m1n1 here, that would've probably given me the answer in minutes :p
20:09marcanthis is corroborated by a bunch of references to this in that android driver I found (which also parses OTP for different reasons)
20:09marcanI found a way to dump SROM via index/value, which is apparently related, but that doesn't contain the apple info
20:09marcanand there's an "otp instead" bit and flipping it on just causes read commands to never complete
20:10marcanand yet I finally found the OTP readback code in the apple driver and there's nothing special there
20:57suricato_ has joined #asahi-dev
20:58suricato has quit [Ping timeout: 480 seconds]
21:30RianSouzaSantos[m] has joined #asahi-dev
23:17MajorBiscuit has quit [Quit: WeeChat 3.3]
23:57aleasto has quit [Quit: Konversation terminated!]
23:59aleasto has joined #asahi-dev