--Apple-Mail-10-713703121
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
In message <F2B6C026-25FB-4789-A2C1-
Post by Andre Guibert de BruetPost by Poul-Henning KampPost by Gary R. Van Sickle...but... they *are* HID devices. Why is this "unfortunate"?
It's unfortunate, because they are HID devices only because that
is what microchip.com supplies as a USB programming example.
The actual protocol they talk has nothing to do with the HID
specification.
PHK - I see that you committed the quirk for the 2X20. Would you mind
committing the patch attached to PR usb/128803? Do you want me to
produce the bits required for usb2 as well?
I have attached the 4x20 quirk patch for hpsusb.
Thanks for all of your hard work!
Cheers,
Andy
/* Andre Guibert de Bruet * 436f 6465 2070 6f65 742e 2042 6974 206a */
/* Managing Partner * 6f63 6b65 792e 2053 7973 4164 6d69 6e2e */
/* GSM: +1 734 846 8758 * 2055 4e49 5820 736c 6575 7468 2e00 0000 */
/* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */
--Apple-Mail-10-713703121
Content-Disposition: attachment;
filename=picolcd.usb2.quirk.diff
Content-Type: application/octet-stream; x-unix-mode=0644;
name="picolcd.usb2.quirk.diff"
Content-Transfer-Encoding: 7bit
Index: sys/dev/usb2/include/usb2_devtable.h
===================================================================
--- sys/dev/usb2/include/usb2_devtable.h (revision 187457)
+++ sys/dev/usb2/include/usb2_devtable.h (working copy)
@@ -3401,6 +3401,12 @@
"USB-LCD 2x20",
},
{
+ USB_VENDOR_ITUNERNET, USB_PRODUCT_ITUNERNET_USBLCD4X20,
+ 0,
+ "I-Tuner Networks",
+ "USB-LCD 4x20",
+ },
+ {
USB_VENDOR_JABLOTRON, USB_PRODUCT_JABLOTRON_PC60B,
0,
"Jablotron",
Index: sys/dev/usb2/include/usb2_devid.h
===================================================================
--- sys/dev/usb2/include/usb2_devid.h (revision 187457)
+++ sys/dev/usb2/include/usb2_devid.h (working copy)
@@ -1511,6 +1511,7 @@
/* Ituner networks products */
#define USB_PRODUCT_ITUNERNET_USBLCD2X20 0x0002 /* USB-LCD 2x20 */
+#define USB_PRODUCT_ITUNERNET_USBLCD4X20 0xc001 /* USB-LCD 4x20 */
/* Jablotron products */
#define USB_PRODUCT_JABLOTRON_PC60B 0x0001 /* PC-60B */
Index: sys/dev/usb2/quirk/usb2_quirk.c
===================================================================
--- sys/dev/usb2/quirk/usb2_quirk.c (revision 187457)
+++ sys/dev/usb2/quirk/usb2_quirk.c (working copy)
@@ -95,6 +95,7 @@
{USB_QUIRK_ENTRY(USB_VENDOR_CYBERPOWER, USB_PRODUCT_CYBERPOWER_1500CAVRLCD, 0x0000, 0xFFFF, UQ_HID_IGNORE, UQ_NONE)},
{USB_QUIRK_ENTRY(USB_VENDOR_DELORME, USB_PRODUCT_DELORME_EARTHMATE, 0x0000, 0xFFFF, UQ_HID_IGNORE, UQ_NONE)},
{USB_QUIRK_ENTRY(USB_VENDOR_ITUNERNET, USB_PRODUCT_ITUNERNET_USBLCD2X20, 0x0000, 0xFFFF, UQ_HID_IGNORE, UQ_NONE)},
+ {USB_QUIRK_ENTRY(USB_VENDOR_ITUNERNET, USB_PRODUCT_ITUNERNET_USBLCD4X20, 0x0000, 0xFFFF, UQ_HID_IGNORE, UQ_NONE)},
{USB_QUIRK_ENTRY(USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS1, 0x0000, 0xFFFF, UQ_HID_IGNORE, UQ_NONE)},
{USB_QUIRK_ENTRY(USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS2, 0x0000, 0xFFFF, UQ_HID_IGNORE, UQ_NONE)},
{USB_QUIRK_ENTRY(USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE, 0x0000, 0xFFFF, UQ_HID_IGNORE, UQ_NONE)},
--Apple-Mail-10-713703121
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Content-Transfer-Encoding: 7bit
--Apple-Mail-10-713703121
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline