Mailing Lists: Apple Mailing Lists

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

USB CDC info...



I've got through all the basic querying and configuring of the device I'm trying to interface with and now want to move onto using actual CDC specifics. I've got a copy of the IOUSBFamily project that has the AppleUSBCDCDriver within it, but the standard OS X 10.1.3 IOKit.framework doesn't appear to have the necessary headers. Are the necessary CDC 'pieces' within OS X 10.1.3? Can I just use the AppleUSBCDCDriver.h from the IOUSBFamily project? I could use all of the necessary files from a compile/install of the IOUSBFamily project from the CVS server, but it would be handy to know if the actual raw bits are in OS X already.

Also both of the CDC interfaces (communication and data) are reporting no endpoints although the vendor specific Ethernet Data Interface is reporting that it has 2 endpoints availible. I assumed that all the endpoints would show up before getting any of the CDC specifics going, any pointers would be great. It's distinctly possible I've missed something obvious tho! Hopefully after a mixture of rest and more reading of the CDC specs over the weekend things will become clearer in my own mind, but until then here's a dump of the device info to show you all what I mean.
Cheers,


ben

[Switching to thread 1 (process 1384 thread 0x1603)]
matching dictionary reference 0 retained
matching dictionary reference 1 retained
matching dictionary reference 2 retained
Opening the device
Set Configuration 1
Sharp
SL Series
Device found with the following details:
Device Manufacturer ID (hex): 0x4dd
Device Manufacturer ID (dec): 1245
Device ID (hex): 0x8004
Device ID (dec): 32772
Device Location ID: 18022400
Device Address on it's bus: 5
Device Class: 2
Device Sub-Class: 0
Device Protocol: 0
Number of Configurations availible: 2
Device Configuration: 4
Configuration details
CDC 1.1 Configuration
No. of interfaces supported: 2
No. of this configuration: 1
Configuration string index: 3
bmAttributes: 000000c0
Creating device interface for interface
Interface Details
Interface number: 0
CDC Ethernet Comm Interface
Interface Class: 0x2 (CDC Control Interface)
Interface Sub-Class: 0x6
Interface Protocol: 0x0
Number of endpoints: 0
Creating device interface for interface
Interface Details
Interface number: 1
CDC Ethernet Data Interface - Disabled mode
Interface Class: 0xa (CDC Data Interface)
Interface Sub-Class: 0x0
Interface Protocol: 0x0
Number of endpoints: 0
Set Configuration 2
Sharp
SL Series
Device found with the following details:
Device Manufacturer ID (hex): 0x4dd
Device Manufacturer ID (dec): 1245
Device ID (hex): 0x8004
Device ID (dec): 32772
Device Location ID: 18022400
Device Address on it's bus: 5
Device Class: 2
Device Sub-Class: 0
Device Protocol: 0
Number of Configurations availible: 2
Device Configuration: 4
Configuration details
USB Simple Ethernet Configuration
No. of interfaces supported: 1
No. of this configuration: 2
Configuration string index: 8
bmAttributes: 000000c0
Creating device interface for interface
Interface Details
Interface number: 0
Simple Ethernet Data Interface - Bulk mode
Interface Class: 0xff (Vendor Specific)
Interface Sub-Class: 0x1
Interface Protocol: 0x1
Number of endpoints: 2
_______________________________________________
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.



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.