Annotation of wikisrc/users/ryoon/how_to_install_netbsd_amd64_to_macbook_air_11_inch.mdwn, revision 1.1

1.1     ! ryoon       1: = how_to_install_netbsd_on_macbook_air_mid_2012
        !             2: [2012-09-17 20:32] 
        !             3: 
        !             4: # How to install NetBSD/amd64 current on MacBook Air 11 inch (mid 2012)
        !             5: 
        !             6: For older MacBook, please read [how to install netbsd on an apple macbook with core2duo](http://wiki.netbsd.org/tutorials/how_to_install_netbsd_on_an_apple_macbook_with_core2duo/)
        !             7: 
        !             8: This tutorial is based on it.
        !             9: 
        !            10: [[!toc]]
        !            11: 
        !            12: ## Caution
        !            13: 
        !            14: * To follow this tutorial, you must have other NetBSD or other Unix like operating system installation to create no-dkwedge kernel.
        !            15: 
        !            16: * With this tutorial, your MacBook Air's default operating system becomes NetBSD! You can boot OS X with Power+option.
        !            17: 
        !            18: * Do not try to install NetBSD on dkwedge partition (/dev/dk*) and with dkwedge enabled kernel, I cannot install NetBSD to hybrid MBR disk, so I have gotten "newfs: /dev/rwd0a: open for read: Device busy" error message.
        !            19:   See [PR/39510](http://gnats.netbsd.org/39510).
        !            20:   If you can install NetBSD to dkwedge partition, please tell me!
        !            21:   All my attempts are failed :(
        !            22: 
        !            23: * Do not install NetBSD bootselect code in sysinst.
        !            24: 
        !            25: * Installing NetBSD/i386 is not tested.
        !            26: 
        !            27: * I have not tested modular-xorg (X.org from pkgsrc).
        !            28: 
        !            29: 
        !            30: ## What works and what doesn't
        !            31: 
        !            32: ### This stuff all seems to work fine
        !            33: 
        !            34: * SATA disk drivers
        !            35: 
        !            36: * Keyboard
        !            37: 
        !            38: * TrackPad (as one button mouse, no multitouch extension)
        !            39: 
        !            40: * USB 2.0/1.0 (no USB 3.0)
        !            41: 
        !            42: * FaceTime HD Camera (uvideo device; I have not tested yet)
        !            43: 
        !            44: * Keyboard backlight
        !            45: 
        !            46: 
        !            47: ### What Doesn't work
        !            48: 
        !            49: * Internal BCM43224 WiFi adapter
        !            50: 
        !            51: * Sound (hdaudio seems work, but if you disable boot sound,
        !            52:   you have no audio from internal speaker)
        !            53: 
        !            54: * Bluetooth device (with patches in [PR/46992](http://gnats.netbsd.org/46992), it works)
        !            55: 
        !            56: 
        !            57: ## Creating a new partition for NetBSD
        !            58: 
        !            59: Probably you can resize your HFS+ partition with OS X's diskutil command.
        !            60: But I have not tested.
        !            61: Default HFS+ partition is journaled, but case insensitive.
        !            62: If you love case sensitive filesystem like me.
        !            63: Please follow the steps.
        !            64: 
        !            65: ### Create OS X Recovery USB stick
        !            66: You can create OS X Recovery USB stick with "OS X Recovery Disk Assistant"
        !            67: utility in OS X.
        !            68: At first, create OS X Recovery USB stick.
        !            69: 
        !            70: ### Boot from OS X Recovery USB Stick
        !            71: You can boot from the USB stick with Power+option boot.
        !            72: 
        !            73: ### Remove OS X partition and create two partitions
        !            74: First partition is 20GB and prepared for HFS+ (journaled and case sensitive).
        !            75: Of cource you can choose case insensitive HFS+.
        !            76: Second partition is remain, about 100GB.
        !            77: You can create this partition as HFS+.
        !            78: <em>Caution:</em> In this step, you must select GUID partition mode.
        !            79: 
        !            80: ### Install OS X to 20GB partition
        !            81: OS X fragments are downloaded from Apple's website.
        !            82: Probably you can restore your OS X image from TimeMachin.
        !            83: My NAS's TimeMachine functionality is broken and I cannot test it :(
        !            84: 
        !            85: ### Prepare Hybrid MBR disk for classic NetBSD install
        !            86: 
        !            87: #### On OS X, download and install gdisk (GPT fdisk) utility
        !            88: You can find GPT fdisk on [http://www.rodsbooks.com/gdisk/](http://www.rodsbooks.com/gdisk/).
        !            89: 
        !            90: #### On OS X, create Hybrid MBR with gdisk utility
        !            91: You can find tutorial in [http://www.rodsbooks.com/gdisk/hybrid.html](http://www.rodsbooks.com/gdisk/hybrid.html).
        !            92: 
        !            93: 
        !            94: ## Prepare NetBSD install USB stick
        !            95: Download NetBSD current (HEAD) snapshot image from [http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/](http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/).
        !            96: And write with dd (on Unix like OS) or [rawrite32](http://www.netbsd.org/~martin/rawrite32/) (on Windows).
        !            97: 
        !            98: ### Prepare no-dkwedge kernel
        !            99: Remove dkwedge related stuff (remove all "options DKWEDGE*" lines)
        !           100: from GENERIC kernel, and build GENERIC kernel.
        !           101: If you do not know how to build kernel,
        !           102: please read [How to build a kernel section of NetBSD kernel documentation](http://www.netbsd.org/docs/kernel/#how_to_build_a_kernel) .
        !           103: 
        !           104: ### Copy GENERIC kernel
        !           105: Mount USB stick and copy no-dkwedge kernel to it.
        !           106: 
        !           107: 
        !           108: ## Boot your MacBook Air and install NetBSD with sysinst
        !           109: In detail, see [The NetBSD Guide](http://www.netbsd.org/docs/guide/en/index.html).
        !           110: <em>Be careful</em>, you must not install bootselect code to your disk.
        !           111: 
        !           112: 
        !           113: ## Set NetBSD as default OS
        !           114: On OS X, open terminal and run
        !           115: 
        !           116:    % sudo bless --device /dev/disk0s4 --setBoot --legacy --verbose
        !           117: 
        !           118: 
        !           119: 
        !           120: ## Appendix
        !           121: 
        !           122: ### dmesg
        !           123: 
        !           124: With Thunderbolt to Gigabit Ethernet Adapter.
        !           125: 
        !           126: <pre>
        !           127: Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
        !           128:     2006, 2007, 2008, 2009, 2010, 2011, 2012
        !           129:     The NetBSD Foundation, Inc.  All rights reserved.
        !           130: Copyright (c) 1982, 1986, 1989, 1991, 1993
        !           131:     The Regents of the University of California.  All rights reserved.
        !           132: 
        !           133: NetBSD 6.99.11 (NODKWEDGE) #76: Sat Sep 22 17:29:48 JST 2012
        !           134:        root@tellurium.elements.tetera.org:/usr/obj/sys/arch/amd64/compile/NODKWEDGE
        !           135: total memory = 4002 MB
        !           136: avail memory = 3870 MB
        !           137: timecounter: Timecounters tick every 10.000 msec
        !           138: RTC BIOS diagnostic error 0xfd<clock_battery,ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time>
        !           139: timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
        !           140: Apple Inc. MacBookAir5,1 (1.0)
        !           141: mainbus0 (root)
        !           142: cpu0 at mainbus0 apid 0: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
        !           143: cpu1 at mainbus0 apid 2: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
        !           144: cpu2 at mainbus0 apid 1: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
        !           145: cpu3 at mainbus0 apid 3: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
        !           146: ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
        !           147: acpi0 at mainbus0: Intel ACPICA 20110623
        !           148: acpi0: X/RSDT: OemId <APPLE , Apple00,00000000>, AslId <    ,01000013>
        !           149: acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
        !           150: acpi0: SCI interrupting at int 9
        !           151: timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
        !           152: hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
        !           153: timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
        !           154: acpiec0 at acpi0 (EC, PNP0C09-0): using acpiecdt0
        !           155: acpivga0 at acpi0 (IGPU): ACPI Display Adapter
        !           156: acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
        !           157: acpiout1 at acpivga0 (DD02, 0x0400): ACPI Display Output Device
        !           158: acpiout1: brightness levels: 0 7 13 20 27 33 40 47 53 60 67 73 80 87 93 100
        !           159: acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
        !           160: acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
        !           161: acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
        !           162: acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
        !           163: acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
        !           164: acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
        !           165: acpivga0: unknown output device acpiout0
        !           166: acpivga0: unknown output device acpiout2
        !           167: acpivga0: unknown output device acpiout3
        !           168: acpivga0: unknown output device acpiout4
        !           169: acpivga0: unknown output device acpiout5
        !           170: acpivga0: unknown output device acpiout6
        !           171: acpivga0: unknown output device acpiout7
        !           172: acpivga0: connected output devices:
        !           173: acpivga0:   0x0400 (acpiout1): Unknown Output Device, head 0
        !           174: FWHD (INT0800) at acpi0 not configured
        !           175: LDRC (PNP0C02) at acpi0 not configured
        !           176: attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53
        !           177: SMC (APP0001) at acpi0 not configured
        !           178: ALS0 (ACPI0008) at acpi0 not configured
        !           179: SBS0 (ACPI0002) at acpi0 not configured
        !           180: PDRC (PNP0C02) at acpi0 not configured
        !           181: acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
        !           182: acpiacad0 at acpi0 (ADP1, ACPI0003): ACPI AC Adapter
        !           183: acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
        !           184: acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
        !           185: PNLF (APP0002) at acpi0 not configured
        !           186: acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
        !           187: MEM2 (PNP0C01) at acpi0 not configured
        !           188: pci0 at mainbus0 bus 0: configuration mode 1
        !           189: pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
        !           190: pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x0154 (rev. 0x09)
        !           191: vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x0166 (rev. 0x09)
        !           192: wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
        !           193: wsmux1: connecting to wsdisplay0
        !           194: drm at vga0 not configured
        !           195: vendor 0x8086 product 0x1e31 (USB serial bus, interface 0x30, revision 0x04) at pci0 dev 20 function 0 not configured
        !           196: vendor 0x8086 product 0x1e3a (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
        !           197: ehci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x1e2d (rev. 0x04)
        !           198: ehci0: interrupting at ioapic0 pin 23
        !           199: ehci0: EHCI version 1.0
        !           200: usb0 at ehci0: USB revision 2.0
        !           201: hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
        !           202: hdaudio0: interrupting at ioapic0 pin 22
        !           203: hdafg0 at hdaudio0: vendor 1013 product 4206
        !           204: hdafg0: ADC00 2ch: Mic In [Built-In]
        !           205: hdafg0: DAC01 2ch: Speaker [Built-In]
        !           206: hdafg0: DAC02 2ch: HP Out [Jack]
        !           207: hdafg0: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 PCM32 AC3
        !           208: audio0 at hdafg0: full duplex, playback, capture, independent
        !           209: hdafg1 at hdaudio0: Intel product 2806
        !           210: hdafg1: duplicate pin in association
        !           211: hdafg1: duplicate pin in association
        !           212: hdafg1: 0ch/0ch 48000Hz PCM16*
        !           213: ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x1e10 (rev. 0xc4)
        !           214: ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex>
        !           215: pci1 at ppb0 bus 1
        !           216: pci1: i/o space, memory space enabled, rd/line, wr/inv ok
        !           217: ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x1e12 (rev. 0xc4)
        !           218: ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex>
        !           219: pci2 at ppb1 bus 2
        !           220: pci2: i/o space, memory space enabled, rd/line, wr/inv ok
        !           221: vendor 0x14e4 product 0x4353 (miscellaneous network, revision 0x01) at pci2 dev 0 function 0 not configured
        !           222: ppb2 at pci0 dev 28 function 4: vendor 0x8086 product 0x1e18 (rev. 0xc4)
        !           223: ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex>
        !           224: pci3 at ppb2 bus 3
        !           225: pci3: i/o space, memory space enabled, rd/line, wr/inv ok
        !           226: ppb3 at pci3 dev 0 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
        !           227: ppb3: PCI Express 2.0 <Upstream Port of PCI-E Switch>
        !           228: pci4 at ppb3 bus 4
        !           229: pci4: i/o space, memory space enabled, rd/line, wr/inv ok
        !           230: ppb4 at pci4 dev 0 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
        !           231: ppb4: PCI Express 2.0 <Downstream Port of PCI-E Switch>
        !           232: pci5 at ppb4 bus 5
        !           233: pci5: i/o space, memory space enabled, rd/line, wr/inv ok
        !           234: vendor 0x8086 product 0x1547 (miscellaneous system, revision 0x03) at pci5 dev 0 function 0 not configured
        !           235: ppb5 at pci4 dev 3 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
        !           236: ppb5: PCI Express 2.0 <Downstream Port of PCI-E Switch>
        !           237: pci6 at ppb5 bus 6
        !           238: pci6: i/o space, memory space enabled, rd/line, wr/inv ok
        !           239: ppb6 at pci6 dev 0 function 0: vendor 0x8086 product 0x1549 (rev. 0x00)
        !           240: ppb6: PCI Express 2.0 <Upstream Port of PCI-E Switch>
        !           241: pci7 at ppb6 bus 7
        !           242: pci7: i/o space, memory space enabled, rd/line, wr/inv ok
        !           243: ppb7 at pci7 dev 0 function 0: vendor 0x8086 product 0x1549 (rev. 0x00)
        !           244: ppb7: PCI Express 2.0 <Downstream Port of PCI-E Switch>
        !           245: pci8 at ppb7 bus 8
        !           246: pci8: i/o space, memory space enabled, rd/line, wr/inv ok
        !           247: bge0 at pci8 dev 0 function 0: Broadcom BCM57762 Gigabit Ethernet
        !           248: bge0: interrupting at ioapic0 pin 19
        !           249: bge0: ASIC unknown BCM57766 (0x57766000), Ethernet address 40:6c:8f:58:6c:c5
        !           250: bge0: setting short Tx thresholds
        !           251: brgphy0 at bge0 phy 1: BCM57765 1000BASE-T media interface, rev. 0
        !           252: brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
        !           253: ppb8 at pci4 dev 4 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
        !           254: ppb8: PCI Express 2.0 <Downstream Port of PCI-E Switch>
        !           255: pci9 at ppb8 bus 55
        !           256: pci9: i/o space, memory space enabled, rd/line, wr/inv ok
        !           257: ppb9 at pci4 dev 5 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
        !           258: ppb9: PCI Express 2.0 <Downstream Port of PCI-E Switch>
        !           259: pci10 at ppb9 bus 104
        !           260: pci10: i/o space, memory space enabled, rd/line, wr/inv ok
        !           261: ppb10 at pci4 dev 6 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
        !           262: ppb10: PCI Express 2.0 <Downstream Port of PCI-E Switch>
        !           263: pci11 at ppb10 bus 105
        !           264: pci11: i/o space, memory space enabled, rd/line, wr/inv ok
        !           265: ehci1 at pci0 dev 29 function 0: vendor 0x8086 product 0x1e26 (rev. 0x04)
        !           266: ehci1: interrupting at ioapic0 pin 22
        !           267: ehci1: EHCI version 1.0
        !           268: usb1 at ehci1: USB revision 2.0
        !           269: pcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x1e56 (rev. 0x04)
        !           270: ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x1e03 (rev. 0x04)
        !           271: ahcisata0: interrupting at ioapic0 pin 19
        !           272: ahcisata0: 64-bit DMA
        !           273: ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xffffffffc730ff45<EMS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SALP,SNCQ,S64A>
        !           274: atabus0 at ahcisata0 channel 0
        !           275: vendor 0x8086 product 0x1e22 (SMBus serial bus, revision 0x04) at pci0 dev 31 function 3 not configured
        !           276: isa0 at pcib0
        !           277: com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
        !           278: pcppi0 at isa0 port 0x61
        !           279: midi0 at pcppi0: PC speaker
        !           280: sysbeep0 at pcppi0
        !           281: attimer1: attached to pcppi0
        !           282: acpicpu0 at cpu0: ACPI CPU
        !           283: acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
        !           284: acpicpu0: C2: FFH, lat 148 us, pow   500 mW
        !           285: acpicpu0: C3: FFH, lat 198 us, pow   200 mW
        !           286: acpicpu0: P0: FFH, lat  10 us, pow 17000 mW, 1701 MHz, turbo boost
        !           287: acpicpu0: P1: FFH, lat  10 us, pow 17000 mW, 1700 MHz
        !           288: acpicpu0: P2: FFH, lat  10 us, pow 15798 mW, 1600 MHz
        !           289: acpicpu0: P3: FFH, lat  10 us, pow 14620 mW, 1500 MHz
        !           290: acpicpu0: P4: FFH, lat  10 us, pow 13467 mW, 1400 MHz
        !           291: acpicpu0: P5: FFH, lat  10 us, pow 12337 mW, 1300 MHz
        !           292: acpicpu0: P6: FFH, lat  10 us, pow 11231 mW, 1200 MHz
        !           293: acpicpu0: P7: FFH, lat  10 us, pow 10150 mW, 1100 MHz
        !           294: acpicpu0: P8: FFH, lat  10 us, pow  9090 mW, 1000 MHz
        !           295: acpicpu0: P9: FFH, lat  10 us, pow  8053 mW,  900 MHz
        !           296: acpicpu0: P10: FFH, lat  10 us, pow  7192 mW,  800 MHz
        !           297: acpicpu0: P11: FFH, lat  10 us, pow  6199 mW,  700 MHz
        !           298: acpicpu0: T0: FFH, lat   1 us, pow  6199 mW, 100 %
        !           299: acpicpu0: T1: FFH, lat   1 us, pow  5785 mW,  94 %
        !           300: acpicpu0: T2: FFH, lat   1 us, pow  5372 mW,  88 %
        !           301: acpicpu0: T3: FFH, lat   1 us, pow  4959 mW,  82 %
        !           302: acpicpu0: T4: FFH, lat   1 us, pow  4545 mW,  75 %
        !           303: acpicpu0: T5: FFH, lat   1 us, pow  4132 mW,  69 %
        !           304: acpicpu0: T6: FFH, lat   1 us, pow  3719 mW,  63 %
        !           305: acpicpu0: T7: FFH, lat   1 us, pow  3306 mW,  57 %
        !           306: acpicpu0: T8: FFH, lat   1 us, pow  2892 mW,  50 %
        !           307: acpicpu0: T9: FFH, lat   1 us, pow  2479 mW,  44 %
        !           308: acpicpu0: T10: FFH, lat   1 us, pow  2066 mW,  38 %
        !           309: acpicpu0: T11: FFH, lat   1 us, pow  1653 mW,  32 %
        !           310: acpicpu0: T12: FFH, lat   1 us, pow  1239 mW,  25 %
        !           311: acpicpu0: T13: FFH, lat   1 us, pow   826 mW,  19 %
        !           312: acpicpu0: T14: FFH, lat   1 us, pow   413 mW,  13 %
        !           313: coretemp0 at cpu0: thermal sensor, 1 C resolution
        !           314: acpicpu1 at cpu1: ACPI CPU
        !           315: coretemp1 at cpu1: thermal sensor, 1 C resolution
        !           316: acpicpu2 at cpu2: ACPI CPU
        !           317: acpicpu3 at cpu3: ACPI CPU
        !           318: timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
        !           319: timecounter: Timecounter "TSC" frequency 1696216100 Hz quality 3000
        !           320: acpiacad0: AC adapter online.
        !           321: uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
        !           322: uhub0: 2 ports with 2 removable, self powered
        !           323: uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
        !           324: uhub1: 2 ports with 2 removable, self powered
        !           325: ahcisata0 port 0: device present, speed: 6.0Gb/s
        !           326: wd0 at atabus0 drive 0
        !           327: wd0: <APPLE SSD TS128E>
        !           328: wd0: drive supports 16-sector PIO transfers, LBA48 addressing
        !           329: wd0: 113 GB, 235097 cyl, 16 head, 63 sec, 512 bytes/sect x 236978176 sectors
        !           330: wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
        !           331: wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
        !           332: uhub2 at uhub1 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
        !           333: uhub2: single transaction translator
        !           334: uhub3 at uhub0 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
        !           335: uhub3: single transaction translator
        !           336: uhub2: 8 ports with 7 removable, self powered
        !           337: uhub3: 6 ports with 5 removable, self powered
        !           338: uhub4 at uhub2 port 8: Standard Microsystems product 0x2512, class 9/0, rev 2.00/b.b3, addr 3
        !           339: uhub4: multiple transaction translators
        !           340: uhub4: 2 ports with 0 removable, self powered
        !           341: uvideo0 at uhub3 port 1 configuration 1 interface 0: Apple Inc. FaceTime HD Camera (Built-in), rev 2.00/80.25, addr 3
        !           342: video0 at uvideo0: Apple Inc. FaceTime HD Camera (Built-in), rev 2.00/80.25, addr 3
        !           343: uhub5 at uhub4 port 1: Apple Inc. BRCM20702 Hub, class 9/0, rev 2.00/1.00, addr 4
        !           344: uhub5: 3 ports with 0 removable, self powered
        !           345: uhidev0 at uhub5 port 1 configuration 1 interface 0
        !           346: uhidev0: Apple Computer product 0x820a, rev 2.00/1.00, addr 5, iclass 3/1
        !           347: uhidev0: 1 report ids
        !           348: ukbd0 at uhidev0 reportid 1: 8 modifier keys, 6 key codes
        !           349: wskbd0 at ukbd0: console keyboard, using wsdisplay0
        !           350: uhidev1 at uhub5 port 2 configuration 1 interface 0
        !           351: uhidev1: Apple Computer product 0x820b, rev 2.00/1.00, addr 6, iclass 3/1
        !           352: uhidev1: 2 report ids
        !           353: ums0 at uhidev1 reportid 2: 3 buttons
        !           354: wsmouse0 at ums0 mux 0
        !           355: ubt0 at uhub5 port 3
        !           356: ubt0: Apple Inc. Bluetooth USB Host Controller, rev 2.00/0.86, addr 7
        !           357: uhidev2 at uhub4 port 2 configuration 1 interface 0
        !           358: uhidev2: Apple Inc. Apple Internal Keyboard / Trackpad, rev 2.00/2.19, addr 8, iclass 3/1
        !           359: uhidev2: 9 report ids
        !           360: ukbd1 at uhidev2 reportid 1: 8 modifier keys, 6 key codes, apple fn key
        !           361: wskbd1 at ukbd1 mux 1
        !           362: wskbd1: connecting to wsdisplay0
        !           363: uhid0 at uhidev2 reportid 9: input=0, output=0, feature=3
        !           364: uhidev3 at uhub4 port 2 configuration 1 interface 1
        !           365: uhidev3: Apple Inc. Apple Internal Keyboard / Trackpad, rev 2.00/2.19, addr 8, iclass 3/0
        !           366: uhidev3: 68 report ids
        !           367: uhid1 at uhidev3 reportid 68: input=511, output=0, feature=0
        !           368: uhidev4 at uhub4 port 2 configuration 1 interface 2
        !           369: uhidev4: Apple Inc. Apple Internal Keyboard / Trackpad, rev 2.00/2.19, addr 8, iclass 3/1
        !           370: uhidev4: 2 report ids
        !           371: ums1 at uhidev4 reportid 2: 3 buttons
        !           372: wsmouse1 at ums1 mux 0
        !           373: Kernelized RAIDframe activated
        !           374: pad0: outputs: 44100Hz, 16-bit, stereo
        !           375: audio1 at pad0: half duplex, playback, capture
        !           376: boot device: wd0
        !           377: root on wd0a dumps on wd0b
        !           378: root file system type: ffs
        !           379: clock: unknown CMOS layout
        !           380: wsdisplay0: screen 1 added (80x25, vt100 emulation)
        !           381: wsdisplay0: screen 2 added (80x25, vt100 emulation)
        !           382: wsdisplay0: screen 3 added (80x25, vt100 emulation)
        !           383: wsdisplay0: screen 4 added (80x25, vt100 emulation)
        !           384: </pre>
        !           385: 
        !           386: ### /etc/X1/xorg.conf for native X.org
        !           387: With this xorg.conf, you can find one problem.
        !           388: Real display size is 1368x768, but detected one is 1368x768 :(
        !           389: 
        !           390: <pre><code>
        !           391: Section "ServerLayout"
        !           392:        Identifier     "X.org Configured"
        !           393:        Screen      0  "Screen0" 0 0
        !           394:        InputDevice    "Mouse0" "CorePointer"
        !           395:        InputDevice    "Keyboard0" "CoreKeyboard"
        !           396: EndSection
        !           397: 
        !           398: Section "Files"
        !           399:        ModulePath   "/usr/X11R7/lib/modules"
        !           400:        FontPath     "/usr/X11R7/lib/X11/fonts/misc/"
        !           401:        FontPath     "/usr/X11R7/lib/X11/fonts/TTF/"
        !           402:        FontPath     "/usr/X11R7/lib/X11/fonts/Type1/"
        !           403:        FontPath     "/usr/X11R7/lib/X11/fonts/75dpi/"
        !           404:        FontPath     "/usr/X11R7/lib/X11/fonts/100dpi/"
        !           405:        FontPath     "/usr/pkg/lib/X11/fonts/local/"
        !           406:        FontPath     "/usr/pkg/lib/X11/fonts/TTF/"
        !           407: EndSection
        !           408: 
        !           409: Section "Module"
        !           410:        Load  "dbe"
        !           411:        Load  "dri"
        !           412:        Load  "dri2"
        !           413:        Load  "extmod"
        !           414:        Load  "glx"
        !           415:        Load  "record"
        !           416:        Load  "shadow"
        !           417: EndSection
        !           418: 
        !           419: Section "InputDevice"
        !           420:        Identifier  "Keyboard0"
        !           421:        Driver      "kbd"
        !           422:        Option  "XkbOptions"    "ctrl:nocaps"
        !           423: EndSection
        !           424: 
        !           425: Section "InputDevice"
        !           426:        Identifier  "Mouse0"
        !           427:        Driver      "mouse"
        !           428:        Option      "Protocol" "wsmouse"
        !           429:        Option      "Device" "/dev/wsmouse"
        !           430: #      Option      "ZAxisMapping" "4 5 6 7"
        !           431: EndSection
        !           432: 
        !           433: Section "Monitor"
        !           434:        Identifier   "Monitor0"
        !           435:        VendorName   "Monitor Vendor"
        !           436:        ModelName    "Monitor Model"
        !           437: EndSection
        !           438: 
        !           439: Section "Device"
        !           440:         ### Available Driver options are:-
        !           441:         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        !           442:         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        !           443:         ### <percent>: "<f>%"
        !           444:         ### [arg]: arg optional
        !           445:         #Option     "ShadowFB"                 # [<bool>]
        !           446:         #Option     "DefaultRefresh"           # [<bool>]
        !           447:         #Option     "ModeSetClearScreen"       # [<bool>]
        !           448:        Identifier  "Card0"
        !           449:        Driver      "vesa"
        !           450:        BusID       "PCI:0:2:0"
        !           451: EndSection
        !           452: 
        !           453: Section "Screen"
        !           454:        Identifier "Screen0"
        !           455:        Device     "Card0"
        !           456:        Monitor    "Monitor0"
        !           457:        SubSection "Display"
        !           458:                Viewport   0 0
        !           459:                Depth     1
        !           460:        EndSubSection
        !           461:        SubSection "Display"
        !           462:                Viewport   0 0
        !           463:                Depth     4
        !           464:        EndSubSection
        !           465:        SubSection "Display"
        !           466:                Viewport   0 0
        !           467:                Depth     8
        !           468:        EndSubSection
        !           469:        SubSection "Display"
        !           470:                Viewport   0 0
        !           471:                Depth     15
        !           472:        EndSubSection
        !           473:        SubSection "Display"
        !           474:                Viewport   0 0
        !           475:                Depth     16
        !           476:        EndSubSection
        !           477:        SubSection "Display"
        !           478:                Viewport   0 0
        !           479:                Depth     24
        !           480:        EndSubSection
        !           481: EndSection
        !           482: </code></pre>

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb