68162f7b411e19f69d5d91b2788e2425a22bdcab
[ikiwiki.git] / docs / user / ThinkpadT42.mdwn
1 # DragonFly on an IBM Thinkpad T42 \r
2 \r
3 [[!toc  levels=3]]\r
4 \r
5 ## Installed System \r
6 \r
7 I ran a recent kernel and world build from HEAD:\r
8 \r
9     \r
10     jupiter!matthias:~ % uname -a\r
11     DragonFly jupiter 1.11.0-DEVELOPMENT DragonFly 1.11.0-DEVELOPMENT #1: Sat Jan 26 20:05:28 CET 2008     root@jupiter:/usr/src/sys/compile/JUPITER  i386\r
12 \r
13 \r
14 ## Wired Network \r
15 Installed Intel E1000 works with em(4).\r
16 \r
17 ## Wireless Network \r
18 The built-in Atheros card works fine with ath(4).  I use WPA with wpa_supplicant,\r
19 also working flawlessly.\r
20 \r
21 ## Power Management \r
22 \r
23 ACPI Suspend to ram (S3) works.  You can suspend the machine with `acpiconf -s 3`.\r
24 Sadly em(4) doesn't survive a suspend/resume cycle.  The card will not reattach\r
25 cause of an EEPROM checksum error.  To avoid problems with USB and the internal\r
26 ath(4) card, I unload the two modules in `/etc/rc.suspend` and reload the modules\r
27 in `/etc/rc.resume`.  Furthermore if you suspend with X running, you have to\r
28 restart the moused(8).\r
29 \r
30 Gathering information about the battery also works:\r
31     \r
32     jupiter!matthias:~ % acpiconf -i 0\r
33     Battery 0 information\r
34     Design capacity:        71280 mWh\r
35     Last full capacity:     20680 mWh\r
36     Technology:             secondary (rechargeable)\r
37     Design voltage:         10800 mV\r
38     Capacity (warn):        1034 mWh\r
39     Capacity (low):         200 mWh\r
40     Low/warn granularity:   1 mWh\r
41     Warn/full granularity:  1 mWh\r
42     Model number:           IBM-08K8198\r
43     Serial number:            987\r
44     Type:                   LION\r
45     OEM info:               SANYO\r
46 \r
47 ### Speed stepping \r
48 \r
49 est(4) works out-of-the-box, I used pkgsrc/estd to control the frequency.\r
50     \r
51     jupiter!matthias:~ % sysctl machdep.est\r
52     machdep.est.frequency.target: 1700\r
53     machdep.est.frequency.current: 1700\r
54     machdep.est.frequency.available: 1700 1400 1200 1000 800 600\r
55 \r
56 \r
57 ## Sound \r
58 \r
59 Works with snd_ich(4).\r
60 \r
61 ## PCMCIA \r
62 \r
63 Tested with an external ath(4) card, works.\r
64 \r
65 ## Graphic driver \r
66 \r
67 The built-in ATI Radeon works with the default X.org ***ati*** driver.  The display resolution is 1440x1050.\r
68 Never tested DRM or DRI or any kind of graphics acceleration.\r
69 \r
70 ## Installed Devices \r
71     \r
72     agp0@pci0:0:0:      class#0x060000 card0x05291014 chip=0x33408086 rev=0x03 hdr=0x00\r
73         vendor   = 'Intel Corporation'\r
74         device   = '82855PM Processor to I/O Controller'\r
75         class    = bridge\r
76         subclass = HOST-PCI\r
77     pcib1@pci0:1:0:     class#0x060400 card0x00000000 chip=0x33418086 rev=0x03 hdr=0x01\r
78         vendor   = 'Intel Corporation'\r
79         device   = '82855PM Processor to AGP Controller'\r
80         class    = bridge\r
81         subclass = PCI-PCI\r
82     none0@pci0:29:0:    class#0x0c0300 card0x052d1014 chip=0x24c28086 rev=0x01 hdr=0x00\r
83         vendor   = 'Intel Corporation'\r
84         device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1'\r
85         class    = serial bus\r
86         subclass = USB\r
87     none1@pci0:29:1:    class#0x0c0300 card0x052d1014 chip=0x24c48086 rev=0x01 hdr=0x00\r
88         vendor   = 'Intel Corporation'\r
89         device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2'\r
90         class    = serial bus\r
91         subclass = USB\r
92     none2@pci0:29:2:    class#0x0c0300 card0x052d1014 chip=0x24c78086 rev=0x01 hdr=0x00\r
93         vendor   = 'Intel Corporation'\r
94         device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3'\r
95         class    = serial bus\r
96         subclass = USB\r
97     none3@pci0:29:7:    class#0x0c0320 card0x052e1014 chip=0x24cd8086 rev=0x01 hdr=0x00\r
98         vendor   = 'Intel Corporation'\r
99         device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller'\r
100         class    = serial bus\r
101         subclass = USB\r
102     pcib2@pci0:30:0:    class#0x060400 card0x00000000 chip=0x24488086 rev=0x81 hdr=0x01\r
103         vendor   = 'Intel Corporation'\r
104         device   = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'\r
105         class    = bridge\r
106         subclass = PCI-PCI\r
107     isab0@pci0:31:0:    class#0x060100 card0x00000000 chip=0x24cc8086 rev=0x01 hdr=0x00\r
108         vendor   = 'Intel Corporation'\r
109         device   = '82801DBM (ICH4-M) LPC Interface Bridge'\r
110         class    = bridge\r
111         subclass = PCI-ISA\r
112     atapci0@pci0:31:1:  class#0x01018a card0x052d1014 chip=0x24ca8086 rev=0x01 hdr=0x00\r
113         vendor   = 'Intel Corporation'\r
114         device   = '82801DBM (ICH4-M) UltraATA/100 EIDE Controller'\r
115         class    = mass storage\r
116         subclass = ATA\r
117     none4@pci0:31:3:    class#0x0c0500 card0x052d1014 chip=0x24c38086 rev=0x01 hdr=0x00\r
118         vendor   = 'Intel Corporation'\r
119         device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller'\r
120         class    = serial bus\r
121         subclass = SMBus\r
122     none5@pci0:31:5:    class#0x040100 card0x05541014 chip=0x24c58086 rev=0x01 hdr=0x00\r
123         vendor   = 'Intel Corporation'\r
124         device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller'\r
125         class    = multimedia\r
126         subclass = audio\r
127     none6@pci0:31:6:    class#0x070300 card0x055a1014 chip=0x24c68086 rev=0x01 hdr=0x00\r
128         vendor   = 'Intel Corporation'\r
129         device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller'\r
130         class    = simple comms\r
131         subclass = generic modem\r
132     none7@pci1:0:0:     class#0x030000 card0x05501014 chip=0x4e501002 rev=0x00 hdr=0x00\r
133         vendor   = 'ATI Technologies Inc'\r
134         device   = 'Mobility Radeon 9700 (M10 NP) (RV350)'\r
135         class    = display\r
136         subclass = VGA\r
137     cbb0@pci2:0:0:      class#0x060700 card0x05521014 chip=0xac46104c rev=0x01 hdr=0x02\r
138         vendor   = 'Texas Instruments (TI)'\r
139         device   = 'PCI4520 PC Card CardBus Controller'\r
140         class    = bridge\r
141         subclass = PCI-CardBus\r
142     cbb1@pci2:0:1:      class#0x060700 card0x05521014 chip=0xac46104c rev=0x01 hdr=0x02\r
143         vendor   = 'Texas Instruments (TI)'\r
144         device   = 'PCI4520 PC Card CardBus Controller'\r
145         class    = bridge\r
146         subclass = PCI-CardBus\r
147     none8@pci2:1:0:     class#0x020000 card0x05491014 chip=0x101e8086 rev=0x03 hdr=0x00\r
148         vendor   = 'Intel Corporation'\r
149         device   = '82540EP Gigabit Ethernet Controller (Mobile)'\r
150         class    = network\r
151         subclass = ethernet\r
152     ath0@pci2:2:0:      class#0x020000 card0x833117ab chip=0x1014168c rev=0x01 hdr=0x00\r
153         vendor   = 'Atheros Communications Inc.'\r
154         device   = 'AR5212 Atheros AR5212 802.11abg wireless'\r
155         class    = network\r
156         subclass = ethernet\r
157 \r