On Tuesday 28 December 2004 6:10 am, Jayaprakash Shanmugam wrote:
> Hi All,
>  
>   I use MPC 8270 based board and it has an USB 1.1
> device port available in it.  I want  to make this
> device to act as a mouse.   I need to have mouse
> movement, left click , right click and the middle
> click events.

You'd need a driver for the USB Device Controller
on the MPC8270, and software to do the mouse stuff.

If there were a "gadget" framework driver for that
controller, the simplest solution would be to use
gadgetfs to emulate a mouse and send mouse events.

The mouse support would be platform-independent;
I seem to recall reports of a few different folk
working on one, but don't know if any of them ever
finished it.  (It's simple code, if you understand
the USB HID spec.)  I don't know of an mpc8270_udc
driver, that'd be a bit more work.


> To give you a general picture :
> I want to emulate the USB mouse using the USB device
> port available on my board.  What is the right file to
> tweak in ?  I run Monta Vista 3.1 in my board. At
> present, it seems that I need to write the driver for
> this and Monta vista doesn't have a mouse driver.

It's my understanding that MV doesn't have a lot
of USB peripheral support.  However, the "gadget"
framework works fine on Linux 2.4, including the
MV 3.1 based products.

- Dave
  


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to