USB Mouse information

 comp.robotics.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
USB Mouse information mlw 03-03-2006
Posted by mlw on March 3, 2006, 9:37 am
Please log in for more thread options
I'm pulling my hair out..... I've search google for days

I have been using a ball PS2/USB mouse as my dual motor encoder. When
connected to the PS/2 port, I can put the mouse in "disable report" mode,
and issue a 0xEB to the mouse to get data. It works very well.

I want to get this code to work through the USB port, but no such luck, and
can't find the information I need.

Does anyone know if it is possible to deal with a USB mouse in that fashion?
I have tried various alterations of "usb_control_message," to no avail.

I can open the mouse, and read encoder packets normally, but without control
over "when they are sent," I have no way of knowing "when they were sent,"
so they are pretty useless to me in a control sense.

I'm pretty sure that if it can be done, it is probably done with
usb_control_message sending the right code to the right target with the
right location returning the right amount of data, but the number of
variables make it a bit difficult to hack.

Posted by Bob on March 4, 2006, 9:19 am
Please log in for more thread options

mlw wrote:
> I'm pulling my hair out..... I've search google for days
>
> I have been using a ball PS2/USB mouse as my dual motor encoder. When
> connected to the PS/2 port, I can put the mouse in "disable report" mode,
> and issue a 0xEB to the mouse to get data. It works very well.
>
> I want to get this code to work through the USB port, but no such luck, and
> can't find the information I need.
>
> Does anyone know if it is possible to deal with a USB mouse in that fashion?
> I have tried various alterations of "usb_control_message," to no avail.

Is this a mouse that works with Linux
or *BSD? You should be able to look
at the source code for the driver to
see the protocol. Or plug it into the
USB port on a Linux box, and add some
code to the driver to print out each
packet sent or received.


Similar ThreadsPosted
request for information November 19, 2005, 11:22 am
How to build your optical "mouse"? August 12, 2005, 7:48 pm
Using Mouse as rotation sensors October 25, 2005, 5:55 am
Measuring travel with a mouse? March 22, 2007, 8:43 pm
Re: Jumpy Mouse Movement December 30, 2007, 10:31 am
Re: FURRY KISS A MOuSE December 29, 2007, 2:06 pm
Optical finger mouse - useful for robots? March 3, 2007, 9:55 am
Ball mouse turned into cheap tachometer... May 24, 2006, 4:10 pm
Opitical Mouse for tracking robotic movement August 28, 2006, 1:07 am
Lens selection for ADNS optical mouse sensor November 6, 2006, 1:39 pm

The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy