On Tue, May 23, 2006 at 05:14:03PM +0100, Craig Shelley wrote:
> Hi,
> 
> I have had a few requests to add support for the CP2103 usb serial
> converter chip to the CP2101 driver. (I suspect this will end up getting
> renamed to CP210x some time in the future)
> 
> This chip has 4 general purpose input/output pins which can be used to
> control additional features of the target product. I suspect it will be
> relatively straight forward to implement the support for these GPIO pins
> in the existing driver.
> 
> My question is, what API should the userland programs use to access this
> extra functionality of the device?

sysfs files?  Take a look at drivers/usb/misc/phidgetkit.c for a driver
that has some different sensors on it that exports them through sysfs.

I also think that the ftdi_sio usb-serial driver has some additional
functionality like this, but am not sure what they are doing to export
that to userspace.  Take a look at driver too.

thanks,

greg k-h


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to