[Bug 27833] Re: Add support for MidiSport USB midi interfaces
carrasclin
fontanet9 at yahoo.es
Tue Oct 23 17:30:54 BST 2007
To Forest Bond.
I see in your attached debdiff something like...
<code>
# MidiSport 2x2
-ACTION=="add", SUBSYSTEM=="usb_device", ATTRS{idVendor}=="0763", ATTRS{idProduct}=="1001", RUN+="@fxload@ -s @firmwaredir@/MidiSportLoader.ihx -I @firmwaredir@/MidiSport2x2.ihx"
+ACTION=="add", SUBSYSTEM=="usb_device", ATTRS{idVendor}=="0763", ATTRS{idProduct}=="1001", RUN+="@fxload@ -s @firmwaredir@/MidiSportLoader.ihx -I @firmwaredir@/MidiSport2x2.ihx" -d $env{DEVNAME}
</code>
PLEASE, PLEASE, it is not correct!!!
the '-d $env{DEVNAME}' MUST be inside the quote commas. And the '-d'
should be an upper case.
Like this...
<code>
ACTION=="add", SUBSYSTEM=="usb_device", ATTRS{idVendor}=="0763", ATTRS{idProduct}=="1001", RUN+="@fxload@ -s @firmwaredir@/MidiSportLoader.ihx -I @firmwaredir@/MidiSport2x2.ihx -D $env{DEVNAME}"
</code>
If not this way, would not work.
I've also tried the '-D $tempnode' as pointed out by other colegue and
also works OK.
It is interesting to know also that I have compiled from the source available on the sourceforge.net on an official Debian Etch and the original '42-midisport-firmware.rules.in' as ALSO the proposed modified one both work.
But on Ubuntu (both Feisty and Gutsy) the only way to make it work is with the above code, whether with -D $env{DEVNAME} or -D $tempnode.
Greetings.
--
Add support for MidiSport USB midi interfaces
https://bugs.launchpad.net/bugs/27833
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.
More information about the Ubuntu-universe-sponsors
mailing list