Am Sat, Jul 02, 2022 at 08:52:57PM -0500 schrieb leonardo.moreno.urbi...@gmail.com: > >Synopsis: bwfm driver sends message "could not set mpc " after resuming > >from sleep with A/C charger connected > >Category: kernel amd64 > >Environment: > System : OpenBSD 7.1 > Details : OpenBSD 7.1-current (GENERIC.MP) #257: Sat Jul 2 > 20:25:54 CDT 2022 > > leomor...@leomacbsd.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > Wi-Fi works well at boot time. The problem is when resuming from sleep > while the A/C charger is connected. > Kernel sends a message "could not set mpc". This problem does not > appear when resuming from sleep while > the laptop is running from battery. > >How-To-Repeat: > 1) Boot normally. > 2) Close lid and wait for laptop to go to sleep while A/C charger is > connected. > 3) Open lid to resume. > 4) Kernel message "could not set mpc" appears. > >Fix: > I attach possible fix. Compared it to linux kernel driver and seems to > me that the logic in second argument is > inverted. > Tested the fix and now the device operates normally after resuming with > or without A/C charger.
No, it's not inverted. If bwfm_pci_send_mb_data() fails we want to re-init the device, that's what both Linux and OpenBSD are doing. Better questions are: why is bwfm_pci_send_mb_data() failing? Why is there a pending mb command? And: why doesn't cleanup and reactivate work? Cheers, Patrick > P.D I'm a total noob with respect to any kernel modification, cvs and > even sending this report. Please do tell me > if something needs fixing. Thanks. > > > Index: if_bwfm_pci.c > =================================================================== > RCS file: /cvs/src/sys/dev/pci/if_bwfm_pci.c,v > retrieving revision 1.71 > diff -u -p -u -p -r1.71 if_bwfm_pci.c > --- if_bwfm_pci.c 21 Mar 2022 19:46:56 -0000 1.71 > +++ if_bwfm_pci.c 3 Jul 2022 01:29:19 -0000 > @@ -954,7 +954,7 @@ bwfm_pci_activate(struct device *self, i > /* If device can't be resumed, re-init. */ > if (bwfm_pci_intmask(sc) == 0 || > bwfm_pci_send_mb_data(sc, > - BWFM_PCI_H2D_HOST_D0_INFORM) != 0) { > + BWFM_PCI_H2D_HOST_D0_INFORM) == 0) { > bwfm_cleanup(bwfm); > bwfm_pci_cleanup(sc); > } > > > dmesg: > OpenBSD 7.1-current (GENERIC.MP) #257: Sat Jul 2 20:25:54 CDT 2022 > leomor...@leomacbsd.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 17032024064 (16243MB) > avail mem = 16498462720 (15734MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x78f8a000 (34 entries) > bios0: vendor Apple Inc. version "427.140.8.0.0" date 06/13/2021 > bios0: Apple Inc. MacBookPro11,5 > acpi0 at bios0: ACPI 5.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT SSDT > SSDT SSDT SSDT SSDT DMAR MCFG VFCT > acpi0: wakeup devices PEG0(S3) GFX0(S3) PEG1(S3) PEG2(S3) EC__(S3) GMUX(S3) > HDEF(S3) RP03(S4) ARPT(S4) RP04(S4) XHC1(S3) ADP1(S3) LID0(S3) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpihpet0 at acpi0: 14318179 Hz > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz, 3492.37 MHz, 06-46-01 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache, 128MB 64b/line 16-way > L4 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 99MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz, 3491.92 MHz, 06-46-01 > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache, 128MB 64b/line 16-way > L4 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 4 (application processor) > cpu2: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz, 3491.92 MHz, 06-46-01 > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache, 128MB 64b/line 16-way > L4 cache > cpu2: smt 0, core 2, package 0 > cpu3 at mainbus0: apid 6 (application processor) > cpu3: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz, 3491.92 MHz, 06-46-01 > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache, 128MB 64b/line 16-way > L4 cache > cpu3: smt 0, core 3, package 0 > cpu4 at mainbus0: apid 1 (application processor) > cpu4: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz, 3491.92 MHz, 06-46-01 > cpu4: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu4: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache, 128MB 64b/line 16-way > L4 cache > cpu4: smt 1, core 0, package 0 > cpu5 at mainbus0: apid 3 (application processor) > cpu5: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz, 3491.92 MHz, 06-46-01 > cpu5: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu5: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache, 128MB 64b/line 16-way > L4 cache > cpu5: smt 1, core 1, package 0 > cpu6 at mainbus0: apid 5 (application processor) > cpu6: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz, 3491.91 MHz, 06-46-01 > cpu6: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu6: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache, 128MB 64b/line 16-way > L4 cache > cpu6: smt 1, core 2, package 0 > cpu7 at mainbus0: apid 7 (application processor) > cpu7: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz, 3491.91 MHz, 06-46-01 > cpu7: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu7: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache, 128MB 64b/line 16-way > L4 cache > cpu7: smt 1, core 3, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins > acpiec0 at acpi0 > acpimcfg0 at acpi0 > acpimcfg0: addr 0xe0000000, bus 0-156 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (PEG0) > acpiprt2 at acpi0: bus 6 (PEG1) > acpiprt3 at acpi0: bus 2 (PEG2) > acpiprt4 at acpi0: bus 4 (RP03) > acpiprt5 at acpi0: bus 5 (RP04) > acpisbs0 at acpi0: SBS0 model "bq20z451" serial 99 type LION oem "SMP" > acpipci0 at acpi0 PCI0: 0x00000004 0x00000011 0x00000001 > acpicmos0 at acpi0 > asmc0 at acpi0: SMC_ (smc-huronriver) addr 0x300/0x20: rev 2.30f630, 758 keys > "ACPI0008" at acpi0 not configured > "ACPI0001" at acpi0 not configured > "APP000B" at acpi0 not configured > acpiac0 at acpi0: AC unit online > acpibtn0 at acpi0: LID0 > acpibtn1 at acpi0: PWRB > abl0 at acpi0: PNLF (backlight) > acpibtn2 at acpi0: SLPB > acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu4 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu5 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu6 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu7 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpivideo0 at acpi0: IGPU > acpivout0 at acpivideo0: DD01 > cpu0: using VERW MDS workaround (except on vmm entry) > cpu0: Enhanced SpeedStep 3492 MHz: speeds: 2501, 2500, 2300, 2100, 1900, > 1600, 1400, 1200, 1000, 800 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x0d04 rev 0x08 > ppb0 at pci0 dev 1 function 0 vendor "Intel", unknown product 0x0d01 rev > 0x08: msi > pci1 at ppb0 bus 1 > radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 8800M" rev 0x83 > drm0 at radeondrm0 > radeondrm0: msi > azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 7700 Audio" rev 0x00: msi > azalia0: no supported codecs > ppb1 at pci0 dev 1 function 1 vendor "Intel", unknown product 0x0d05 rev > 0x08: msi > pci2 at ppb1 bus 6 > ppb2 at pci2 dev 0 function 0 "Intel DSL5520 Thunderbolt" rev 0x00 > pci3 at ppb2 bus 7 > ppb3 at pci3 dev 0 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi > pci4 at ppb3 bus 8 > "Intel DSL5520 Thunderbolt" rev 0x00 at pci4 dev 0 function 0 not configured > ppb4 at pci3 dev 3 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi > pci5 at ppb4 bus 9 > ppb5 at pci3 dev 4 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi > pci6 at ppb5 bus 58 > ppb6 at pci3 dev 5 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi > pci7 at ppb6 bus 59 > ppb7 at pci3 dev 6 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi > pci8 at ppb7 bus 108 > ppb8 at pci0 dev 1 function 2 vendor "Intel", unknown product 0x0d09 rev > 0x08: msi > pci9 at ppb8 bus 2 > ahci0 at pci9 dev 0 function 0 "Samsung SM951 AHCI" rev 0x01: apic 2 int 18, > AHCI 1.3 > ahci0: port 0: 6.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, APPLE SSD SM0512, BXW1> > naa.5002538900000000 > sd0: 477102MB, 512 bytes/sector, 977105060 sectors, thin > xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi, xHCI 1.0 > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 > addr 1 > "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured > azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05: msi > azalia1: codecs: Cirrus Logic CS4208 > audio0 at azalia1 > ppb9 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5: msi > pci10 at ppb9 bus 3 > ppb10 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi > pci11 at ppb10 bus 4 > bwfm0 at pci11 dev 0 function 0 "Broadcom BCM43602" rev 0x01: msi > ppb11 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi > pci12 at ppb11 bus 5 > "Broadcom BCM15700A2" rev 0x00 at pci12 dev 0 function 0 not configured > pcib0 at pci0 dev 31 function 0 "Intel HM87 LPC" rev 0x05 > ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic 2 int > 18 > iic0 at ichiic0 > "Intel 8 Series Thermal" rev 0x05 at pci0 dev 31 function 6 not configured > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT > efifb at mainbus0 not configured > uhidev0 at uhub0 port 8 configuration 1 interface 0 "Broadcom Corp. Bluetooth > USB Host Controller" rev 2.01/1.69 addr 2 > uhidev0: iclass 3/1, 1 report id > ukbd0 at uhidev0 reportid 1: 8 variable keys, 6 key codes > wskbd0 at ukbd0: console keyboard > uhidev1 at uhub0 port 8 configuration 1 interface 1 "Broadcom Corp. Bluetooth > USB Host Controller" rev 2.01/1.69 addr 2 > uhidev1: iclass 3/1, 2 report ids > ums0 at uhidev1 reportid 2: 3 buttons > wsmouse0 at ums0 mux 0 > ugen0 at uhub0 port 8 configuration 1 "Broadcom Corp. Bluetooth USB Host > Controller" rev 2.01/1.69 addr 2 > uhidev2 at uhub0 port 12 configuration 1 interface 0 "Apple Inc. Apple > Internal Keyboard / Trackpad" rev 2.00/6.24 addr 3 > uhidev2: iclass 3/0, 224 report ids > uhid0 at uhidev2 reportid 224: input=4, output=0, feature=0 > uhidev3 at uhub0 port 12 configuration 1 interface 1 "Apple Inc. Apple > Internal Keyboard / Trackpad" rev 2.00/6.24 addr 3 > uhidev3: iclass 3/1, 82 report ids > ukbd1 at uhidev3 reportid 1: 8 variable keys, 6 key codes, country code 13 > wskbd1 at ukbd1 mux 1 > uhid1 at uhidev3 reportid 9: input=0, output=0, feature=3 > uhid2 at uhidev3 reportid 63: input=64, output=0, feature=0 > ucc0 at uhidev3 reportid 82: 5 usages, 3 keys, enum > wskbd2 at ucc0 mux 1 > ubcmtp0 at uhub0 port 12 configuration 1 interface 2 "Apple Inc. Apple > Internal Keyboard / Trackpad" rev 2.00/6.24 addr 3 > wsmouse1 at ubcmtp0 mux 0 > uhidev4 at uhub0 port 12 configuration 1 interface 3 "Apple Inc. Apple > Internal Keyboard / Trackpad" rev 2.00/6.24 addr 3 > uhidev4: iclass 3/0, 83 report ids > uhid3 at uhidev4 reportid 63: input=15, output=0, feature=0 > uhid4 at uhidev4 reportid 83: input=0, output=63, feature=0 > uhidev5 at uhub0 port 12 configuration 1 interface 4 "Apple Inc. Apple > Internal Keyboard / Trackpad" rev 2.00/6.24 addr 3 > uhidev5: iclass 3/0, 192 report ids > uhid5 at uhidev5 reportid 192: input=107, output=0, feature=0 > umass0 at uhub0 port 19 configuration 1 interface 0 "Apple Card Reader" rev > 3.00/8.20 addr 4 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd1 at scsibus2 targ 1 lun 0: <APPLE, SD Card Reader, 3.00> removable > serial.05ac8406000000000820 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on sd0a (f6b901010f8b0eca.a) swap on sd0b dump on sd0b > radeondrm0: VERDE > radeondrm0: 2880x1800, 32bpp > wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 > wskbd1: connecting to wsdisplay0 > wskbd2: connecting to wsdisplay0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > Dentro de bwfm_attachhook en bwfm.c > bwfm0: 0x135:0 base 0x00000000 wrap 0x18109000 > bwfm0: 0x80e:21 base 0x18004000 wrap 0x18108000 > bwfm0: 0x82a:8 base 0x18005000 wrap 0x18105000 > bwfm0: 0x83c:9 base 0x18003000 wrap 0x18103000 > bwfm0: 0x83e:7 base 0x18002000 wrap 0x18102000 > bwfm0: 0x812:49 base 0x18001000 wrap 0x18101000 > bwfm0: 0x800:48 base 0x18000000 wrap 0x18100000 > Dentro de bwfm_preinit en bwfm.c > bwfm0: address a4:5e:60:f0:2f:ed > bwfm0: 5G HT 1 VHT 1 > bwfm0: 2G HT 1 VHT 1 > Dentro de bwfm_init > bwfm_rx_event_cb: len 79 datalen 5 code 54 status 0 reason 0 > bwfm_rx_event_cb: len 79 datalen 5 code 54 status 0 reason 0 > bwfm0: bwfm_send_mgmt > bwfm0: marking port f8:bb:bf:fc:01:c8 valid > > usbdevs: > Controller /dev/usb0: > addr 01: 8086:0000 Intel, xHCI root hub > super speed, self powered, config 1, rev 1.00 > driver: uhub0 > addr 02: 05ac:8290 Broadcom Corp., Bluetooth USB Host Controller > full speed, self powered, config 1, rev 1.69 > driver: uhidev0 > driver: uhidev1 > driver: ugen0 > addr 03: 05ac:0274 Apple Inc., Apple Internal Keyboard / Trackpad > full speed, power 500 mA, config 1, rev 6.24, iSerial > D3H52316HS1FTV4A15KS > driver: uhidev2 > driver: uhidev3 > driver: ubcmtp0 > driver: uhidev4 > addr 04: 05ac:8406 Apple, Card Reader > super speed, power 224 mA, config 1, rev 8.20, iSerial 000000000820 > driver: umass0 >