EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: USB streaming device to linux/epics
From: "Mark Rivers" <[email protected]>
To: "Emmanuel Mayssat" <[email protected]>, "J. Lewis Muir" <[email protected]>, <[email protected]>
Date: Mon, 12 Jan 2009 12:51:39 -0600
The documentation for my DXP module explains how to use hotplug or udev
(depending on the Linux version) to change permissions on a USB device
to allow users without root priviledge to read and write the device.

http://cars9.uchicago.edu/software/epics/dxpDoc.html#Installing%20the%20
Saturn%20on%20Linux

As Lewis said this module uses libusb on Linux.  It is an asyn driver,
but not a generic one.

I would suggest writing an asyn driver for your device that uses libusb.
You can then use the generic asyn device support.

Mark


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of J. Lewis Muir
Sent: Friday, January 09, 2009 8:20 AM
To: [email protected]
Subject: Re: USB streaming device to linux/epics

On 1/8/09 1:08 PM, Emmanuel Mayssat wrote:
> Hello again,
> 
> I am contemplating writing a low level linux driver to read a stream
of
> data coming for custom made device and on a USB2 port.
> This data will be fed to linux and then to epics.
> 
> Is anyone of you using epics with USB devices?
> Any pointers? Does asyn interface with usb ports readily?

Hi, Emmanuel.

Mark Rivers' dxp software supports USB communication with the XIA Saturn
DXP; it might be a useful example:

  http://cars9.uchicago.edu/software/epics/dxp.html

On Linux, it uses libusb:

  http://libusb.sourceforge.net/

-lewis


References:
USB streaming device to linux/epics Emmanuel Mayssat
Re: USB streaming device to linux/epics J. Lewis Muir

Navigate by Date:
Prev: RE: AreaDetector, Compiling synApps modules for Windows Microsoft compiler Mark Rivers
Next: Re: Comparing catime performance Daron Chabot
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: USB streaming device to linux/epics J. Lewis Muir
Next: Re: USB streaming device to linux/epics Yuke Tian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·