From owner-freebsd-usb@FreeBSD.ORG Sat Aug 21 16:22:33 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D9E610656A7 for ; Sat, 21 Aug 2010 16:22:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 94C0E8FC17 for ; Sat, 21 Aug 2010 16:22:32 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=AloUlVQQLuutPgH7MSFGD/V8MYI3aUCj623mET0KTys= c=1 sm=1 a=QUPKdYJc--0A:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=_PScVVYaL0m7yLg0XGQA:9 a=waOsWVqBGH9o5MwbdkVenMeMx94A:4 a=PUjeQqilurYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 8865871; Sat, 21 Aug 2010 18:21:46 +0200 From: Hans Petter Selasky To: "Lee, Chung-Yeol" Date: Sat, 21 Aug 2010 18:18:45 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <20100821082306.GA2204@genie.honey.home> <201008211716.31156.hselasky@c2i.net> <20100821160256.GA3058@genie.honey.home> In-Reply-To: <20100821160256.GA3058@genie.honey.home> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201008211818.45479.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Use extra buttons of Kensington Slimblade Trackball X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2010 16:22:33 -0000 On Saturday 21 August 2010 18:02:56 Lee, Chung-Yeol wrote: > On Sat, Aug 21, 2010 at 05:16:31PM +0200, Hans Petter Selasky wrote: > > On Saturday 21 August 2010 10:23:06 Lee, Chung-Yeol wrote: > > > Hi, > > > > > > While I'm searching how to use the extra buttons in Kensington > > > Slimblade > > > > > > Trackball, I made a patch for myself based on the linux driver. > > > > > > I confirmed it works as intended. However, I have no experience with > > > the FreeBSD kernel and I'm not sure that I modified it in a correct > > > way. -- especially, I don't know should I use usb_quirks? > > > > > > Can somebody check the attached diff file so that I can send problem > > > > > > report? > > > > > > Thanks. > > > > Hi, > > > > Can you re-send your patch to me. The listware stripped it off. I think > > there is also a similar patch in 9-current. Please check the version > > history of: > > > > /sys/dev/usb/input/ums.c > > > > --HPS > > diff file is against 8-STABLE. > I just looked ums.c in HEAD from Web CVS repository and can't find similar > code. > > C.-Y. Lee Hi, Please check and verify this patch: http://p4web.freebsd.org/@@182688?ac=10 Also, could you dump the device, config and HID descriptors of your mouse. See man usbconfig on how to do that. --HPS