ftdi d2xx conflict with ftdi_sio on linux - How to remove ftdi_sio automatically

╄→尐↘猪︶ㄣ 提交于 2019-12-01 23:05:07

is idVendor and idProduct correct ?

Then try:

ACTION=="add", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666",  RUN+="/bin/sh -c 'rmmod ftdi_sio && rmmod usbserial'"

If you know the device number you can try this script instead:

RUN+="/bin/sh -c 'echo -n 1-1:1.0 > /sys/bus/usb/drivers/ftdi_sio/unbind'"

I was able to fix the problem by using a different library. Instead of d2xx library, I started using pylibftdi which is based on libftdi and it's not sensitive to ftdi_sio.

Insted of adding a new file .rules, i added that new rule line in the 70-persistent-ipoib.rules already existent and worked for me. :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!