Re: USB driver (hello usb driver)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 24, 2010 at 09:55:17AM +0530, Bond wrote:
> On Fri, Oct 22, 2010 at 6:01 AM, Greg KH <greg@xxxxxxxxx> wrote:
> > On Wed, Oct 20, 2010 at 10:49:33PM +0530, Bond wrote:
> >> ?So, I got it to recognize the driver in the kernel, but it refuses to
> >> probe. No matter that vendor/product id combination I use for any of
> >> the devices I've tested.
> >
> > Are you using device ids of existing devices that already have drivers
> > bound to them? ?If so, don't do that :)
> >
> 
> IT's a game pad so it might be bound to the joystick service?

You can see if it is, look in sysfs, or in /sys/kernel/usb/devices

>  is there a way to "supercede" the usbhid driver?

Yes, look at the hid driver blacklist.

> so that it checks my driver and if it doesn't find it, then pass it to
> the usbhid?

If your driver is loaded first, yes, you can do that.

You can unbind the device from the hid driver by hand through sysfs and
then load your driver for testing.

good luck,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux