Ah, the problem is that the phone is NOT changing the device
descriptor:
Device Class: 2 (Communication)
Device Subclass: 0
Device Protocol: 0
Our CDC driver will fail to match to that device 'cause it won't find
the interfaces. Our composite driver will not load against it, cause
it's not a composite device.
You can create a code-less kext for that particular device that uses
the composite driver as the CFBundleIndentifier. You can look at the
IOUSBCompositeDriver.kext Info.plist and see how we do it for a
particular class of devices. You would need to do it just for your
device, not for the whole CDC devices.
As for it not charging, I assume it's a feature of the phone.
--
Fernando Urbina
USB Technology Team
Apple Computer, Inc.
On Oct 13, 2006, at 2:16 PM, Mark Thomas wrote:
In the IORegistry tab there is
(IOService Plane option)
usb@1B <class IOPCIDevice>
AppleUSBOHCI <class AppleUSBOHCI>
OHCI Root Hub Simulation@1B <class IOUSBRootHubDevice>
P990i@1b100000 <class IOUSBDevice>
IOUSBUserClientInit <class IOUSBUserClientInit>
(IOUSB Plane option)
Root <class IORegistryEntry>
OHCI Root Hub Simulation@1A <class IOUSBRootHubDevice>
IOUSBDevice@1a100000 <class IOUSBDevice>
OHCI Root Hub Simulation@1B <class IOUSBRootHubDevice>
P990i@1b100000 <class IOUSBDevice>
By not working I mean there is no volume appearing, and also the
phone
doesn't to start charging like it does when in USB modem mode.
Thanks
Mark.
What do you mean by "isn't working"?
Can you see if the IOUSBMassStorageDriver has matched to the
interface? You can use IORegistryExplorer and follow the
IOServicePlane for the device, or use ioreg -l and look for the
interface for that device.
--
Fernando Urbina
USB Technology Team
Apple Computer, Inc.
On Oct 13, 2006, at 2:05 PM, Mark Thomas wrote:
I have a Sony Ericcson P990i which has an option which
reports it
can be
behave like a USB mass storage device when attached via the USB
route.
Unfortunately this isn't working, so looking at the USB Prober
its is
reporting itself as a mass storage device, so wondering what
could be
happening ?