Re: [linux-usb-devel] Re: RFC: [2.6 patch] let BLK_DEV_UB dependon EMBEDDED

From: Lee Revell
Date: Mon Dec 20 2004 - 15:51:53 EST


On Mon, 2004-12-20 at 10:28 -0500, Alan Stern wrote:
> On Mon, 20 Dec 2004, Ed Tomlinson wrote:
>
> > Its not that they just enable it. Its that it has side effects. I enable it to support
> > one device - it then 'devnaps' other devices that usbstorage supports _much_
> > better. Is there some way it could work in reverse. eg. let ub bind only if
> > usbstorage does not, possibly making usbstorage a _little_ more conservative
> > if ub is present?
>
> Unfortunately there isn't any way to define which driver should bind to a
> device, if they are both capable of controlling it. Maybe there should
> be. It might not be too hard to add a sysfs interface for that sort of
> thing.

This is a neverending battle with ALSA and OSS modules claiming the same
device, resulting in bizarre behavior. You could argue that it's user
or vendor error but that doesn't change the flood of bug reports on
alsa-user.

I am sure the ALSA developers would welcome a generic solution for this
problem.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/