Acer Aspire One

From NetBSD Wiki

(Redirected from Acer Aspire one)
Jump to: navigation, search
Acer Aspire one

I got the change to get a short grip on the new Acer Aspire one. It was preinstalled with some kind of Windows XP and I had about an hour to test it out, here are the results. If you manage to get one - Please keep this wiki page updated or send me suggestions. Thank you.

Contents

Hardware specifications

The Acer Aspire one is one of the newer generations of the netbooks. It has a Intel Atom N270 (1,6 GHz) processor, the RAM size depends on the model type, it varies from 512mb to 1.5gb. The display size is 8.9", the resolution is 1024x600 pixels. It's shipped with a flash memory as disk or if you order the WindowsXP model with a 120gb harddrive. It has a dedicated card reader (SD, MMC, MS, MS Pro, xD) builtin. The network connectivity can be established via wlan (54MBit) or via 100MBit cable.It's powered by a accu with 3 cells, 2200 mAH. This laptop has a builtin webcam with 0.3 megapixel. It's weight is about 1kg.

Xorg

I've tested xorg from modular-xorg, pkgsrc-build. The configuration was straight forward, just a special Modeline was needed. Please add the modeline line to your Monitor section.

Section "Monitor"
        [...]
        Modeline "1024x600" 50.40 1024 1048 1184 1344 600 600 619 625
EndSection

Another option is to add the display size explicitly:

Section "Monitor"
        Identifier      "monitor" 
        DisplaySize     195 113                 # DPI: 96 x 96.
EndSection

To use this mode, the Screen section has to be altered as well.

Section "Screen"
        [...]
        DefaultDepth 24
        SubSection "Display"
                [...]
                Depth     24
                Modes "1024x600" "800x600" "640x480"
        EndSubSection
EndSection

The Direct Rendering Infrastructure (DRI) works by following the instructions in drm(4). Note that if you plan to run recent -current, the i915drm kernel module must be loaded.

ACPI

Advanced Configuration and Power Interface (ACPI) works very well on Aspire One. Suspend/resume works flawlessly in 5.0. While most of the function keys work, the sleep-button is among the dysfunctional ones. Because of this, a good compromise is to edit the powerd(8) scripts so that the netbook suspends when the lid is closed. This is not so much of a drawback since resuming is extremely fast.

Also dynamic CPU frequency scaling works in 5.0:

cpu0 at mainbus0 apid 0: Intel 686-class, 1596MHz, id 0x106c2
cpu0: Enhanced SpeedStep (1276 mV) 1600 MHz
cpu0: Enhanced SpeedStep frequencies available (MHz): 1600 1467 1333 1200 1067 933 800

You can use sysctl to adjust the frequency manually or you can let sysutils/estd to do it dynamically.

(See How_to_balance_CPU_performance,_temperature_and_power_drawn.)

webcam

The webcam works in 5.0. You can test it with mplayer, for an example:

mplayer -tv driver=v4l2:fps=15 -vo xv tv://

ath0/wireless hints

While ath(4) should work on relatively recent -current, it does not unfortunately work in the 5.0 release. For this release you need to apply the following patch:

This should apply cleanly to the 5.0 source tree. After that just compile the kernel as usual and your wireless card will show up.

The mentioned changes in ath(4) have been pulled to NetBSD 5 stable branch. Both wired and wireless networking should now work without patching in the upcoming maintenance release 5.1.

