On Fri, 27 May 2005, John Smith wrote:

> Hi,
>     I am a beginner and have some doubts on usb on linux.
> 
>     I have a target board on which linux runs.
> 
>     the target board has a serial port and an usb port.
> 
>     
>     i dont want to use the serial port. i want to use the usb port.
> 
>     i want to connect the usb port (slave) with another usb port on
> pc(master) and
> 
>     use minicom to run on it.
> 
> 
>    how do i do it.

Look at <http://www.linux-usb.org> and follow the link to the Gadget page.

>    Will just connecting a cable do or should i change any linux drivers.
> 
> 
>    Actually, i know this is a stupid question. since i am a newbee,  i
> would request you to explain in detail.

The drivers are already written.  Whether they will run on your board I 
can't say, since you didn't mention what hardware your board has.  You 
will want to run the Ethernet gadget driver; I don't believe there is a 
USB Serial gadget driver.  So you will end up using telnet, not minicom.

>  One more question:
>   If there is a single usb port can it work as master and slave (is
> there something as
>   a chip (which is both master and slave) and we can change the
> configuration of the chip to function as a master or slave ?.

It depends on the chip.  Some have hardware that can be used as both 
master and slave (or more correctly, as host and peripheral) -- though not 
both simultaneously!  Others have hardware that can be used only as a 
host, or only as a peripheral.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to