I've always wanted a netbook for OpenBSD. The form factor reminds me of the TS1000, my first computer. I picked up this refurbished Acer Aspire One (D255-1268) for just $229, and have 7 days (5 more now) to return it to the store. So far it's running OpenBSD pretty well, but I found some issues that I'm hoping to resolve:
1. screen blacks out during boot 2. no sound 3. cf reader won't mount 4. can't disable power button 5. resume didn't resume after long wait 6. can't re-enable wi-fi disabling via Fn-F3 7. Fn-F4 ("Zz") doesn't put computer to sleep On a positive note, many things do work: bsd.mp, machdep.lidsuspend, wi-fi, x-windows, sleep/resume, function keys (disable wi-fi radio, switch to external screen, disable trackpad, mute sound, control volume, and control screen brightness), and usb-based cdrom and flash drives). I have not tested the web cam, the built-in ethernet nic, or the "Windows 7" that shipped with the system (haven't even booted it as I'm still decided it to return this machine for another) Note: full `dmesg` output is at bottom. 1. screen blacks out during boot ---------------------------- The screen apparently blanks out while OpenBSD is booting. What's weird is that I'm looking at the screen in very bright light, I can still see the "blue lines" scrolling - so it seems that the LCD backlight is being disabled momentarily. This is completely reproduce-able on my machine and I recall the same happening on another Aspire One model at the store. In case it matters, in both cases I'm booting OpenBSD off a USB pen drive... This is the last line I see before the backlight turns off: uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 This is the first line I see when the backlight turns back on: npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 So, comparing to the `dmesg` below, the following messages are posted while the backlight is off: usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 2. no sound ---------- azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 4 int 19 (irq 11) azalia0: codecs: Realtek ALC272 audio0 at azalia0 As seen above, the device is found, and I've double-checked that sound is not muted and that the volume turned all the way up. Note: the function keys work - that is, they correctly modify the "mute" and "gain" values in the output below (even though I can't hear anything) I know the speaker works because I was able to use it after booting the Parted Magic CD (linux) and running the "Test Audio" application, which produced the normal beep pattern. It detected the audio device as "Intel Corp N10/ICH 7 Family HD Audio Controller (rev 02)". Should OpenBSD should be using the "auich" driver, which is reported to support "ICH7"? - how can I get OpenBSD to use a different driver? # audioctl name=HD-Audio version=1.0 config=azalia0 encodings=slinear_le:16:2:1,slinear_le:20:4:1,slinear_le:24:4:1 properties=full_duplex,independent full_duplex=0 fullduplex=0 blocksize=9600 hiwat=6 lowat=4 output_muted=0 monitor_gain=0 mode= play.rate=48000 play.sample_rate=48000 play.channels=2 play.precision=16 play.bps=2 play.msb=1 play.encoding=slinear_le play.gain=255 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=0 play.samples=0 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=0 play.active=0 play.buffer_size=65536 play.block_size=9600 play.errors=0 record.rate=48000 record.sample_rate=48000 record.channels=2 record.precision=16 record.bps=2 record.msb=1 record.encoding=slinear_le record.gain=120 record.balance=32 record.port=0x0 record.avail_ports=0x0 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 record.block_size=9600 record.errors=0 # mixerctl inputs.dac-0:1=192,192 inputs.dac-4:5=192,192 inputs.dac-2:3=126,126 record.adc-2:3_mute=off record.adc-2:3=120,120 record.adc-0:1_mute=off record.adc-0:1=120,120 inputs.mix_source=mic2 inputs.mix_mic2=120,120 inputs.mix2_source=dac-0:1,mix inputs.mix3_source=dac-4:5,mix inputs.mix4_source=dac-2:3,mix outputs.spkr_source=mix3 outputs.spkr_mute=off outputs.spkr_dir=output outputs.spkr_boost=off outputs.spkr_eapd=on outputs.mic2_source=mix4 outputs.mic2_mute=off inputs.mic2=85,85 outputs.mic2_dir=input-vr80 outputs.hp_source=mix2 outputs.hp_mute=off outputs.hp_boost=off record.adc-0:1_source=mic2,mix,mic record.adc-2:3_source=mic2,mix outputs.mic2_sense=unplugged outputs.hp_sense=unplugged outputs.spkr_muters=mic2,hp outputs.master=255,255 outputs.master.mute=off outputs.master.slaves=dac-0:1,dac-4:5,spkr,hp record.volume=120,120 record.volume.mute=off record.volume.slaves=adc-2:3,adc-0:1 3. cf reader won't mount --------------------- When I plug a SD into the card reader, /var/log/messages shiows: Apr 20 07:33:26 usbbsd /bsd: ugen0 at uhub0 Apr 20 07:33:26 usbbsd /bsd: port 5 "ENE Flash UB6250" rev 2.00/1.00 addr 4 When I unplug it, /var/log/messages shiows: Apr 20 07:33:36 usbbsd /bsd: ugen0 detached Trying to read a flash disk like this is new for me, but I think the above output means that system is aware of the USB device but can't find the driver to support it. I'm not sure if it matters at all, but the disk is formatted with a single 4.2BSD partition. 4. can't disable power button ------------------------- This is more an annoyance for me than anything else, but I keep fat-fingering the power button that is just above the ESC key when in `vim`. This is having the negative effect of gracefully shutting down the system. I'd like to disable this behavior, as I don't really need it when 5. resume didn't resume after long wait --------------------------------- I haven't been able to reproduce this, but yesterday I closed the lid and, when raising it ~5 hours later, the system did not resume. Unfortunately, I didn't try to SSH into it, but I also don't recall the wi-fi radio light being on... 6. can't re-enable wi-fi disabling via Fn-F3 ------------------------------------ Note: this is probably a hardware problem - as Linux presents identical behavior. OpenBSD catches when I turn off the wi-fi radio: Apr 20 08:17:40 usbbsd /bsd: iwn0: RF switch: radio disabled Apr 20 08:17:40 usbbsd /bsd: iwn0: Radio transmitter is off Apr 20 08:17:40 usbbsd dhclient[24573]: routehandler: interface down But there is no response to when turning the radio back on. In fact, `reboot` doesn't bring the radio back on, I must completely shutdown the system for the radio to come back on. 7. Fn-F4 ("Zz") doesn't put computer to sleep -------------------------------------- Note: this is probably a hardware problem - as Linux presents identical behavior. There is no effect when pressing the "Fn-Zz" button - it is suppose to put the computer to sleep... dmesg ------ # dmesg OpenBSD 4.8 (GENERIC.MP) #359: Mon Aug 16 09:16:26 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 80<clock_battery> cpu0: Intel(R) Atom(TM) CPU N550 @ 1.50GHz ("GenuineIntel" 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE real mem = 1061335040 (1012MB) avail mem = 1033990144 (986MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 10/07/10, SMBIOS rev. 2.6 @ 0xe80b0 (36 entries) bios0: vendor Acer version "V3.08(DDR3)" date 10/07/2010 bios0: Acer AOD255 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG SLIC BOOT SSDT WDAT acpi0: wakeup devices UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) ECHI(S3) EXP1(S4) EXP2(S0) EXP3(S4) EXP4(S4) AZAL(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Atom(TM) CPU N550 @ 1.50GHz ("GenuineIntel" 686-class) 1.50 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Atom(TM) CPU N550 @ 1.50GHz ("GenuineIntel" 686-class) 1.50 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Atom(TM) CPU N550 @ 1.50GHz ("GenuineIntel" 686-class) 1.50 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (EXP1) acpiprt2 at acpi0: bus 2 (EXP2) acpiprt3 at acpi0: bus -1 (EXP3) acpiprt4 at acpi0: bus -1 (EXP4) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpicpu2 at acpi0: C3, C2, C1, PSS acpicpu3 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: FN00 acpitz0 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpibat0 at acpi0: BAT0 model "13848633228217409" type Lion oem "SANYO " acpiac0 at acpi0: AC unit offline acpivideo0 at acpi0: OVGA acpivout0 at acpivideo0: DD02 bios0: ROM list: 0xc0000/0xda00! cpu0: Enhanced SpeedStep 1497 MHz: speeds: 1500, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0x40000000, size 0x10000000 inteldrm0 at vga1: apic 4 int 16 (irq 11) drm0 at inteldrm0 "Intel Pineview Video" rev 0x02 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 4 int 19 (irq 11) azalia0: codecs: Realtek ALC272 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 4 int 16 (irq 255) pci1 at ppb0 bus 1 vendor "Attansic Technology", unknown product 0x2060 (class network subclass ethernet, rev 0xc1) at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 4 int 17 (irq 255) pci2 at ppb1 bus 2 iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 1000" rev 0x00: apic 4 int 17 (irq 10), MIMO 1T2R, BGS, address 00:26:c7:97:94:a8 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 4 int 18 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 4 int 20 (irq 10) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 4 int 21 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 4 int 22 (irq 11) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 4 int 22 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 pci3 at ppb2 bus 5 pcib0 at pci0 dev 31 function 0 "Intel Tigerpoint LPC" rev 0x02 ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: apic 4 int 17 (irq 10), AHCI 1.1 ahci0: PHY offline on port 1 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, ST9250315AS, 0001> SCSI3 0/direct fixed sd0: 238475MB, 512 bytes/sec, 488397168 sec total ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 4 int 17 (irq 10) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR3 SDRAM PC3-10600 SO-DIMM usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 mtrr: Pentium Pro MTRR support umass0 at uhub0 port 3 configuration 1 interface 0 "Generic USB2.0-CRW" rev 2.00/19.81 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <Generic-, SD/MMC, 1.00> SCSI0 0/direct removable sd1: 1938MB, 512 bytes/sec, 3970048 sec total uvideo0 at uhub0 port 4 configuration 1 interface 0 "XPA5S2FLZ 1.3M WebCam" rev 2.00/0.09 addr 3 video0 at uvideo0 uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech Trackball" rev 1.10/2.20 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse1 at ums0 mux 0 softraid0 at root root on sd1a swap on sd1b dump on sd1b