]> jspc29.x-matter.uni-frankfurt.de Git - daqdocu.git/commitdiff
Add lines how to unload the ftdi_sio kernel modules when using a FT2232H mini module...
authorTobias Weber <webert@kph.uni-mainz.de>
Tue, 6 Jan 2015 16:29:37 +0000 (17:29 +0100)
committerTobias Weber <webert@kph.uni-mainz.de>
Tue, 6 Jan 2015 16:29:37 +0000 (17:29 +0100)
trb3/Trb3GeneralRemarks.tex

index 7e3e235b93893dcf8acb0a191678ca37d4b4673b..35f142d3abfee4328f43f0d9aedb93cea013a984 100644 (file)
@@ -199,8 +199,18 @@ Note that the programming cable can only be used as root by default in most Linu
 
 There's also an alternative to the quite expensive Lattice Programming
 cable, if you have some time left, you can buy the FT2232H mini module
-and solder a cable yourself. This costs roughly 50 Eur and one hour
-soldering fun.
+and solder a cable yourself. This costs roughly 50 Euro and one hour
+soldering fun. If the programmer is not able to find a valid JTAG chain or
+errors are reported during programming, the problem may be related to the Linux ftdi\_sio kernel module.
+You can unload it automatically using a udev-rule by adding (as one line)
+\\\verb!SUBSYSTEM=="usb",ATTRS{idVendor}=="0403",ATTRS{idProduct}=="6010",MODE=="0666",!
+\\\verb!OWNER=="root",GROUP="users",RUN+="/bin/sh -c 'RESULT=$(basename %p); ! 
+\\\verb!echo $RESULT:1.0 >/sys/bus/usb/drivers/ftdi_sio/unbind"!
+\\into 
+\\\files{/etc/udev/rules.d/91-usb-hardware.rules} 
+\\and restart udev or unload it by hand with 
+\\\verb!rmmod ftdi_sio!
+\\after plugging in the cable.
 
 \subsection{Data Unpacker}
 \label{Data_Unpacking}