Hi Mohamed, You wrote on Wed, Mar 16, 2022 at 04:40:52PM +0000: > I wrote this program to assert ftdi pins using bitbang feature but when it > opens the usb port, the device file (/dev/ttyUSBx) doesn't appear again for > ever (until a reboot). It seems it fails to close it properly. Any ideas?
this is highly likely the "reattach" behavior that can be configured. Look for AUTO_DETACH_REATACH_SIO_MODULE. It's part since libftdi 1.5: "Add kernel driver auto attach/detach. See new AUTO_DETACH_REATACH_SIO_MODULE option" Cheers, Thomas -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
