Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: USB driver
From: Eric Norum <eric@norum.ca>
To: emmanuel_mayssat@lynceantech.com
Cc: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Fri, 18 Jun 2010 14:07:48 -0400
If your USB/Serial adapter creates a Termios-style device in /dev then you can treat it just like an ordinary local serial port.  

The system creates such /dev entries dynamically when the USB/Serial adapter is detected.  On my OS X machine, for example, plugging in an adapter results in
/dev/tty.PL2303-000013FA
being created.

On Jun 18, 2010, at 1:55 PM, emmanuel_mayssat@lynceantech.com wrote:

> Hello,
> 
> is there any set of library to interface with a USB (serial) device?
> It seems that asyn can interface with drvAsynSerialPortConfigure() to /dev/ttyUSB0 device files... How are those files generated? ( I have /dev/usbXX on my machine. Are those the same?)
> http://panda-wiki.gsi.de/cgi-bin/view/DCS/EPICSstartUsingStreamDev?CGISESSID=f078faedad4d8cc21b90c29c392f3319
> 
> With usb-net module, I can trick the linux OS to create ethernet interfaces which are indeed USB ports. I could therefore have asyn connect using drvEthernetPortConfigure() (??) as well.
> http://www.embedded.com/story/OEG20021217S0036
> 
> What do you recommend?
> 
> PS: Is anyone streaming lots of data (video, adc, etc) over USB?
> 
> -- 
> Emmanuel

-- 
Eric Norum
eric@norum.ca






References:
USB driver emmanuel_mayssat

Navigate by Date:
Prev: USB driver emmanuel_mayssat
Next: Driver Support Tutorial Andrew Wagner
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: USB driver emmanuel_mayssat
Next: Driver Support Tutorial Andrew Wagner
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·