Should have know.

Attached again as text file, if that does not work its also available 
here. <https://marvin.mostlyharmless.dk/jtm/velleman.diff.txt>.

Best regards Jens

On 04-04-2010 14:00, Jens Teglhus Mxller wrote:
> Hi
>
> For a small home automation project i'm working on i have bought the
> velleman k8055 usb experimental board. For it to work properly it has to
> be forced not to attache as uhid. I have attached a patch that does that.
>
> I have been able to use the freebsd command line tool
> <http://www.castro.aus.net/~maurice/usb/k8055/>  with some minor
> modifications (in the dev names used) but at the moment i made it unwork
> again.
>
> Best regards Jens
>
> [demime 1.01d removed an attachment of type application/octet-stream which 
> had a name of velleman.diff]
Index: usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.484
diff -u -p -r1.484 usbdevs
--- usbdevs     3 Apr 2010 10:52:22 -0000       1.484
+++ usbdevs     4 Apr 2010 11:13:41 -0000
@@ -462,6 +462,7 @@ vendor PLX          0x10b5  PLX
 vendor ASANTE          0x10bd  Asante
 vendor SILABS          0x10c4  Silicon Labs
 vendor SILABS3         0x10c5  Silicon Labs
+vendor VELLEMAN                0x10cf  Velleman
 vendor ANALOG          0x1110  Analog Devices
 vendor TENX            0x1130  Ten X Technology, Inc.
 vendor ISSC            0x1131  Integrated System Solution Corp.
@@ -597,6 +598,7 @@ vendor CACE         0xcace  CACE Technologies
 vendor EVOLUTION       0xdeee  Evolution Robotics
 vendor EMPIA           0xeb1a  eMPIA Technology
 vendor HP2             0xf003  Hewlett Packard
+vendor VELLEMAN        0x10cf  Velleman
 
 /*
  * List of known products.  Grouped by vendor.
@@ -3604,6 +3606,9 @@ product   USR USR5423             0x0121  USR5423 WLAN
 /* USI products */
 product USI MC60               0x10c5  MC60 Serial
 
+/* Velleman products */
+product VELLEMAN K8055          0x5500  K8055 USB Experiment interface board
+
 /* ViewSonic products */
 product VIEWSONIC G773HUB      0x00fe  G773 Monitor Hub
 product VIEWSONIC P815HUB      0x00ff  P815 Monitor Hub
@@ -3737,3 +3742,4 @@ product ZYXEL RT2870_1            0x3416  RT2870
 product ZYXEL NWD271N          0x3417  NWD-271N
 product ZYXEL RT2870_2         0x341a  RT2870
 product ZYXEL PRESTIGE         0x401a  Prestige
+
Index: usb_quirks.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/usb_quirks.c,v
retrieving revision 1.53
diff -u -p -r1.53 usb_quirks.c
--- usb_quirks.c        17 Oct 2009 07:10:38 -0000      1.53
+++ usb_quirks.c        4 Apr 2010 11:13:41 -0000
@@ -154,6 +154,9 @@ const struct usbd_quirk_entry {
  /* HUAWEI devices */
  { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220, ANY,    { UQ_NO_STRINGS }},
 
+ /* Velleman */
+ { USB_VENDOR_VELLEMAN, USB_PRODUCT_VELLEMAN_K8055,     ANY,   { UQ_BAD_HID }},
+
  { 0, 0, 0, { 0 } }
 };

Reply via email to