> I seem to recall pointing you at usb-storage once already,
> as the only USB driver today which needs to do such stuff.
> It has a notion of device identity, based ISTR on serial
> numbers, and saves that state. UTSL.

You quote this as an example of how to do things.
I am not especially happy with the results.

My experience: take a handful of compact flash card readers,
plug them randomly into some hubs, take a handful of compact
flash cards, plug them randomly into some readers. Now remove
and repeat. I find it impossible to predict which device will
get which name. Sometimes the name goes with the card, sometimes
with the reader, sometimes neither of the two, sometimes both(!).
(Yes, it happens that I access the same card both via sdc and sde.)
Probably things would become clear if I would read the code,
but I haven't done so yet.

Andries


[Names that go with the card are really confusing. It is as if
one has A:/B:, that is fd0/fd1, and the name of the floppy reader
depends on the floppy inserted, so that one has to remember the
history. Bad.]

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to