#
✕ nick:borisk
#asahi · 2022-10-15 13:19
boriskmarcan: if you can give me a bit more specific instrcutions (or code fragment to add), I would be happy to try.
#asahi · 2022-10-15 13:14
boriskI just tried to plug something into all 4 ports (two front, two back) and there is no life in any of them. Will try without the firmware now to see if any lsusb output changes.
#asahi · 2022-10-15 13:07
boriskIn dmesg I see these two lines: "xhci_hcd 0000:04:00.0: Firmware version 0x10250090816" and "xhci_hcd 0000:04:00.0: Firmware version 0x81170181119"
#asahi · 2022-10-15 13:04
boriskOk, I've now tried asahi-6.0-rc6-1 and the USB-A ports (and USB-C in front) are still dead. Specifically: (1) using the asahi-dev .config, (2) u-boot is bundled with DTs from asahi-6.0-rc6-1, (3) asmedia firmware is loaded.
#asahi · 2022-10-15 10:48
boriskFor the record (in case someone stumbles on this in the logs), I've tried to backport the "xhci-pci: asmedia: Add a firmware loader for ASM2214a chips" commit (and the previous one) to 5.19 from "prod". While the patches applied cleanly and I confirmed the firmware is loaded successfully, the USB-A ports are still dead on Mac Studo M1 Max. Will try asahi-6.0-rc6-1 from "dev" next.
#asahi · 2022-10-15 09:08
boriskj`ey: I am on Debian but it was fairly easy to hack the post-install script to run manually (I could even reuse liblzfe.so from asahi-dev).
#asahi · 2022-10-15 08:41
boriskjannau, j`ey: ok, I've successfully extracted asm2214a-apple.bin using asahi-fwextract from asahi-dev, thanks again for the tips, much appreciated!
#asahi · 2022-10-15 08:16
boriskjannau, j`ey: thanks, will try to go this direction and report back!
#asahi · 2022-10-15 08:13
boriskj`ey: yes, there is kernelcache.release.mac13j next to all_firmware.tar.gz
#asahi · 2022-10-15 08:12
boriskjannau: sorry, did not mean to offend, just trying to understand how everything fits together
#asahi · 2022-10-15 08:09
boriskjannau: I looked at it, but it seems to be just a Python package that something needs to call and I am not sure what that something is. Also, I suspect because my all_firmware.tar.gz does not contain kernelcache*, it won't be of much use?
#asahi · 2022-10-15 08:06
boriskj`ey: No, no files like this.
#asahi · 2022-10-15 07:59
boriskBTW, another idea I have is to build the latest (v0.5pre1) asahi-installer from source and re-install using that. Presumably I will end up with the asmedia/asm2214a-apple.bin in vendorfw/ on ESP?
#asahi · 2022-10-15 07:54
boriskYes, I do, in the asahi/ subdirectory. Let me see what's inside... (I've installed it yesterday using the latest "prod" installer, which is v0.4.1)
#asahi · 2022-10-15 07:46
boriskj`ey: ok, thanks, let me see if I get this right (as you remember, my goal is to get hold of asmedia/asm2214a-apple.bin from firmware) : I will need to intall using the "prod" installer, upgrade to "dev", and as part of that (presumably) asahi-fwextra will re-extrac the firmware from IPSW and put it on the ESP partition?
#asahi · 2022-10-15 07:24
boriskHow do I install asahi-dev? Sorry if this is a dumb question, but I just spent half an hour trying to figure this out and the closest I got is this stale-looking location: http://cdn.asahilinux.org/installer-dev/ Though this looks fresh: https://cdn.asahilinux.org/aarch64/asahi-dev/
#asahi · 2022-10-14 13:08
boriskmarcan: ok, thanks, I will try asahi-dev. November also sounds good.
#asahi · 2022-10-14 12:54
boriskmarcan: is there a release on the horizon with these fixes? As it currently is, Mac Studio is limited to USB2.
#asahi · 2022-10-14 12:47
borisk_jannau_: I think the first step would be to document whether USB-A is/is not supported on Mac Studio on this page: https://github.com/AsahiLinux/docs/wiki/Feature-Support
#asahi · 2022-10-14 12:39
boriskj`ey: it's a custom, Debian-based setup
#asahi · 2022-10-14 12:37
boriskin my case the firmware is not even copied from ESP to /lib/firmware so I will need to fix this anyway
#asahi · 2022-10-14 12:29
boriskanyone know where I can get the latest firmware.tar/manifest.txt?
#asahi · 2022-10-14 12:28
boriskj`ey: thanks, it's still worth a try to update it and see if it helps
#asahi · 2022-10-14 12:16
boriskjust to confirm, we are talking about the stuff in vendorfw/ on the ESP partition, correct?
#asahi · 2022-10-14 12:04
boriskmps: that's what I also thought but here I have Mac Mini M1 where they work and Mac Studio M1 Max where they don't with the same Linux kernel/configuration (5.19.0 from current Asahi release). Wonder what might be going on...
#asahi · 2022-10-14 11:56
boriskDoes anyone know if USB-A ports on Mac Studio M1 Max are usable from Linux?