From owner-freebsd-usb@FreeBSD.ORG Fri Dec 17 10:11:40 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E908C16A4D8 for ; Fri, 17 Dec 2004 10:11:40 +0000 (GMT) Received: from europa.telenet-ops.be (europa.telenet-ops.be [195.130.132.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24ED043D5A for ; Fri, 17 Dec 2004 10:11:40 +0000 (GMT) (envelope-from shredz@pandora.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by europa.telenet-ops.be (Postfix) with SMTP id 8B2BD19873C; Fri, 17 Dec 2004 11:11:38 +0100 (MET) Received: from CASPER (unknown [84.194.126.41]) by europa.telenet-ops.be (Postfix) with ESMTP id B2FF31982C1; Fri, 17 Dec 2004 11:11:36 +0100 (MET) From: ShredZ To: Julian Elischer Date: Fri, 17 Dec 2004 11:12:22 +0100 User-Agent: KMail/1.7.2 References: <200412161524.00657.shredz@pandora.be> <41C1FFFD.8090205@elischer.org> In-Reply-To: <41C1FFFD.8090205@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412171112.22557.shredz@pandora.be> cc: freebsd-usb@freebsd.org Subject: Re: Logitech mouse applet X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 10:11:41 -0000 Well, the source code got stripped by the list apparently. I managed to hack my way through libusb, freebsd's usb (as described in man usb) and the logitechapplet and now have a working program to get my logitech mx500 mouse in 800 dpi. It was sufficient to unwrap the calls freebsd needs to make to the usb bus from the libusb port and put this in the applet instead. I'm gonna clean up the code to make it actually search for logitech mice that support this 'feature' (why theses 800 dpi mice default to 400 dpi doesn't really make sense) and send the request. Somebody suggested linking it to usbd or something, but since I'm new to freebsd since 2 days, I wouldn't know where to do this. The usb man pages also suggest sending USB_REQUESTs through ioctl is potentially dangerous to the bus's integrity. But I guess comments on that will come in once I send the program. On Thursday 16 December 2004 22:37, you wrote: > ShredZ wrote: > >I'm just new to this list but have been mailing the maintainer of the > > libUSB port about this as well. He didn't seem to be 'on the case' > > anymore. > > > >I'm trying to get my logitech mouse in 800 dpi. It can be done with a > > simple call to the device using libusb as the enclosed applet will show, > > but doesn't seem to work on freeBSD. So I was wondering if there would be > > any way of getting this applet to work or another way to send the message > > to the mouse. > > > >Greetz > > You forgot the enclosed applet :-) > (or it was stripped by the list software) > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >freebsd-usb@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-usb > >To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"