DEVNAME not set when executing udev rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to initialise a MidiSport USB interface with a udev rule
that triggers fxload to upload the firmware:

ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0",
ENV{PRODUCT}=="763/1001/*", RUN+="/sbin/fxload -v -s
/usr/local/share/usb/maudio/MidiSportLoader.ihx -I
/usr/local/share/usb/maudio/MidiSport2x2.ihx -D $env{DEVNAME}"

The problem:
DEVNAME is not set in the environment.
Only DEVICE is set with the 'wrong' device file name under /proc/bus/usb
 which is deprecated and thus not useful.

System: Suse 11.1 Linux 2.6.27.29-0.1-default #1 SMP 2009-08-15 17:53:59
+0200 i686 athlon i386 GNU/Linux
udev Version: 128

What can I do to pass a valid device file name to fxload to upload the
firmware?

Thanks,

Stefan
--
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

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux