EPICS Home

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  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: USB driver
From: Eric Norum <[email protected]>
To: [email protected]
Cc: EPICS tech-talk <[email protected]>
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, [email protected] 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
[email protected]






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  2018  2019  2020  2021  2022  2023  2024 
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  2018  2019  2020  2021  2022  2023  2024