# DragonFly on an IBM Thinkpad T42 [[!toc levels=3]] ## Installed System I ran a recent kernel and world build from HEAD: hades!matthias:~ % uname -a DragonFly hades 2.7-DEVELOPMENT DragonFly 2.7-DEVELOPMENT #0: Sun Sep 26 19:12:12 CEST 2010 root@hades:/usr/src/sys/compile/T42 i386 ## Wired Network Installed Intel E1000 card works with em(4). ## Wireless Network The built-in Atheros card works fine with ath(4). I use WPA with wpa_supplicant, also working flawlessly. ## Power Management ACPI Suspend to RAM (S3) works. You can suspend the machine with `acpiconf -s 3`. Furthermore if you suspend with X running, you have to restart the moused(8). Gathering information about the battery works: hades!matthias:~ % acpiconf -i 0 Battery 0 information Design capacity: 71280 mWh Last full capacity: 20680 mWh Technology: secondary (rechargeable) Design voltage: 10800 mV Capacity (warn): 1034 mWh Capacity (low): 200 mWh Low/warn granularity: 1 mWh Warn/full granularity: 1 mWh Model number: IBM-08K8198 Serial number: 987 Type: LION OEM info: SANYO ### Speed stepping est(4) and powerd(8) works out-of-the-box, I used pkgsrc/estd to control the frequency. hades!matthias:~ % sysctl machdep.est machdep.est.frequency.target: 1700 machdep.est.frequency.current: 1700 machdep.est.frequency.available: 1700 1400 1200 1000 800 600 ## Sound Works with snd_ich(4). ## IBM Thinkpad driver Load acpi_thinkpad kernel module. hades!matthias:~ % sysctl hw.acpi.thinkpad hw.acpi.thinkpad.initialmask: 2060 hw.acpi.thinkpad.availmask: 2524 hw.acpi.thinkpad.events: 0 hw.acpi.thinkpad.eventmask: 2060 hw.acpi.thinkpad.hotkey: 3472 hw.acpi.thinkpad.lcd_brightness: 2 hw.acpi.thinkpad.volume: 2 hw.acpi.thinkpad.mute: 1 hw.acpi.thinkpad.thinklight: 0 hw.acpi.thinkpad.bluetooth: 0 hw.acpi.thinkpad.wlan: 1 hw.acpi.thinkpad.fan_level: 0 hw.acpi.thinkpad.fan: 1 ## Internal sensors Work out of the box: hades!matthias:~ % sysctl -a | grep sensors hw.sensors.acpi_tz0.temp0: 45.00 degC hw.sensors.acpi_thinkpad0.temp0: 45.00 degC hw.sensors.acpi_thinkpad0.temp1: 47.00 degC hw.sensors.acpi_thinkpad0.temp2: 34.00 degC hw.sensors.acpi_thinkpad0.temp3: 56.00 degC hw.sensors.acpi_thinkpad0.temp4: 29.00 degC hw.sensors.acpi_thinkpad0.temp5: invalid hw.sensors.acpi_thinkpad0.temp6: 26.00 degC hw.sensors.acpi_thinkpad0.temp7: invalid hw.sensors.acpi_thinkpad0.fan0: 3717 RPM hw.sensors.aps0.raw0: 529 (X_ACCEL) hw.sensors.aps0.raw1: 471 (Y_ACCEL) hw.sensors.aps0.raw2: 529 (X_VAR) hw.sensors.aps0.raw3: 471 (Y_VAR) hw.sensors.aps0.temp0: 46.00 degC hw.sensors.aps0.temp1: 46.00 degC hw.sensors.aps0.indicator0: On (Keyboard Active) hw.sensors.aps0.indicator1: Off (Mouse Active) hw.sensors.aps0.indicator2: On (Lid Open) ## PCMCIA Tested with an external ath(4) card, works. ## Graphics driver The built-in ATI Radeon works with the default X.org ***ati*** driver. The display resolution is 1440x1050. DRM also works: drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized radeon 1.29.0 20080528 ## Installed Devices agp0@pci0:0:0: class#0x060000 card0x05291014 chip=0x33408086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82855PM Processor to I/O Controller' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class#0x060400 card0x00000000 chip=0x33418086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82855PM Processor to AGP Controller' class = bridge subclass = PCI-PCI none0@pci0:29:0: class#0x0c0300 card0x052d1014 chip=0x24c28086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1' class = serial bus subclass = USB none1@pci0:29:1: class#0x0c0300 card0x052d1014 chip=0x24c48086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2' class = serial bus subclass = USB none2@pci0:29:2: class#0x0c0300 card0x052d1014 chip=0x24c78086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3' class = serial bus subclass = USB none3@pci0:29:7: class#0x0c0320 card0x052e1014 chip=0x24cd8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller' class = serial bus subclass = USB pcib2@pci0:30:0: class#0x060400 card0x00000000 chip=0x24488086 rev=0x81 hdr=0x01 vendor = 'Intel Corporation' device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class#0x060100 card0x00000000 chip=0x24cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DBM (ICH4-M) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class#0x01018a card0x052d1014 chip=0x24ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DBM (ICH4-M) UltraATA/100 EIDE Controller' class = mass storage subclass = ATA none4@pci0:31:3: class#0x0c0500 card0x052d1014 chip=0x24c38086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller' class = serial bus subclass = SMBus none5@pci0:31:5: class#0x040100 card0x05541014 chip=0x24c58086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller' class = multimedia subclass = audio none6@pci0:31:6: class#0x070300 card0x055a1014 chip=0x24c68086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller' class = simple comms subclass = generic modem none7@pci1:0:0: class#0x030000 card0x05501014 chip=0x4e501002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Mobility Radeon 9700 (M10 NP) (RV350)' class = display subclass = VGA cbb0@pci2:0:0: class#0x060700 card0x05521014 chip=0xac46104c rev=0x01 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCI4520 PC Card CardBus Controller' class = bridge subclass = PCI-CardBus cbb1@pci2:0:1: class#0x060700 card0x05521014 chip=0xac46104c rev=0x01 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCI4520 PC Card CardBus Controller' class = bridge subclass = PCI-CardBus none8@pci2:1:0: class#0x020000 card0x05491014 chip=0x101e8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82540EP Gigabit Ethernet Controller (Mobile)' class = network subclass = ethernet ath0@pci2:2:0: class#0x020000 card0x833117ab chip=0x1014168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212 Atheros AR5212 802.11abg wireless' class = network subclass = ethernet