Date: Tue, 6 Sep 2011 11:23:55 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Daniel Grech <dgre090@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Detach USB Device Driver and Attach it to ugen driver at runtime Message-ID: <C44D95B8-2351-4BCD-BC44-071304EFD4FD@gsoft.com.au> In-Reply-To: <CAG167sZd4WBSx--ukEb2RXKq0V0-DZJcMYt176bR1Y-snjkFaQ@mail.gmail.com> References: <CAG167sZd4WBSx--ukEb2RXKq0V0-DZJcMYt176bR1Y-snjkFaQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/09/2011, at 23:10, Daniel Grech wrote: > Hi, I'm using libusb to gain access to raw USB Data from userspace. My > problem is that this library only works with devices which are treated = as > generic devices ("handled by the ugen driver"). I need a mechanism = that will > allow me to detach any device specific drivers that are attached to a = device > and attach the ugen driver instead. I want to do this without = re-compiling > the FreeBSD Kernel. Thanks in advance for your help. You can access the device via ugen even if a kernel driver has attached = to it. I suspect you wouldn't be able to if the kernel driver that did attach = is in use, but I am not sure. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C44D95B8-2351-4BCD-BC44-071304EFD4FD>