Hi,
as the topic states.
On Linux lsusb's iProduct shows:
iProduct 2 FabISP
And on OpenBSD:
iProduct 2 (error)
So in that sense the naming might be a bit off.
Adding the lines below in to uftdi.c doesn't make it work yet, so more
love is needed:
<snip>
RCS file: /cvs/src/sys/dev/usb/uftdi.c,v
retrieving revision 1.75
diff -u -p -r1.75 uftdi.c
--- uftdi.c 12 Dec 2016 04:35:04 -0000 1.75
+++ uftdi.c 23 Oct 2017 19:38:37 -0000
@@ -635,6 +635,7 @@ static const struct usb_devno uftdi_devs
{ USB_VENDOR_MATRIXORB, USB_PRODUCT_MATRIXORB_LCD_01FE },
{ USB_VENDOR_MATRIXORB, USB_PRODUCT_MATRIXORB_LCD_01FF },
{ USB_VENDOR_MECANIQUE, USB_PRODUCT_MECANIQUE_TELLSTICK },
+ { USB_VENDOR_MECANIQUE, USB_PRODUCT_MECANIQUE_AVRPROGRAMMER },
{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_PCOPRS1 },
{ USB_VENDOR_MOBILITY, USB_PRODUCT_MOBILITY_ED200H },
{ USB_VENDOR_OCT, USB_PRODUCT_OCT_US2308 },
<snip>
And when the device is attached:
<snip>
uftdi0 at uhub0 port 1 configuration 1 interface 0 "Mecanique Sparkfun
Tiny AVR programmer" rev 1.10/1.04 addr 2
uftdi0: Could not find data bulk in
</snip>
Anyway, here's the usbdevs part:
<snip>
Index: usbdevs_data.h
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.684
diff -u -p -r1.684 usbdevs_data.h
--- usbdevs_data.h 11 Oct 2017 17:20:36 -0000 1.684
+++ usbdevs_data.h 24 Oct 2017 17:26:22 -0000
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdevs_data.h,v 1.684 2017/10/11 17:20:36 patrick Exp $ */
+/* $OpenBSD$ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
@@ -7088,6 +7088,10 @@ const struct usb_known_product usb_known
{
USB_VENDOR_MECANIQUE, USB_PRODUCT_MECANIQUE_TELLSTICK,
"Telldus Tellstick",
+ },
+ {
+ USB_VENDOR_MECANIQUE, USB_PRODUCT_MECANIQUE_AVRPROGRAMMER,
+ "Sparkfun Tiny AVR programmer",
},
{
USB_VENDOR_METAGEEK, USB_PRODUCT_METAGEEK_WISPY24I,
Index: usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.678
diff -u -p -r1.678 usbdevs
--- usbdevs 11 Oct 2017 17:19:50 -0000 1.678
+++ usbdevs 24 Oct 2017 17:26:22 -0000
@@ -2944,6 +2944,7 @@ product MELCO WLIUCGNM2 0x01ee WLI-UC-G
/* MetaGeek tagged products */
product MECANIQUE WISPY 0x083e MetaGeek Wi-Spy
product MECANIQUE TELLSTICK 0x0c30 Telldus Tellstick
+product MECANIQUE AVRPROGRAMMER 0x0c9f Sparkfun Tiny AVR programmer
/* MetaGeek products */
product METAGEEK WISPY24I 0x2400 Wi-Spy 2.4i
</snip>
--
Kind regards,
Ville Valkonen