Comment 19 for bug 88923

Revision history for this message
carrasclin (fontanet9) wrote :

I've only tested with a live CD and I am not sure if this is an idiosincrasy of the live CD and with a regular hard drive install things work different. (I am intending to test it with other computer since that which I am using now is for real work).

With the March 18th beta and the live daily build of March 28 what I've seen is that the usb devices that normaly appeared both mounted at /proc/bus/usb/###/### and at /dev/bus/usb/###/###, now only appear at /dev/bus/usb/

In my case the workaround is issue an lsusb to identify the bus and device numbers of the Midiman device and then load manualy the firmware with something like:

"/sbin/fxload -s /lib/firmware/maudio/MidiSportLoader.ihx -I /lib/firmware/maudio/MidiSportKS.ihx -D /dev/bus/usb/##1/##2" being ##1 and ##2 the numbers showed with the lsusb command and substituing "MidiSportKS.ihx" with that appropriate to your m-audio device.

A script to automaticaly do the workaround could be:

#!/bin/bash

#your firmware ... taken from usbmidi. You must substitute 'xxxxxxxxxxxx.ihx' for the corresponding to your device
fw=/lib/firmware/maudio/xxxxxxxxxxxx.ihx

#perhaps you need an additional second stage firmware blob loader. Then you could set the following
#fw2=/lib/firmware/maudio/MidiSportLoader.ihx
#and change 'fxload -I $fw -D $dev' line to 'fxload -s $fw2 -I $fw -D $dev

#get proc address. Perhaps you must change 'Midisport' for 'Midiman'
bd=$( lsusb | grep Midisport | cut -d ' ' -f 2,4 | sed -e 's/ /\//' -e 's/://' )

# normally it should be 'dev=/proc/bus/usb/$bd'
dev=/dev/bus/usb/$bd

#load firmware
echo fxload -I $fw -D $dev
fxload -I $fw -D $dev