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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | USB/ASYN/EPICS example (usbMouse support) |
From: | Eric Norum <[email protected]> |
To: | EPICS Tech Talk <[email protected]> |
Date: | Fri, 22 Jul 2011 09:10:33 -0700 |
A few weeks ago Miroslav Mihaylov at the University of Chicago posted a Tech-Talk message requesting suggestions for adding a simple hardware switch to an EPICS soft IOC. I suggested using a USB mouse with the switch wired across one of the buttons. As a proof of principle I created a small driver to show how the libusb routines could be used with ASYN to read values from a USB mouse. The (very preliminary) code is at: http://www.aps.anl.gov/epics/modules/instrument/usbMouse/ I hope that this is useful and can serve as a starting point for creating EPICS support for other USB devices. -- Eric Norum [email protected]