The following may be of some interests to this list, with regard
to kernel driver detaching in Mac OS X.
http://lists.apple.com/archives/usb/2012/Dec/msg00003.html

Fernando Urbina is a member of the USB Technology Team
in Apple. (Ref: http://lists.apple.com/archives/usb/2012/Dec/msg00000.html )

Last time we have some discussions here and there are speculations
that some USB driver may be able to be detached programmatically.
http://libusb.6.n5.nabble.com/OpenUSB-LibUSB-on-Mac-OS-X-td5444418.html

But Fernando's answer should make it clear this is not possible.

Regards,
Xiaofan

+++++++++++++

   Subject: Re: Sharing USB device. Or not.
    From: Fernando Urbina
    Date: Fri, 07 Dec 2012 13:49:06 -0700

There is no way to programmatically unload a driver to be able to grab
the IOUSBDevice/IOUSBInterface from user space.  We are well aware
of the desire to do that so there is no need to file another bug report.

The only solution is to create a codeless kext that will grab that
IOUSBDevice/Interface and prevent any kernel drivers from
loading for it.  Search for "codeless kext" in the archives.

HTH,

 -  Fernando
++++++++++++++++

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to