From: Charles L. <cl...@gm...> - 2006-07-14 22:52:58
|
On 7/14/06, Lloyd Rochester <Llo...@co...> wrote: > Charles, > Good insight, I do have kernel version 2.4.17-1. However, when I look at > /proc/bus/usb/devices everything looks good EXCEPT driver=usbtest. That seems > like a name I could have put somewhere but I don't think it is my driver. I do > call usb_claim_interface() in my code, and I get no errors, however, I must not > be claiming the driver back from usbtest. can you post before-and-after excerpts from /proc/bus/usb/devices? I don't remember when kernel support for the usb_detach_kernel_driver_np() function went in, but 2.4.17 is fairly old, so that may not work for you. > I do also see a whole bunch of > activity from dmesg about usbtest and usbdevfs which mostly shows usbtest > taking over. How do I claim the driver for my own? It sounds like you're doing the right thing from userspace, but it's been a while since I messed with usbtest. If it's a module, you could rmmod it. If not, you probably want to remove it from the kernel config. -- - Charles Lepple |