Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2000 12:06:33 -0800 (PST)
From:      David Wolfskill <dhw@whistle.com>
To:        freebsd-mobile@freebsd.org
Subject:   Touchpad (on NEC Versa 6030X), FreeBSD 4.0-RC (20000307), & XF86 3.3.6
Message-ID:  <200003092006.MAA33612@pau-amma.whistle.com>

next in thread | raw e-mail | index | archive | help
[I'm hoping this is a reasonably optimal list for the query; redirection
cheerfully accpted.  dhw]

A few days ago, I was the recipient of a colleague's hand-me-down NEC
Versa 6030X.  He had an older flavor of FreeBSD 4.0-CURRENT on it, and a
few other things that (he said) were broken in various ways.

So yesterday (08 March, 2000), I FTPed the FreeBSD 4.0-RC per Jordan's
message announcing same.  (Over the weekend, I had tried the -RC from 14
February, with similar results, FWIW.)  The X that I'm using was the
3.3.6 for FreeBSD 3.x binaries from ftp.freebsd.org; I have yet to
customize the kernel at all, so it's using the GENERIC one.

This install was fresh:  I newfs'd /, /usr, & /var.

Things basically work OK... except that I'm having some trouble with the
mouse:  except for the action of tapping the touchpad, it only has 2
buttons, and I can't seem to get the "chord" operation to work.

The mouse is identified (in dmesg.boot) as:

psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0


(I'll copy the full dmesg.boot below my .sig, in case it's of interest
or use.)

When it came time to configure X, I elected to set up moused first.
Once that is done, and I supply the "-3" flag to moused, the (2) buttons
work rather as expected with syscons (outside of the X environment):
the left button is treated as "button 1", the right button is treated as
"button 3", and the combination is treated as "button 2".  Using the
touchpad causes the mouse to move in the expected ways.

However, when I run XF86Setup, select the "Mouse" configuration (to test
the buttons), only buttons 1 & 3 are recognized.

If I select the "Emulate3Buttons" option at this point (and "apply" the
change), X behaves as if button 1 is continuously being cycled:  passing
over any button-like widget with the mouse causes said widget's state to
switch.  Further, pressing the left button causes the mouse image's button
1 do go dark, as expected, and pressing both mouse buttons causes the
image's button 2 to go dark, but pressing just the right button causes no
action that I can see -- there's no apparent way to select button 3.

(Over the weekend, when I still had the 14 Feb -RC installed, I observed
similar phenomena.  I also experimented a little with other flags to
moused, such as "-m 1=4", after reading the moused man page's discussion
about touchpads and "button 4" events.  Those seemed to work pretty much
as advertised, though I couldn't find a configuration that felt very
comfortable or "natural" -- I've been using normal 3-button mice since
about '88 or so, when I got my first Sun 3/60.  Perhaps there's something
to tweak as far as timing or sensitivity, but if so, I managed to fail to
recognize what it was, so clues would be welcomed.)

The difference in behavior between using the mouse within and outside of
X is a bit perplexing; there's evidently something I'm failing to grasp
at work here.

Clues, pointers, and/or redirection are all welcomed.

/var/run/dmesg.boot copied below my .sig, as promised above.

Thanks,
david
-- 
David Wolfskill		dhw@whistle.com		UNIX System Administrator
voice: (650) 577-7158	pager: (888) 347-0197	FAX: (650) 372-5915


Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-20000307-CURRENT #0: Wed Mar  8 00:14:33 GMT 2000
    root@monster.cdrom.com:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (132.96-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 28815360 (28140K bytes)
Preloaded elf kernel "kernel" at 0xc03be000.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
chip1: <PCI to Other bridge (vendor=8086 device=1234)> at device 1.0 on pci0
pci0: <Chips & Technologies 65550 SVGA controller> at 2.0
pcic-pci0: <TI PCI-1130 PCI-CardBus Bridge> at device 3.0 on pci0
pcic-pci1: <TI PCI-1130 PCI-CardBus Bridge> at device 3.1 on pci0
isa0: <ISA bus> on motherboard
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcic: management irq 10
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
isa_compat: didn't get irq for lnc
ad0: 3909MB <IBM-DTCA-24090> [7944/16/63] at ata0-master using BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003092006.MAA33612>