Re: [linux-usb-devel] about usb device on PXA255

2003-08-14 Thread Robert Schwebel
On Wed, Aug 13, 2003 at 01:53:49AM +, agikor M wrote:
 I am a newbie on usb device.Now I have a task about the usb device on
 PXA255.we have designed a HPC which based on PXA255 and we want to use
 the HPC as a mass storage device(a usb removable disk) through the usb
 on pxa255.  Would you like to tell me how I can get a start and
 introduce me the steps to work? Are there have some reference?

You have to write a gadget driver: use the pxa2xx_udc controller driver
(which talks to the hardware and handles all the hardware access stuff),
on top of that you should write something that implements the
specification for storage devices. Look at the existing gadget drivers
(gadget_ether, gadget_zero) to see how things work... 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
 Hornemannstraße 12,  31137 Hildesheim, Germany
Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: Re: [linux-usb-devel] about usb device on PXA255

2003-08-14 Thread agikor M
Hi,Robert Schwebel

You have to write a gadget driver: use the pxa2xx_udc controller driver
(which talks to the hardware and handles all the hardware access stuff),
drivers/arch/mach-pxa/usb_ctl.c
-/usb_ep0.c
-/usb_recv.c
-/usb_send.c
Do you mean these files acting as the pxa2xx_udc controller driver?
I have build the driver as modules and loaded it.when I connet the HPC to 
the PC(windows system),what should be happend? Should the PC recognize the 
HPC as a USB device?
When I have done these ,nothing occured.
on top of that you should write something that implements the
specification for storage devices. Look at the existing gadget drivers
(gadget_ether, gadget_zero) to see how things work... 

Robert
Best regargs,
Magikor
_
 MSN Explorer:   http://explorer.msn.com/lccn/  



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] about usb device on PXA255

2003-08-14 Thread agikor M
Hi,all
I am a newbie on usb device.Now I have a task about the usb device on 
PXA255.we have designed a HPC which based on PXA255 and we want to use the 
HPC as a mass storage device(a usb removable disk) through the usb on 
pxa255.
Would you like to tell me how I can get a start and introduce me the steps 
to work? Are there have some reference?
Thanks a lot.

Best regards,
Magikor
_
 MSN Messenger:  http://messenger.msn.com/cn  



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel