From nobody@FreeBSD.org  Mon Oct 21 05:16:50 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 88EBB37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 Oct 2002 05:16:50 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2E92B43E6E
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 Oct 2002 05:16:50 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9LCGn7R034770
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 Oct 2002 05:16:49 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9LCGn9u034769;
	Mon, 21 Oct 2002 05:16:49 -0700 (PDT)
Message-Id: <200210211216.g9LCGn9u034769@www.freebsd.org>
Date: Mon, 21 Oct 2002 05:16:49 -0700 (PDT)
From: Peter Edwards <pmedwards@eircom.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] make A4-tech RFSW-35 mouse's wheel work
X-Send-Pr-Version: www-1.0

>Number:         44333
>Category:       kern
>Synopsis:       [PATCH] make A4-tech RFSW-35 mouse's wheel work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mikeh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 21 05:20:00 PDT 2002
>Closed-Date:    Tue Nov 11 20:52:34 PST 2003
>Last-Modified:  Tue Nov 11 20:52:34 PST 2003
>Originator:     Peter Edwards
>Release:        5.0-CURRENT
>Organization:
>Environment:
FreeBSD celery 5.0-CURRENT FreeBSD 5.0-CURRENT #10: Mon Oct 21 12:54:15 IST 2002
>Description:
My shiny new mouse is, according to the sticker on it, an A4 tech 
RFSW-35. It's an RF cordless mouse, with one wheel.

The current PSM probe defaults it to a generic PS/2 device, but, it 
seems to behave the same as an A4tech "4D+" device (which, I think, 
has two separate wheels), only reporting a different aux ID after 
being sent the "4D" probe. The patch below makes the wheel work for 
me, and shouldn't intrude on any existing hardware.


>How-To-Repeat:
Try using the wheel to scroll: watch the mouse pointer jump around in 
ways that it shouldn't
>Fix:
begin 644 RFSW35.diff
M26YD97@Z(&1E=B]K8F0O871K8F1C<F5G+F@*/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/0I20U,@9FEL93H@+W5S<B]&<F5E0E-$+4-64R]S<F,O<WES+V1E=B]K
M8F0O871K8F1C<F5G+F@L=@IR971R:65V:6YG(')E=FES:6]N(#$N.0ID:69F
M("UU("UR,2XY(&%T:V)D8W)E9RYH"BTM+2!D978O:V)D+V%T:V)D8W)E9RYH
M"3$U($]C="`R,#`R(#(Q.C,U.C`Q("TP,#`P"3$N.0HK*RL@9&5V+VMB9"]A
M=&MB9&-R96<N:`DR,2!/8W0@,C`P,B`Q,3HU,SHP."`M,#`P,`I`0"`M,3,W
M+#8@*S$S-RPW($!`"B`C9&5F:6YE(%!335]%6%!,3U)%4E])1`D)-`H@(V1E
M9FEN92!04TU?-$1-3U5315])1`D)-@H@(V1E9FEN92!04TU?-$103%537TE$
M"0DX"BLC9&5F:6YE(%!335\T1%!,55,Q5TA%14Q?240@(#!X,3@*(`H@(VEF
M9&5F(%]+15).14P*(`I);F1E>#H@:7-A+W!S;2YC"CT]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T*4D-3(&9I;&4Z("]U<W(O1G)E94)31"U#5E,O<W)C+W-Y<R]I
M<V$O<'-M+F,L=@IR971R:65V:6YG(')E=FES:6]N(#$N-#<*9&EF9B`M=2`M
M<C$N-#<@<'-M+F,*+2TM(&ES82]P<VTN8PDR-2!!=6<@,C`P,B`Q,SHQ-SHQ
M-B`M,#`P,`DQ+C0W"BLK*R!I<V$O<'-M+F,),C$@3V-T(#(P,#(@,3$Z-30Z
M,#8@+3`P,#`*0$`@+3(W-S8L,3$@*S(W-S8L,3<@0$`*("`@("`J+PH@"B`@
M("`@:60@/2!G971?875X7VED*&MB9&,I.PHM("`@(&EF("AI9"`A/2!04TU?
M-$103%537TE$*0HM"7)E='5R;B!&04Q313L*+0HK("`@('-W:71C:"`H:60I
M('L**PEC87-E(%!335\T1%!,55-?240Z"BL)("`@('-C+3YH=RYB=71T;VYS
M(#T@-#L**PD@("`@8G)E86L["BL)8V%S92!04TU?-$103%53,5=(145,7TE$
M.@HK"2`@("!S8RT^:'<N8G5T=&]N<R`](#,["BL)("`@(&)R96%K.PHK"61E
M9F%U;'0Z"BL)("`@(')E='5R;B!&04Q313L**R`@("!]"B`@("`@<V,M/FAW
M+FAW:60@/2!I9#L*+2`@("!S8RT^:'<N8G5T=&]N<R`](#0["0DO*B!86%@@
:*B\*(`H@("`@(')E='5R;B!44E5%.PH@?0H`

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->mikeh 
Responsible-Changed-By: mikeh 
Responsible-Changed-When: Tue Jul 1 09:16:47 PDT 2003 
Responsible-Changed-Why:  
Committed to p4 repo, will merge into -current shortly. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44333 
State-Changed-From-To: open->patched 
State-Changed-By: mikeh 
State-Changed-When: Sat Jul 12 11:37:13 PDT 2003 
State-Changed-Why:  
Committed to -current, mfc in 2 weeks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44333 
State-Changed-From-To: patched->closed 
State-Changed-By: mikeh 
State-Changed-When: Tue Nov 11 20:51:59 PST 2003 
State-Changed-Why:  
MFC'd. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44333 
>Unformatted:
