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: Can't seem to get USB logging to work



I can't tell. :-)

I put a USBLog(1, "Foo:start") at the top of my start method and I don't see anything in the log. I don't think my start is being called.

Is there a way to tell from the USB log that my driver is even being called? I see that I get 90000 score, but I can't tell which driver it's actually going to use.

For reference, after I perform my build (with Xcode 2.0 using the slightly modified IOUSBFamiliy project from Darwin 10.3.9) I run the following script

sudo cp -R build/FooUSBHIDDriver.kext /System/Library/Extensions/.
sudo chown -R root:wheel /System/Library/Extensions/FooUSBHIDDriver.kext
sudo touch /System/Library/Extensions
pushd /System/Library/Extensions
sudo kextload -v FooUSBHIDDriver.kext
popd

I get the feeling I'm missing something simple but important...

Dave

On Jun 15, 2005, at 3:34 PM, Fernando Urbina wrote:

Are you returning true in start() in your Foo kext?
--
Fernando Urbina
USB Technology Team
Apple Computer, Inc.

On Jun 15, 2005, at 4:10 PM, Dave Camp wrote:


I'm now starting to think my kext is not loading after all. I've duped some of the existing log lines that I thought were showing up in the log but I'm only seeing single copies of them.






--- In English, every word can be verbed.

_______________________________________________
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: 
 >Can't seem to get USB logging to work (From: Dave Camp <email@hidden>)
 >Re: Can't seem to get USB logging to work (From: Fernando Urbina <email@hidden>)
 >Re: Can't seem to get USB logging to work (From: Dave Camp <email@hidden>)
 >Re: Can't seem to get USB logging to work (From: Dave Camp <email@hidden>)
 >Re: Can't seem to get USB logging to work (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.