From owner-freebsd-current@FreeBSD.ORG Fri Oct 2 17:43:34 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87D2E1065670 for ; Fri, 2 Oct 2009 17:43:34 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 310658FC1A for ; Fri, 2 Oct 2009 17:43:34 +0000 (UTC) Received: by yxe1 with SMTP id 1so1431889yxe.3 for ; Fri, 02 Oct 2009 10:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=A1chVtay2NBivipVntxssGikbGGe1sPdiKYjZXUOjjU=; b=CHE3kLJyKrEygguFsIX+5G2juULak+RVs+UOabc9vPGqgRxuxwtHp1A+1NNKCHg+jR IC8d3wntwEwbgQx+EqD3PlYZ4CKKVMOn51CD3LgHRRX6tbW30rozaduRzoPKQVkWbNWX lO4mQ8jLKKEm2DX9qPojuZor97ploxmXMEuvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=aTgiv1zxHux64pV5VUoVGe7IZ85QjdxS4AohJvHvKMLdhnvzPuRqYLQaaM+gLzuyIt TeFMHtEyBrmICUFJ1xSxRP5ATYFeaCZH66TR7+dBvQWt2rdLDApPjhHDPmnZQIG/y2PU ZBkazG4ZwzmCINEeJEFeAN5l4Ebq+Y7tS4Q0s= MIME-Version: 1.0 Received: by 10.100.24.22 with SMTP id 22mr3116108anx.119.1254505413293; Fri, 02 Oct 2009 10:43:33 -0700 (PDT) In-Reply-To: <25ff90d60910010907la9f8227oecee2aec0b492572@mail.gmail.com> References: <25ff90d60910010138l24e83470v390e8c0271f332f7@mail.gmail.com> <4AC4A26A.6040101@missouri.edu> <25ff90d60910010907la9f8227oecee2aec0b492572@mail.gmail.com> Date: Fri, 2 Oct 2009 13:43:33 -0400 Message-ID: <25ff90d60910021043k359c5af8r53f73d4aa210c49@mail.gmail.com> From: David Horn To: "freebsd-current@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: synaptics touchpad + mouse taps = trouble X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 17:43:34 -0000 On Thu, Oct 1, 2009 at 12:07 PM, David Horn wrote: > On Thu, Oct 1, 2009 at 8:36 AM, Stephen Montgomery-Smith > wrote: >> David Horn wrote: >>> >>> I currently have a laptop running FreeBSD 8/Stable RC1 r197621 (amd64) >>> that happens to have a synaptics touchpad. =A0On this particular >>> laptop(Inspiron 1520), the placement of the touchpad means that I will >>> inevitably accidentally hit it while typing, and I have found that I >>> always need to disable the "mouse taps" in order to have the touchpad >>> usable for me. >> >> I have an Inspiron 1525. =A0After struggling with this for a long time, = I >> found that the following entry in /etc/rc.conf did the trick >> >> moused_flags=3D"-3 -m 11=3D4 -A 2" > > Interesting. =A0This maps physical button #4 to buttton =A0#11. =A0I will > take a look again, but in my psm device, I never saw button 4 events, > just button #1 and button #3 under generic psm mode. Mouse taps always > showed up as button #1 so it was impossible to differentiate between > tap #1 and real #1. (unless something like moused was mapping #4 to > #1, hmm something to investigate) > > Were you running psm/generic or psm/Extended Synaptics or using ums0 ? > Does your ums0 mouse show up as Broadcom 4503 ? > >> >> It is the "-m 11=3D4" that did it. =A0On my computer, it isn't really a >> "synaptics" touchpad, but some other brand. >> >> Hopefully it will work for you. >> >> Stephen >> > > Here is the hw.usb.ums.debug=3D99 data after a usbconfig -u 0 -a 5 reset > > Oct =A01 11:33:43 dhorn-1520 kernel: ums0: 0x4503, class 0/0, rev 2.00/1.00, addr 5> on usbus0 > Oct =A01 11:33:43 dhorn-1520 kernel: ums0: 3 buttons and [XY] coordinates= ID=3D2 > Oct =A01 11:44:56 dhorn-1520 kernel: ums0: at uhub7, port 3, addr 5 (disc= onnected) > Oct =A01 11:44:56 dhorn-1520 kernel: ums_detach:661: sc=3D0xffffff0001feb= 000 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_probe:365: > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:503: sc=3D0xffffff00041d1= 000 > Oct =A01 11:44:57 dhorn-1520 kernel: ums0: 0x4503, class 0/0, rev 2.00/1.00, addr 5> on usbus0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums0: 3 buttons and [XY] coordinates= ID=3D2 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:599: > sc=3D0xffffff00041d1000, index=3D0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:601: X =A0 =A08/8 id=3D2 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:603: Y =A0 =A016/8 id=3D2 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:605: Z =A0 =A00/0 id=3D0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:607: T =A0 =A00/0 id=3D0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:609: W =A0 =A00/0 id=3D0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:614: B1 =A0 0/1 id=3D2 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:614: B2 =A0 1/1 id=3D2 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:614: B3 =A0 2/1 id=3D2 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:599: > sc=3D0xffffff00041d1000, index=3D1 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:601: X =A0 =A00/0 id=3D0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:603: Y =A0 =A00/0 id=3D0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:605: Z =A0 =A00/0 id=3D0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:607: T =A0 =A00/0 id=3D0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:609: W =A0 =A00/0 id=3D0 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_attach:617: size=3D4, id=3D2 > Oct =A01 11:44:57 dhorn-1520 kernel: ums_open:771: > Oct =A01 11:44:57 dhorn-1520 kernel: ums_open:771: > Oct =A01 11:44:57 dhorn-1520 kernel: ums_ioctl:808: > > No additional events on mouse movement/buttons, but on moused startup I g= et > > Oct =A01 12:01:23 dhorn-1520 kernel: ums_open:771: > Oct =A01 12:01:23 dhorn-1520 kernel: ums_open:771: > Oct =A01 12:01:23 dhorn-1520 kernel: ums_ioctl:808: > > > running moused -df -p /dev/ums0 -t auto gives no mouse events to > movement/buttons at all. > > --Dave H > OK, I figured out the ums0 problem. It seems that Broadcomm 450x is a virtualized HID interface from the BCM 2045B2 Blueooth Chip to provide HID functions (4502 =3D ukbd, 4503=3Dums) This is *supposed* to be a method to present simplified interfaces for Bluetooth mouse/kbd via USB rather than the OS having to initialize a bluetooth stack and device. Long story short is that ums0 is not the device I thought it was, and the synaptics touchpad is only exposed via psm device. Still investigating to see if there is a better way to improve the default case of synaptics with hal and xf86-driver-synaptics, Sorry for the noise. ---Dave H