tech@,

upd(4) is now enabled to be built for amd64, macppc and sparc64, thanks
to mpi@ uhidev diff.

still, to get it attaching correctly, these vendor/product id pairs need
to be removed from usb_quirks.c.

read it as: these devices won't attach to ugen anymore.

I have intentions to commit it soon, instead somebody opposes.

-a

On Tue, Mar 18, 2014 at 12:40:33AM +0100, Andre de Oliveira wrote:
> upd(4) has been integrated to the tree a few hours ago.
> 
> it is disabled for now, so if you follow current and can test it, please
> use this patch (mostly the same mpi@'s patch from yesterday, plus the
> removal of the supported product/device-ids from usb_quirks.c).
> 
> if you have an ups with you which does not match any of the ones removed
> from usb_quicks, please send me your usbdevs -v output.
> 
> thanks,


Index: usb_quirks.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/usb_quirks.c,v
retrieving revision 1.69
diff -u -p -r1.69 usb_quirks.c
--- usb_quirks.c        30 Oct 2013 12:28:19 -0000      1.69
+++ usb_quirks.c        19 Mar 2014 10:36:21 -0000
@@ -109,8 +109,6 @@ const struct usbd_quirk_entry {
  { USB_VENDOR_NEC, USB_PRODUCT_NEC_PICTY920,       ANY,   { UQ_BROKEN_BIDIR }},
  { USB_VENDOR_NEC, USB_PRODUCT_NEC_PICTY800,       ANY,   { UQ_BROKEN_BIDIR }},
 
- { USB_VENDOR_APC, USB_PRODUCT_APC_UPS,                        ANY,    { 
UQ_BAD_HID }},
- { USB_VENDOR_APC, USB_PRODUCT_APC_UPS5G,              ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE,         ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_3G,      ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_3GS,     ANY,    { UQ_BAD_HID }},
@@ -147,7 +145,6 @@ const struct usbd_quirk_entry {
  { USB_VENDOR_HP, USB_PRODUCT_HP_T750G2,               ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_IDOWELL, USB_PRODUCT_IDOWELL_IDOWELL,    ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_ITUNER, USB_PRODUCT_ITUNER_USBLCD20x2,   ANY,    { UQ_BAD_HID }},
- { USB_VENDOR_LIEBERT, USB_PRODUCT_LIEBERT_UPS,                ANY,    { 
UQ_BAD_HID }},
  { USB_VENDOR_LIEBERT2, USB_PRODUCT_LIEBERT2_PSA,      ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_MECANIQUE, USB_PRODUCT_MECANIQUE_WISPY,  ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_METAGEEK, USB_PRODUCT_METAGEEK_WISPY24I, ANY,    { UQ_BAD_HID }},


Reply via email to