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