Re: Acer Aspire One D250-1838 mouse problem

2010-02-27 Thread J.C. Roberts
On Fri, 26 Feb 2010 22:17:01 -0500 electronmuontau neutrino
emtneutr...@gmail.com wrote:

 Short Story:
 I have an Acer Aspire One D250-1838 whose trackpad mouse stops working

You should search the bugs@ and misc@ lists. I recall seeing mouse
issues with Acer Aspire One issues reported last month on both lists.



Re: Acer Aspire One D250-1838 mouse problem

2010-02-27 Thread electronmuontau neutrino
On Sat, Feb 27, 2010 at 3:21 AM, J.C. Roberts list-...@designtools.org wrote:
 On Fri, 26 Feb 2010 22:17:01 -0500 electronmuontau neutrino
 emtneutr...@gmail.com wrote:

 Short Story:
 I have an Acer Aspire One D250-1838 whose trackpad mouse stops working

 You should search the bugs@ and misc@ lists. I recall seeing mouse
 issues with Acer Aspire One issues reported last month on both lists.


Thanks, I found some bugs involving acpi and Acer Aspire notebooks.
Disabling acpi fixes the issue.  Disabling apm was not required
though.



Acer Aspire One D250-1838 mouse problem

2010-02-26 Thread electronmuontau neutrino
Short Story:
I have an Acer Aspire One D250-1838 whose trackpad mouse stops working
after a couple of seconds on OpenBSD 4.3 and later, including all
current snapshots.  The mouse works fine on OpenBSD 4.0 to 4.2.  The
mouse behaves correctly when running 'od /dev/wsmouse' for a couple of
seconds of use, and then it stops responding.  It also doesn't respond
if I leave the mouse alone for the couple of seconds and then try to
use it.   Running 'wsmoused -f' also shows the same behavior.

Long Story:
I've been trying to find the differences in code between OpenBSD 4.2
and 4.3 regarding the mouse device.  I've been using the CVS web
interface to find the differences in those files.  I haven't seen
anything that seems relevant.  I inserted several printf's into the
kernel source using cscope to try and trace the flow of data from the
device to kernel to user.  So far, I haven't been able to really
figure out the path.  I'm guessing the flow somewhat follows
bus_space_read_1 - pckbcintr_internal - pmsinput - wsmouse_input.
I've briefly scanned
http://www.openbsd.org/papers/opencon06-drivers/index.html.  I'd
appreciate if someone could give me some pointers to try to solve the
problem.  Thanks.

The files I've looked at are the following:
/usr/src/sys/dev/wscons
wsconsio.h
wsevent.c
wseventvar.h
wsmouse.c
wsmoused.h
wsmousevar.h
wsmux.c
wsmuxvar.h
/usr/src/sys/dev/pckbc
pms.c
pms_intelli.c
pmsreg.h
/usr/src/sys/dev/ic
io8042reg.h
pckbc.c
pckbcvar.h
/usr/src/sys/dev/isa
pckbc_isa.c
/usr/src/usr.sbin/wsmoused/
mouse_protocols.c
mouse_protocols.h
wsmoused.c
wsmoused.h

Here is my dmesg using snapshot 2/25/2010:

OpenBSD 4.7-beta (GENERIC.MP) #424: Thu Feb 25 16:12:49 MST 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
cpu0: Intel(R) Atom(TM) CPU N280 @ 1.66GHz (GenuineIntel 686-class) 1.67 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,xTPR
real mem  = 1062260736 (1013MB)
avail mem = 1020530688 (973MB)
RTC BIOS diagnostic error 80clock_battery
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/28/09, SMBIOS rev. 2.4 @
0xe8240 (31 entries)
bios0: vendor Acer version V1.21 date 09/28/2009
bios0: Acer Aspire one
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT HPET APIC MCFG ASF! SLIC BOOT
acpi0: wakeup devices UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) ECHI(S3)
ECH2(S3) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) AZAL(S0) MODM(S0)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: 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 N280 @ 1.66GHz (GenuineIntel 686-class) 1.67 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,xTPR
ioapic0 at mainbus0: apid 4 pa 0xfec0, 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 3 (EXP3)
acpiprt4 at acpi0: bus 4 (EXP4)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: FN00
acpitz0 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 14132307362336085 type Lion oem PANASONIC 
acpiac0 at acpi0: AC unit offline
acpivideo0 at acpi0: OVGA
acpivout0 at acpivideo0: CRT1
acpivout1 at acpivideo0: DTV1
acpivout2 at acpivideo0: DFP1
acpivout3 at acpivideo0: LCD_
acpivout4 at acpivideo0: DTV2
acpivout5 at acpivideo0: DFP2
bios0: ROM list: 0xc/0xec00!
cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1333, 1066, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03
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 0x4000, size 0x1000
inteldrm0 at vga1: apic 4 int 16 (irq 11)
drm0 at inteldrm0
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
apic 4 int 16 (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
athn0 at pci1 dev 0 function 0 Atheros AR9281 rev 0x01: apic 4 int
16 (irq 11), address 0c:ee:e6:99:57:b5
athn0: AR9280 rev 2 (2T2R), ROM rev 22
ppb1 at pci0 dev 28 function 1 Intel 82801GB