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  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: Linux USB serial questions
From: Guy Jennings <jennings@anl.gov>
To: Mark Rivers <rivers@cars.uchicago.edu>
Cc: tech-talk@aps.anl.gov
Date: Thu, 18 Apr 2013 17:57:42 -0500
It should be - you'd need to add the vendor=0x104d and device=0x3006 parameters to a file in /etc/modprobe.d

options ftdi_sio product=0x3006 vendor=0x104d

You might have to explicitly load the module during startup - I'm not sure about the mechanism for automatically
loading the ftdi_sio module if only 0x3006 devices are present.

Backporting the necessary changes to the 2.6 kernel shouldn't be that hard - and you only need to build and
replace the ftdio_sio module.

I found the patch that added the AGILIS support in 3.8 - you simply add defines for the vendor and product
ids into drivers/usb/serial/ftdi_sio_ids.h and add USB_DEVICE lines for each product in drivers/usb/serial/ftdi_sio.c


Guy

On Apr 18, 2013, at 4:41 PM, Mark Rivers wrote:

I don't have a serious need for this device, but there is an EPICS user at NIH, Andrew Gomella who needs to control 18 of the model 3006 devices, which he is planning to do from a single Linux box.

Is this possible, even in kernel 3.8?

Mark



________________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of J. Lewis Muir [jlmuir@imca-cat.org]
Sent: Thursday, April 18, 2013 4:34 PM
To: Jennings Guy
Cc: tech-talk@aps.anl.gov Talk
Subject: Re: Linux USB serial questions

On 4/18/13 4:06 PM, Jennings Guy wrote:
I don't think it can work in that kernel - the ftdi_sio module only allows
a single vendor:product pair to be passed as a parameter and udev will
only see events for devices that are recognised by the ftdi_sio module.

Hi, Guy.

OK, I see what you're saying.  So Mark would need to be running a 3.8
kernel to get built-in support for the NEWPORT_VID (0x104D) vendor ID
and the NEWPORT_AGILIS_PID (0x3000) product ID.  That would take care of
his one device.  And then since even 3.8 doesn't know about the 0x3006
product ID, Mark could specify that using the one available
vendor-product modprobe parameters pair (e.g. "modprobe ftdi_sio
vendor=0x104d product=0x3006")?

Or, to use his existing kernel, Mark would have to add the needed vendor
and product IDs to drivers/usb/serial/ftdi_sio_ids.h and build a custom
kernel?

Thanks,

Lewis


References:
Linux USB serial questions Mark Rivers
RE: Linux USB serial questions Mark Rivers
Re: Linux USB serial questions J. Lewis Muir
RE: Linux USB serial questions Mark Rivers
Re: Linux USB serial questions J. Lewis Muir
Re: Linux USB serial questions Jennings Guy
Re: Linux USB serial questions J. Lewis Muir
RE: Linux USB serial questions Mark Rivers

Navigate by Date:
Prev: Re: Linux USB serial questions J. Lewis Muir
Next: Re: Linux USB serial questions Guy Jennings
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Linux USB serial questions Guy Jennings
Next: Re: Linux USB serial questions Dale L. Brewe
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·