dmesg

 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.
 
 NetBSD 4.99.72 (USB_STICK) #1: Thu Oct  9 10:29:19 CEST 2008
 	root@hobbes.br.de:/usr/obj/sys/arch/i386/compile/USB_STICK
 total memory = 1011 MB
 avail memory = 983 MB
 timecounter: Timecounters tick every 10.000 msec
 RTC BIOS diagnostic error 80<clock_battery>
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 Acer AOA150 (1)
 mainbus0 (root)
 cpu0 at mainbus0 apid 0: Intel 686-class, 1596MHz, id 0x106c2
 cpu1 at mainbus0 apid 1: Intel 686-class, 1596MHz, id 0x106c2
 ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 20, 24 pins
 acpi0 at mainbus0: Intel ACPICA 20080321
 acpi0: X/RSDT: OemId <INTEL ,Napa    ,00000001>, AslId <    ,01000013>
 acpi0: SCI interrupting at int 9
 acpi0: fixed-feature power button present
 timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 ACPI-Fast 24-bit timer
 acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
 acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 acpibat0 at acpi0 (BAT1, PNP0C0A-0): ACPI Battery (Control Method)
 acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter
 hpet0 at acpi0 (HPET, PNP0103)
 hpet0: mem 0xfed00000-0xfed003ff irq 0,8
 timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
 npx1 at acpi0 (FPU, PNP0C04)
 npx1: io 0xf0 irq 13
 npx1: reported by CPUID; using exception 16
 attimer1 at acpi0 (TIMR, PNP0100): AT Timer
 attimer1: io 0x40-0x43,0x50-0x53
 FWHD (INT0800) at acpi0 not configured
 pckbc1 at acpi0 (KBC, PNP0303): kbd port
 pckbc1: io 0x60,0x64 irq 1
 pckbc2 at acpi0 (MOUE, PNP0F13): aux port
 pckbc2: irq 12
 acpiec0 at acpi0 (EC0, PNP0C09): ACPI Embedded Controller
 acpiec0: io 0x62,0x66
 WMID (PNP0C14) at acpi0 not configured
 apm0 at acpi0: Power Management spec V1.2
 pckbd0 at pckbc1 (kbd slot)
 pckbc1: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc1 (aux slot)
 pms0: Synaptics touchpad version 7.2
 pms0: Palm detect
 pckbc1: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 pchb0 at pci0 dev 0 function 0
 pchb0: vendor 0x8086 product 0x27ac (rev. 0x03)
 agp0 at pchb0: detected 7932k stolen memory
 agp0: aperture at 0x40000000, size 0x10000000
 vga1 at pci0 dev 2 function 0: vendor 0x8086 product 0x27ae (rev. 0x03)
 wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
 wsmux1: connecting to wsdisplay0
 drm at vga1 not configured
 vendor 0x8086 product 0x27a6 (miscellaneous display, revision 0x03) at pci0 dev 2 function 1 not configured
 azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
 azalia0: interrupting at ioapic0 pin 16
 azalia0: host: 0x8086/0x27d8 (rev. 2), HDA rev. 1.0
 ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x27d0 (rev. 0x02)
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled
 ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x27d2 (rev. 0x02)
 pci2 at ppb1 bus 2
 pci2: i/o space, memory space enabled
 re0 at pci2 dev 0 function 0: RealTek 8100E/8101E/8102E/8102EL PCIe 10/100BaseTX (rev. 0x02)
 re0: interrupting at ioapic0 pin 17
 re0: Ethernet address 00:1e:68:ac:3a:e5
 re0: using 256 tx descriptors
 rlphy0 at re0 phy 7: RTL8201L 10/100 media interface, rev. 1
 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ppb2 at pci0 dev 28 function 2: vendor 0x8086 product 0x27d4 (rev. 0x02)
 pci3 at ppb2 bus 3
 pci3: i/o space, memory space enabled
 ath0 at pci3 dev 0 function 0
 ath0: interrupting at ioapic0 pin 18
 ath0: unable to attach hardware; HAL status 13
 ppb3 at pci0 dev 28 function 3: vendor 0x8086 product 0x27d6 (rev. 0x02)
 pci4 at ppb3 bus 4
 pci4: i/o space, memory space enabled
 uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x27c8 (rev. 0x02)
 uhci0: interrupting at ioapic0 pin 16
 usb0 at uhci0: USB revision 1.0
 uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x27c9 (rev. 0x02)
 uhci1: interrupting at ioapic0 pin 17
 usb1 at uhci1: USB revision 1.0
 uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x27ca (rev. 0x02)
 uhci2: interrupting at ioapic0 pin 18
 usb2 at uhci2: USB revision 1.0
 uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x27cb (rev. 0x02)
 uhci3: interrupting at ioapic0 pin 19
 usb3 at uhci3: USB revision 1.0
 ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x27cc (rev. 0x02)
 ehci0: interrupting at ioapic0 pin 16
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
 usb4 at ehci0: USB revision 2.0
 ppb4 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xe2)
 pci5 at ppb4 bus 5
 pci5: i/o space, memory space enabled
 pcib0 at pci0 dev 31 function 0
 pcib0: vendor 0x8086 product 0x27b9 (rev. 0x02)
 piixide0 at pci0 dev 31 function 2
 piixide0: Intel 82801GBM/GHM Serial ATA Controller (ICH7) (rev. 0x02)
 piixide0: bus-master DMA support present
 piixide0: primary channel wired to compatibility mode
 piixide0: primary channel interrupting at ioapic0 pin 14
 atabus0 at piixide0 channel 0
 piixide0: secondary channel wired to compatibility mode
 piixide0: secondary channel interrupting at ioapic0 pin 15
 atabus1 at piixide0 channel 1
 ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x27da (rev. 0x02)
 ichsmb0: interrupting at ioapic0 pin 17
 iic0 at ichsmb0: I2C bus
 isa0 at pcib0
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker (CPU-intensive output)
 sysbeep0 at pcppi0
 attimer1: attached to pcppi0
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 azalia0: codec[0]: Realtek ALC268 (rev. 1.1), HDA rev. 1.0
 audio0 at azalia0: full duplex, independent
 acpiacad0: AC adapter offline.
 uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhub3 at usb3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub3: 2 ports with 2 removable, self powered
 uhub4 at usb4: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub4: 8 ports with 8 removable, self powered
 acpibat0: battery info: SIMPLO, LION, UM08A71 0302
 acpibat0: battery info: SIMPLO, LION, UM08A71 0302
 umass0 at uhub4 port 1 configuration 1 interface 0
 umass0: USBest Technology USB Mass Storage Device, rev 2.00/1.00, addr 2
 umass0: using SCSI over Bulk-Only
 scsibus0 at umass0: 2 targets, 1 lun per target
 sd0 at scsibus0 target 0 lun 0: <Ut163, USB2FlashStorage, 0.00> disk removable
 sd0: 963 MB, 500 cyl, 8 head, 32 sec, 512 bytes/sect x 1974271 sectors
 uvideo0 at uhub4 port 5 configuration 1 interface 0: SuYin Acer Crystal Eye webcam, rev 2.00/0.01, addr 3
 video0 at uvideo0: SuYin Acer Crystal Eye webcam, rev 2.00/0.01, addr 3
 wd0 at atabus0 drive 0: <ST9120817AS>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
 Kernelized RAIDframe activated
 pad0: outputs: 44100Hz, 16-bit, stereo
 audio1 at pad0: half duplex
 boot device: sd0
 root on sd0a dumps on sd0b
 wsdisplay0: screen 1 added (80x25, vt100 emulation)
 wsdisplay0: screen 2 added (80x25, vt100 emulation)
 wsdisplay0: screen 3 added (80x25, vt100 emulation)
 wsdisplay0: screen 4 added (80x25, vt100 emulation)

xorg.conf (for reference)

 Section "ServerLayout"
 	Identifier     "X.org Configured"
 	Screen      0  "Screen0" 0 0
 	InputDevice    "Mouse0" "CorePointer"
 	InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection
 
 Section "Files"
 	RgbPath      "/usr/pkg/share/X11/rgb"
 	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  "dbe"
 	Load  "dri"
 	Load  "extmod"
 	Load  "record"
 	Load  "xtrap"
 	Load  "freetype"
 	Load  "type1"
 EndSection
 
 Section "InputDevice"
 	Identifier  "Keyboard0"
 	Driver      "kbd"
 	Option	"XkbModel"	"pc102"
 	Option	"XkbLayout"	"de"
 EndSection
 
 Section "InputDevice"
 	Identifier  "Mouse0"
 	Driver      "mouse"
 	Option	    "Protocol" "wsmouse"
 	Option	    "Device" "/dev/wsmouse"
 	Option	    "ZAxisMapping" "4 5 6 7"
 EndSection
 
 Section "Monitor"
 	#DisplaySize	  200   110	# mm
 	Identifier   "Monitor0"
 	VendorName   "AUO"
 	ModelName    "11c2"
 	Modeline "1024x600" 50.40 1024 1048 1184 1344 600 600 619 625
 EndSection
 
 Section "Device"
 	Identifier  "Card0"
 	Driver      "intel"
 	VendorName  "Intel Corporation"
 	BoardName   "Unknown Board"
 	BusID       "PCI:0:2:0"
 EndSection
 
 Section "Screen"
 	Identifier "Screen0"
 	Device     "Card0"
 	Monitor    "Monitor0"
 	DefaultDepth 24
 	SubSection "Display"
 		Viewport   0 0
 		Depth     24
 		Modes "1024x600" "800x600" "640x480"
 	EndSubSection
 EndSection
Personal tools