From: polachok Date: Tue, 8 Sep 2009 19:37:54 +0000 (-0700) Subject: (no commit message) X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/commitdiff_plain/b6532d27de568e22ba12efca419eb343d59278e3 --- diff --git a/docs/user/asuseee900/index.mdwn b/docs/user/asuseee900/index.mdwn index c21f17a2..7f32ab18 100644 --- a/docs/user/asuseee900/index.mdwn +++ b/docs/user/asuseee900/index.mdwn @@ -4,141 +4,163 @@ Following experience is from running DragonFly 2.3.2 development on laptop. - $ sudo lspci -nn - -## Kernel and system in general - -SMP kernel boots with IO_APIC disabled only. With IO_APIC support it panics early in boot. I haven't bothered yet to dig deeper into this issue. - -I'm not able to boot machine with SATA controller in AHCI mode while running on battery (without AC). It boots fine with AHCI AC connected as it does SATA controller in IDE mode. As some brief benchmarks showed that there is no actual difference I'm using it SATA controller in IDE mode at the moment. The issue itself is related to interrupt routing probably, it really needs some love in DragonFly. - -##### Update from 20.05.2008 - -The BIOS update released in 18.05.2008 - 7NETB3WW (2.13) - solves most of problems mentioned here, but the kernel with IO_APIC is still no go. - -* A kernel without IO_APIC option boots fine with SATA controller in any mode - AHCI or compatibility, with and without AC. So there is no need to switch SATA controller to compatibility mode any more. -* A kernel with IO_APIC boots with SATA controller in AHCI mode, but doesn't find any disks. -* A kernel with IO_APIC boots with SATA controller in compatibility mode, finds disks, but ath(4) doesn't work. + $ 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. - acpi0: on motherboard - acpi_ec0: port 0x66,0x62 on acpi0 - acpi0: Power Button (fixed) - acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 - cpu0: on acpi0 - cpu1: on acpi0 - acpi_tz0: on acpi0 - acpi_tz1: on acpi0 - acpi_lid0: on acpi0 - acpi_button0: on acpi0 - atkbdc0: port 0x64,0x60 irq 1 on acpi0 - acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% - acpi_cmbat0: on acpi0 - acpi_acad0: on acpi0 - -Suspend (S3) doesn't work though - panics on resume. Haven't time to dig into it yet. Throttling CPU speed works through ACPI, but it doesn't seem to have any impact to battery life, it makes system just slower. So I disabled automatic throttling while running on battery: - - $ sysctl hw.acpi.cpu - hw.acpi.cpu.throttle_max: 8 - hw.acpi.cpu.throttle_state: 8 - hw.acpi.cpu.performance_speed: 8 - hw.acpi.cpu.economy_speed: 8 - -[est(4)](http://leaf.dragonflybsd.org/cgi/web-man?command#est§ion4) in DragonFly doesn't support Core family CPU's yet AFAIK. I have 8 cell battery and it lasts about 5 hours, which is enough for me at the moment. Therefore I haven't bothered to dig into power management issues yet. - -For tuning/controlling/monitoring ACPI extras for Thinkpad laptops I have acpi_ibm(4) and acpi_video(4) ports from FreeBSD in work. Neither of them are rady to commit yet, but I can share the current state if you contact me privately. I'll work on them after 2.0 release probably. - - $ sysctl hw.acpi.ibm - hw.acpi.ibm.initialmask: 2060 - hw.acpi.ibm.availmask: 16777215 - hw.acpi.ibm.events: 0 - hw.acpi.ibm.eventmask: 2060 - hw.acpi.ibm.hotkey: 2483 - hw.acpi.ibm.lcd_brightness: 0 - hw.acpi.ibm.volume: 0 - hw.acpi.ibm.mute: 0 - hw.acpi.ibm.thinklight: 0 - hw.acpi.ibm.bluetooth: 1 - hw.acpi.ibm.wlan: 1 - hw.acpi.ibm.fan_speed: 4343 - hw.acpi.ibm.fan_level: 0 - hw.acpi.ibm.fan: 1 - hw.acpi.ibm.thermal: 52 48 48 49 37 -1 35 -1 + Preloaded elf module "/boot/modules/acpi_asus.ko" at 0xc04c6268. + Preloaded elf module "/boot/modules/acpi.ko" at 0xc04c6318. + acpi0: on motherboard + acpi0: Power Button (fixed) + acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 + acpi_ec0: port 0x66,0x62 on acpi0 + pcib0: port 0xcf8-0xcff on acpi0 + acpi_asus0: on acpi0 + acpi_lid0: on acpi0 + acpi_button0: on acpi0 + acpi_button1: on acpi0 + acpi_tz0: on acpi0 + battery0: on acpi0 + acpi_acad0: on acpi0 + atkbdc0: port 0x64,0x60 irq 1 on acpi0 + cpu0: on acpi0 + +Suspend (S3) works with a patched kernel. + +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 965GM. +The chipset in use is Intel 945GM. - agp0: port 0x1800-0x1807 mem 0xe0000000-0xefffffff,0xf8000000-0xf80fffff irq 10 at device 2.0 on pci0 - agp0: detected 7676k stolen memory + agp0: on vgapci0 + agp0: detected 7932k stolen memory agp0: aperture size is 256M - drmsub0: on agp0 - -Although there are some issues with it, Intel chips are the best ones to use at the moment. I experimented a lot with Xorg and found that XAA acceleration architecture with DRI works best for me. DRM isn't in CVS yet, so you have to use info from [this mail](http://leaf.dragonflybsd.org/mailarchive/users/2008-01/msg00003.html). -+ **XAA without DRI** - Works in general, but there are random XVideo related crashes - [this bug](https://bugs.freedesktop.org/show_bug.cgi?id=13976). Crashes seem to be specific to 965GM chipset, 965Q I'm using in desktops doesn't have this problem. -+ **EXA without DRI** - Unusably slow. Seems to be known problem (see [this bug](https://bugs.freedesktop.org/show_bug.cgi?id=13389) for example) Note, that EXA is default in new intel driver 2.2.0, so if you don't want to run DRI, switch to XAA. -+ **XAA with DRI** - Best option so far. Running GL applications is problematic though - I'm able to crash X 100% with moving glxgears window (see [this bug](https://bugs.freedesktop.org/show_bug.cgi?id=13985) for details) and with trying to run second glxgears. The second issue is probably related to bugs in our DRM locking. XVideo crashes are rare, but they are there. -+ **EXA with DRI** - The speed is good, I can't crash X with moving glxgears windows, but opening second glxgears still crashes X. There are also some random crashes I'm not yet sure about. + drm0: on vgapci0 + vgapci0: child drm0 requested pci_enable_busmaster + info: [drm] AGP at 0xd0000000 256MB + info: [drm] Initialized i915 1.6.0 20080730 -##### Update (20080228) - -XVideo crases seems to be related Intel(R) Textured Video adaptor. Modified Xorg driver (2.2.1) which adds hardware overlay support for G965 chips works fine without crashes so far. See [this thread](http://thread.gmane.org/gmane.comp.freedesktop.xorg/26334) for details how to modify the driver. +DRI state untested, video playback is okay. ## Ethernet controller -Works without any problem with em(4). +Works without any problem with ae(4). - em0: port 0x1840-0x185f mem 0xf8225000-0xf8225fff,0xf8200000-0xf821ffff irq 11 at device 25.0 on pci0 + ae0: mem 0xfbfc0000-0xfbffffff irq 11 at device 0.0 on pci3 ## Wireless card(s) -AFAICS all X61(s) models have either Intel PRO/Wireless 3945ABG or Intel PRO/Wireless 4965AGN Mini-PCI Express WiFi adapters. Unfortunately neither of them is working in DragonFly at the moment. Situation isn't hopeless though, both of them are supported in OpenBSD via wpi(4) and iwn(4) drivers respectively. With some effort it would be possible to support them. There is also wpi(4) work in progress in FreeBSD which would be simpler to port than the driver from FreeBSD. - -I haven't done any porting work yet, because I can use Atheros AR5418 802.11a/b/g/n Wireless Mini-PCI Express adapter for now. I'm not very happy with it though, because I have to use ath(4) driver with binary blob. Blob in DragonFly doesn't work either and I have to use the one from [[http://people.freebsd.org/~sam/]]. This one works without problems so far and has necessary for me WPA support. - - ath0: mem 0xf7f00000-0xf7f0ffff irq 11 at device 0.0 on pci3 - ath0: mac 12.10 phy 8.1 radio 12.0 - -If you plan to change Mini-PCI Express card note that "unauthorised" ones don't work out of box. See [this link]( http://www.thinkwiki.org/wiki/Problem_with_unauthorized_MiniPCI_network_card) for more details. + ath0: mem 0xfbef0000-0xfbefffff irq 10 at device 0.0 on pci1 -## Bluetooth - -Works with ubt(4) driver without problems. In fact all my bluetooth(4) work is done with this laptop. - - ubt0: on uhub0 +works fine ## Audio Works without problems. - pcm0: mem 0xf8220000-0xf8223fff irq 11 at device 27.0 on pci0 - pcm0: - pcm0: - -## Firewire - -Seems to work, but I haven't done any tests so far. - - fwohci0: vendor#1180, dev832 - fwohci0: <1394 Open Host Controller Interface> mem 0xd7efe800-0xd7efefff irq 11 at device 0.1 on pci5 - fwohci0: OHCI version 1.10 (ROM=0) - fwohci0: No. of Isochronous channel is 4. - fwohci0: EUI64 00:16:d3:ff:ff:c2:f7:57 - fwohci0: Phy 1394a available S400, 1 ports. - fwohci0: Link S400, max_rec 2048 bytes. - firewire0: on fwohci0 - fwe0: on firewire0 - fwe0: MAC address: 02:16:d3:c2:f7:57 - sbp0: on firewire0 - fwohci0: Initiate bus reset - fwohci0: node_id#0xc800ffc0, gen1, CYCLEMASTER mode - firewire0: 1 nodes, maxhop <# 0, cable IRM 0 (me) - firewire0: bus manager 0 (me) - + hdac0: mem 0xf7eb8000-0xf7ebbfff irq 5 at device 27.0 on pci0 + hdac0: HDA Driver Revision: 20090329_0131 + hdac0: HDA Codec #0: Realtek ALC662 + pcm0: at cad 0 nid 1 on hdac0 ## SD card reader -Isn't supported yet. +Works as umass.