Home arrow FreeBSD Hardware arrow FreeBSD on Acer Aspire One
FreeBSD on Acer Aspire One PDF
Saturday, 25 April 2009

This section is about FreeBSD Installation and Configuration on Acer Aspire One (FreeBSD 7.1 prerelease).

Acer Aspire One FreeBSD Login Screen



Network adapter
-----------------
Network Card: is detected automaticaly as re0 device.


Wifi adapter
-------------
Wifi can be installed easely by using a patch to ath driver.
Current ath HAL driver does not have support for PCIE so you will need to download patched driver from here: Wifi Hal Driver or get latest version from:

http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/


After that unarchive it and copy only the content of folder hal (from the directory where you've unarchived) to /usr/src/sys/contrib/dev/ath.

Then recompile the kernel install it and reboot.
Then your network card will be detected and will aork as ath0 device.

Here is a configuration line from rc.conf for ath0 device:

ifconfig_ath0="authmode shared ssid wifi wepmode on weptxkey 1 wepkey 1:0xaffff5343753473271354655aa 10.0.0.2 netmask 255.255.255.0"

Of course you should replace SSID, WEP Key and IP/Subnet with your values.

You must also add the following lines to /boot/loader.conf:

/boot/loader.conf
  1. wlan_scan_ap_load="YES"
  2. wlan_scan_sta_load="YES"
  3. wlan_wep_load="YES"


X.org Configuration
--------------------

xorg.config
  1. Section "ServerFlags"
  2.   Option "DontZap" "yes"
  3.   Option "DontVTSwitch" "yes"
  4. EndSection
  5.  
  6. Section "ServerLayout"
  7.   Identifier     "Default Layout"
  8.   Screen      0  "Screen0" 0 0
  9.   InputDevice    "Synaptics_Touchpad" "CorePointer"
  10.   InputDevice    "Keyboard0" "CoreKeyboard"
  11. EndSection
  12.  
  13. Section "InputDevice"
  14.   Identifier  "Keyboard0"
  15.   Driver      "kbd"
  16.   Option      "XkbModel" "pc105"
  17.         Option      "XkbLayout" "us(euro),gb"
  18.         Option      "XkbOptions" "grp:alt_shift_toggle"
  19. EndSection
  20.  
  21.  
  22. Section "InputDevice"
  23.     Option "Protocol"    "Auto"  # Auto detect
  24.     Option "Device"      "/dev/sysmouse"
  25.  
  26.        Identifier  "Synaptics_Touchpad"        # "Mouse0"
  27.         Driver      "synaptics"                 # "mouse"
  28.         Option      "Protocol" "psm"            # "auto"
  29.  
  30.         Option      "Device" "/dev/psm0"        # "/dev/sysmouse"
  31. EndSection
  32.  
  33.  
  34. Section "Monitor"
  35.   Identifier  "Monitor0"
  36.   Modeline  "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622 -HSync +VSync
  37.   DisplaySize  250 120
  38. EndSection
  39.  
  40. Section "Device"
  41.   Identifier  "Videocard0"
  42.   Driver      "intel"
  43.   Option      "Clone" "true"
  44.   Option  "MonitorLayout"  "LVDS,VGA"
  45.   BusID  "PCI:0:2:0"
  46.   Option     "NoDDC"
  47.   Option "AccelMethod" "exa"
  48.   Option "MigrationHeuristic" "greedy" 
  49. EndSection
  50.  
  51. Section "Screen"
  52.   Identifier "Screen0"
  53.   Device     "Videocard0"
  54.   Monitor      "Monitor0"
  55.   DefaultDepth     24
  56.   SubSection "Display"
  57.     Viewport   0 0
  58.     Depth     24
  59.     Modes    "1024x600" "800x600" "640x480"
  60.     Virtual  1024 768
  61.   EndSubSection
  62. EndSection

 

Acer Aspire One FreeBSD X.org config



Mouse Configuration
---------------------

rc.conf
  1. moused_enable="YES"
  2. moused_flags="-3"
  3. moused_port="/dev/psm0"
  4. moused_type="auto"
  5. moused_enable="YES"



TouchPad Configuration
------------------------

To add support for your touch pad (if you don't it will be very anoyng in x.org, some things will not work properly like double tapping) you must do the following:

Install synaptics port/package
cd /usr/ports/x11-drivers/synaptics
make install clean

cd /usr/ports/sysutils/ksynaptics
make install clean

Add the following line to /boot/loader.conf:

hw.psm.synaptics_support=1


After reboot you should have the following line at dmesg messages (dmesg | grep psm):

psm0: model Synaptics Touchpad, device ID 0


Also look at previous settings for x.org (xorg.conf), some config must be done there too.


Sound
--------

Add the following line to /boot/loader.conf:
snd_hda_load="YES"

Acer Aspire One FreeBSD Sound




ACPI
-----
Is partialy working. When you boot and you have a 10 seconds countdown do not press enter but wait for countdown to finish. If you press enter sometimes it locks up and you must power off/on from the power button.

For power management you could use the following settings:

/boot/loader.conf
  1. debug.cpufreq.lowest=600
  2. dev.cpu.0.cx_lowest=C3
  3. dev.cpu.1.cx_lowest=C2

and

/etc/rc.conf
  1. powerd_enable="YES"
  2. powerd_flags="-a maximum -b adaptive -i 85 -r 60 -p 100"

When you close the lid it does not go to standby.


Card Reader
-------------
Card reader was not tested yet.


Here is a complete dmesg output:

/var/run/dmesg.boot
  1. Copyright (c) 1992-2008 The FreeBSD Project.
  2. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  3.   The Regents of the University of California. All rights reserved.
  4. FreeBSD is a registered trademark of The FreeBSD Foundation.
  5. FreeBSD 7.1-PRERELEASE #1: Sat Nov 22 18:54:11 EET 2008
  6.     :/usr/src/sys/i386/compile/MOBILE
  7. Timecounter "i8254" frequency 1193182 Hz quality 0
  8. CPU: Intel(R) Atom(TM) CPU N270   @ 1.60GHz (1599.21-MHz 686-class CPU)
  9.   Origin = "GenuineIntel"  Id = 0x106c2  Stepping = 2
  10.   Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
  11. CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  12.   Features2=0x40c39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,xTPR,PDCM,<b22>>
  13.   AMD Features2=0x1<LAHF>
  14.   Logical CPUs per core: 2
  15. real memory  = 1062141952 (1012 MB)
  16. avail memory = 1025052672 (977 MB)
  17. ACPI APIC Table: <INTEL  Napa    >
  18. FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  19.  cpu0 (BSP): APIC ID:  0
  20.  cpu1 (AP): APIC ID:  1
  21. ioapic0: Changing APIC ID to 4
  22. ioapic0 <Version 2.0> irqs 0-23 on motherboard
  23. kbd1 at kbdmux0
  24. ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417)
  25. cryptosoft0: <software crypto> on motherboard
  26. acpi0: <INTEL Napa> on motherboard
  27. acpi0: [ITHREAD]
  28. acpi0: Power Button (fixed)
  29. Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
  30. acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
  31. acpi_ec0: <Embedded Controller: GPE 0x17> port 0x62,0x66 on acpi0
  32. acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
  33. Timecounter "HPET" frequency 14318180 Hz quality 900
  34. acpi_button0: <Power Button> on acpi0
  35. acpi_lid0: <Control Method Lid Switch> on acpi0
  36. acpi_button1: <Sleep Button> on acpi0
  37. battery0: <ACPI Control Method Battery> on acpi0
  38. acpi_acad0: <AC Adapter> on acpi0
  39. pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
  40. pci0: <ACPI PCI bus> on pcib0
  41. vgapci0: <VGA-compatible display> port 0x60c0-0x60c7 mem 0x58480000-0x584fffff,
  42. 0x40000000-0x4fffffff,0x58500000-0x5853ffff irq 16 at device 2.0 on pci0
  43. agp0: <Intel 945GME SVGA controller> on vgapci0
  44. agp0: detected 7932k stolen memory
  45. agp0: aperture size is 256M
  46. vgapci1: <VGA-compatible display> mem 0x58400000-0x5847ffff at device 2.1 on pci0
  47. pci0: <multimedia> at device 27.0 (no driver attached)
  48. pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
  49. pci1: <ACPI PCI bus> on pcib1
  50. pcib2: <ACPI PCI-PCI bridge> at device 28.1 on pci0
  51. pci2: <ACPI PCI bus> on pcib2
  52. re0: <RealTek 8101E/8102E/8102EL PCIe 10/100baseTX> port 0x3000-0x30ff mem 0x51010000-
  53. 0x51010fff,0x51000000-0x5100ffff irq 17 at device 0.0 on pci2
  54. re0: turning off MSI enable bit.
  55. re0: Chip rev. 0x24800000
  56. re0: MAC rev. 0x00200000
  57. miibus0: <MII bus> on re0
  58. rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus0
  59. rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  60. re0: Ethernet address: 00:23:8b:0f:ba:e8
  61. re0: [FILTER]
  62. pcib3: <ACPI PCI-PCI bridge> at device 28.2 on pci0
  63. pci3: <ACPI PCI bus> on pcib3
  64. ath0: <Atheros 5424/2424> mem 0x55200000-0x5520ffff irq 18 at device 0.0 on pci3
  65. ath0: [ITHREAD]
  66. ath0: WARNING: using obsoleted if_watchdog interface
  67. ath0: Ethernet address: 00:23:4d:d4:1c:1d
  68. ath0: mac 14.2 phy 7.0 radio 10.2
  69. pcib4: <ACPI PCI-PCI bridge> at device 28.3 on pci0
  70. pci4: <ACPI PCI bus> on pcib4
  71. uhci0: <UHCI (generic) USB controller> port 0x6080-0x609f irq 16 at device 29.0 on pci0
  72. uhci0: [GIANT-LOCKED]
  73. uhci0: [ITHREAD]
  74. usb0: <UHCI (generic) USB controller> on uhci0
  75. usb0: USB revision 1.0
  76. uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
  77. uhub0: 2 ports with 2 removable, self powered
  78. uhci1: <UHCI (generic) USB controller> port 0x6060-0x607f irq 17 at device 29.1 on pci0
  79. uhci1: [GIANT-LOCKED]
  80. uhci1: [ITHREAD]
  81. usb1: <UHCI (generic) USB controller> on uhci1
  82. usb1: USB revision 1.0
  83. uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
  84. uhub1: 2 ports with 2 removable, self powered
  85. uhci2: <UHCI (generic) USB controller> port 0x6040-0x605f irq 18 at device 29.2 on pci0
  86. uhci2: [GIANT-LOCKED]
  87. uhci2: [ITHREAD]
  88. usb2: <UHCI (generic) USB controller> on uhci2
  89. usb2: USB revision 1.0
  90. uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
  91. uhub2: 2 ports with 2 removable, self powered
  92. uhci3: <UHCI (generic) USB controller> port 0x6020-0x603f irq 19 at device 29.3 on pci0
  93. uhci3: [GIANT-LOCKED]
  94. uhci3: [ITHREAD]
  95. usb3: <UHCI (generic) USB controller> on uhci3
  96. usb3: USB revision 1.0
  97. uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
  98. uhub3: 2 ports with 2 removable, self powered
  99. ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0x58544400-0x585447ff
  100. irq 16 at device 29.7 on pci0
  101. ehci0: [GIANT-LOCKED]
  102. ehci0: [ITHREAD]
  103. usb4: EHCI version 1.0
  104. usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
  105. usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
  106. usb4: USB revision 2.0
  107. uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
  108. uhub4: 8 ports with 8 removable, self powered
  109. ugen0: <SuYin Acer Crystal Eye webcam, class 239/2, rev 2.00/0.01, addr 2> on uhub4
  110. pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
  111. pci5: <ACPI PCI bus> on pcib5
  112. isab0: <PCI-ISA bridge> at device 31.0 on pci0
  113. isa0: <ISA bus> on isab0
  114. atapci0: <Intel ICH7M SATA300 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,
  115. 0x60a0-0x60af irq 17 at device 31.2 on pci0
  116. ata0: <ATA channel 0> on atapci0
  117. ata0: [ITHREAD]
  118. ata1: <ATA channel 1> on atapci0
  119. ata1: [ITHREAD]
  120. pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
  121. atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
  122. atkbd0: <AT Keyboard> irq 1 on atkbdc0
  123. kbd0 at atkbd0
  124. atkbd0: [GIANT-LOCKED]
  125. atkbd0: [ITHREAD]
  126. psm0: <PS/2 Mouse> irq 12 on atkbdc0
  127. psm0: [GIANT-LOCKED]
  128. psm0: [ITHREAD]
  129. psm0: model Synaptics Touchpad, device ID 0
  130. cpu0: <ACPI CPU> on acpi0
  131. est0: <Enhanced SpeedStep Frequency Control> on cpu0
  132. p4tcc0: <CPU Frequency Thermal Control> on cpu0
  133. cpu1: <ACPI CPU> on acpi0
  134. est1: <Enhanced SpeedStep Frequency Control> on cpu1
  135. p4tcc1: <CPU Frequency Thermal Control> on cpu1
  136. pmtimer0 on isa0
  137. orm0: <ISA Option ROM> at iomem 0xcf000-0xcffff pnpid ORM0000 on isa0
  138. ppc0: parallel port not found.
  139. sc0: <System console> at flags 0x100 on isa0
  140. sc0: VGA <16 virtual consoles, flags=0x300>
  141. sio0: configured irq 4 not in bitmap of probed irqs 0
  142. sio0: port may not be enabled
  143. sio0: configured irq 4 not in bitmap of probed irqs 0
  144. sio0: port may not be enabled
  145. sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
  146. sio0: type 8250 or not responding
  147. sio0: [FILTER]
  148. sio1: configured irq 3 not in bitmap of probed irqs 0
  149. sio1: port may not be enabled
  150. vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
  151. ums0: <A4Tech PS/2+USB Mouse, class 0/0, rev 1.10/0.01, addr 2> on uhub0
  152. ums0: 8 buttons and Z dir.
  153. Timecounters tick every 1.000 msec
  154. ad0: 152627MB <WDC WD1600BEVT-22ZCT0 11.01A11> at ata0-master SATA150
  155. SMP: AP CPU #1 Launched!
  156. Trying to mount root from ufs:/dev/ad0s1a

 

Last Updated ( Friday, 18 May 2012 )
 

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?