Re: USB device just moves
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Thu, 14 Feb 2008 05:22:55 GMT
phil-news-nospam@xxxxxxxx wrote:
So tell me how it is that "udev" can do better than the kernel itself to
make sure that when the USB device is re-attached that it will always get
exactly the same major/minor device number? I thought that what "udev"
did was automatically make a device node in the name space to refer to
the new major/minor. Remember, this involves an already mounted filesystem
with files still open.
Well, perhaps I misunderstood (or underestimated) the issue. Your
description of udev is correct. If the major/minor number is critical,
than perhaps udev doesn't help.
The real culprit in this is the poor design of USB, which follows the poor
design of PC. There should be a hardware layer consistency of addresses
based on where something is plugged in (bus number, controller number, port
number, hub port number, hubbed hub port number, etc). Then on top of that
there should be consistent device ID numbers much like ethernet MAC (but at
least 64 bits). If the same device is plugged back into the same port, no
address should change. Nothing should need to be run to "change it back"
as it should just _be_ the same.
There's nothing wrong with the design of USB. As long as the device has a
serial number, the combination of VID, PID, and serial number is unique,
and Windows (at least) will recognize it as the same device no matter what
port of which hub it is plugged into.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- Follow-Ups:
- Re: USB device just moves
- From: phil-news-nospam
- Re: USB device just moves
- References:
- USB device just moves
- From: phil-news-nospam
- Re: USB device just moves
- From: Tim Roberts
- Re: USB device just moves
- From: phil-news-nospam
- USB device just moves
- Prev by Date: HPCNCS-08 Draft paper submission deadline is just few days from now
- Next by Date: Re: USB device just moves
- Previous by thread: Re: USB device just moves
- Next by thread: Re: USB device just moves
- Index(es):
Relevant Pages
|