1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> |
<== Date ==> | <== Thread ==> |
---|
Subject: | Problem with Newport CONEX-AGAP FTDI device on Linux |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Fri, 20 Jun 2025 16:51:56 +0000 |
Folks, I have an older Newport-CONEX-AGP controller that works fine on Linux. https://www.newport.com/f/agilis-piezo-linear-stage-with-conex-controller The device has a USB interface and uses FTDI. When I plug in the device on my RHEL 9 machine I see these messages in dmesg: [62289.315988] usb 1-4: new full-speed USB device number 10 using xhci_hcd [62289.447505] usb 1-4: New USB device found, idVendor=104d, idProduct=3006, bcdDevice= 6.00 [62289.447514] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [62289.447518] usb 1-4: Product: CONEX-AGP [62289.447520] usb 1-4: Manufacturer: Newport [62289.447522] usb 1-4: SerialNumber: A6UJN7YS [62289.450490] ftdi_sio 1-4:1.0: FTDI USB Serial Device converter detected [62289.450536] usb 1-4: Detected FT232R [62289.451085] usb 1-4: FTDI USB Serial Device converter now attached to ttyUSB0 The device is now available on /dev/ttyUSB0. I expected to be able to do the same thing with a newer CONEX-AGAP controller. https://www.newport.com/f/conex-piezo-absolute-positioning-mirror-mount However, when I plug in the device on my RHEL 9 machine I see these messages in dmesg: [62360.327898] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [62360.327934] ftdi_sio 1-4:1.0: device disconnected [62363.524320] usb 1-4: new full-speed USB device number 11 using xhci_hcd [62363.655966] usb 1-4: New USB device found, idVendor=104d, idProduct=3008, bcdDevice= 6.00 [62363.655975] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [62363.655978] usb 1-4: Product: CONEX-AGAP [62363.655980] usb 1-4: Manufacturer: Newport [62363.655982] usb 1-4: SerialNumber: A694ND5H Note that I do not get the messages about ftdi_sio detected or the message about attaching to ttyUSBx. The new CONEX-AGAP works fine on Windows, where it appears as a COM port. I can configure the COM port with EPICS: drvAsynSerialPortConfigure("serial1", "COM5", 0, 0, 0) asynOctetSetInputEos("serial1",0,"\r\n") asynOctetSetOutputEos("serial1",0,"\r\n") asynSetOption("serial1",0,"baud","921600") asynSetOption("serial1",0,"bits","8") asynSetOption("serial1",0,"stop","1") asynSetOption("serial1",0,"parity","none") asynSetOption("serial1",0,"clocal","Y") asynSetOption("serial1",0,"crtscts","N") Given the behavior on Windows, I think the CONEX-AGAP is also an FTDI device. But if so, then why is Linux not recognizing it as such? Thanks, Mark |