#4 making loader work with udev

closed-fixed
5
2006-02-13
2005-11-10
Anonymous
No

Lastest linux versions are working with udev. So I tried
to use udev and not to use hotplug scripts. Theese were
not compatible in open suse 10 and make start too slow
at ubuntu hoary and breezy.

I solved it making the following:

First I installed de firmware-loader-0.5

Then I created a new rule file in /etc/udev/rules.d named
13-Midisport1x1.rules with this only line.

SUBSYSTEM=="usb", ACTION=="add",SYSFS
{idProduct}=="1010", SYSFS{idVendor}=="0763" ,
RUN+="/sbin/fxload -
s /usr/share/usb/midisport/MidiSportLoader.ihx -
I /usr/share/usb/midisport/MidiSport1x1.ihx"

This rule makes my Midisport1x1 work fine.

It would be nice for a next version to try something like
this to make work the loader with udev but for all
devices supported by this loader. (this rule works for my
device but for other devices SYSFS{idVendor} and
firmware values should be different).

Is not a bug, I know but I need to talk about this
posibility.

Thanks.

Discussion

  • Logged In: NO

    This is starting to hit the fan. It affected me too (running
    Debian testing). Thanks for the information, I was able to
    get mine working too. Hint: look in /sys/bus/usb/ for the
    device that is reported in syslog when you plug it in.

     
  • Logged In: YES
    user_id=240068

    Version 1.0 nowshould work with udev.

     
    • status: open --> closed-fixed