Re: Question related drivers/staging/asus_oled

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

 



On Wed, Feb 02, 2011 at 10:26:26PM -0500, Kevyn-Alexandre Paré wrote:
> Hi,
> 
> I have question related to the fact that the ASUS_OLED is define as a
> HID in "drivers/hid/hid-ids.h"
> 
> What do you normally do in that case do you redefine somewhere else in
> driver/usb ?

You put it in the other driver as well.

> As define in "drivers/hid/hid-ids.h"
> #define USB_DEVICE_ID_ASUSTEK_LCM   0x1726
> #define USB_DEVICE_ID_ASUSTEK_LCM2  0x175b
> 
> As define in the staging driver
> #define USB_VENDOR_ID_ASUS      0x0b05
> #define USB_DEVICE_ID_ASUS_LCM      0x1726

Well, two drivers should never claim the same device, is that what is
happening here?  Or is the HID driver using this just for a quirk to not
bind to the device?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux