OpenBSD Journal

Developer blog - ian@, Less Is More: Acer Aspire One on OpenBSD

Contributed by johan on from the it's-not-the-size-that-counts dept.

Ian Darwin (ian@) sent us the following story about the Acer Aspire One:

We are certainly entering an era of "small is beautiful", at least when it comes to sub-notebooks. Numerous manufacturers are producing these now, as witness this comparison. The Asus EeePC (some models), the Acer Aspire One reviewed here, and the rumoured Lenovo U8 all use the Intel Atom CPU, which is "dual threaded". This looks like a dual-core, and runs GENERIC.MP. Although it's not as powerful as a dual-core, it's close enough that it's faster than many a few-years-old full size laptop. I've been using the Acer for a few weeks, including on a trans-atlantic flight, after several years with a much-heavier full-size industrial-strength notebook. I bought an HP Compaq just before notebook prices tumbled several years ago. I think I paid about C$1200 for my Compaq "R4035", with a single 2.2GHz AMD64 CPU. I paid 1/3 of that for the Acer. It's about 1/6 the weight and yet, being a 1.6GHz dual-threaded i386, it's close to the same speed (for tasks where multi-tasking can be taken advantage of).

Please read on for the rest of Ian's story.

aspire one open

In writing this, I've skipped over a minor semantic issue: What do you call a little notebook like this? I've seen them called notebooks, mini-notebooks, sub-notebooks, "netbooks", ultra-lights, and a few more terms. I just gave it "tiny" as its host name until something better comes along.

Exact model? My retailer had in stock the 512MB with 8GB of flash drive for C$350, or the 1GB with a 120GB real hard disk for only C$50 more. In both cases I knew I'd have to replace the operating system (the 8GB came with Linux and the 120GB came with that silly thing from Redmond). Note that the "120GB" is actually 114473MB, or 234441648 sectors, as reported by our wd(4) driver. After considerable vacilation, I opted for the larger configuration, thinking the extra RAM would be better, if not now then in a year or so. Programs, after all, rarely get smaller over time :-) So mine is a model AOA150. It arrived complete with a "Designed for MS-Windows" sticker (which was last seen adorning a waste basket someplace I was passing through) and an official MS-Windows COA which I plan to peel off carefully and to send in for a refund, as per the MS-Windows EULA. I have never booted MS-Windows on this box and I never will, so this is in legitimate compliance with the EULA. Speaking of removing Windows, this was the second laptop I'd done this to in a few weeks: my university-aged son bought a Lenovo laptop and, in Canada, Lenovo weren't selling them with his chosen system (Ubuntu) at the time he needed it. The question "Do you want to use the entire disk?" has been answered in the affirmative on both machines.

And speaking of windows, OpenBSD's X Window System works nicely out of the box, with no config file needed (thanks Matthieu for that). The native resolution is a slightly strange 1024x600, but text and images are very clear. More importantly, the resolution changes to the more standard size 1024x768 when you start X with an external monitor or projector plugged in, so running presentations (or whatever) works quite well. The only downside is the Acer's monitor remains at 1024x600, so you only see the top 3/4 (600/768 actually) of what the audience is seeing. I'm told this can be worked around with xrandr, but haven't had the motivation to do so yet. The resolution does not change back when you unplug the external monitor, until you restart X. Not always a problem, but a potential issue if you use a window manager with the task bar at bottom (as do KDE & others). And yes, it is quite feasible to run KDE on this thing!

flashy kde

Clearly peripherals and expansion is more limited than a full notebook. There's no built-in CD-ROM, for example, and no room for it. So? The odd time you need it, use an external USB drive. I've actually never needed to do that - I netbooted OpenBSD for installation - just as Music CDs are nearing their end of life, perhaps the lowly CD-ROM is too. There's no Firewire, but we don't support that anyway. The maximum memory is claimed to be 1GB, 1/2 on-board or even on-chip (so our SPDMEM driver does not see it) and 1/2 in a standard SODIMM. Others have reported putting at least 1.5GB in the machine. Anybody for 2.5GB?

