Accessing GPIO on a USB serial bridge (How?)
by vespaman from LinuxQuestions.org on (#6DJZB)
Hi all,
I am struggling with a USB-serial bridge, on which I would like to access the GPIO of the chip. As far as I can understand, it should be supported by the driver (xr_serial.c) in the mainline kernel.
But:- gpiodetect does not emit any information on it (but I do see an ftdi USB-serial device that is also connected).
The bridge is a (devboard) XR21B1422 and it comes up as four ttyUSBx as it should, so everything seems to be in place.
Is there any other way to access them? I'm totally in the dark right now, so any suggestions are welcome!
I am struggling with a USB-serial bridge, on which I would like to access the GPIO of the chip. As far as I can understand, it should be supported by the driver (xr_serial.c) in the mainline kernel.
But:- gpiodetect does not emit any information on it (but I do see an ftdi USB-serial device that is also connected).
The bridge is a (devboard) XR21B1422 and it comes up as four ttyUSBx as it should, so everything seems to be in place.
Is there any other way to access them? I'm totally in the dark right now, so any suggestions are welcome!