Mailing Lists: Apple Mailing Lists

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

IOUserClient problem



Hi list,

I've have this driver that has always worked fine (it's a "rebranded" IOUSBHIDDriver)

I wanted to add a simple UserClient to it and I just can't get it to work.

I got the SimpleUserClient sample code, added the IOUserClientClass property etc...

But nope. Here's what I get.

Laurent-Humberts-PB:~ lh$ sudo kextload -t /System/Library/ Extensions/XXXXUSBDriver.kext
kextload: extension /System/Library/Extensions/XXXXUSBDriver.kext appears to be valid
kextload: kmod_control/start failed for com.xxxx.iokit.XXXXUSBDriver; destroying kmod
kextload: a link/load error occured for kernel extension /System/ Library/Extensions/XXXXUSBDriver.kext
load failed for extension /System/Library/Extensions/XXXXUSBDriver.kext


I get this error even if I don't add the IOUserClientClass property to my Info.plist.

The driver itself seems to be operational. If I try to connect to the UserClient from user-land the call to IOServiceOpen succeeds, but when I call

kernResult = IOConnectMethodScalarIScalarO(dataPort, kMyUserClientOpen, 0, 0);

I get error an e00002c2 (Bad Parameter).

This is on 10.4.9/PPC. Tried everything I could think of.

Any help much appreciated.


Laurent _______________________________________________ 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: 
 >USBInterfaceInterface information different in my code than in USB Prober (From: email@hidden)
 >Re: USBInterfaceInterface information different in my code than in USB Prober (From: Barry Twycross <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.