|
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.
|
>
> 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.