Re: [linux-usb] Re: USB device allocation

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sun, 10 Oct 1999 01:18:24 -0300


Johannes Erdfelt <jerdfelt@sventech.com> said:

[...]

> No, no, no. No one seems to understand the issues at stake here.

> I have 2 modems, I plug modem A in first, it becomes (hypothetical)
> device /dev/modem1. I plug in modem B second, it becomes /dev/modem2.
>
> Now, I unplug both and plug modem B in first, it becomes modem1 now with
> the current naming system.
>
> This is completely unacceptable.

Worse yet, you plug in A, into socket 1 in wall. Plug in B, into socket 2
in wall. Now permute all variables, throw in modem C as a replacement for A
which went south. How is the poor kernel going to know which modem device
goes where?

> Does devfs solve this problem right now? No. Will it be easy to solve
> this problem with devfs when an appropriate algorithm to name PnP
> devices is created. Yes.

But that mythical algorithm is impossible (see above).

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

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