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: Apple MASS storage driver



Ok, I'm up to trying this, so this within IOUSBFamily.kext then within
IOUSBCompositeDriver.kext update the  Info.plist within IOKitPersonalities ?

 bDeviceClass           2
 bDeviceProtocol        0
 bDeviceSubClass        0
 CFBundleIdentifier     com.apple.driver.AppleUSBComposite
 IOClass                IOUSBCompositeDriver
 IOProviderClass        IOUSBDevice

  as I gave this a go and nothing changed :-(, or did I miss understand you
?

Thanks
Mark.

> 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 ?
>>> 
>> 
> 

 _______________________________________________
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: 
 >Re: Apple MASS storage driver (From: Fernando Urbina <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.