DragonFly BSD

index

DragonFly on Asus EEE 900

Following experience is from running DragonFly 2.3.2 development on laptop.

$ pciconv -lv
 hostb0@pci0:0:0:0: class=0x060000 card=0x82d91043 chip=0x25908086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '915GM Mobile Intel(R) 915GM/PM/GMS/910GML Express Processor to DRAM Controller'
     class      = bridge
     subclass   = HOST-PCI
 vgapci0@pci0:0:2:0:    class=0x030000 card=0x82d91043 chip=0x25928086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Intel 82852/82855 Graphic controller family you can be found in www.intelcom'
     class      = display
     subclass   = VGA
 vgapci1@pci0:0:2:1:    class=0x038000 card=0x82d91043 chip=0x27928086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Mobile 82915GLx/x/x Mobile Intel(R) 915GM/GMS/, 910GML Express Chipset Family'
     class      = display
 hdac0@pci0:0:27:0: class=0x040300 card=0x83371043 chip=0x26688086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '11583659 82801FB (ICH6) High Definition Audio Controller'
     class      = multimedia
     subclass   = HDA
 pcib1@pci0:0:28:0: class=0x060400 card=0x82d81043 chip=0x26608086 rev=0x04 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801FB/FR/FW/FRW PCI Express Port 1'
     class      = bridge
     subclass   = PCI-PCI
 pcib2@pci0:0:28:1: class=0x060400 card=0x82d81043 chip=0x26628086 rev=0x04 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801FB/FR/FW/FRW PCI Express Port 2'
     class      = bridge
     subclass   = PCI-PCI
 pcib3@pci0:0:28:2: class=0x060400 card=0x82d81043 chip=0x26648086 rev=0x04 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801FB (ICH6) PCIe Root Port 3'
     class      = bridge
     subclass   = PCI-PCI
 uhci0@pci0:0:29:0: class=0x0c0300 card=0x82d81043 chip=0x26588086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801FB/FR/FW/FRW USB UHCI Controller'
     class      = serial bus
     subclass   = USB
 uhci1@pci0:0:29:1: class=0x0c0300 card=0x82d81043 chip=0x26598086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801FB/FR/FW/FRW USB UHCI Controller'
     class      = serial bus
     subclass   = USB
 uhci2@pci0:0:29:2: class=0x0c0300 card=0x82d81043 chip=0x265a8086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801FB/FR/FW/FRW USB UHCI Controller'
     class      = serial bus
     subclass   = USB
 uhci3@pci0:0:29:3: class=0x0c0300 card=0x82d81043 chip=0x265b8086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801FB/FR/FW/FRW USB UHCI Controller'
     class      = serial bus
     subclass   = USB
 ehci0@pci0:0:29:7: class=0x0c0320 card=0x82d81043 chip=0x265c8086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801FB/FR/FW/FRW USB 2.0 EHCI Controller'
     class      = serial bus
     subclass   = USB
 pcib4@pci0:0:30:0: class=0x060401 card=0x82d81043 chip=0x24488086 rev=0xd4 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801 Family (ICH2/3/4/5/6/7/8/9-M) Hub Interface to PCI Bridge'
     class      = bridge
     subclass   = PCI-PCI
 isab0@pci0:0:31:0: class=0x060100 card=0x82d81043 chip=0x26418086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801FBM LPC Interface Bridge (ICH6-M)'
     class      = bridge
     subclass   = PCI-ISA
 atapci0@pci0:0:31:2:   class=0x010180 card=0x82d81043 chip=0x26538086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801FBM (ICH6M) SATA Controller'
     class      = mass storage
     subclass   = ATA
 none0@pci0:0:31:3: class=0x0c0500 card=0x82d81043 chip=0x266a8086 rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801FB (ICH6) SMBus Controller'
     class      = serial bus
     subclass   = SMBus
 ae0@pci0:3:0:0:    class=0x020000 card=0x20481969 chip=0x20481969 rev=0xa0 hdr=0x00
     vendor     = 'Attansic (Now owned by Atheros)'
     device     = 'Atheros L2 Fast Ethernet 10/100 Base-T Controller'
     class      = network
     subclass   = ethernet
 ath0@pci0:1:0:0:   class=0x020000 card=0x10261a3b chip=0x001c168c rev=0x01 hdr=0x00
     vendor     = 'Atheros Communications Inc.'
     device     = 'USB\VID_08FF&PID_1600\5&3AEE5BD7&0&3 HDAUDIO\FUNC_01&VEN_14F1&DEV_5051&SUBSYS_103C3608&REV_1000'
     class      = network
     subclass   = ethernet

ACPI and power management

There is no issues in running with ACPI.

Preloaded elf module "/boot/modules/acpi_asus.ko" at 0xc04c6268.
Preloaded elf module "/boot/modules/acpi.ko" at 0xc04c6318.
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x18> port 0x66,0x62 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
acpi_asus0: <ASUS EeePC> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
cpu0: <ACPI CPU> on acpi0

Suspend (S3) works with a patched kernel (get here: http://polachok.v12.su/kernel-280709-eee.tgz BIG FAT WARNING: it's pre-devfs)

For tuning/controlling/monitoring ACPI extras for ASUS laptops I have acpi_asus(4) and acpi_video(4) ports from FreeBSD in work.

$ sysctl hw.acpi.asus
hw.acpi.asus.lcd_brightness: 1
hw.acpi.asus.camera: 0
hw.acpi.asus.cardreader: 1
hw.acpi.asus.wlan: 1

Video controller

The chipset in use is Intel 945GM.

agp0: <Intel 82915GM (915GM GMCH) SVGA controller> on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M

drm0: <Intel i915GM> on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized i915 1.6.0 20080730

DRI state untested, video playback is okay.

Ethernet controller

Works without any problem with ae(4).

ae0: <Attansic Technology Corp, L2 Fast Ethernet> mem 0xfbfc0000-0xfbffffff irq 11 at device 0.0 on pci3

Wireless card(s)

ath0: <Atheros 5424/2424> mem 0xfbef0000-0xfbefffff irq 10 at device 0.0 on pci1

works fine

Audio

Works without problems.

hdac0: <Intel 82801F High Definition Audio Controller> mem 0xf7eb8000-0xf7ebbfff irq 5 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20090329_0131
hdac0: HDA Codec #0: Realtek ALC662
pcm0: <HDA Realtek ALC662 PCM #0 Analog> at cad 0 nid 1 on hdac0

SD card reader

Works with umass.

Camera

Not supported.