Am Mittwoch, 27. Juni 2007 schrieb jidong xiao:
> What's the difference between configuration and setting?Can anybody
> show me any real examples, thank you.

device -> configuration -> interface -> setting

A device has configurations. A configuration determines which interfaces
are available. A configuration has endpoints and settings. A setting
determines determine the mode an interface is in. For example in the
printer driver the setting controls the communication protocol to be used.
Another good example is the sound driver where the setting determines
the audio format.

You could have a camera with an audio interface an a video interface
where both interfaces have mutiple settings and the settings on both
interfaces are independent.

The camera could have two configs, one in which it operates like
described above and a second where it operates like a mass storage
device to get at the stored video data. In that case it cannot operate
as a video and a storage device at the same time.

Does this explain things?

        Regards
                Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to