Hello. I want to understand the gadget device driver and so I have searched and read several web sites. However, testing is still vague. In Linux, assumed that gadget device driver is set and connected to the PC (Windows or Linux).
You mean, (a) controller driver, for the hardware, plus (b) gadget driver, implementing the software protocol (over USB messages), connected to (c) some host used for testing.
Now that, a developer wants to test the gadget device driver. In web site, http://www.linux-usb.org/usbtest/index.html , just 'typing
usbtest -a' is all.
From a Linux 2.6 host, yes that's all you need to run a basic test. That same web page includes a "test.sh" script that provides much better coverage of all the interesting things that could go wrong.
From any other host, you'll have to define your own tests. For example, use the Ethernet gadget driver and perform networking tests; or use the file-backed storage gadget driver and perform disk style tests; and so on.
And this results several outputs. However, I can not understand these procedures.
Please teach me about these procedures.
Run the tests, examine any failures, fix the bugs. Repeat until done.
You should be able to run the tests for several days at a time without having any failures at all.
What is the equipments required and how to use them.
(i) Linux 2.6 host, configured with "usbtest" driver and OHCI, UHCI, or EHCI; (ii) Linux "device", configured with "g_zero" driver and a controller.
That is what I want. Please advice to me.
It's not clear what you need though.
If the issue is that you're unfamiliar with running command line tools on Linux, there are thousands of books to start with.
If you're after a formal and scripted test procedure, cross-indexed to the functionality being tested, sorry; at least for now, you'll have to develop that yourself.
- Dave
------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel