Am Dienstag, 25. Februar 2003 22:22 schrieb Henning Meier-Geinitz:
> Hi,
>
> On Tue, Feb 25, 2003 at 08:05:11PM +0100, Oliver Neukum wrote:
> > > If I load the kernel USB driver, the scanner is detected by it, but
> > > accessing /dev/usb/scanner0 fails.
> > >
> > > With devfs enabled or dynmic minors disabled everything works as
> > > expected.
> >
> > Which minor is allocated?
>
> Without dynamic minors:
> Feb 25 10:06:49 hmg1 kernel: drivers/usb/core/file.c: asking for 1 minors,
> starting at 48 Feb 25 10:06:49 hmg1 kernel: drivers/usb/core/file.c: found
> a minor chunk free, starting at 48
>
> With dynamic minors:
> Feb 25 12:07:04 hmg1 kernel: drivers/usb/core/file.c: asking for 1 minors,
> starting at 0 Feb 25 12:07:04 hmg1 kernel: drivers/usb/core/file.c: found a
> minor chunk free, starting at 0
                                             ^
That's the reason it doesn't work. You need hotplug scripts that make
the device node. Unfortunately that's a race that causes insecurity.

In other words, don't use this option without devfs.

        Regards
                Oliver



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to