From 7da950fcd5a7bb9481fac06e85fdc9f73c22f342 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 19 Apr 2015 12:24:47 +0200 Subject: Match other devices --- usb.go | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/usb.go b/usb.go index c15b126..4984465 100644 --- a/usb.go +++ b/usb.go @@ -23,7 +23,16 @@ var ( ) func CC100(desc *usb.Descriptor) bool { - return desc.Vendor == graphtec && desc.Product == cc200_20 + if desc.Vendor == graphtec { + switch desc.Product { + case cc200_20, cc300_20, + silhouette_sd_1, + silhouette_sd_2, + silhouette_portrait: + return true + } + } + return false } func NewDevice() (d Device) { -- cgit v1.2.3