Skip to contentSkip to conversation

usb: Remove Vernier devices from lsusb and hid_ignore_list

PATCH In review Dennis O'Brien 2 participants 3 messages May 11, 2015 – May 14, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 usb: Remove Vernier devices from lsusb and hid_ignore_list

From: Dennis O'Brien <[email protected]>

Removes Vernier Software & Technology devices from the ldusb driver and the hid_ignore_list table of the usbhid driver in the Linux tree. These devices will now be supported via the hidraw driver.

---
 drivers/hid/hid-core.c   |    5 -----
 drivers/hid/hid-ids.h    |    7 -------
 drivers/usb/misc/ldusb.c |   10 ----------
 3 files changed, 0 insertions(+), 22 deletions(-)
drivers/hid/hid-core.c +0 -0
index 722a925..3a9abfe 100644
@@ -2399,11 +2399,6 @@ static const struct hid_device_id hid_ignore_list[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, 

USB_DEVICE_ID_SYNAPTICS_WTP) },
{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS,
USB_DEVICE_ID_SYNAPTICS_DPAD) },
#endif

-       { HID_USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_LABPRO) },
-       { HID_USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP) },
-       { HID_USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP) },
-       { HID_USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_CYCLOPS) },
-       { HID_USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_LCSPEC) },

{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP,
USB_DEVICE_ID_4_PHIDGETSERVO_20) },
{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP,
USB_DEVICE_ID_1_PHIDGETSERVO_20) },
{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP,
USB_DEVICE_ID_8_8_4_IF_KIT) },

drivers/hid/hid-ids.h +0 -7
index 41f167e..9036beb 100644
@@ -957,13 +957,6 @@
 #define USB_DEVICE_ID_VELLEMAN_K8061_FIRST     0x8061
 #define USB_DEVICE_ID_VELLEMAN_K8061_LAST      0x8068
 
-#define USB_VENDOR_ID_VERNIER          0x08f7
-#define USB_DEVICE_ID_VERNIER_LABPRO   0x0001
-#define USB_DEVICE_ID_VERNIER_GOTEMP   0x0002
-#define USB_DEVICE_ID_VERNIER_SKIP     0x0003
-#define USB_DEVICE_ID_VERNIER_CYCLOPS  0x0004
-#define USB_DEVICE_ID_VERNIER_LCSPEC   0x0006
-
 #define USB_VENDOR_ID_VTL              0x0306
 #define USB_DEVICE_ID_VTL_MULTITOUCH_FF3F      0xff3f
 
drivers/usb/misc/ldusb.c +0 -0
index 82503a7..cce22ff 100644
@@ -69,12 +69,6 @@
 #define USB_DEVICE_ID_LD_HYBRID                0x2090  /* USB Product 

ID of Automotive Hybrid */
#define USB_DEVICE_ID_LD_HEATCONTROL 0x20A0 /* USB Product ID of
Heat control */

-#define USB_VENDOR_ID_VERNIER          0x08f7
-#define USB_DEVICE_ID_VERNIER_GOTEMP   0x0002
-#define USB_DEVICE_ID_VERNIER_SKIP     0x0003
-#define USB_DEVICE_ID_VERNIER_CYCLOPS  0x0004
-#define USB_DEVICE_ID_VERNIER_LCSPEC   0x0006

-
#ifdef CONFIG_USB_DYNAMIC_MINORS
#define USB_LD_MINOR_BASE 0
#else
@@ -115,10 +109,6 @@ static const struct usb_device_id ld_usb_table[] = {
{ USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MCT) }, { USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_HYBRID) }, { USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_HEATCONTROL) },

-       { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP) },
-       { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP) },
-       { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_CYCLOPS) },
-       { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_LCSPEC) },

{ } /* Terminating entry */
};
MODULE_DEVICE_TABLE(usb, ld_usb_table);

Signature · 1 line
1.7.0.4
#2 lore raw
Quoted 8 lines · Dennis O'Brien

From: Dennis O'Brien <[email protected]>

Removes Vernier Software & Technology devices from the ldusb driver and the hid_ignore_list table of the usbhid driver in the Linux tree. These devices will now be supported via the hidraw driver.

Could you please also include in the changelog name / pointer to the userspace driver?

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs
#3 lore raw

Jiri,

Hope I'm not being too dense...

All the Vernier devices are hid class and are supported via the hid driver sub-system and the hidraw device interface.

Vernier has a library called GoIO http://www.vernier.com/downloads/software-development-kits/go-sdk/, which supports (or will support) the devices through the hidraw interface. One such device is http://www.vernier.com/products/interfaces/go-link/.

Did you want me to reference the GoIO SDK?

Dennis

-----Original Message----- From: Jiri Kosina
Sent: Tuesday, May 12, 2015 5:00 AM
To: Dennis O'Brien
Cc: [email protected] ; [email protected] ; [email protected] ; [email protected] ; [email protected]
Subject: Re: [PATCH 1/1] usb: Remove Vernier devices from lsusb and hid_ignore_list

Quoted 8 lines · Dennis O'Brien

From: Dennis O'Brien <[email protected]>

Removes Vernier Software & Technology devices from the ldusb driver and the hid_ignore_list table of the usbhid driver in the Linux tree. These devices will now be supported via the hidraw driver.

Could you please also include in the changelog name / pointer to the userspace driver?

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs