https://bugzilla.novell.com/show_bug.cgi?id=246055
User ensonic@sonicpulse.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=246055#c2
Stefan Kost changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |FIXED
--- Comment #2 from Stefan Kost 2008-08-24 06:37:02 MDT ---
There is a bug somewhere. I finally managed to figure out:
The udev-rule in comment #1 is not right:
ACTION=="add", SUBSYSTEM=="usb_device" ATTRS{idVendor}=="0763",
ATTRS{idProduct}=="1014", RUN+="/bin/logger rule1: $env{DEVNAME}"
There is no SUBSYSTEM=="usb_device". I've been using "/sbin/udevadm monitor
--env" to show what going on and ended up with:
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ENV{PRODUCT}=="763/1014/*", RUN+="/bin/logger rule invoked: $env{DEVNAME}"
and indeed that was called with the proper DEVNAME. Still no luck once I put
fxload there. Comment #1 also mentioned a race and thus I tried my luck with
this and that works:
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ENV{PRODUCT}=="763/1014/*", RUN+="/bin/sleep 1s"
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ENV{PRODUCT}=="763/1014/*", RUN+="/sbin/fxload -s
/usr/share/usb/maudio/MidiSportLoader.ihx -I
/usr/share/usb/maudio/MidiSportKS.ihx -D $env{DEVNAME}"
As this is just a workaround that works-for-me, I'd still like to know about a
proper fix.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.