Hello,

I have also posted this to the users forum, and it was suggested to post
here as well.  

When connecting a Windows XP host to an embedded Linux device, I would
like to 'trick' the Windows PC to think that the embedded Linux board is
instead a USB mouse.  The embedded board has USB functionality enabled
in the kernel, and has the Intel PXA255 chip which handles the USB
Client functionality.  From what I have read, I believe that in order to
complete this 'fake out', I will need to change the device descriptors
of the board to instead be those of a USB mouse, and with that
accomplished, I would need to write a program with various mouse
movement packets to send to the USB endpoint.  

I have been told that I would need to configure the USB descriptors to
those of a mouse in the linux kernel.  I'm not sure if is that simple.
I have also read about the usb_gadget.h API which could potentially be
used to simulate the mouse movement packets.  I am not extremely
familiar with the usb_gadget.h API, so I am not sure if it will allow me
to write read/write mouse movements to EP0 in my C code.  It seems that
a simplier approach might just be to find the correct packet
specification for the mouse movements, and to manually create these
packets and pass them along to USB.  

Am I on the right approach to creating this simulation (both in terms of
recognition as a mouse, as well as creating mouse movement)?  Any
information and help would be greatly appreciated!!

Regards,
Colleen





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to