X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/blobdiff_plain/7cac4bf6cb23d8f1b520435e6b27f02a729839e4..HEAD:/docs/user/asuseee900/index.mdwn
diff --git a/docs/user/asuseee900/index.mdwn b/docs/user/asuseee900/index.mdwn
index be0c31a2..925a800f 100644
--- a/docs/user/asuseee900/index.mdwn
+++ b/docs/user/asuseee900/index.mdwn
@@ -2,124 +2,261 @@
[[!toc levels=2]]
-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
+## Installation procedure
+
+The easiest way to install DragonFly on an eee is to use the USB memory stick image. Download [.img file](http://www.dragonflybsd.org/download/#index1h2), open it with xarchiver (or similar). Then transfer it directly to a USB key. Use dd on unix-like systems (or a similar program on Windows) eg.:
+
+ dd if=/path/to/dfly-i386-2.8.2_REL.img of=/dev/da8 bs=1M
+
+Pressing "Escape" on the BIOS boot screen allows you to select the boot device (use your USB key). After a successful boot, you can install DragonFly on the SSD or SD-card (WARNING: this erases your SSD or SD-card!).
+
+Now follow [this link](http://www.dragonflybsd.org/docs/newhandbook/Installation/) and install DragonFly on your eeepc 900. Note that you don't need any swap nor bootblocks to be installed on your system (unmark those default options).
+
+Altouth it is recommended not to use HAMMER on small drives (below 50GB), you can use HAMMER with eeepc 20GB ssd drive without a problem.
+
+Once DragonFly is installed, reboot and login as root. Now add your user account to wheel and operator group in /etc/group
+
+If your eeepc has 2 ssd drives (4 and 16GB) you need to add the 16GB drive to your DragonFly system.
+
+First list all aveliable drives with:
+
+ # ls /dev/ad*
+
+You will get similar output:
+
+ > ls /dev/ad*
+ /dev/ad2 /dev/ad2s1a /dev/ad3
+ /dev/ad2s1 /dev/ad2s1b /dev/ad3s0
+
+Now repeat this but with following:
+
+ > ls /dev/serno*
+ OS1Q85001000517 OS1Q85001000517.s1a SOQ1580033
+ OS1Q85001000517.s1 OS1Q85001000517.s1b SOQ1580033.s0
+
+In this example we have to add /dev/ad3 called also /serno/SOQ1580033 to hammerfs.
+
+As root, use hammer volume-add utility to expand your hammerfs:
+
+ hammer volume-add /dev/ad3 /
+
+Now you need to edit /boot/loader.conf (this is an example do not copy any rootmounts):
+
+ vfs.root.mountfrom="hammer:serno/OS1Q85001000517.s1b:serno/SOQ1580033"
+ kern.emergency_intr_enable=1
+ if_ath_load="YES" #this will load wifi driver
+ acpi_asus_load="YES" #this will load asus acpi
+ linux_load="YES" #this is needed if you want OpenOffice.org etc
+ snd_hda_load="YES" #this is needed for sound
+
+
+
+Before installing any application (X11) you need to edit your /etc/rc.conf file. Add the following to an existing file:
+
+ smbd_enable="YES" #needed for samba share
+ nmbd_enable="YES" #needed for samba share
+ hostname="yourhostname" #this is the name of your box
+
+ ifconfig_ae0="DHCP" #this is needed for LAN
+ wlans_ath0="wlan0" #this is needed for WLAN
+ ifconfig_wlan0="WPA DHCP" #this is needed for WLAN
+
+ moused_enable="YES" #this is needed for keyboard and touchpad support
+ linux_enable="YES" #this is needed for Openoffice etc
+
+If you have and accss to wifi then create and edit with ee /etc/wpa_supplicant.conf file. Add the following for WPA2 encrypted wifi:
+
+ network={
+ ssid="network name"
+ psk="secret password"
+ }
+
+Edit /etc/host file and add your user name (this is needed for XFCE4 to work without a problem).
+
+ 127.0.0.1 yourname yourname.my.domain
+
+Now you just have to reboot and login again as a user.
+
+If you want to install any applications follow [DragonFly instructions](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/).
+
+I would recommend to use pkgin as long as it is possible and install pkgsrc (just in case it is needed - eg. for libdca-0.0.5 essential for vlc).
+
+Before you can use pkgin you need to feed its config file /usr/pkg/etc/pkgin/repositories.conf with (eg. for pkgsrc-2010Q3 on DF-2.8.2):
+
+ http://avalon.dragonflybsd.org/packages/i386/DragonFly-2.8.2/pkgsrc-2010Q3/All
+
+Remember to disable (#) any other than DragonFly mirrors.
+
+Now you have to update pkgin and upgrade any applications that are already on your system by:
+
+ #pkgin update && pkgin full-upgrade
+
+## Installing X11
+
+For X11, you can follow [DragonFly - Installing X - instructions](http://www.dragonflybsd.org/docs/newhandbook/X/#index3h2) and simply copy attached below xorg.conf file to /etc/X11/ directory (it has full support for mulitimonitor setup).
+
+ # pkgin in modular-xorg-server
+ # pkgin in modular-xorg-drivers
+ # pkgin in modular-xorg-libs
+ # pkgin in modular-xorg-apps
+ # pkgin in modular-xorg-fonts
+
+Ready to use eeepc 900 xorg.conf:
+
+ Section "ServerLayout"
+ Identifier "X.org Configured"
+ Screen 0 "Screen0" 0 0
+ InputDevice "Mouse0" "CorePointer"
+ InputDevice "Keyboard0" "CoreKeyboard"
+ EndSection
+
+ Section "Files"
+ ModulePath "/usr/pkg/lib/xorg/modules"
+ FontPath "/usr/pkg/lib/X11/fonts/misc/"
+ FontPath "/usr/pkg/lib/X11/fonts/TTF/"
+ FontPath "/usr/pkg/lib/X11/fonts/OTF"
+ FontPath "/usr/pkg/lib/X11/fonts/Type1/"
+ FontPath "/usr/pkg/lib/X11/fonts/100dpi/"
+ FontPath "/usr/pkg/lib/X11/fonts/75dpi/"
+ EndSection
+
+ Section "Module"
+ Load "glx"
+ Load "dbe"
+ Load "extmod"
+ Load "dri"
+ Load "dri2"
+ EndSection
+
+ Section "InputDevice"
+ Identifier "Keyboard0"
+ Driver "kbd"
+ #Option "XkbLayout" #"insert your keyboard layout" #for non-english users
+ EndSection
+
+ Section "InputDevice"
+ Identifier "Mouse0"
+ Driver "mouse"
+ Option "Protocol" "auto"
+ Option "Device" "/dev/sysmouse"
+ Option "ZAxisMapping" "4 5 6 7"
+ Option "Protocol" "Auto"
+ Option "Protocol" "/dev/psm0"
+ EndSection
+
+ Section "Monitor"
+ Identifier "Monitor0"
+ VendorName "Monitor Vendor"
+ ModelName "Monitor Model"
+ HorizSync 30-107
+ VertRefresh 48-120
+ Option "DPMS"
+ EndSection
+
+ Section "Device"
+ ### Available Driver options are:-
+ ### Values: : integer, : float, : "True"/"False",
+ ### : "String", : " Hz/kHz/MHz"
+ ### [arg]: arg optional
+ #Option "NoAccel" # []
+ #Option "SWcursor" # []
+ #Option "ColorKey" #
+ #Option "CacheLines" #
+ #Option "Dac6Bit" # []
+ #Option "DRI" # []
+ #Option "NoDDC" # []
+ #Option "ShowCache" # []
+ #Option "XvMCSurfaces" #
+ #Option "PageFlip" # []
+ Identifier "Card0"
+ Driver "intel"
+ VendorName "Unknown Vendor"
+ BoardName "Unknown Board"
+ BusID "PCI:0:2:0"
+ EndSection
+
+ Section "Screen"
+ Identifier "Screen0"
+ Device "Card0"
+ Monitor "Monitor0"
+ SubSection "Display"
+ Viewport 0 0
+ Depth 24
+ Virtual 2048 2048
+ EndSubSection
+ EndSection
+
+ Section "ServerFlags"
+ Option "DontZap" "off"
+ Option "AllowEmptyInput" "off"
+ Option "AutoAddDevices" "off"
+ EndSection
+
+
+## How to mount Windows Shares with a GUI
+
+To mount Windows shares at boot-time can follow [DragonFly instructions on HowToMountWindowsShares](http://www.dragonflybsd.org/docs/howtos/HowToMountWindowsShares/) .
+If you don't want to mount them at boot time you can install gnome-commander (which should also install samba) and gnome-vfs-smb.
+
+ # pkgin in gnome-commander
+ # pkgin in gnome-vfs-smb
+ # pkgin in samba
+
+Now make sure that you have
+
+ smbd_enable="YES"
+ nmbd_enable="YES"
+
+in your rc.conf file.
+
+Pkgin should automatically copy /usr/pkg/share/examples/rc.d/nmbd and cd /usr/pkg/share/examples/rc.d/smbd to /etc/rc.d directory. If it fails manually copy those files as root by:
+
+ # cp /usr/pkg/share/examples/rc.d/smbd /etc/rc.d/smbd
+ # cp cd /usr/pkg/share/examples/rc.d/nmbd /etc/rc.d/nmbd
+
+You can add DragonFly users (and their passwords) for sharing files by:
+
+ # smbpasswd -a username
+
+It is now the time to configure smb.conf file which is located in /usr/pkg/etc/samba.
+
+Now, to start samba deamon type in terminal (as root):
+
+ # /etc/rc.d/smbd start
+ # /etc/rc.d/nmbd start
+
+Open gnome-commander (X11 is essential for this application) and navigate to your Windows share directory (smb button)
+
+## Installing VLC
+
+VLC is a great multimedia player â one of the best available on DragonFly (with pkgsrc-2010Q3 package collection). You can install it by:
+
+ # pkgin in vlc
+
+This will fail to install libdca-0.0.5. Libdca-0.0.5 you should install with pkgsrc collection:
+
+ # cd /usr/pkgsrc/audio/libdca
+ # bmake install clean
+
+If you have no /usr/pkgsrc/audio/libdca directory, then you should install pkgsrc collection by:
+
+ # cd /usr
+ # make pkgsrc-create
+
+After successful installation, go back to /usr/pkgsrc/audio/libdca and repeat libdca installation process with bmake install clean .
+
+
+Following experience is from running DragonFly 2.8.2 on netbook (eeepc 900).
## 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: 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.
+
+Suspend (S3) works but there are some problems with resuming (X11 crashes and touchpad doesn't work after zzz).
+
+For tuning/controlling/monitoring ACPI extras for ASUS laptops you have acpi_asus(4).
+
$ sysctl hw.acpi.asus
hw.acpi.asus.lcd_brightness: 1
hw.acpi.asus.camera: 0
@@ -128,39 +265,24 @@ For tuning/controlling/monitoring ACPI extras for ASUS laptops I have acpi_asus(
## Video controller
-The chipset in use is Intel 945GM.
-
- agp0: on vgapci0
- agp0: detected 7932k stolen memory
- agp0: aperture size is 256M
-
- drm0: 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.
+Video playback is okay. The chipset in use is Intel 945GM.
## Ethernet controller
Works without any problem with ae(4).
- ae0: mem 0xfbfc0000-0xfbffffff irq 11 at device 0.0 on pci3
-
## Wireless card(s)
- ath0: mem 0xfbef0000-0xfbefffff irq 10 at device 0.0 on pci1
-
-works fine
+Works fine
## Audio
-Works without problems.
+Works fine
- 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
-Works with umass.
+Works fine
+
+## Camera
+
+Not supported.