Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help!!!! Driver loads and matches but still does not have control.



Hello All,
The driver seems to load, match and start but the HID driver still has control. From ioreg, the probe value of my driver is "IOProbeScore" = 100000 while for HID it is "IOProbeScore" = 50000. My wild guess is that "!registered, !matched" (from ioreg) for my device should be "registered, matched". What do these thing mean and how can I change them?


Thank you,
Pat

The driver loads. (TDRDiver)
Output from kextstat

98 0 0xb53000 0x3000 0x2000 com.apple.driver.CSRUSBBluetoothHCIController (1.5.4f6) <94 93 10>
99 0 0xb69000 0xb000 0xa000 com.apple.iokit.IOBluetoothSerialManager (1.5.4f6) <65 10>
100 0 0xae5000 0x6000 0x5000 com.apple.nke.SharedIP (1.3.2) <10>
101 0 0x4d5000 0x8000 0x7000 com.apple.nke.IPFirewall (1.3) <10>
105 0 0x25899000 0x5000 0x4000 com.apple.iokit.IOUSBHIDDriver (2.1.4) <28 18>
106 0 0x25fdc000 0x3000 0x2000 com.apple.driver.AppleUSBComposite (2.1.4) <28>
107 0 0x2589e000 0x2000 0x1000 com.My.driver.TDRDriver (1.0.0d1) <28>
It matches.
[patsmac]/var/log> tail -10 system.log
Feb 21 23:44:06 localhost kernel: USBF: 309.691 IOUSBInterface[0x2388200]::open super::open failed (0x0)
Feb 21 23:53:13 localhost kernel: Timex Data Recorder: stalling for module
Feb 21 23:53:13 localhost kernel: OHCI Root Hub Simulation: family specific matching fails
Feb 21 23:53:13 localhost kernel: IOUSBDevice: family specific matching fails
Feb 21 23:53:13 localhost kernel: OHCI Root Hub Simulation: family specific matching fails
Feb 21 23:53:13 localhost kernel: OHCI Root Hub Simulation: family specific matching fails
Feb 21 23:53:13 localhost kernel: EHCI Root Hub Simulation: family specific matching fails
Feb 21 23:53:13 localhost kernel: Matching service count = 1
Feb 21 23:53:13 localhost kernel: IOService::probe(Timex Data Recorder)
Feb 21 23:53:13 localhost kernel: IOService::start(Timex Data Recorder) <1>
[patsmac]/var/log>


ioreg for Device
| +-o Timex Data Recorder@3b100000 <class IOUSBDevice, registered, matched, active, busy 0, retain count 9>
| | | | {
| | | | "PortNum" = 1
| | | | "Device Speed" = 0
| | | | "iSerialNumber" = 0
| | | | "bNumConfigurations" = 1
| | | | "IOUserClientClass" = "IOUSBDeviceUserClient"
| | | | "bDeviceClass" = 0
| | | | "USB Product Name" = "Timex Data Recorder"
| | | | "iManufacturer" = 1
| | | | "USB Vendor Name" = "Timex Corporation"
| | | | "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/ PlugIns/IOUSBLib.bundle"}
| | | | "bcdDevice" = 256
| | | | "bDeviceSubClass" = 0
| | | | "iProduct" = 2
| | | | "sessionID" = 287047170054
| | | | "bMaxPacketSize0" = 8
| | | | "locationID" = 990904320
| | | | "Bus Power Available" = 250
| | | | "idProduct" = 50944
| | | | "USB Address" = 2
| | | | "bDeviceProtocol" = 0
| | | | "idVendor" = 3266
| | | | }
| | | |
| | | +-o IOService <class IOService, !registered, !matched, active, busy 0, retain count 4>
| | | | {
| | | | "idProduct" = 50944
| | | | "bConfigurationValue" = 1
| | | | "IOClass" = "IOService"
| | | | "IOKitDebug" = 65535
| | | | "IOProbeScore" = 100000
| | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | "bInterfaceNumber" = 0
| | | | "idVendor" = 3266
| | | | "CFBundleIdentifier" = "com.My.driver.TDRDriver"
| | | | "IOProviderClass" = "IOUSBDevice"
| | | | "bcdDevice" = 256
| | | | }
| | | |
| | | +-o IOUSBUserClientInit <class IOUSBUserClientInit, !registered, !matched, active, busy 0, retain count 4>
| | | | {
| | | | "IOProbeScore" = 9000
| | | | "IOClass" = "IOUSBUserClientInit"
| | | | "IOProviderMergeProperties" = {"IOCFPlugInTypes"={"9dc7b780-9ec0-11d4-a54f -000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"},$
| | | | "IOProviderClass" = "IOUSBDevice"
| | | | "CFBundleIdentifier" = "com.apple.iokit.IOUSBUserClient"
| | | | "IOMatchCategory" = "IOUSBUserClientInit"
| | | | }
| | | |
| | | +-o IOUSBInterface@0 <class IOUSBInterface, registered, matched, active, busy 0, retain count 6>
| | | | {
| | | | "bcdDevice" = 256
| | | | "idProduct" = 50944
| | | | "IOCFPlugInTypes" = {"2d9786c6-9ef3-11d4-ad51-000a27052861"="IOUSBFamily.kext/Contents/ PlugIns/IOUSBLib.bundle"}
| | | | "iInterface" = 0
| | | | "bInterfaceSubClass" = 0
| | | | "IOUserClientClass" = "IOUSBInterfaceUserClient"
| | | | "bInterfaceProtocol" = 0
| | | | "bConfigurationValue" = 1
| | | | "bInterfaceNumber" = 0
| | | | "idVendor" = 3266
| | | | "bInterfaceClass" = 3
| | | | "locationID" = 990904320
| | | | "bNumEndpoints" = 1
| | | | "bAlternateSetting" = 0
| | | | }
| | | |
| | | +-o IOUSBHIDDriver <class IOUSBHIDDriver, registered, matched, active, busy 0, retain count 5>
| | | | | {
| | | | | "bInterfaceClass" = 3
| | | | | "CountryCode" = 0
| | | | | "PrimaryUsage" = 1
| | | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | | "InputReportElements" = ({"Usage"=0,"ElementCookie"=276,"Type"=1,"UsagePage"=0,"Size"=56,"ValueL ocation"=0},{"Usage"=0,"ElementCookie"=277,"$
| | | | | "MaxFeatureReportSize" = 1
| | | | | "ProductID" = 50944
| | | | | "bInterfaceSubClass" = 0
| | | | | "HIDDefaultBehavior" = ""
| | | | | "Elements" = ({"CollectionType"=1,"Usage"=1,"ElementCookie"=1,"Type"=513,"UsagePage"= 65440,"Elements"=({"CollectionType"=0,"Usage"=2,"Elemen$
| | | | | "VersionNumber" = 256
| | | | | "Product" = "Timex Data Recorder"
| | | | | "MaxInputReportSize" = 256
| | | | | "PrimaryUsagePage" = 65440
| | | | | "IOProbeScore" = 50000
| | | | | "IOUserClientClass" = "IOHIDLibUserClient"
| | | | | "IOClass" = "IOUSBHIDDriver"
| | | | | "IOProviderClass" = "IOUSBInterface"
| | | | | "Transport" = "USB"
| | | | | "IOCFPlugInTypes" = {"FA12FA38-6F1A-11D4-BA0C-0005028F18D5"="IOHIDFamily.kext/Contents/ PlugIns/IOHIDLib.plugin","40A57A4E-26A0-11D8-9295-000$
| | | | | "CFBundleIdentifier" = "com.apple.iokit.IOUSBHIDDriver"
| | | | | "Manufacturer" = "Timex Corporation"
| | | | | "MaxOutputReportSize" = 10
| | | | | "VendorID" = 3266
| | | | | "LocationID" = 990904320
| | | | | "DeviceUsagePairs" = ({"DeviceUsage"=1,"CollectionType"=0,"DeviceUsagePage"=0},{"DeviceUsage" =1,"CollectionType"=1,"DeviceUsagePage"=65440},$
| | | | | }
| | | | |
| | | | +-o IOHIDLibUserClientIniter <class IOHIDLibUserClientIniter, !registered, !matched, active, busy 0, retain count 4>
| | | | {
| | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | "IOClass" = "IOHIDLibUserClientIniter"
| | | | "IOProviderMergeProperties" = {"IOCFPlugInTypes"={"FA12FA38-6F1A-11D4-BA0C -0005028F18D5"="IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugi$
| | | | "IOProviderClass" = "IOHIDDevice"
| | | | "CFBundleIdentifier" = "com.apple.iokit.IOHIDFamily"
| | | | "IOProbeScore" = 0
| | | | }
| | | |
| | | +-o IOUSBUserClientInit <class IOUSBUserClientInit, !registered, !matched, active, busy 0, retain count 4>
| | | {
| | | "IOProbeScore" = 9000
| | | "IOClass" = "IOUSBUserClientInit"
| | | "IOProviderMergeProperties" = {"IOCFPlugInTypes"={"2d9786c6-9ef3-11d4-ad51 -000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"$
| | | "IOProviderClass" = "IOUSBInterface"
| | | "CFBundleIdentifier" = "com.apple.iokit.IOUSBUserClient"
| | | "IOMatchCategory" = "IOUSBUserClientInit"
| | | }


_______________________________________________
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


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.