Hello, I recently aquired a Telldus Tellstick Duo (http://www.telldus.se/products/tellstick_duo). It differs from the classic Tellstick in that it is both a transmitter and a receiver.
The hardware: === # usbdevs -v [...] port 1 addr 2: full speed, power 90 mA, config 1, TellStick Duo(0x0c31), Telldus(0x1781), rev 6.00, iSerialNumber A703AJR6 [...] === Currently it is only attached as an ugen device: === ugen0 at uhub1 port 2 "Telldus TellStick Duo" rev 2.00/6.00 addr 2 === The diff below makes it attach as an uftdi device: === uftdi0 at uhub2 port 1 configuration 1 interface 0 "Telldus TellStick Duo" rev 2.00/6.00 addr 2 ucom0 at uftdi0 portno 1 === I have verified that I can use it with rfcmd (https://github.com/telldus/telldus/tree/master/rfcmd) to place a wall plug in the on and off state with the following commands (this requires a patch to rfcmd.c which makes it use 9600 baud instead of 4800): === ./rfcmd /dev/cuaU0 NEXA A 1 1 ./rfcmd /dev/cuaU0 NEXA A 1 0 === While not strictly related to this diff, maby the line "MetaGeek tagged products" should be replaced with "Mecanique tagged products" in usbdevs? -- Patrik Lundin Index: usbdevs =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.654 diff -u -p -u -r1.654 usbdevs --- usbdevs 15 Jul 2015 13:25:49 -0000 1.654 +++ usbdevs 21 Dec 2015 11:14:48 -0000 @@ -2918,6 +2918,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 TELLSTICK_DUO 0x0c31 Telldus Tellstick Duo /* MetaGeek products */ product METAGEEK WISPY24I 0x2400 Wi-Spy 2.4i Index: uftdi.c =================================================================== RCS file: /cvs/src/sys/dev/usb/uftdi.c,v retrieving revision 1.74 diff -u -p -u -r1.74 uftdi.c --- uftdi.c 18 Jun 2015 09:47:16 -0000 1.74 +++ uftdi.c 21 Dec 2015 11:14:48 -0000 @@ -634,6 +634,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_TELLSTICK_DUO }, { USB_VENDOR_MELCO, USB_PRODUCT_MELCO_PCOPRS1 }, { USB_VENDOR_MOBILITY, USB_PRODUCT_MOBILITY_ED200H }, { USB_VENDOR_OCT, USB_PRODUCT_OCT_US2308 },
