Saturday, March 5, 2011

Installing USB drivers in Linux

1. How to install USB driver in linux

1. $apt-get install libusb-dev fxload (for slackware, downlaod fxload and install it manually)
2. download usb-driver-HEAD.tar.gz and extract (
3. go into the extracted folder and $make
4. $cp /path/to/ISE/bin/lin/xusbdfwu.rules /etc/udev/rules.d/xusbdfwu.rules 
5. $sed -i -e 's/TEMPNODE/tempnode/' -e 's/SYSFS/ATTRS/g' -e 's/BUS/SUBSYSTEMS/' /etc/udev/rules.d/xusbdfwu.rules
6. $cp /path/to/ISE/bin/lin/xusb*.hex /usr/share/
7. $restart udev
8. replug the cable
9. $export LD_PRELOAD=/path/to/ (or include this in the script)

No comments:

Post a Comment