USB hangs on the Xilinx USB II Cable

The Xilinx USB II cable hangs on a regular basis. I've found that pulling the USB connector out and putting it back in isn't sufficient, the only way that I can get Chipscope to see it again is to power cycle the machine. I'm running SL6.1 (RHEL 6.1). The udev rules are,

# version 0003 ATTR{idVendor}=="03fd", ATTR{idProduct}=="0008", MODE="666" SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex

-D $tempnode" SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xup.hex

-D $tempnode" SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_emb.hex

-D $tempnode" SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xlp.hex

-D $tempnode" SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0013", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xp2.hex

-D $tempnode" SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0015", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xse.hex

-D $tempnode"

Is there some change to the udev rules or to setup_pcusb that will fix this?

Reply to
General Schvantzkoph
Loading thread data ...

W dniu 2011-10-19 19:47, General Schvantzkoph pisze:

ATTR{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex

-D $tempnode"

ATTR{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xup.hex

-D $tempnode"

ATTR{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_emb.hex

-D $tempnode"

ATTR{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xlp.hex

-D $tempnode"

ATTR{idProduct}=="0013", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xp2.hex

-D $tempnode"

ATTR{idProduct}=="0015", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xse.hex

-D $tempnode"

For Gentoo I must restart udev and cleancablelock: # udevadm trigger --attr-match=dev # impact -batch >cleancablelock >exit

Reply to
Bik

That sounds like what I want. Where do I get dev from? Here is my lsusb output, which is the field that I should use for dev?

Bus 001 Device 003: ID 03fd:0008 Xilinx, Inc.

Reply to
General Schvantzkoph

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.