Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2004 11:12:22 +0100
From:      ShredZ <shredz@pandora.be>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Logitech mouse applet
Message-ID:  <200412171112.22557.shredz@pandora.be>
In-Reply-To: <41C1FFFD.8090205@elischer.org>
References:  <200412161524.00657.shredz@pandora.be> <41C1FFFD.8090205@elischer.org>

index | next in thread | previous in thread | raw e-mail

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"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412171112.22557.shredz>