Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OSX; Very ignorant question] Versions of USB...



On Monday, March 18, 2002, at 05:35 AM, Oleg Svirgstin wrote:

Dear all,

Sorry!

1. Is it correct that IOUSBDEVICE_FUNCS_180, 182 and 183 denote version of
USB? (USB Spec I use describes USB 1.1, is it what would be 110 in the above
or it is a different novel?). I don't ask about IOUSBINTERFACE_FUNCS_XXX
hoping of the same meaning of their _XXX. Or is it just "version of
DeviceInterface and InterfaceInterface functions?
Not general version of USB, but internal version numbers of Apple's USB implementation, AFAIK. All of these functions relate to USB 1.1


2. Is there a way (other than trying to access ID183 first, on failure
trying ID182 and finally ID180 if all else fails) to determine at runtime
what version of these functions is available to my application? I could of
course check for system version, that is the reason for the third question

Not sure I'll look into this, maybe one of the guys from Apple can give you a quick straight answer tho ;)


3. So far I know that 1.8 corresponds to 10.0, 1.8.1 corresponds to
10.0.1...
Is it correct that 1.8.2 is available in 10.0.2, 1.8.3 in 10.0.3 and so on?
Does it mean that routines from 1.8.2 should be absolutely OK if the user
lives under 10.1 or higher? (I need something from the 182, so in case if
the system does not know ID182, I might inform the user that the application
is compatible with, say, 10.0.2 or higher.)
Everyone using OS X _should_ have upgraded to 10.1 or higher and therefore should their system should understand 1.8.3 calls (in fact 1.8.3 . IMHO it would be best (if you need these newer functions) to return an error if any of the newer calls return an !=kIOReturnSuccess and as you say, inform the user to upgrade. I don't think the relationship between version numbers of OS X USB and OS X itself is as straightforward 1.8.1 = 10.0.1; 1.8.2 = 10.0.2; 1.8.3 = 10.0.3 etc. Best to just assume use of 10.1 and therefore inclusion of USB 1.8.3 and the various USB bugfixes (see the relevant technotes on fixes included with the various OS X updates).

Hope this info & opinions helps (and is correct).


Thanks in advance

Oleg
PS By the way, "hotblack" asked few days ago a question I was about to ask.
Thanks to those who replied... And special thanks to hotblack for saving my
keyboard and fingers from excessive wear! Just imagine: I got immediate and
very useful response!
Heh, glad to be of service ;)

ben
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.

References: 
 >[OSX; Very ignorant question] Versions of USB... (From: Oleg Svirgstin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.