> The point being that the implement the device/enpoint scheme, you need a
> dynamic filesystem. Assigning fixed major/minors for device/endpoints is

No I dont

> unfortunately not possible as it would exhaust the available major/minor
> number space accounting for all possible combinations.

Agreed


        struct usb_select
        {
                int bus;
                int device;
                int ep;
        };

        ioctl(fd, USBIOCSELECT, &usb_select);

>From that point the fd is bound to that given bus,device,ep - its a way to
work around the device space problem. Its not pretty but it works.

Alan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to