With three external USB ports there is plenty of room for the obvious road-warrior peripherals. Carry a mini-mouse (or borrow a full-sized USB mouse when you arrive). Plug in a USB memory stick. Whatever.

Actually, speaking of the mouse, the built-in trackpad works OK, although it's a bit weird in that the buttons are beside, not below, the slider area. The function key to enable/disable the trackpad does work.

In fact the biggest small issue may be the keyboard. While it's afull QWERTY layout, the keys are slightly closer together than on a full-size keyboard, but still quite a bit larger than the Asus EEE. Since I've been typing for four dogs' ages on standard keyboards, it does take me a while to get used to it. I'm still making dumb typos. My fingers' collective favorites include getting stuck in SHIFT LOCK (truly fun in vi), hitting enter instead of | when typing shell commmands, and generally inserting truly random characters. You'll probably find one or two in the finished version of this article, despite my efforts at proof-reading. For heavy-duty typing, you might want to plug in a USB keyboard.

small keyboard

Battery life? My Aspire One came with a three-cell battery. There is a six-cell battery available, which apparently sticks out of the back, and making the unit not fit properly in the little slipcase that comes with it. Even with the hard drive, and the screen stuck at full brightness, battery life is several hours. I've yet to run it down to zero during an accurate time test, but early results I've got indicate that the hard-drive model will run for almost four hours. KDE's klaptopdaemon (under Settings->Power Management, and shown in the lower right in the KDE screenshot given earlier) works from apmd(8); OpenBSD's apmd knows how to talk to ACPI, so it all "just works".

One nice thing about this unit is that it runs on about 35 watts of power. A typical full-size laptop runs on about 90-110 watts; a desktop PC anywhere from 200-600 depending on CPU, memory, disk drive and including an external monitor. The charger or power brick is tiny too - it's almost dwarfed by the UK power or 'mains' plug. The brick runs fairly warm but not hot; my guess is there will be failures here over the lifetime of the unit. But it's a standard part: mine is rated 19VDC, 1.58A, tip positive. What is this 1.58A? One can imagine the arguments in the design meeting: "If we use a 1.58A power supply instead of 1.6, we can save $0.02 on every unit, and only a few will fail during the warranty period...". Or maybe not; maybe that's exactly what it needs, no more.

small brick

Whinging about the power brick aside, it's pretty impressive that the hardware makers continue to make smaller notebooks like these that are still almost fully as functional as their larger counterparts. And it's good that they're largely "standard" PCs, so that open operating systems can run on them. That said, there are some hardware/driver issues outstanding as of 2008-10-10:

  • The built-in wireless network does not work. Our Atheros driver recognizes the chip as an AR5424, but can't quite talk to it. There has been some code in this driver for the 5424 since 2006, but documentation remains sketchy and so these newer chips do not always work. Our wireless guys are working on it - go Reyk! Since the Linux distributed with some versions of this computer apparently works, their binary-blob HAL driver may work (I tried downloading the sources linked to from Asus' site but kept getting dead links). Hopefully the recently open-sourced legacy HAL layer might help. And the lack of a working driver here is not fatal, because the built-in wired networking (re0) works just fine, and I just plug in a USB wireless adapter (rum0) when I need WiFi.
  • The internal 0.3MB web cam does not work today. Guess what - this is "luck of the draw". In looking through the dmesg files (one reason we ask you to send a dmesg to dmesg@ when you get a new computer running), I found that some of the Acer Aspire One computers were shipped with a "Sonix Technology Co., Ltd. USB 2.0 Camera" whereas others, including mine, shipped with a "SuYin Acer Crystal Eye webcam". Unfortunately, the Crystal Eye must have cataract, because I can't see a thing out of it. Luvcview first of all just won't start, because as Marcus found by reading a trace I sent him (thanks!), the Suyin only supports uncompressed format. Trying luvcview with "-f yuv" had promise. Sadly it results in luvcview starting up but showing only garbage. This, too, is being worked on. And again, it's not fatal: there are lots of plug-in USB web cams (with higher resolutions too, like the Logitech 9000), so this can be worked around.
  • Don't be fooled by spdmem(4)'s failure to notice the first half-gig of RAM. This memory is apparently part of the chipset/motherboard, not in a SODIMM module. so spdmem doesn't see it. On my 1GB system, for example, spdmem only reports this:
    spdmem0 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
    
    A more accurate figure comes from the kernel's memory probe:
    OpenBSD 4.4-current (GENERIC.MP) #4: Fri Sep  5 13:23:56 EDT 2008
        root.tiny.darwinsys.com:/usr/src/sys/arch/i386/compile/GENERIC.MP
    RTC BIOS diagnostic error 80
    cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz
    cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,D
    S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR
    real mem  = 1061076992 (1011MB)
    avail mem = 1017499648 (970MB)
    
    Full dmesg here.

When OpenBSD's software issues with the wireless and webcam hardware are solved, this is going to be one sweet lightweight portable. You can read updated status on this laptop near the top of the i386 laptop page at OpenBSD.org. See also:

(Comments are closed)


Comments
  1. By Brad (2001:470:8802:3:20f:b5ff:fe45:7cfe) brad at comstyle dot com on

    Personally I'm a little disappointed with the laptop Atom. Intel brings back Hyper-Threading, but introduces a new CPU without the AMD64 ISA, very weak. Leave it up to Intel to be the only vendor to release a new CPU without AMD64 support.

    Comments
    1. By Mike Swanson (76.121.174.183) on

      What, did Sun and Fujistu suddenly stop SPARC production? :P

      Comments
      1. By Anonymous Coward (2001:470:8802:3:20f:b5ff:fe45:7cfe) brad at comstyle dot com on

        > What, did Sun and Fujistu suddenly stop SPARC production? :P

        Since when did Sun or Fujitsu produce x86 CPUs? Oh, they don't.

    2. By Stryder (75.158.225.189) on

      Not entirely true, the Atom 230 and 330 both have AMD64 support. Only the lower end Z & N series are missing it:

      Atom 230 -> http://processorfinder.intel.com/details.aspx?sSpec=SLB6Z
      Atom 330 (dual-core) -> http://processorfinder.intel.com/details.aspx?sSpec=SLG9Y

      Comments
      1. By Venture37 (venture37) on www.geeklan.co.uk

        > Not entirely true, the Atom 230 and 330 both have AMD64 support. Only the lower end Z & N series are missing it:
        >
        > Atom 230 -> http://processorfinder.intel.com/details.aspx?sSpec=SLB6Z
        > Atom 330 (dual-core) -> http://processorfinder.intel.com/details.aspx?sSpec=SLG9Y

        looks like the 330 wont be making it into the "netbooks"
        http://www.fudzilla.com/index.php?Itemid=35&id=9538&option=com_content&task=view

      2. By Anonymous Coward (2001:470:8802:3:20f:b5ff:fe45:7cfe) brad at comstyle dot com on

        > Not entirely true, the Atom 230 and 330 both have AMD64 support. Only the lower end Z & N series are missing it:

        No, what I said was entirely true. You really need to learn how to read.

      3. By Anonymous Coward (2a01:348:108:100:20e:cff:fe2e:c35a) on

        > Not entirely true, the Atom 230 and 330 both have AMD64 support. Only the lower end Z & N series are missing it:
        >
        > Atom 230 -> http://processorfinder.intel.com/details.aspx?sSpec=SLB6Z
        > Atom 330 (dual-core) -> http://processorfinder.intel.com/details.aspx?sSpec=SLG9Y

        pity, that is the main down-side of the forthcoming MS-9830 board...

    3. By Anonymous Coward (80.249.194.29) on

      I would love it if we could make wireless work. Reyk, if you need testers, give us a nod on misc@

  2. By Anonymous Coward (213.185.19.190) on

    > You'll probably find one or two [typos] in the finished version of this article, despite my efforts at proof-reading.
    ...
    > There is a six-cell battery avaiable...

    *snicker*

    Seriously though, thanks for the article! I'm just in the process of choosing a "mini-laptop" myself. The hardware support (especially for wireless) seems kinda weak at the moment though.

    Comments
    1. By Anonymous Coward (218.214.194.113) on

      > > You'll probably find one or two [typos] in the finished version of this article, despite my efforts at proof-reading.
      > ...
      > > There is a six-cell battery avaiable...
      >
      > *snicker*
      >
      > Seriously though, thanks for the article! I'm just in the process of choosing a "mini-laptop" myself. The hardware support (especially for wireless) seems kinda weak at the moment though.

      Do you know anything about the Aldi one? They say it is Atom 1.6GHz, 160GB SATA, 1 GB RAM, 10"TFT, mini-USB Bluetooth, XP(SP3), 1.2kg, "Fast" wireless ?? (802.11b/g draft N)

      Goes on sale in Australia next Thursday. $AUD599 (~$US400).

      Comments
      1. By Anonymous Coward (87.78.147.128) on

        > > > You'll probably find one or two [typos] in the finished version of this article, despite my efforts at proof-reading.
        > > ...
        > > > There is a six-cell battery avaiable...
        > >
        > > *snicker*
        > >
        > > Seriously though, thanks for the article! I'm just in the process of choosing a "mini-laptop" myself. The hardware support (especially for wireless) seems kinda weak at the moment though.
        >
        > Do you know anything about the Aldi one? They say it is Atom 1.6GHz, 160GB SATA, 1 GB RAM, 10"TFT, mini-USB Bluetooth, XP(SP3), 1.2kg, "Fast" wireless ?? (802.11b/g draft N)
        >
        > Goes on sale in Australia next Thursday. $AUD599 (~$US400).
        >
        >

        Those are rebranded MSI netbooks.

    2. By jason (jason) on http://www.dixongroup.net/

      > > You'll probably find one or two [typos] in the finished version of this article, despite my efforts at proof-reading.
      > ...
      > > There is a six-cell battery avaiable...
      >
      > *snicker*

      Fixed.

  3. By marco (66.171.234.145) on

    You'll probably find one or two in the finished version of this article

    s/i368/i386/

    Comments
    1. By Anonymous Coward (62.101.126.237) on

      > You'll probably find one or two in the finished version of this article
      > s/i368/i386/
      There is a little bit of confusion...

      s/Asus Aspire One/Acer Aspire One/
      s/Acer EEE/Asus EEE/

      Comments
      1. By jason (jason) on http://www.dixongroup.net/

        > There is a little bit of confusion...
        >
        > s/Asus Aspire One/Acer Aspire One/
        > s/Acer EEE/Asus EEE/

        Fixed.

    2. By jason (jason) on http://www.dixongroup.net/

      > You'll probably find one or two in the finished version of this article
      > s/i368/i386/

      Fixed.

  4. By David Chisnall (82.7.199.50) on

    The machine in this segment that comes closes to being what I want is the OpenPandora. Unfortunately, it comes with Linux, and my experience with Linux on ARM is something I'm not keen to repeat. I've seen a lot of progress with the various OpenBSD ARM ports recently, and I wondered if anyone's working on this platform. The OMAP3530 is a much more interesting chip than anything Intel has put out for quite a few years.

    Comments
    1. By Victor (24.153.130.130) on

      > ...wondered if anyone's working on this platform. The OMAP3530 is a much more interesting chip than anything Intel has put out for quite a few years.

      Not a portable but based on the OMAP3530 and only $149US is the beagleboard.org. HD Video and Linux ditribution, looks interesting.

  5. By Matthew Dempsky (69.181.125.73) on

    > Note that the "120GB" is actually 114473MB, or 234441648 sectors

    I'm glad they understand that G means 10^9. :)

    Comments
    1. By Ed Ahlsen-Girard (204.49.40.232) ed.ahlsen-girard@tybrin.com on

      > > Note that the "120GB" is actually 114473MB, or 234441648 sectors
      >
      > I'm glad they understand that G means 10^9. :)

      Does anyone still say "milliard"?

  6. By Anonymous Coward (207.192.72.46) on

    Ian,

    Thanks for this write up. I have the 8GB Linux version of the Acer Aspire One and have been debating whether to try OpenBSD on it -- because indeed, this machine completely rocks. Thanks to your post, I'll think I'll give it a shot.

    Cheers!

  7. By Anonymous Coward (89.77.225.214) on

    anyone have comments/comparisons concerning the MSI Wind? (Obviously, without flatulence jokes:)

    Comments
    1. By cruel (82.193.122.60) on

      > anyone have comments/comparisons concerning the MSI Wind? (Obviously, without flatulence jokes:)

      http://jcs.org/laptops/wind/

      Comments
      1. By Anonymous Coward (89.77.225.214) on


        > http://jcs.org/laptops/wind/
        >

        cheers :)

  8. By Anonymous Coward (204.176.49.46) on

    Nice laptop, but man, that's one of the ugliest desktops I've ever seen.

  9. By deNiros (217.136.209.137) on

    Nice you can run openBSD on it, but modules not working is not a minor issue with these kind of devices, since netbooks suppose to be small and ultra portable.

    When you then need to mount extra devices like a wifi stick, or webcam (when u need a thing like that) to make it fully functional again makes it a bit less convenient.

    Would be nice to see a follow up where at least the internal wifi (which already works in most linux distro with the MADWiFi (ath_pci) driver) just work.


  10. By Tony Bruguier (bruguiea) tony.bruguier@gmail.com on http://www.bruguier.com

    Hello,

    I recently bought an Aspire One 532h netbook [1] and I installed OpenBSD 4.6 (I actually downloaded the iso from a shady site, but I did pre-order 4.7, so please don't beat on me).

    Unlike you, I currenty have a problem with X11. The command startx fails with the messages:
    (EE) intel(0): /dev/agpgart is either not available, or no memory is available for allocation. Please enable agpgart
    (EE) intel(0): AGP GART support is either not available or cannot be used. Make sure your kernel has agpgart support or has the agpgart module loaded
    (EE) intel(0): Couldn't allocate video memory

    This happens when the file /etc/X11/xorg.conf is not present, which from what I understand means that it's "auto config." If I try to let Xorg create a configuration file, it still fails with similar messages. I have tried to play with the file, inspiring myself from several examples [3,4,5].

    Now, I would try to enable AGP GART, but it seems it's been in for a long time [6]. Please let me know what to do. Sorry if it's simple, but I am new to X11 and OpenBSD. I did try Ubuntu and the screen works just fine, but I'd rather check out OpenBSD.

    Thanks in advance,
    Tony

    [1] http://us.acer.com/acer/productv.do?LanguageISOCtxParam=en&kcond61e.c2att101=72644&sp=page16e&ctx2.c2att1=25&link=ln438e&CountryISOCtxParam=US&ctx1g.c2att92=843&ctx1.att21k=1&CRC=1682517101#wrAjaxHistory=1

    [3] http://wiki.netbsd.se/Acer_Aspire_one

    [4] http://wiki.archlinux.org/index.php/Acer_Aspire_One#.2Fetc.2FX11.2Fxorg.conf

    [5] http://www.backtrack-linux.org/forums/beginners-forum/1230-incorrect-resoltuion-acer-aspire-one-532h.html

    [6] http://www.google.com/search?q=agp+gart&domains=www.openbsd.org&sitesearch=www.openbsd.org&btnG=Search

Latest Articles

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]