Archive for the ‘OpenBSD’ Category
OpenBSD on a MacBookPro8,2 using Intel GPU via Gmux and EFI
Some MacBooks have two graphics cards, the specific one this post is about is a MacBookPro8,2 (15-inch, Late2011) with an Intel HD Graphics 3000 and an AMD Radeon HD 6750M.
If you boot any OS into legacy BIOS mode (only option supported by – at this time – most recent release version 5.8 of OpenBSD), it is always the Radeon card that gets activated (except for Windows OS, where Bootcamp/drivers should handle the automatic switching just like in Mac OS).
You need an external USB WLAN card (or something else, if you want network access), because the internal one is not supported by OpenBSD.
After logging into the OpenBSD 5.8 installation via SSH (you have to do this, because on this computer OpenBSD 5.8 turns the display into a white screen after the kernel messages are through) and installing the Radeon firmware OpenBSD works on the machine, but it gets hot.
This seems to be caused by the Radeon GPU in use, unfortunately there is no way to disable it and enable the Intel card!
With the current version of OpenBSD (5.9) it is for the first time possible to boot via EFI.
I used an OpenBSD 5.9 snapshot from 26.01.2016 and refind to select the OS to boot on start up.
The GPT partition created to be used by OpenBSD 5.9 needs to be included in the hybrid MBR to be recognized by the OpenBSD EFI-booted installation (maybe there is a way to do this without using the hybrid MBR and just the GPT, but I couldn’t find it – this might even be a missing feature or bug). GPT fdisk is a nice utility to manipulate the (hybrid) MBR. It can be installed as EFI tool and started via refind.
After installation OpenBSD 5.9 still uses Radeon GPU (activated by default in EFI mode) and you cannot start X (because some data needed to be retrieved from BIOS by Radeon driver during boot is not found in EFI boot mode). But the Radeon shall not be used, anyway..
There are Linux distributions that work in EFI mode with activated Intel GPU on this computer (in fact, I have a parallel Debian installation running on my MacBook), but you need to configure your system to get Linux running, too.
With the help of the how-tos found about Linux & macbookpro8,2 plus some OpenBSD kernel hacking (see below) I found the following way to get OpenBSD 5.9 EFI installation using the Intel GPU on macbookpro8,2 (steps 1, 2 and 3 are source code modifications, 4 can be done by kernel configuration):
1. Added disabling of Radeon and enabling of Intel GPU to OpenBSD EFI boot loader.
CVS diff (see http://www.openbsd.org/anoncvs.html):
Index: efiboot.c =================================================================== RCS file: /cvs/src/sys/arch/amd64/stand/efiboot/efiboot.c,v retrieving revision 1.10 diff -r1.10 efiboot.c 64a65,70 > static void > set_port_val(unsigned int const port, unsigned char const val) > { > asm volatile ("outb %%al,%%dx": :"d" (port), "a" (val)); > } > 111a118,122 > > set_port_val(0x728, 1); > set_port_val(0x710, 2); > set_port_val(0x740, 2); > set_port_val(0x750, 0);
Don’t be scared by the black screen during OpenBSD boot. Just press enter after selecting OpenBSD EFI loader in refind menu (when the screen is already black) and wait, OpenBSD will appear after some seconds.
It is worth mentioning that a better option would be to let the OpenBSD kernel do this instead of the EFI boot loader. This way resume from standby might work, too. It does not work with this solution, because the Radeon GPU seems to automatically get reactivated during resume.. 😦
2. Replaced DDC EDID (GPU stuff..) probing function with a version I found in the Debian Linux kernel 3.16.7-ckt20 sources.
CVS diff:
Index: drm_edid.c =================================================================== RCS file: /cvs/src/sys/dev/pci/drm/drm_edid.c,v retrieving revision 1.15 diff -r1.15 drm_edid.c 1118a1119 > int retries = 5; 1120,1129c1121,1133 < iic_acquire_bus(adapter, 0); < if (segment) { < ret = iic_exec(adapter, I2C_OP_WRITE, < DDC_SEGMENT_ADDR, NULL, 0, &segment, 1, 0); < if (ret) < goto i2c_err; < } < ret = iic_exec(adapter, I2C_OP_READ_WITH_STOP, DDC_ADDR, < &start, 1, buf, len, 0); < --- > do { > iic_acquire_bus(adapter, 0); > if (segment) { > ret = iic_exec(adapter, I2C_OP_WRITE, > DDC_SEGMENT_ADDR, NULL, 0, &segment, 1, 0); > if (ret) > goto i2c_err; > } > ret = iic_exec(adapter, I2C_OP_WRITE, DDC_ADDR, NULL, 0, &start, 1, 0); > if (ret) > goto i2c_err; > > ret = iic_exec(adapter, I2C_OP_READ_WITH_STOP, DDC_ADDR, NULL, 0, buf, len, 1); 1131c1135,1136 < iic_release_bus(adapter, 0); --- > iic_release_bus(adapter, 0); > }while(ret&&(--retries));
3. Set LVDS channel mode (more GPU stuff..) to “dual”.
CVS diff:
Index: i915_drv.c =================================================================== RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_drv.c,v retrieving revision 1.99 diff -r1.99 i915_drv.c 113c113 < int i915_lvds_channel_mode __read_mostly; --- > int i915_lvds_channel_mode __read_mostly = 2;
There seems to be no way to set this value during boot in OpenBSD as it is possible with Linux (e.g. via GRUB).
4. Disabled efifb0 device in compiled kernel (kernel includes results from step 2 and 3).
See http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/config.8?query=config.
EFI framebuffer driver seems to interfere with the intel driver – without disabling it X won’t start (and there are other weird display problems on terminal). This might be just a bug that will get fixed in the future.
With these modifications OpenBSD 5.9 current/snapshot runs fine (X included) on macbookpro8,2 while using EFI & Intel GPU. 🙂
dmesg:
OpenBSD 5.9-beta (GENERIC.MP) #0: Wed Jan 27 20:27:15 CET 2016 marc@apple2.my.domain:/home/marc/openbsd_cvs/openbsd_cvs/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 1a<memory_size,fixed_disk> real mem = 4185079808 (3991MB) avail mem = 4054048768 (3866MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x8ad34000 (82 entries) bios0: vendor Apple Inc. version "MBP81.88Z.0047.B2C.1510261540" date 10/26/15 bios0: Apple Inc. MacBookPro8,2 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT MCFG acpi0: wakeup devices P0P2(S4) GFX0(S4) PEG1(S4) EC__(S4) GMUX(S3) HDEF(S4) GIGE(S4) SDXC(S3) RP01(S4) ARPT(S4) RP02(S4) RP03(S4) RP04(S4) EHC1(S3) EHC2(S3) ADP1(S4) [...] 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-2675QM CPU @ 2.20GHz, 2195.34 MHz 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 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.1.2, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz, 2195.02 MHz 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz, 2195.02 MHz 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz, 2195.02 MHz 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 0, core 3, package 0 cpu4 at mainbus0: apid 1 (application processor) cpu4: Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz, 2195.02 MHz 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu4: 256KB 64b/line 8-way L2 cache cpu4: smt 1, core 0, package 0 cpu5 at mainbus0: apid 3 (application processor) cpu5: Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz, 2195.02 MHz 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu5: 256KB 64b/line 8-way L2 cache cpu5: smt 1, core 1, package 0 cpu6 at mainbus0: apid 5 (application processor) cpu6: Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz, 2195.02 MHz 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu6: 256KB 64b/line 8-way L2 cache cpu6: smt 1, core 2, package 0 cpu7 at mainbus0: apid 7 (application processor) cpu7: Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz, 2195.02 MHz 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu7: 256KB 64b/line 8-way L2 cache cpu7: smt 1, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiec0 at acpi0 acpimcfg0 at acpi0 addr 0xe0000000, bus 0-155 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P2) acpiprt2 at acpi0: bus 5 (PEG1) acpiprt3 at acpi0: bus 2 (RP01) acpiprt4 at acpi0: bus 3 (RP02) acpiprt5 at acpi0: bus 4 (RP03) acpiprt6 at acpi0: bus -1 (RP04) acpicpu0 at acpi0: C3(200@91 mwait.1@0x30), C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@91 mwait.1@0x30), C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@91 mwait.1@0x30), C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@91 mwait.1@0x30), C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu4 at acpi0: C3(200@91 mwait.1@0x30), C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu5 at acpi0: C3(200@91 mwait.1@0x30), C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu6 at acpi0: C3(200@91 mwait.1@0x30), C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu7 at acpi0: C3(200@91 mwait.1@0x30), C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpibat0 at acpi0: BAT0 model "3545797981023400290" type 3545797981528607052 oem "3545797981528673619" acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpivideo0 at acpi0: IGPU acpivout0 at acpivideo0: DD02 cpu0: Enhanced SpeedStep 2195 MHz: speeds: 2201, 2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09 ppb0 at pci0 dev 1 function 0 "Intel Core 2G PCIE" rev 0x09: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 1 function 1 "Intel Core 2G PCIE" rev 0x09: msi pci2 at ppb1 bus 5 ppb2 at pci2 dev 0 function 0 "Intel 82524EF Thunderbolt" rev 0x00 pci3 at ppb2 bus 6 ppb3 at pci3 dev 0 function 0 "Intel 82524EF Thunderbolt" rev 0x00: msi pci4 at ppb3 bus 7 "Intel 82524EF Thunderbolt" rev 0x00 at pci4 dev 0 function 0 not configured ppb4 at pci3 dev 3 function 0 "Intel 82524EF Thunderbolt" rev 0x00: msi pci5 at ppb4 bus 8 ppb5 at pci3 dev 4 function 0 "Intel 82524EF Thunderbolt" rev 0x00: msi pci6 at ppb5 bus 9 ppb6 at pci3 dev 5 function 0 "Intel 82524EF Thunderbolt" rev 0x00: msi pci7 at ppb6 bus 58 ppb7 at pci3 dev 6 function 0 "Intel 82524EF Thunderbolt" rev 0x00: msi pci8 at ppb7 bus 107 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1440x900 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured uhci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 21 ehci0 at pci0 dev 26 function 7 "Intel 6 Series USB" rev 0x05: apic 2 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi azalia0: codecs: Cirrus Logic CS4206 audio0 at azalia0 ppb8 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi pci9 at ppb8 bus 2 bge0 at pci9 dev 0 function 0 "Broadcom BCM57765" rev 0x10, BCM57765 B0 (0x57785100): msi, address 3c:07:54:6a:c4:88 brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 4 sdhc0 at pci9 dev 0 function 1 "Broadcom SD Host Controller" rev 0x10: apic 2 int 17 sdmmc0 at sdhc0 ppb9 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi pci10 at ppb9 bus 3 "Broadcom BCM4331" rev 0x02 at pci10 dev 0 function 0 not configured ppb10 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb5: msi pci11 at ppb10 bus 4 "AT&T/Lucent FW643 1394" rev 0x08 at pci11 dev 0 function 0 not configured uhci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 19 ehci1 at pci0 dev 29 function 7 "Intel 6 Series USB" rev 0x05: apic 2 int 22 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel HM65 LPC" rev 0x05 ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi, AHCI 1.3 ahci0: port 0: 6.0Gb/s ahci0: port 1: 1.5Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, CT500BX100SSD1, MU02> SCSI3 0/direct fixed naa.500a0751f006340f sd0: 476940MB, 512 bytes/sector, 976773168 sectors, thin cd0 at scsibus1 targ 1 lun 0: <MATSHITA, DVD-R UJ-8A8, HB14> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic 2 int 18 iic0 at ichiic0 iic0: addr 0x2c 03=fc 05=6c 06=80 71=06 72=80 86=af 90=38 91=13 92=16 93=3b 94=69 95=8c 96=6c 97=86 98=3f 99=1f 9a=84 9f=7c a0=7f a1=b5 a2=bf a3=7b a4=28 a5=cf a6=64 a7=2d words 00=0000 01=0000 02=00fc 03=fc00 04=006c 05=6c80 06=8000 07=0000 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 asmc0 at isa0 port 0x300/32: rev 1.69f569, 442 keys efifb at mainbus0 not configured nvram: invalid checksum uhub4 at uhub0 port 1 "Standard Microsystems Hub" rev 2.00/b.b3 addr 2 uhub5 at uhub4 port 1 "Apple Inc. BRCM2070 Hub" rev 2.00/1.00 addr 3 uhidev0 at uhub5 port 1 configuration 1 interface 0 "Apple Computer product 0x820a" rev 2.00/1.00 addr 4 uhidev0: iclass 3/1, 1 report id ukbd0 at uhidev0 reportid 1: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub5 port 2 configuration 1 interface 0 "Apple Computer product 0x820b" rev 2.00/1.00 addr 5 uhidev1: iclass 3/1, 2 report ids ums0 at uhidev1 reportid 2: 3 buttons wsmouse0 at ums0 mux 0 ugen0 at uhub5 port 3 "Apple Inc. Bluetooth USB Host Controller" rev 2.00/0.42 addr 6 uhidev2 at uhub4 port 2 configuration 1 interface 0 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/1.18 addr 7 uhidev2: iclass 3/1, 9 report ids ukbd1 at uhidev2 reportid 1: 8 variable keys, 6 key codes, country code 13 wskbd1 at ukbd1 mux 1 wskbd1: connecting to wsdisplay0 uhid0 at uhidev2 reportid 9: input=0, output=0, feature=3 uhidev3 at uhub4 port 2 configuration 1 interface 1 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/1.18 addr 7 uhidev3: iclass 3/0, 68 report ids uhid1 at uhidev3 reportid 68: input=511, output=0, feature=0 ubcmtp0 at uhub4 port 2 configuration 1 interface 2 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/1.18 addr 7 wsmouse1 at ubcmtp0 mux 0 uvideo0 at uhub0 port 2 configuration 1 interface 0 "Apple Inc. FaceTime HD Camera (Built-in)" rev 2.00/5.16 addr 8 video0 at uvideo0 ugen1 at uhub0 port 2 configuration 1 "Apple Inc. FaceTime HD Camera (Built-in)" rev 2.00/5.16 addr 8 uhub6 at uhub1 port 1 "Standard Microsystems Hub" rev 2.00/b.b3 addr 2 uhidev4 at uhub6 port 1 configuration 1 interface 0 "Apple Computer, Inc. IR Receiver" rev 2.00/0.16 addr 3 uhidev4: iclass 3/0, 38 report ids uhid2 at uhidev4 reportid 36: input=4, output=0, feature=0 uhid3 at uhidev4 reportid 37: input=4, output=0, feature=0 uhid4 at uhidev4 reportid 38: input=4, output=0, feature=0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (d0d76611901b8384.a) swap on sd0b dump on sd0b clock: unknown CMOS layout