By the way, is there a way to log the matching process at boot time?

Thanks
Eric
> Le 25 oct. 2014 à 11:31, Eric Gorouben <[email protected]> a écrit :
> 
> Thank you!
> Sure, and it loads at boot time when the device is plugged in and the 
> personality is moved into it's plist. 
> The problem only happens when the personality is in the codeless next. 
> 
> Éric 
>> Le 24 oct. 2014 à 17:30, Fernando Urbina <[email protected]> a écrit :
>> 
>> Thanks.
>> 
>> Is this library available at root time?  (i.e. does the kext that provides 
>> it have the Root property as well)?
>> 
>>>     <key>OSBundleLibraries</key>
>>>     <dict>
>>>             <key>com.my_company.usb</key>
>>>             <string>1.0.0</string>
>>>     </dict>
>> 
>> 
>> 
>>> On Oct 24, 2014, at 9:22 AM, Eric Gorouben <[email protected]> wrote:
>>> 
>>> Hi Fernando
>>> 
>>> Thanks for your answer, nice to read you again...
>>> Yes, I have set it on both extensions. I tried "Console" too without 
>>> success.
>>> 
>>> My plist is more or less
>>> 
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
>>>> "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
>>>> <plist version="1.0">
>>>> <dict>
>>>>    <key>CFBundleDevelopmentRegion</key>
>>>>    <string>en</string>
>>>>    <key>CFBundleExecutable</key>
>>>>    <string>MyCodelessKext</string>
>>>>    <key>CFBundleIdentifier</key>
>>>>    <string>com.my_company.codeless.usb</string>
>>>>    <key>CFBundleInfoDictionaryVersion</key>
>>>>    <string>6.0</string>
>>>>    <key>CFBundleName</key>
>>>>    <string>My codeless kext</string>
>>>>    <key>CFBundlePackageType</key>
>>>>    <string>KEXT</string>
>>>>    <key>CFBundleShortVersionString</key>
>>>>    <string>1.0.0</string>
>>>>    <key>CFBundleSignature</key>
>>>>    <string>????</string>
>>>>    <key>CFBundleVersion</key>
>>>>    <string>1.0.0</string>
>>>>    <key>NSHumanReadableCopyright</key>
>>>>    <string>My codeless kext</string>
>>>>    <key>IOKitPersonalities</key>
>>>>    <dict>
>>>>            <key>MyDevice</key>
>>>>            <dict>
>>>>                    <key>CFBundleIdentifier</key>
>>>>                    <string>com.my_company.usb</string>
>>>>                    <key>IOClass</key>
>>>>                    <string> com_my_company_usb </string>
>>>>                    <key>IOProviderClass</key>
>>>>                    <string>IOUSBDevice</string>
>>>>                    <key>idProduct</key>
>>>>                    <integer>PID</integer>
>>>>                    <key>idVendor</key>
>>>>                    <integer>VID</integer>
>>>>            </dict>
>>>>    </dict>
>>>>    <key>OSBundleLibraries</key>
>>>>    <dict>
>>>>            <key>com.my_company.usb</key>
>>>>            <string>1.0.0</string>
>>>>    </dict>
>>>>    <key>OSBundleRequired</key>
>>>>    <string>Root</string>
>>>> </dict>
>>>> </plist>
>>> 
>>> com.my_company.usb being the id of the coded extension and 
>>> com_my_company_usb it's name.
>>> 
>>> Thanks
>>> Best regards
>>> Eric
>>>> Le 24 oct. 2014 à 17:06, Fernando Urbina <[email protected]> a écrit :
>>>> 
>>>> You did not show us your plist.  Do you have an OSBundleRequired = “Root” 
>>>> property?
>>>> 
>>>> 
>>>> Woof,
>>>> 
>>>> Nano Urbina
>>>> Build Slave
>>>> Razz Software
>>>> http://www.razzsoftware.com
>>>> 
>>>>> On Oct 24, 2014, at 8:44 AM, Eric Gorouben <[email protected]> wrote:
>>>>> 
>>>>> Hi there
>>>>> 
>>>>> We have a USB kernel driver. It loads perfectly whenever a matching 
>>>>> device is plugged in at boot time or later.
>>>>> I added a codeless kext to match a new device to the same driver.
>>>>> It works fine if the device is not plugged in at boot time.
>>>>> If the device is plugged in at boot time however, the Apple composite 
>>>>> driver is loaded instead.
>>>>> 
>>>>> Any help would be very appreciated.
>>>>> Eric Gorouben
>>>> 
>>> 
>> 
>> 
>> 
>> Woof,
>> 
>> Nano Urbina
>> Build Slave
>> Razz Software
>> http://www.razzsoftware.com  
>> 
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/usb/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to