better fix for windrvrfd when device is not opened
[usb-driver] / README
113af964 1This library emulates Jungo Windrvr USB functions in userspace which are
2required by XILINX impact to access the Platform cable USB. With this library
3it is possible to access the cable without loading a proprietary kernel module
4which breaks with every new kernel release. It uses the USB functions provided
5by the libusb userspace library instead and should work on every kernel version
6which is supported by libusb. It was written against impact from ISE Webpack
79.1SP1 and will very probably not work with older impact versions (<9.1).
9Build the library by calling `make'.
11To use this library you have to preload the library before starting impact:
13$ LD_PRELOAD=/path/to/ impact
15$ export LD_PRELOAD=/path/to/ (for sh shells)
16$ setenv LD_PRELOAD /path/to/ (for csh shells)
17$ impact
fdd05738 18
19To use the device as ordinary user, put the following line in a new
20file in /etc/udev/rules.d/ and restart udev:
21ACTION=="add", BUS=="usb", SYSFS{idVendor}=="03fd", MODE="666"
979132fe 22
24If your cable does not have the ID 03fd:0008 in the output of lsusb,
25the initial firmware has not been loaded (loading it changes the
26product-ID from another value to 8). To load the firmware follow
27these steps:
291. If you have no /etc/udev/rules.d/xusbdfwu.rules file, create one with the
30 following content:
31# version 0001
32SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0008", NAME="windrvr6"
33BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE"
34BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE"
35BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000b", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE"
36BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE"
37BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $TEMPNODE"
392. Install the package containing /sbin/fxload from your linux distribution.
40 It is usually called "fxload"
423. copy the file /path/to/ISE/bin/lin/xusbdfwu.hex to /usr/share/xusbdfwu.hex
444. restart udev and re-plug the cable
Impressum, Datenschutz