Re: Help with MoreSCFSetPortNameCallback Help
Re: Help with MoreSCFSetPortNameCallback Help
- Subject: Re: Help with MoreSCFSetPortNameCallback Help
- From: Mark Thomas <email@hidden>
- Date: Thu, 07 Oct 2004 18:06:05 +0100
- Organization: Coderus Ltd
Was wondering if one of the Apple bods would like comment, as I believe
Quinn has a good handle on this SCF code :-).
Thanks
Mark.
> You probably want to ask on another list. The questions would seem more
> likely to be answered on a HID/darwin/device driver list if there is
> one. It is not networking related.
>
> Kent
>
> On Oct 7, 2004, at 10:41 AM, Mark Thomas wrote:
>
>> Hi,
>> I've been using the IOServiceMatching with KIOUSBDeviceClass and
>> kIOUSBInterfaceClassName, where one just reports that if the USB is
>> there
>> and if one has actually for a interface for it via a driver. As I can
>> find
>> my USB device via looking at idVendor and idProduct.
>>
>> Although I don't see the right driver for it, but IOUSBFamily.kext
>> which
>> is a little weird, as it takes installing my MacPortXEnetShim.kext to
>> make
>> it appear in the kIOUSBInterfaceClassName iterator objects. As when I
>> get
>> interface io_object into the MoreSCFSetPortNameCallback it has the
>> MacPortXEnetShim Bundle indentifier.
>>
>> Anybody got any ideas as I'm trying to find the portname for this
>> particular USB modem, as this driver can be used with other previous
>> model
>> numbers.
>>
>> Thanks
>> Mark.
>> -----------------------------------------------------------------------
>> -----
>> Hi,
>> Would anybody know how I would get to the USB idVendor and idProduct
>> using
>> the MoreSCFSetPortNameCallback mechanism, as I presently use this so I
>> can
>> find out what the interface name is currently going to be. What I need
>> to do
>> is check what the actual device is at the end of this entry is, as the
>> driver can be used with many products.
>>
>> I guess kIOUSBPlane needs to be used, but I'm just not getting anyware
>> starting with the ioobject interface, which is passed in.
>>
>> Any help would be great.
>>
>> Thanks
>> Mark.
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Macnetworkprog mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden