Re: ProductID read from the USB descriptors for an audio device
Re: ProductID read from the USB descriptors for an audio device
- Subject: Re: ProductID read from the USB descriptors for an audio device
- From: Jeff Moore <email@hidden>
- Date: Wed, 5 Jul 2006 12:28:01 -0700
No this is not possible. We purposefully abstract this info away in
the driver model. I'm curious about what you need this info for?
If you absolutely must know it, then you are pretty much on your own
for discovering it. The HAL gets it's info about the device from the
IORegistry, so your best bet is to go the same route. However, if the
info you need requires doing IO with the device, you may be out of
luck since the device is already matched to a driver in the kernel
which will (I think) prevent you from accessing it directly out in
user space.
On Jun 29, 2006, at 5:38 AM, Alex Ivanov wrote:
Ok thanks, but my problem is that i need to obtain
that USB productID through an AudioDeviceID. Is this
possible using CoreAudio API?
This is more a question for the USB dev list (
email@hidden ) :)
You can find answers to that question by looking at
the /Developer/
Examples/IOKit/usb/ folder. The "RawDeviceAdded"
function in ezloader/
main.c contains code to do that
--
Jeff Moore
Core Audio
Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden