Bug#574180: Deprecated usbfs handling
On Mon, Apr 12, 2010 at 08:40:18PM +0200, Marco d'Itri wrote:
> > Where's the right place for this? Is it the right approach at all?
> I believe that the program should be modified to use /dev/bus/usb/,
> /proc/bus/usb/ does not even exist in modern kernels.
fxload needs no fixing, it contains a command line option:
$ fxload
[..]
[-D devpath] overrides DEVICE= in env
The key is to either set DEVICE correctly or to provide a sensible
argument to -D.
Since DEVICE is more or less deprecated, I propose the following
solution:
- nothing needs to be changed for fxload (the source doesn't even
contain a reference to /proc at all)
- nothing is added to udev
- midisport-firmware fixes
/etc/udev/rules.d/42-midisport-firmware.rules and appends -D /dev/%P
to each rule (Closes: #574180)
- we close the fxload bug, it's invalid. (540757)
Objections? ;)
Cheerio
--
mail: adi@thur.de http://adi.thur.de PGP/GPG: key via keyserver
Reply to: