#
✕ nick:sven
#asahi · 2021-09-18 16:51
sven:D
#asahi · 2021-09-18 14:22
svenalyssa: go do your homework :P
#asahi · 2021-09-18 12:55
svenfeel free to add a commit that fixes that part :-p
#asahi · 2021-09-18 12:52
svenalright. some good news at least :D
#asahi · 2021-09-18 12:51
svenalyssa: does hotplug work as long as you stick to host mode for the other port though?
#asahi · 2021-09-18 12:50
sveni think i'd also need to connect an ethernet cable and pull nvme into that tree then :D
#asahi · 2021-09-18 12:48
svenuh. but then i'd need to get pcie into my tree which sounds like more effort than connecting a screen :D
#asahi · 2021-09-18 12:47
svenhm?
#asahi · 2021-09-18 12:45
sven(i'd lose serial then and don't have the mac connected to any screen)
#asahi · 2021-09-18 12:45
sveni've only tested with the port that's not originally connected to my macbook air fwiw
#asahi · 2021-09-18 12:42
sveni've just tried host -> gadget -> host and it worked :/
#asahi · 2021-09-18 12:42
svenalyssa: that's.. strange.
#asahi · 2021-09-18 12:41
svenmarcan: their workaround is "disable xhci, disable dwc3, keep PHY in reset" when a device is unplugged fwiw
#asahi · 2021-09-18 12:39
svendoes gadget mode work after the initial boot?
#asahi · 2021-09-18 12:38
svenalyssa: does switching to gadget mode work after that?
#asahi · 2021-09-18 12:38
svenand i'd really like to avoid that entire xhci takedown everything a new device is connected
#asahi · 2021-09-18 12:38
svenmarcan: oh yes. those things are so weird
#asahi · 2021-09-18 12:37
sveni thought i tested that
#asahi · 2021-09-18 12:37
svenstrange
#asahi · 2021-09-18 12:37
svenalyssa: that looks correct. and then it doesn't detect any device?
#asahi · 2021-09-18 12:36
sventhat's weird
#asahi · 2021-09-18 12:36
svengadget->host switch should work
#asahi · 2021-09-18 12:36
svenuh no
#asahi · 2021-09-18 12:35
svenalyssa: uh. weird. might be an unrelated bug fwiw
#asahi · 2021-09-18 12:33
svenalyssa: now add nvme!
#asahi · 2021-09-18 12:30
sveni'm attached to nothing in that commit :D
#asahi · 2021-09-18 12:28
sventhat single commit should also be at least three or so separate ones
#asahi · 2021-09-18 12:28
svenalyssa: it's literally just copied/pasted together to make it work.
#asahi · 2021-09-18 12:27
svenalyssa: see the commit title "HACK/DONOTMERGETHIS: usb dt"
#asahi · 2021-09-18 12:26
sveni2c needs a real clock (which is easy, i know about that one) but also that power/clock gate
#asahi · 2021-09-18 12:26
svenespecially i2c
#asahi · 2021-09-18 12:26
svenyup
#asahi · 2021-09-18 12:25
sveni vote for clock/powermanagement then!
#asahi · 2021-09-18 12:25
svencan we vote on priorities? :D
#asahi · 2021-09-18 12:24
svenhrm, and i should also figure out why macos doesn't seem to like the linux serial gadget driver
#asahi · 2021-09-18 12:23
svenwe should really try to have some AsahiLinux/next branch
#asahi · 2021-09-18 12:14
svenblames j_ey
#asahi · 2021-09-18 12:14
svenuh. maybe?
#asahi · 2021-09-18 12:12
svenalright, sent. let's see what happens. (and which dumb mistake i will notice a few minutes from now :D)
#asahi · 2021-09-18 12:06
sveni think if you switch to that branch, then rebase on the latest linux-rc and then merge it everything should work out
#asahi · 2021-09-18 12:06
svenjust merge the branch?
#asahi · 2021-09-18 12:05
svenhttps://github.com/AsahiLinux/linux/tree/sven/i2c-tipd-WIP should work
#asahi · 2021-09-18 12:04
svenif you want usb hotplug support, yeah
#asahi · 2021-09-18 12:03
sventhanks, fixed that as well!
#asahi · 2021-09-18 12:02
sveni guess the rest can happen on the ML anyway
#asahi · 2021-09-18 12:02
sveni essentially fixed alyssa's nits
#asahi · 2021-09-18 12:01
svenalright.. time to send out the tipd series i guess :>
#asahi · 2021-09-18 11:55
sveni recommend putting that onto nvme. makes booting kernels much faster :D
#asahi · 2021-09-17 19:58
svenbut i'll wait with those until marcan got his new mac and poked the usb pd lines
#asahi · 2021-09-17 19:58
svenhrm. that might be in the dwc3 commits

plus ›