[ILUG] [Q] USB/udev - how to debug rules not(?) being run?

Brian Foster blf at blf.utvinternet.ie
Wed Jan 16 07:27:04 GMT 2008


 apologies if this doesn't make too much sense;
 it's written in haste and from memory ....

 I'm struggling with the installation of some
 specialist USB kit; in particular of an FS²
 (First Silicon Systems) JTAG Probe (Linux host
 software 2.1.8.8) on Kubuntu 7.10 (64-bit).

 there seem to be two issues:

 1st, the Probe does not seem to be coming to
     life; i.e., the PWR LED isn't illuminating.
     I presume this is a H/W-ish issue, and
     mention it in case it has something to do
     with the 2nd issue ....

 2nd, the FS² software installation expected
     `hotplug'(/`usbfs'?), whilst I'm using
     `udev'.  I have (supposedly) obtained
     an appropriate `*.rules' file, but when
     I connect the Probe (i.e., plug it into
     a USB port), nothing happens.  WTF?

 using `udevmonitor' I can see the Probe being
 detected when I plug it in (or its unplugging
 detected when I remove it).  but all that
 seems to be happening is rather generic USB
 events; and in particular, none of the FS²
 specific stuff:  it should be (AFAICR) creating
 a node /dev/fs2 and running `fxload' (which I
 have installed).  the node is not created, so
 there's no change `fxload' will work (it uses
 that node), but I don't think `fxload' is even
 being run.  (and if `fxload' does run, I assume
 it will fail due to the no(?) PWR/life issue?)

 using `udevtest' (and guessing a bit as to the
 arguments), it reports it is parsing the FS²
 rules file and then shows what seem to be those
 basic actions I am observing — i.e., the generic
 stuff but none of the FS² specific stuff.  WTF?

 in order words, "an" USB unit is being detected,
 and has the right ID to match the FS² udev rules,
 but those rules do not seem to be run.

 the logfiles do not seem to contain anything
 interesting.

 any suggestions or ideas on how I can obtain a
 better idea what is / isn't happening?

cheers!
	-blf-
-- 
“How many surrealists does it take to    |  Brian Foster
 change a lightbulb?  Three.  One calms  |  somewhere in south of France
 the warthog, and two fill the bathtub   |     Stop E$$o (ExxonMobile)!
 with brightly-coloured machine tools.”  |       http://www.stopesso.com



More information about the ILUG mailing list