From patchwork Tue Sep 6 01:49:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Denis Pershin X-Patchwork-Id: 113601 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id C08D3B6F71 for ; Wed, 7 Sep 2011 02:36:10 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1R0ycs-0005ss-6Y; Tue, 06 Sep 2011 16:35:54 +0000 Received: from mx.ac-sw.com ([109.202.7.82] helo=gw.ac-sw.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1R0knB-0004kz-87 for kernel-team@lists.ubuntu.com; Tue, 06 Sep 2011 01:49:37 +0000 Received: from begemot.ac-sw.com (ws-4-002.ac-sw.lcl [192.168.4.2]) by gw.ac-sw.com (Postfix) with ESMTP id 966AC39C1D1 for ; Tue, 6 Sep 2011 08:49:35 +0700 (NOVST) Received: from localhost (localhost [127.0.0.1]) by begemot.ac-sw.com (Postfix) with ESMTP id 9513E16004050 for ; Tue, 6 Sep 2011 08:49:35 +0700 (NOVST) X-Virus-Scanned: Debian amavisd-new at begemot.ac-sw.com Received: from begemot.ac-sw.com ([127.0.0.1]) by localhost (begemot.ac-sw.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NIofdFqX9bWK for ; Tue, 6 Sep 2011 08:49:28 +0700 (NOVST) Received: from [192.168.1.3] (unknown [90.189.247.164]) (Authenticated sender: dyp) by begemot.ac-sw.com (Postfix) with ESMTPSA id DA1E81600221C for ; Tue, 6 Sep 2011 08:49:26 +0700 (NOVST) Message-ID: <4E657C24.3040503@perchine.com> Date: Tue, 06 Sep 2011 08:49:24 +0700 From: Denis Pershin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: kernel-team@lists.ubuntu.com Subject: Fwd: [PATCH] usb: Owen SI-30 support References: <4E6354E1.3040608@perchine.com> In-Reply-To: <4E6354E1.3040608@perchine.com> X-Forwarded-Message-Id: <4E6354E1.3040608@perchine.com> X-Mailman-Approved-At: Tue, 06 Sep 2011 16:35:52 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com Hello, please, include this patch in Ubuntu kernel. Patch should apply on all kernels from 2.6.x to 3.0.x Actually this patch was tested as a patch against Ubuntu 10.10 kernel 2.6.35-25-generic-pae --- Denis Pershin CTO of Navitel -------- Исходное сообщение -------- Тема: [PATCH] usb: Owen SI-30 support Дата: Sun, 04 Sep 2011 17:37:21 +0700 От: Denis Pershin Кому: Oliver Neukum , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Hello, here it is the patch to support Owen SI-30 device. This is a pulse counter controller. http://www.owen.ru/en/catalog/93788515 usb-drivers output: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=02(commc) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=03eb ProdID=0030 Rev=01.01 C: #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=00 Driver=cdc_acm I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm Patch is made against 3.0.4 from kernel git. This patch is installed on my home system which receives data from this controller connected to cold water counter. It works well for more than 6 monthes. Please, include this patch to mainstream. Signed-off-by: Denis Pershin /* Support Lego NXT using pbLua firmware */ -- Denis Pershin CTO of Navitel diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index dac7676..5112f57 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1534,6 +1534,9 @@ static const struct usb_device_id acm_ids[] = { { NOKIA_PCSUITE_ACM_INFO(0x03cd), }, /* Nokia C7 */ { SAMSUNG_PCSUITE_ACM_INFO(0x6651), }, /* Samsung GTi8510 (INNOV8) */ + /* Support for Owen devices */ + { USB_DEVICE(0x03eb, 0x0030), }, /* Owen SI30 */ + /* NOTE: non-Nokia COMM/ACM/0xff is likely MSFT RNDIS... NOT a modem! */