Mailing Lists: Apple Mailing Lists

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

SetProperty from user space ?



Is there a way for an application to do a setProperty to a usb device ? I
have tried IORegistryEntrySetCFProperty() but it returns
kIOReturnUnsupported. I can do IORegistryEntryCreateCFProperty() to read a
property and that works... I tried IOCreatePlugInInterfaceForService(), then
QueryInterface() to get the IOUSBDeviceInterface and then
(*dev)->setProperty() but that didn't work. Before I open my device , I want
to be able to set some device parameters which my acquirePort() driver
routine will be able to read in order to configure some options during the
open() call.

Alec


 _______________________________________________
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.