Re: Getting a device to register with the right driver?

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

 



On Tue, Feb 17, 2009 at 12:44:11PM -0700, Travis Tabbal wrote:
> I am developing a device that uses 2 CDC ACM ports. If I manually bind
> the driver, it works fine. By default, the usbtouchscreen driver grabs
> the device. How is the matching done so I can update things? I'm just
> using a made up VID/PID, so if Linux matches based on that, it could
> be the problem.

It goes off of the vid/pid and/or the class type of the device.

Try using a real vid/pid so you don't conflict with any other device out
there (hint, you're going to have to do that anyway in the end).

>   idVendor           0x1234
>   idProduct          0x5678

This is an existing device id for a device that is claimed by the
usbtouchscreen driver.  That's your problem :)

NEVER use a vendor id that is not assigned to you, problems like this
can easily happen if you do, like you found out.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux