Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-10 Thread mlambda
On Fri, 2012-07-06 at 10:00 +, Stuart Henderson wrote:
 On 2012-07-04, mlambda mlam...@gmail.com wrote:
  Sometimes the touchpad doesn't work (the two buttons work, but the
  cursor doesn't move), unfortunately this doesn't seem to be reproducible
  and can only be fixed by rebooting.
 
 I suspect there is probably a timing issue with the hardware that we
 hit occasionally, I see it from time to time (though in the past I've hit
 it much more often). I often (but not always) find that suspending and
 resuming clears the problem, this is easier to do if you set
 machdep.lidsuspend=1 in sysctl.conf.


If I increase the polling delay in sys/dev/ic/pckbc.c (-current kernel)
significantly (see patch below), the touchpad always works. The keyboard
however still stops working occasionally.
It would be great if someone who is familiar with this driver could have
a look at this.


dmesg: touchpad works, keyboard works:

[...]
pckbc0 at isa0 port 0x60/5
pckbd: trying table 3
pckbd: table 3f != 3, trying 2
pckbd: trying table 2
pckbd: settling on table 2
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
kbc: aux echo: 5a
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lost kbd 0xfa
pckbc_cmd: timeout
lost kbd 0xfa
pckbc_cmd: timeout
pckbc_cmd: RESEND
lost kbd 0xfe
pckbc_cmd: timeout
pms0: protocol type 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
uvideo0 at uhub0 port 5 configuration 1 interface 0 SuYin Acer Crystal
Eye webcam rev 2.00/0.01 addr 2
video0 at uvideo0
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (bb11e7e4cec55775.a) swap on wd0b dump on wd0b
pms0: Synaptics touchpad, firmware 7.2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2



sometimes also: dmesg: touchpad works, keyboard works:

[...]
pckbc0 at isa0 port 0x60/5
pckbd: trying table 3
pckbd: table 3f != 3, trying 2
pckbd: trying table 2
pckbd: settling on table 2
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
kbc: aux echo: 5a
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lost kbd 0xfe
pckbc_cmd: timeout
pckbc_cmd: no data
pms0: reset error 60 (response 0xaa, type 0x00)
lost kbd 0xfe
pckbc_cmd: timeout
lost kbd 0xfe
pckbc_cmd: timeout
pms0: protocol type 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
uvideo0 at uhub0 port 5 configuration 1 interface 0 SuYin Acer Crystal
Eye webcam rev 2.00/0.01 addr 2
video0 at uvideo0
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (bb11e7e4cec55775.a) swap on wd0b dump on wd0b
pms0: Synaptics touchpad, firmware 7.2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2



dmesg: touchpad works, keyboard doesn't work:

[...]
pckbc0 at isa0 port 0x60/5
pckbd: trying table 3
pckbd: table 3f != 3, trying 2
pckbd: trying table 2
pckbd: settling on table 2
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
kbc: aux echo: 5a
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lost kbd 0xfe
pckbc_cmd: timeout
pckbc_cmd: no data
pms0: reset error 60 (response 0xaa, type 0x00)
lost kbd 0xfe
pckbc_cmd: timeout
pckbc_cmd: RESEND
lost kbd 0xfa
lost kbd 0xaa
pckbc_cmd: timeout
pms0: reset error 5 (response 0xaa, type 0x00)
pms0: protocol type 0
lost kbd 0xfa
pckbc_cmd: timeout
pms0: disable error
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
uvideo0 at uhub0 port 5 configuration 1 interface 0 SuYin Acer Crystal
Eye webcam rev 2.00/0.01 addr 2
video0 at uvideo0
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (bb11e7e4cec55775.a) swap on wd0b dump on wd0b
pms0: Synaptics touchpad, firmware 7.2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2



patch:

diff -ur src/sys/dev/ic/pckbc.c src_patched/sys/dev/ic/pckbc.c
--- src/sys/dev/ic/pckbc.c  2012-02-02 22:40:20.0 +0100
+++ src_patched/sys/dev/ic/pckbc.c  2012-07-10 21:14:58.0 +0200
@@ -26,6 +26,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#define PCKBCDEBUG
+
 #include sys/param.h
 #include sys/systm.h
 #include sys/timeout.h
