Peter Clarke wrote:
Dear all,
Having just updated my Gentoo kernel from 2.6.11 to 2.6.13
(trying to get my Novation Speedio to work - that's still
WIP), I can't get my MIDIsport 2x2 to work any more. Under
2.6.11, it worked easily - I just had to fetch
midisport_firmware-0.5.tar.bz2 from Sourceforge, and follow
the instructions in the readme file there, which showed me
how to set up the firmware loader. But I can't get this to
work any longer. I can manually upload the firmware to the
MIDIsport using this command:
fxload -D /proc/bus/usb/XXX/YYY -I MidiSport2x2.ihx
The MIDIsport then flashes its lights and changes its ID and
bus address ("renumerates", in the wonderful jargon), but
doesn't pick up its driver - here's the relevant section
from /proc/bus/usb/devices:
T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 14 Spd=12
MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0763 ProdID=1002 Rev= 1.21
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 5 Cls=ff(vend.) Sub=00 Prot=00
Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 32 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
I have put an entry in /etc/hotplug/usb.usermap, pointing to
the script (midisport_fw) that's supposed to load the
firmware, but no messages appear in the log, suggesting
that the script is not getting run.
What's going wrong? Why is this not working now, when it
was childsplay before?
Did you by chance also upgrade udev? udev has recently decided to take
over the job of hotplug, but the upgrade is not seamless. See here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1353514&gr…
My own rule looks like this:
ACTION=="add",SYSFS{modalias}=="usb:v0763p1014d0001dcFFdscFFdpFFic*isc*ip*",RUN+="/usr/local/sbin/midisport_fw"
For more on what's going on, google for "udev hotplug firmware".