> That's not a USB _device_, it's a (not interesting) USB endpoint. > > > which I then need to parse in some regexp magic in order to > > extract the bus and dev num in order to construct the full path. I > used to > > be able to pull devnum and busnum ($env{BUSNUM}) but not anymore > (using > > openSUSE 11). > > That still works. I tried it on OpenSUSE 11 and it doesn't, $env{BUSNUM} and $env{DEVNUM} are empty strings, $env{DEVNAME} returns the USB endpoint which I can't pass to fxload. > Why not just use $DEVNAME? > RUN+="/sbin/fxload <firmware file option> -D $env{DEVNAME}" This is what I get: run_program: '/sbin/fxload' (stderr) '/dev/usbdev1.24_ep82: No such device or address' run_program: '/sbin/fxload' returned with status 255 Thus far, fxload only works if it is passed something in the form of /dev/bus/usb/XXX/YYY Cheers, Jasem -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html