USB hangs on the Xilinx USB II Cable

  • Thread starter General Schvantzkoph
  • Start date
G

General Schvantzkoph

Guest
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?
 
W dniu 2011-10-19 19:47, General Schvantzkoph pisze:
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?
For Gentoo I must restart udev and cleancablelock:
# udevadm trigger --attr-match=dev
# impact -batch
cleancablelock
exit
 
On Wed, 19 Oct 2011 21:47:43 +0200, Bik wrote:

W dniu 2011-10-19 19:47, General Schvantzkoph pisze:
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?
For Gentoo I must restart udev and cleancablelock: # udevadm trigger
--attr-match=dev
# impact -batch
cleancablelock
exit
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.
 

Welcome to EDABoard.com

Sponsor

Back
Top