From owner-freebsd-mobile Thu Mar 9 12: 6:39 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from pau-amma.whistle.com (pau-amma.whistle.com [207.76.205.64]) by hub.freebsd.org (Postfix) with ESMTP id 6644B37B7DD for ; Thu, 9 Mar 2000 12:06:34 -0800 (PST) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.9.2/8.9.3) id MAA33612 for freebsd-mobile@freebsd.org; Thu, 9 Mar 2000 12:06:33 -0800 (PST) (envelope-from dhw) Date: Thu, 9 Mar 2000 12:06:33 -0800 (PST) From: David Wolfskill Message-Id: <200003092006.MAA33612@pau-amma.whistle.com> To: freebsd-mobile@freebsd.org Subject: Touchpad (on NEC Versa 6030X), FreeBSD 4.0-RC (20000307), & XF86 3.3.6 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [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: 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 chip1: at device 1.0 on pci0 pci0: at 2.0 pcic-pci0: at device 3.0 on pci0 pcic-pci1: at device 3.1 on pci0 isa0: on motherboard fdc0: 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: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> pcic: management irq 10 pcic0: at port 0x3e0 iomem 0xd0000 irq 10 on isa0 pccard0: on pcic0 pccard1: 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: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port plip0: on ppbus0 isa_compat: didn't get irq for lnc ad0: 3909MB [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