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: Add modem support to (ISDN) Composite Device?



Hi again,

it matches now (remove CFBundleExecutable x.x) but fails with:

kernel[0]: ISDN Interface: family specific matching fails
kernel[0]: AppleUSBCDCACMControl::probe(ISDN Interface)
kernel[0]: AppleUSBCDCACMControl::start(ISDN Interface) <1>
kernel[0]: 0        0 AppleUSBCDCACMControl: start - configureACM failed
kernel[0]: AppleUSBCDCACMControl::start(ISDN Interface) <1> failed

Guess that means the interface is not CDC ACM compliant?! *bummer*

I don't have any other information than an USB flow control log. The communication scheme is: Send/Receive AT-Command/Feedback over the Control-Pipe and Notifications (3 Bytes: type, length, unknown) over in/out interrupt pipes.
Any idea if this equals any standard USB Control Model at all?


Rene



Am 20.03.2007 um 03:47 schrieb Rene Trost:

Hi,

I tried to match interface #0 with a codeless kext with the properties below but it fails due to: ISDN Interface: family specific matching fails.
What's wrong? Do I also need to match the device itself?


Rene

CFBundleDevelopmentRegion	English
CFBundleExecutable		VendorSpecificDriver
CFBundleIdentifier		com.MySoftwareCompany.iokit.VendorSpecificDriver
CFBundleInfoDictionaryVersion	6.0
CFBundleName
CFBundlePackageType		KEXT
CFBundleSignature		????
CFBundleVersion			1.0.0
IOKitPersonalities
	InterfaceDriver
		CFBundleIdentifier	com.apple.driver.AppleUSBCDCACMControl
		IOClass			AppleUSBCDCACMControl
		IOKitDebug		65535
		IOProviderClass		IOUSBInterface
		bConfigurationValue	1
		bInterfaceClass		255
		bInterfaceNumber	0
		bInterfaceProtocol	255
		bInterfaceSubClass	255
		idProduct		119  (= 0x0077)
		idVendor		2069 (= 0x0815)
OSBundleLibraries
	com.apple.iokit.IOUSBFamily	1.8
	com.apple.kernel.libkern	6.0



Am 19.03.2007 um 21:59 schrieb Rich Kubota:

Rene,

It's not clear to me whether someone else responded to you as I'm having email issue. forcing the device to match as a CDC device is not going to solve the problem since interface 0 is marked as vendor specific. Instead, you want to force Interface 0 to match as a CDC supported interface.

In doing this, there is the assumption that the interface matches the CDC specification. If you look at the mailing list for USB and perform a search on "codeless", you will find several samples referenced.

best wishes.
rich


At 6:12 AM +0100 3/19/07, Rene Trost wrote:
Hello,

I'm working on a software to access and configure an ISDN phone connected via USB. Currently the software accesses the device from user-space with the composite USB driver that's provided by OS X by default (see USB-Probe and IOReg output below), with its own (and somewhat incomplete) AT-Command-Set.
The phone supports the complete AT-Commands-Set (and additional vendor specific commands). So far everything works fine but now I stuck...


I want to make the phone available as modem, as this would make communication with the phone much easier - and it could be used as modem too. I've tried to modify the USBCDC drivers (10.3.9) to match the device but failed (this is my first USB/driver project!).

1. Is there a way to force OS X to match the device with the systems default CDC-Driver instead of the composite one?
2. Or do I need to write my own kernel extension? If so, is there a 10.4.x version of the AppleUSBCDC driver source?
3. The device has 4 interfaces (at least #0 and #1 can be used for AT-Commands), can I attach more than one interface, e.g. one as CDC and the other as composite?


Thank in advance,
Rene Trost


USB-Prober:
Full Speed device @ 4 (0x09130000): ... Composite device: "ISDN Phone T1000"
Device Descriptor
Descriptor Version Number: 0x0110
Device Class: 0 (Composite)
Device Subclass: 0
Device Protocol: 0
Device MaxPacketSize: 8
Device VendorID/ProductID: 0x0815/0x0077 (ISDN Company)
Device Version Number: 0x0100
Number of Configurations: 1
Manufacturer String: 1 "ISDN Company Inc."
Product String: 2 "ISDN Phone T1000"
Serial Number String: 3 "00XXXXXF50"
Configuration Descriptor: ............................... "Standard Konf."
Length (and contents): 213
Number of Interfaces: 1
Configuration Value: 1
Attributes: 0xC0 (self-powered)
MaxPower: 32 ma
Interface #0 - Vendor-specific
Alternate Setting 0
Number of Endpoints 6
Interface Class: 255 (Vendor-specific)
Interface Subclass; 255 (Vendor-specific)
Interface Protocol: 255
Endpoint 0x81 - Interrupt Input
Endpoint 0x02 - Interrupt Output
Endpoint 0x83 - Isochronous Input
Endpoint 0x04 - Isochronous Output
Endpoint 0x85 - Isochronous Input
Endpoint 0x06 - Isochronous Output
Interface #0 - Vendor-specific (#1)
Interface #0 - Vendor-specific (#2)
Interface #0 - Vendor-specific (#3)



IORegistry-Entry: +-o ISDN Phone T1000@9130000 <class IOUSBDevice> +-o IOUSBCompositeDriver <class IOUSBCompositeDriver> +-o ISDN Interface@0 <class IOUSBInterface> | +-o IOUSBUserClientInit <class IOUSBUserClientInit> +-o IOUSBUserClientInit <class IOUSBUserClientInit>





-- Sincerely, Rich Kubota email@hidden (408) 974-6212


_______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >Add modem support to (ISDN) Composite Device? (From: Rene Trost <email@hidden>)
 >Re: Add modem support to (ISDN) Composite Device? (From: Rene Trost <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.