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: SetProperty from user space ?



Sorry, we do not support doing SetProperty from user space on the USB stack nubs. You may file an enhancement request.

--
Fernando Urbina
USB Technology Team
Apple Computer, Inc.

On Nov 8, 2005, at 8:06 AM, Alec Carlson wrote:

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.

_______________________________________________ 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: 
 >SetProperty from user space ? (From: Alec Carlson <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.