Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2581518ybt; Mon, 22 Jun 2020 01:57:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwakIRs+9ZwzjtoCK5MJaSRiW+8lU+qs5PxJEZ8qzeohuBdjLW0wtubfPShF3wlbqXwIgwk X-Received: by 2002:a17:906:d9cd:: with SMTP id qk13mr14715148ejb.268.1592816266522; Mon, 22 Jun 2020 01:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592816266; cv=none; d=google.com; s=arc-20160816; b=F3BximFj9neh4mRecAmDUXw8nlCIG8yXlJoYPi5sA4uT5snt8OGfPFbT2ALPIpsVys 85CxbtnjbVfqRUH3BjePrdVmkroEz6bd6vea+5OKcx0U19NzhsBiff9t3YiI1ZzHyB2d +omOGMdk/NkqQaf79kQuNfxEvDM/sUJfG1uO5THeTzMvNzLCikdRBxdvuv2Kv+gqVMes 8109L1TKZExBmbe3nmKi4Kbm5ON4tdq7W9bfXs9oqgRI77RQsUPX827ADBHlME4+e487 gjpQVgGUuh/8It24BJcEr2xraKRpZDReVTF8g/OWolIm6G1G3HSfH+xUT/XSy381jh7v wOXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=nZTBXhwF66GMXMYe0wTj59WMwAfoF1kcnBYniC5n5Lk=; b=Jx5IN28Zxz2oq5zK3qCIcGN9xHpN3dQCwMRmOhAy7Wg2WmGJxbtFnsyjfBebNXHyJr Eb4gq5nUdKHVXLquoGX/ZWJcmXvd2+GUwG1p1kFZBhdzfxzRi1iUijVbUvKuLvGcyt76 4+O0/9EHcCNknnLN9Lrsay094OIgYlb69oF0o7TqdApSaH6cBIebSN4SPdNjQwJn5W+b GPmlzPBtoUwpereAU5lufBJ17YOoq+u60OOisUo0tA+XUC5xJKBjnvdkGg7WajXmFTLJ rv48dTBT1Q+a0rf3qmV6xIKVIzdXU0pb65xp88o22rJLqr2ycvO+A9JYn8U2sH3+6lBb B6og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si9787741edi.316.2020.06.22.01.57.23; Mon, 22 Jun 2020 01:57:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727020AbgFVIx0 (ORCPT + 99 others); Mon, 22 Jun 2020 04:53:26 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:41163 "EHLO mail-lj1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725966AbgFVIx0 (ORCPT ); Mon, 22 Jun 2020 04:53:26 -0400 Received: by mail-lj1-f175.google.com with SMTP id 9so18356761ljc.8; Mon, 22 Jun 2020 01:53:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nZTBXhwF66GMXMYe0wTj59WMwAfoF1kcnBYniC5n5Lk=; b=De+tA9zcJGOWfFb/l9sfP6OoEAd1xrRtnLFcM+bDdL5YEIroDzpS76hF4UPBjBbUHd us+R9wiNHH2LL95iuoNDzNRQsSk89nTJs+mjnjxt+qivLSDHj+Cx1VgBvEaeOgkH8684 opG+AeQSO8Ql+ZCqc8kLdaxhnjvKxIjZtPdPGuhMkaXN0+gZ51mYkcPfViTuRgl/wadP uV+7EcDFfw4lCSknBPSJJWCdoBdneMRBRIHUsEOCwb/wzx8coPyEbeSXD0Y+ZSE70N8q kK2HqgaY8VzoW/HgHIuG5WkYDOQLq92L6heK4UNh7grZNHkEl3/WXAbkzQC5wVyrxwn/ D5PQ== X-Gm-Message-State: AOAM5314ikFZO/N7HsBXZnnAgatZu6nZ5mKt9hKyJ9KekPWj6Hh2I6aE 7SZ0bf4KWCtMltfMrxn3IVs10kCt X-Received: by 2002:a2e:98c2:: with SMTP id s2mr8503520ljj.288.1592816003291; Mon, 22 Jun 2020 01:53:23 -0700 (PDT) Received: from xi.terra (c-beaee455.07-184-6d6c6d4.bbcust.telenor.se. [85.228.174.190]) by smtp.gmail.com with ESMTPSA id e80sm3333134lfd.64.2020.06.22.01.53.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 01:53:22 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.93.0.4) (envelope-from ) id 1jnICf-0004Dg-Td; Mon, 22 Jun 2020 10:53:21 +0200 Date: Mon, 22 Jun 2020 10:53:21 +0200 From: Johan Hovold To: James Hilliard Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Johan Hovold Subject: Re: [PATCH v2] USB: Serial: cypress_M8: Enable Simply Automated UPB PIM Message-ID: <20200622085321.GA3334@localhost> References: <20200616220403.1807003-1-james.hilliard1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200616220403.1807003-1-james.hilliard1@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 16, 2020 at 04:04:03PM -0600, James Hilliard wrote: > This is a UPB(Universal Powerline Bus) PIM(Powerline Interface Module) > which allows for controlling multiple UPB compatible devices from > Linux using the standard serial interface. > > Based on vendor application source code there are two different models > of USB based PIM devices in addition to a number of RS232 based PIM's. > > The vendor UPB application source contains the following USB ID's: > #define USB_PCS_VENDOR_ID 0x04b4 > #define USB_PCS_PIM_PRODUCT_ID 0x5500 > > #define USB_SAI_VENDOR_ID 0x17dd > #define USB_SAI_PIM_PRODUCT_ID 0x5500 > > The first set of ID's correspond to the PIM variant sold by Powerline > Control Systems while the second corresponds to the Simply Automated > Incorporated PIM. As the product ID for both of these match the default > cypress HID->COM RS232 product ID it assumed that they both use an > internal variant of this HID->COM RS232 converter hardware. However > as the vendor ID for the Simply Automated variant is different we need > to also add it to the cypress_M8 driver so that it is properly > detected. > > Signed-off-by: James Hilliard > --- > Changes v1 -> v2: > - Add more detailed commit message. Now applied, thanks. Would you mind posting the output of "lsusb -v" for this device for completeness? Johan