@@ -105,7 +107,7 @@
 #define KBC_DEVCMD_RESEND 0xfe
 #define KBC_DEVCMD_BAT 0xaa
 
-#defineKBD_DELAY   DELAY(8)
+#defineKBD_DELAY   DELAY(100)
 
 static inline int
 pckbc_wait_output(bus_space_tag_t 

Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-10 Thread mlambda
By the way, are you sure 'pckbd_set_xtscancode' in sys/dev/pckbc/pckbd.c
is correct?
This function tries to check for scancode set 3 using


cmd[0] = KBC_SETTABLE;
cmd[1] = 0;
if (pckbc_poll_cmd(kbctag, kbcslot, cmd, 2, 1, resp, 
0)) {
/*
 * query failed, step down to table 2 to be
 * safe.
 */
#ifdef DEBUG
printf(pckbd: table 3 verification failed\n);
#endif
continue;
} else if (resp[0] == 3) {
#ifdef DEBUG
printf(pckbd: settling on table 3\n);
#endif
break;
}
#ifdef DEBUG
else
printf(pckbd: table \%x\ != 3, trying 2\n,
resp[0]);


However, http://www.win.tue.nl/~aeb/linux/kbd/scancodes-10.html says:

The usual PC keyboards are capable of producing three sets of
scancodes. Writing 0xf0 followed by 1, 2 or 3 to port 0x60 will put the
keyboard in scancode mode 1, 2 or 3. Writing 0xf0 followed by 0 queries
the mode, resulting in a scancode byte 43, 41 or 3f from the keyboard.

So resp[0] == 3 always fails and the code falls back to using scancode
set 2.



Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-09 Thread mlambda
On Fri, 2012-07-06 at 10:00 +, Stuart Henderson wrote:
 On 2012-07-04, mlambda mlam...@gmail.com wrote:
  Sometimes the touchpad doesn't work (the two buttons work, but the
  cursor doesn't move), unfortunately this doesn't seem to be reproducible
  and can only be fixed by rebooting.
 
 I suspect there is probably a timing issue with the hardware that we
 hit occasionally, I see it from time to time (though in the past I've hit
 it much more often). I often (but not always) find that suspending and
 resuming clears the problem, this is easier to do if you set
 machdep.lidsuspend=1 in sysctl.conf.
 

I recompiled the -current GENERIC.MP kernel with DEBUG defined in
sys/dev/pckb/pckbd.c and sys/dev/pckbd/pms.c and got the following
messages (Sometimes even the touchpad _and_ the keyboard lock up!):

Touchpad works, keyboard works:

[...]
pckbc0 at isa0 port 0x60/5
pckbd: trying table 3
pckbd: table 3f != 3, trying 2
pckbd: trying table 2
pckbd: settling on table 2
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
pms0: protocol type 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
uvideo0 at uhub0 port 5 configuration 1 interface 0 SuYin Acer Crystal
Eye webcam rev 2.00/0.01 addr 2
video0 at uvideo0
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (bb11e7e4cec55775.a) swap on wd0b dump on wd0b
pms0: Synaptics touchpad, firmware 7.2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2



Touchpad not working, keyboard working:

[...]
pckbc0 at isa0 port 0x60/5
pckbd: trying table 3
pckbd: table 3f != 3, trying 2
pckbd: trying table 2
pckbd: settling on table 2
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
pms0: protocol type 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
uvideo0 at uhub0 port 5 configuration 1 interface 0 SuYin Acer Crystal
Eye webcam rev 2.00/0.01 addr 2
video0 at uvideo0
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (bb11e7e4cec55775.a) swap on wd0b dump on wd0b
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2



Touchpad not working, keyboard not working:

[...]
pckbc0 at isa0 port 0x60/5
pckbd: trying table 3
pckbd: table 3f != 3, trying 2
pckbd: trying table 2
pckbd: settling on table 2
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
pms0: reset error 60 (response 0xaa, type 0x00)
pms0: alps: model query error
pms0: protocol type 0
pms0: disable error
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
uvideo0 at uhub0 port 5 configuration 1 interface 0 SuYin Acer Crystal
Eye webcam rev 2.00/0.01 addr 2
video0 at uvideo0
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (bb11e7e4cec55775.a) swap on wd0b dump on wd0b
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2
pms0: protocol type 2
uhidev0 at uhub2 port 1 configuration 1 interface 0  USB Keyboard rev
1.10/3.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub2 port 1 configuration 1 interface 1  USB Keyboard rev
1.10/3.10 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0



Any ideas?



Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-06 Thread Stuart Henderson
On 2012-07-04, mlambda mlam...@gmail.com wrote:
 Sometimes the touchpad doesn't work (the two buttons work, but the
 cursor doesn't move), unfortunately this doesn't seem to be reproducible
 and can only be fixed by rebooting.

I suspect there is probably a timing issue with the hardware that we
hit occasionally, I see it from time to time (though in the past I've hit
it much more often). I often (but not always) find that suspending and
resuming clears the problem, this is easier to do if you set
machdep.lidsuspend=1 in sysctl.conf.

 Is the ath driver supposed to work with this chipset? If I try
 connecting to a network I get the following error in dmesg:
 ath0: unable to reset hardware; hal status 3523306684
 ath0: unable to reset hardware; hal status 4120431260

Unfortunately ath(4) only supports really old cards, there were
some attempts at improving this but no completed work.

There's no BIOS vendor-lock like on some laptops, so it's fairly
easy to find a replacement card if you want something internal
(otherwise there are some very small USB adapters). For internal
replacements I would suggest ral(4) if you can get hold of one,
failing that it should be easy to find a second-hand wpi(4).
N.B. you would need a MiniPCIE card, not MiniPCI.



Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-06 Thread David Coppa
On Fri, Jul 6, 2012 at 12:00 PM, Stuart Henderson s...@spacehopper.org wrote:
 On 2012-07-04, mlambda mlam...@gmail.com wrote:
 Sometimes the touchpad doesn't work (the two buttons work, but the
 cursor doesn't move), unfortunately this doesn't seem to be reproducible
 and can only be fixed by rebooting.

 I suspect there is probably a timing issue with the hardware that we
 hit occasionally, I see it from time to time (though in the past I've hit
 it much more often). I often (but not always) find that suspending and
 resuming clears the problem, this is easier to do if you set
 machdep.lidsuspend=1 in sysctl.conf.

 Is the ath driver supposed to work with this chipset? If I try
 connecting to a network I get the following error in dmesg:
 ath0: unable to reset hardware; hal status 3523306684
 ath0: unable to reset hardware; hal status 4120431260

 Unfortunately ath(4) only supports really old cards, there were
 some attempts at improving this but no completed work.

 There's no BIOS vendor-lock like on some laptops, so it's fairly
 easy to find a replacement card if you want something internal
 (otherwise there are some very small USB adapters). For internal
 replacements I would suggest ral(4) if you can get hold of one,
 failing that it should be easy to find a second-hand wpi(4).
 N.B. you would need a MiniPCIE card, not MiniPCI.

This card, for example, works beautifully with OpenBSD:

http://www.computeruniverse.net/products/e90335991/delock-industry-wlan-minipci-modul-2t3r.asp

I'm not affiliated in any way with DeLOCK or computeruniverse, I'm
just a happy customer.

ciao,
David



Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-06 Thread Nick Holland
On 07/06/12 06:17, David Coppa wrote:
 On Fri, Jul 6, 2012 at 12:00 PM, Stuart Henderson s...@spacehopper.org 
 wrote:
...
 N.B. you would need a MiniPCIE card, not MiniPCI.
 
 This card, for example, works beautifully with OpenBSD:
 
 http://www.computeruniverse.net/products/e90335991/delock-industry-wlan-minipci-modul-2t3r.asp

but not with the machine in question, due to the missing 'e' on the end
of MiniPCIe.

Nick.



Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-06 Thread David Coppa
On Fri, Jul 6, 2012 at 1:29 PM, Nick Holland
n...@holland-consulting.net wrote:
 On 07/06/12 06:17, David Coppa wrote:
 On Fri, Jul 6, 2012 at 12:00 PM, Stuart Henderson s...@spacehopper.org 
 wrote:
 ...
 N.B. you would need a MiniPCIE card, not MiniPCI.

 This card, for example, works beautifully with OpenBSD:

 http://www.computeruniverse.net/products/e90335991/delock-industry-wlan-minipci-modul-2t3r.asp

 but not with the machine in question, due to the missing 'e' on the end
 of MiniPCIe.

Ops! Wrong link.

The one above is indeed not an express one (in fact, i'm using it on
my latitude)...

This instead is a MiniPCIE ralink based card:

http://www.computeruniverse.net/products/e90256638/delock-wlan-mini-pci-express-54mbps.asp



Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-06 Thread David Coppa
On Fri, Jul 6, 2012 at 1:47 PM, David Coppa dco...@gmail.com wrote:
 On Fri, Jul 6, 2012 at 1:29 PM, Nick Holland
 n...@holland-consulting.net wrote:
 On 07/06/12 06:17, David Coppa wrote:
 On Fri, Jul 6, 2012 at 12:00 PM, Stuart Henderson s...@spacehopper.org 
 wrote:
 ...
 N.B. you would need a MiniPCIE card, not MiniPCI.

 This card, for example, works beautifully with OpenBSD:

 http://www.computeruniverse.net/products/e90335991/delock-industry-wlan-minipci-modul-2t3r.asp

 but not with the machine in question, due to the missing 'e' on the end
 of MiniPCIe.

 Ops! Wrong link.

 The one above is indeed not an express one (in fact, i'm using it on
 my latitude)...

 This instead is a MiniPCIE ralink based card:

 http://www.computeruniverse.net/products/e90256638/delock-wlan-mini-pci-express-54mbps.asp

And athn(4) based cards are also very good:

http://www.ebay.it/sch/i.html?_nkw=ar9280+-half+-halfsize



Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-04 Thread Juan Francisco Cantero Hurtado
Hi. I've a AAO 150. The hardware is similar.

On Wed, Jul 04, 2012 at 06:33:38PM +0200, mlambda wrote:
 Before installing OpenBSD on my Acer Aspire One 110L netbook, I've tried
 to run it from a USB flash drive and have noticed the following problems
 (I have also tried the 5.1 release and an earlier snapshot, they showed
 the same problems):
 
 Sometimes the touchpad doesn't work (the two buttons work, but the
 cursor doesn't move), unfortunately this doesn't seem to be reproducible
 and can only be fixed by rebooting. Disabling and re-enabling the
 touchpad via the function keys doesn't help either, although they work
 fine if the touchpad already works. I attached dmesg and Xorg log files
 for both cases.

This bug is known, but I haven't tried the last snapshots on the
netbook.

 
 Is the ath driver supposed to work with this chipset? If I try
 connecting to a network I get the following error in dmesg:
 ath0: unable to reset hardware; hal status 3523306684
 ath0: unable to reset hardware; hal status 4120431260
 

The atheros card is not supported. Buy a cheap nano wireless adapter
with a chipset supported.

 Both SD card readers only work if an SD card was already inserted at
 boot time. Otherwise the following error occurs:
 
 sdmmc0 at sdhc0
 JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
 JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
 sdmmc0: can't enable card
 JMicron SD/MMC rev 0x00 at pci4 dev 0 function 0 not configured
 sdhc1 at pci4 dev 0 function 2 JMicron SD Host Controller rev 0x00:
 apic 4 int 19
 sdmmc1 at sdhc1
 JMicron Memory Stick rev 0x00 at pci4 dev 0 function 3 not configured
 JMicron xD rev 0x00 at pci4 dev 0 function 4 not configured
 sdmmc1: can't enable card 
 

I haven't tried the card reader.

 Is there any PCI hotplug support in OpenBSD or another possibility to
 make them work without inserting an SD card at boot time?
 
 
 

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-04 Thread Nick Holland
On 07/04/12 12:33, mlambda wrote:
 Before installing OpenBSD on my Acer Aspire One 110L netbook, I've tried
 to run it from a USB flash drive and have noticed the following problems
 (I have also tried the 5.1 release and an earlier snapshot, they showed
 the same problems):

I've been running my Acer Aspire One with OpenBSD since late 2008, and I
love it.  Mine seems to be a model AOA150, which appears to be the same
as yours.

 Sometimes the touchpad doesn't work (the two buttons work, but the
 cursor doesn't move), unfortunately this doesn't seem to be reproducible
 and can only be fixed by rebooting. Disabling and re-enabling the
 touchpad via the function keys doesn't help either, although they work
 fine if the touchpad already works. I attached dmesg and Xorg log files
 for both cases.

In my experience, you have to cold boot when switching OSs (mine is dual
boot OpenBSD/windows XP).  It used to be OpenBSD wouldn't work after
Windows had done its thing with the trackpad, now (I believe with the
5.1 support of the Synaptics touchpads), OpenBSD screws up Windows, too
(and for some reason, I think this is very cool).  So...make sure you
are doing a complete power down between switching OSs.  I've not noted
any problem simply rebooting OpenBSD.

HOWEVER, I do think I've seen other people complaining about the
trackpad similar to yours -- not sure if I just happen to have a good
AAO, or it really is just the power-off between OS switches trick.  So
it is possible my advice here is not sufficient for you.

 Is the ath driver supposed to work with this chipset? If I try
 connecting to a network I get the following error in dmesg:
 ath0: unable to reset hardware; hal status 3523306684
 ath0: unable to reset hardware; hal status 4120431260

nope.  Undocumented chip, doesn't work, and at this point, unlikely ever
to work.  Replace the thing with some other mini-PCIe wireless card,
mine has a ral(4) device, others use various Intel cards.

 Both SD card readers only work if an SD card was already inserted at
 boot time. Otherwise the following error occurs:
 
 sdmmc0 at sdhc0
 JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
 JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
 sdmmc0: can't enable card
 JMicron SD/MMC rev 0x00 at pci4 dev 0 function 0 not configured
 sdhc1 at pci4 dev 0 function 2 JMicron SD Host Controller rev 0x00:
 apic 4 int 19
 sdmmc1 at sdhc1
 JMicron Memory Stick rev 0x00 at pci4 dev 0 function 3 not configured
 JMicron xD rev 0x00 at pci4 dev 0 function 4 not configured
 sdmmc1: can't enable card 

 Is there any PCI hotplug support in OpenBSD or another possibility to
 make them work without inserting an SD card at boot time?

iirc, the issue was that power is not applied to the card readers by the
BIOS unless cards are installed, and no one has figured out the ACPI
voodoo to power the cards on from OpenBSD.

Find a couple 128M or 256M cards no one cares about anymore, keep 'em in
your machine, and you can use the sd card slots any time you want.  I
keep an 8G card in one of mine (the one that the card goes all the way
into) as a backup.  At boot, I have the thing rsync a directory of
important files to the card (--link-dest rocks, btw), so I've got one
usable SD slot...

all-in-all, I really love my Acer Aspire One.  I've had it since the day
the six cell version hit my local retailer in 2008.  It spends most of
its time running OpenBSD.  It suspends/resumes very well, the battery
life is quite good (and still is, after almost four years!), the
keyboard is usable, the trackpad beats the hell out of the modern Dell
machines I've been subjected to.  People keep telling me the screen is
too small, I usually respond, that's ok, I didn't want you looking over
my shoulder anyway.

Nick.



Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-04 Thread mlambda
On Wed, 2012-07-04 at 13:33 -0400, Nick Holland wrote:
  Sometimes the touchpad doesn't work (the two buttons work, but the
  cursor doesn't move), unfortunately this doesn't seem to be reproducible
  and can only be fixed by rebooting. Disabling and re-enabling the
  touchpad via the function keys doesn't help either, although they work
  fine if the touchpad already works. I attached dmesg and Xorg log files
  for both cases.
 
 In my experience, you have to cold boot when switching OSs (mine is dual
 boot OpenBSD/windows XP).  It used to be OpenBSD wouldn't work after
 Windows had done its thing with the trackpad, now (I believe with the
 5.1 support of the Synaptics touchpads), OpenBSD screws up Windows, too
 (and for some reason, I think this is very cool).  So...make sure you
 are doing a complete power down between switching OSs.  I've not noted
 any problem simply rebooting OpenBSD.

Unfortunately a cold reboot from OpenBSD doesn't work for me. The
touchpad still fails randomly. With the 5.1 release it even fails after
some time when moving the cursor around in fvwm. Is this is a problem in
the pms or wsmouse driver? I have attached the Xorg.0.log file from a
Linux installation with an older version of the Xorg synaptics module,
which works just fine.

  Is there any PCI hotplug support in OpenBSD or another possibility to
  make them work without inserting an SD card at boot time?
 
 iirc, the issue was that power is not applied to the card readers by the
 BIOS unless cards are installed, and no one has figured out the ACPI
 voodoo to power the cards on from OpenBSD.
 
 Find a couple 128M or 256M cards no one cares about anymore, keep 'em in
 your machine, and you can use the sd card slots any time you want.  I
 keep an 8G card in one of mine (the one that the card goes all the way
 into) as a backup.  At boot, I have the thing rsync a directory of
 important files to the card (--link-dest rocks, btw), so I've got one
 usable SD slot...

Ok, thanks for your advice.


Xorg.0.log:

X.Org X Server 1.10.4
Release Date: 2011-08-19
[35.507] X Protocol Version 11, Revision 0
[35.507] Build Operating System: x86-16 2.6.32-131.2.1.el6.x86_64 
[35.507] Current Operating System: Linux 2.6.40.6-0.fc15.i686 #1 SMP Tue 
Oct 4 00:51:19 UTC 2011 i686
[35.511] Kernel command line: ro 
root=UUID=59a83c5d-94e4-48e5-bff9-fdfd0dbdf185 rd_NO_LUKS rd_NO_LVM rd_NO_MD 
rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 
KEYTABLE=de-latin1-nodeadkeys rhgb quiet
[35.511] Build Date: 07 September 2011  04:13:44PM
[35.511] Build ID: xorg-x11-server 1.10.4-1.fc15 
[35.511] Current version of pixman: 0.20.2
[35.511]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[35.511] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[35.513] (==) Log file: /var/log/Xorg.0.log, Time: Wed Jul  4 20:33:44 
2012
[35.528] (==) Using config directory: /etc/X11/xorg.conf.d
[35.528] (==) Using system config directory /usr/share/X11/xorg.conf.d
[35.530] (==) No Layout section.  Using the first Screen section.
[35.530] (==) No screen section available. Using defaults.
[35.530] (**) |--Screen Default Screen Section (0)
[35.530] (**) |   |--Monitor default monitor
[35.530] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[35.531] (==) Automatically adding devices
[35.531] (==) Automatically enabling devices
[35.533] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[35.533] (==) ModulePath set to /usr/lib/xorg/modules
[35.533] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[35.533] (II) Loader magic: 0x8229f20
[35.533] (II) Module ABI versions:
[35.533]X.Org ANSI C Emulation: 0.4
[35.533]X.Org Video Driver: 10.0
[35.533]X.Org XInput driver : 12.2
[35.533]X.Org Server Extension : 5.0
[35.540] (--) PCI:*(0:0:2:0) 8086:27ae:1025:015b rev 3, Mem @ 
0x5848/524288, 0x4000/268435456, 0x5850/262144, I/O @ 0x60c0/8, 
BIOS @ 0x/131072
[35.540] (--) PCI: (0:0:2:1) 8086:27a6:1025:015b rev 3, Mem @ 
0x5840/524288, BIOS @ 0x/65536
[35.540] (II) LoadModule: extmod
[35.541] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[35.544] (II) Module extmod: vendor=X.Org Foundation
[35.544]compiled for 1.10.4, module version = 1.0.0
[35.544]Module class: X.Org Server Extension
[35.544]ABI class: X.Org Server Extension, version 5.0
[35.544] (II) Loading extension SELinux
[35.544] (II) Loading extension MIT-SCREEN-SAVER
[35.544] (II) Loading 

Re: Running OpenBSD on an Acer Aspire One 110L netbook

2012-07-04 Thread frantisek holop
hmm, on Wed, Jul 04, 2012 at 01:33:14PM -0400, Nick Holland said that
 all-in-all, I really love my Acer Aspire One.  I've had it since the day
 the six cell version hit my local retailer in 2008.  It spends most of
 its time running OpenBSD.  It suspends/resumes very well, the battery
 life is quite good (and still is, after almost four years!), the

the more the pity that in the newer ones they went
with the powerVR GPU's.

and unfortunately not just them.   the hp minis,
the backard bells, even the damn eeepc's, the new
generation of netbooks is basically useless on openbsd.

buy an older generation while you can.
(thought that is not a guarantee either, like the
lenovo ideapad s100)

-f
-- 
use your enemy's hand to catch a snake.