#
#asahi · 2022-11-28 19:31
svenleaving dwc3 up during that is a great way to lock up everything
#asahi · 2022-11-28 19:31
svenalso switching phy modes ofc
#asahi · 2022-11-28 19:31
axboebrb
#asahi · 2022-11-28 19:31
axboecompiling...
#asahi · 2022-11-28 19:31
marcanclassic synopsys
#asahi · 2022-11-28 19:30
marcanand suspending devices too, apparently...
#asahi · 2022-11-28 19:30
svenDual role is required because these controllers are completely broken when it comes it hotplugging devices
#asahi · 2022-11-28 19:30
sven:-)
#asahi · 2022-11-28 19:30
axboeI'll give that a spin
#asahi · 2022-11-28 19:29
axboesven: it's been broken for a bit...
#asahi · 2022-11-28 19:29
marcanaxboe: yeah, try enabling all the gadget stuff and dual role
#asahi · 2022-11-28 19:29
svenbut this should’ve also gone wrong for previous kernels
#asahi · 2022-11-28 19:29
axboemarcan: I don't have dual role, but also don't have gadget enabled
#asahi · 2022-11-28 19:29
svenActually, it doesn’t even get to setting up drd
#asahi · 2022-11-28 19:29
svenor, well, it wouldn’t surprise me
#asahi · 2022-11-28 19:29
svenyeah, probably
#asahi · 2022-11-28 19:28
marcanand the race condition is related maybe?
#asahi · 2022-11-28 19:28
marcanyeah that.
#asahi · 2022-11-28 19:28
axboe[ 3.920786] dwc3 f02280000.usb: Configuration mismatch. dr_mode forced to host
#asahi · 2022-11-28 19:28
axboe[ 3.920055] dwc3 f02280000.usb: Adding to iommu group 8
#asahi · 2022-11-28 19:28
axboe[ 3.329510] dwc3 b02280000.usb: Adding to iommu group 7
#asahi · 2022-11-28 19:28
axboe[ 3.330241] dwc3 b02280000.usb: Configuration mismatch. dr_mode forced to host
#asahi · 2022-11-28 19:28
axboe[ 2.752675] dwc3 702280000.usb: Configuration mismatch. dr_mode forced to host
#asahi · 2022-11-28 19:28
axboe[ 2.749555] dwc3 702280000.usb: Adding to iommu group 6
#asahi · 2022-11-28 19:28
marcanalso make sure CONFIG_USB_DWC3_DUAL_ROLE=y
#asahi · 2022-11-28 19:28
svenhrm. anything in dmesg regarding dwc3?
#asahi · 2022-11-28 19:28
axboej`ey: thanks!
#asahi · 2022-11-28 19:27
axboeCONFIG_PHY_APPLE_ATC=y
#asahi · 2022-11-28 19:22
svenor there’s yet another usb bug which also wouldn’t surprise me
#asahi · 2022-11-28 19:22
svenI’d guess that atcphy is missing
#asahi · 2022-11-28 19:18
j`eyhttps://github.com/AsahiLinux/PKGBUILDs/blob/main/linux-asahi/config
#asahi · 2022-11-28 19:17
axboeand if someone can kindly remind me of where to find the asahi-linux wip/dev kernel config, would be much appreciated :)
#asahi · 2022-11-28 19:16
axboesilly question - did something change wrt what usb options need enabling? I've got a yubikey that hasn't worked in the last few asahi-wip's, but I may just be missing something. it used to work just fine though
#asahi · 2022-11-28 19:10
bcrumblets test more..
#asahi · 2022-11-28 19:10
bcrumbso it looks like the script doesn't stop or smth to ask for password when the hook is there ???
#asahi · 2022-11-28 19:10
bcrumbso it seems when i remove the encrypt hook i get an error before that i2c thing that blockdev /dev/mapper/root cant be opened
#asahi · 2022-11-28 18:52
bcrumbgood, gotta work on this now i guess
#asahi · 2022-11-28 18:49
marcan rmdir asmedia brcm 2>/dev/null || true
#asahi · 2022-11-28 18:49
marcan awk '{ print $2 }' < .vendorfw.manifest | xargs rm -f
#asahi · 2022-11-28 18:49
marcan printf '==> Removing obsolete vendor firmware from /lib/firmware...\n'
#asahi · 2022-11-28 18:49
marcanthe asahi-scripts postupgrade does that
#asahi · 2022-11-28 18:49
bcrumbok, nice, i wanted to know exactly that
#asahi · 2022-11-28 18:48
marcanso if you have the old firmware mixed in you should delete that. look at the manifest.txt file in /boot/efi/vendorfw and delete any files in that list in /lib/firmware/ (directly in the root, not under vendor)
#asahi · 2022-11-28 18:48
marcanhowever, the old scripts put the firmware outside of vendor and that is, if nothing else, ugly, though it could actually break your wifi in the future under rare but known to happen circumstances
#asahi · 2022-11-28 18:47
bcrumbok
#asahi · 2022-11-28 18:47
bcrumbright and then it just points to another location
#asahi · 2022-11-28 18:47
marcanthere is no real side effect to leaving stuff in vendor since the initramfs will mount a tmpfs on top anyway
#asahi · 2022-11-28 18:42
bcrumbAlso I still need to fix up that one commit that I was doing on Github, didn't get around to it because was playing with some other stuff.
#asahi · 2022-11-28 18:41
bcrumbThe important note: So I think that firmware is properly removed on my system when downgrading, I think, I will check out the scripts further and see if I have some leftover files or something (??). I did it multiple times while testing and it never led post downgrade to issues. What potential side effect could untaring the data into vendor, and then in future say initramfs mounting on vendor have?
#asahi · 2022-11-28 18:39
bcrumbAfter reading up on systemd stuff I do think that no systemd in hooks is preferable based on philosophy but if nothing works I'll need a systemd unit.

plus ›