Comment 16 for bug 27833

Revision history for this message
Erik Ridderby (paddlaren) wrote : Re: [Bug 27833] Re: Add support for MidiSport USB midi interfaces

Hi!

2007/8/3, Forest Bond <email address hidden>:
>
> Hi,
>
> On Fri, Aug 03, 2007 at 05:20:31AM -0000, Paddlaren wrote:
> > It is a mysterium for me why this suddenly araise and why only some of
> us
> > seems to need it. But it is very obvius that the fxload needs a -D
> argument
> > with the devicepath so I am rather more impressed that it work without
> this
> > fix.
>
> Actually, the manpage indicates that if -D is not used, the environment
> variable
> $DEVICE is used instead. I believe that either udev or the kernel sets
> this
> variable, which is why it works on my system without the -D.

Missed that.

Are you sure the -D is necessary on your system?
>
> What version of Ubuntu are you running? I believe there was a minor
> glitch on
> Edgy (or was it Dapper?) that caused some USB devices requiring firmware
> to not
> come up at boot time, but if udev was restarted (sudo /etc/init.d/udev
> restart),
> the devices would then be able to load correcdtly. If I'm remembering
> correctly, this was related to usbfs, and whether or not it was loaded at
> the
> right time in the process.

I am using kubuntu 7.04 and have enabled the backport repositories. I have
also installed meta-packages for a music studio from UbuntuStudio
installed. The udev package have the version 108-0ubuntu4. fxload is version
0.0.20020411-1.

uname reports:
Linux kalle 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
GNU/Linux

Can you try changing your udev file back to the version without the -D and
> rebooting? If your MidoSport doesn't work at that point, restart
> udev. If it
> still doesn't work, I'd like to figure out why that is.

Before I started to hack the udev-rules I installed the midisport-package
and failed to load the firmware. Then I rebooted my machine and still
failed.

I modified the script above to print $DEVICE and $DEVNAME into a log file
and $DEVICE is not set or contains no information.
It seems that one difference is that my fix uses $DEVNAME instead of
$DEVICE. Anybody knows why/when this is changed? Are there a setting for
this that can differ?

The trace-printout results in:
${DEVICE}:
${DEVNAME}: /dev/bus/usb/002/080

> I will certain test the package if you give me a hint of where to find
> > it.
>
> Ok, when/if I have one ready, I'll post a link.
>
> thanks,
> Forest
> --
> Forest Bond
> http://www.alittletooquiet.net
>
> --
> Add support for MidiSport USB midi interfaces
> https://bugs.launchpad.net/bugs/27833
> You received this bug notification because you are a direct subscriber
> of the bug.
>