#asahi-dev · 2023-04-27 22:20
alyssawould be 0% surprised if core USB regression in linux-next#asahi-dev · 2023-04-27 22:20
alyssaWhat's not clear to me is *why* it's disconnecting instantly so many times#asahi-dev · 2023-04-27 22:19
alyssa(IDK if the working one being one less than a power-of-two is coincidence or not)#asahi-dev · 2023-04-27 22:19
alyssafinally after device number 63, it detects the keyboard plugged into the hub and probes into the input subsystem and#asahi-dev · 2023-04-27 22:18
alyssaand then onto 23 and 24 and 25...#asahi-dev · 2023-04-27 22:18
alyssa[ 12.203026] usb 3-1: USB disconnect, device number 22#asahi-dev · 2023-04-27 22:18
alyssa[ 12.198985] hub 3-1:1.0: 3 ports detected#asahi-dev · 2023-04-27 22:18
alyssa[ 12.198932] hub 3-1:1.0: USB hub found#asahi-dev · 2023-04-27 22:18
alyssa[ 12.198031] usb 3-1: SerialNumber: 000000000000#asahi-dev · 2023-04-27 22:18
alyssa[ 12.198027] usb 3-1: Manufacturer: Apple, Inc.#asahi-dev · 2023-04-27 22:18
alyssa[ 12.198022] usb 3-1: Product: Keyboard Hub#asahi-dev · 2023-04-27 22:18
alyssa[ 12.198016] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3#asahi-dev · 2023-04-27 22:18
alyssa[ 12.198004] usb 3-1: New USB device found, idVendor=05ac, idProduct=1006, bcdDevice=96.15#asahi-dev · 2023-04-27 22:18
alyssa[ 12.063632] usb 3-1: new high-speed USB device number 22 using xhci_hcd#asahi-dev · 2023-04-27 22:18
alyssaIn the new kernel, it tries to probe my keyboard 30+ times before it finally goes through#asahi-dev · 2023-04-27 22:17
alyssathe dmesg is really interesting#asahi-dev · 2023-04-27 22:16
alyssayeah, this is definitely a regression#asahi-dev · 2023-04-27 22:15
alyssai am definitely losing it#asahi-dev · 2023-04-27 22:15
alyssano this is the old kernel#asahi-dev · 2023-04-27 22:15
alyssaand now the new kernel is working?#asahi-dev · 2023-04-27 22:14
alyssaam I losing it#asahi-dev · 2023-04-27 22:13
alyssaoh geez I just reverted my kernel and now it's also broken? uh?#asahi-dev · 2023-04-27 22:12
alyssaI don't want to block Lina over this, at the same time I really do kinda need my keyboard to work Lol#asahi-dev · 2023-04-27 22:11
alyssaundecided whether I will revert my kernel and use uapi v7 until fixed or just suck it up and deal with it#asahi-dev · 2023-04-27 22:11
alyssanot in the mood to try to bisect this, tbh.#asahi-dev · 2023-04-27 22:11
alyssaI am really hoping this is a known issue and I can revert some linux-next patch because woof#asahi-dev · 2023-04-27 22:10
alyssatype-c appears to also be affected but IDK if that's a recent regression, I don't use type-C regularly on the mini#asahi-dev · 2023-04-27 22:09
alyssayep, reproduces every boot for me#asahi-dev · 2023-04-27 22:04
alyssalet's find out if I can reproduce.#asahi-dev · 2023-04-27 22:03
alyssabut figured I'd say something in case it's not a spurious issue#asahi-dev · 2023-04-27 22:03
alyssaI'm not sure what gpu/rust-wip is on top of, I would be unsurprised if this is some random USB regression in linux-next unrelated to anything we do#asahi-dev · 2023-04-27 22:03
alyssawhen unplugging, I got an error on the TTY (seemingly) so#asahi-dev · 2023-04-27 22:03
alyssaEventually some amount of plugging and unplugging and waiting and they both showed up and worked#asahi-dev · 2023-04-27 22:02
alyssaAfter bumping my kernel, they didn't work. Got to my TTY and nothing from the keyboard. The LED on my mouse lit up (so I know it was getting power) but not properly animated (so it wasn't working properly)#asahi-dev · 2023-04-27 22:01
alyssaPreviously these probed immediately on boot#asahi-dev · 2023-04-27 22:01
alyssaI connect a USB keyboard + mouse directly to the Mini's type-A ports#asahi-dev · 2023-04-27 22:00
alyssamarcan: Maybe coincidental lack of luck, but I think USB regressed between gpu/rust-wip UAPI version 7 and 8#asahi-dev · 2023-04-27 19:08
jannaudcpext works now reliably on every second try. there has to be something which is not reset properly#asahi-dev · 2023-04-27 16:17
svenmore or less the same for Bluetooth#asahi-dev · 2023-04-27 15:53
marcanIDs, SRAM offset, OTP offset, plus (hopefully zero but possibly not) firmware API changes#asahi-dev · 2023-04-27 15:52
marcankaazoo: The new chips are not supported yet, there is a known set of things we need to implement for every new chip#asahi-dev · 2023-04-27 15:37
jannaubrcmfmac is the correct driver, adding the product id will not be enough, see waht was said earlier today on the topic#asahi-dev · 2023-04-27 15:35
kaazooCould it be that we need to add the product ID of the wifi nic to the driver's list of supported devices?#asahi-dev · 2023-04-27 15:35
kaazooIs brcmfmac the right driver? I wasn't loaded automatically and also doesn't detect anything when loading it manually. #asahi-dev · 2023-04-27 15:34
kaazoo01:00.1 Network controller: Broadcom Inc. and subsidiaries Device 5f72 (rev 04)#asahi-dev · 2023-04-27 15:34
kaazoo01:00.0 Network controller: Broadcom Inc. and subsidiaries Device 4434 (rev 04)#asahi-dev · 2023-04-27 15:34
kaazooAfter hopefully correctly switching to 16K page size and enabling PCIe driver, lspci shows these Broadcom devices:#asahi-dev · 2023-04-27 15:07
marcanso that one is proobably right#asahi-dev · 2023-04-27 15:07
marcanpovik: IIRC I did see similar behavior for IRQ_NOT_PEND when testing something like mailbox messages, the FIQ one was a guess#asahi-dev · 2023-04-27 13:41
poviknever mind i switched what INBOX and OUTBOX means, so i don't seem to have gotten the reply