From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19744 invoked by alias); 26 May 2009 09:15:39 -0000 Received: (qmail 19728 invoked by uid 22791); 26 May 2009 09:15:36 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_24,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from anika.2020media.com (HELO smtp.2020smtp.net) (212.124.192.214) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 May 2009 09:15:28 +0000 Received: from [212.124.199.38] (helo=[192.168.0.2]) by smtp.2020smtp.net with esmtp (Exim 4.63) (envelope-from ) id 1M8ski-0003Pd-Tr; Tue, 26 May 2009 10:15:21 +0100 Message-ID: <4A1BB326.4010809@zynaptic.com> Date: Tue, 26 May 2009 09:15:00 -0000 From: Chris Holgate User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Gaurang , ecos-devel@sourceware.org Subject: USB testing - any more class drivers out there? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-05/txt/msg00069.txt.bz2 Hi Gaurang, Gaurang wrote: > Hello Chris, > I download ur USB support package for stm32,but I want to > sample application to check ur driver output?. > I want transfer data using usb on stm32E-kit to pc(like hid). The STM32 driver only provides the standard eCos USB API. On top of that you'll need to add a USB class driver such as the ones in io/usb. At the moment, the only applicable one is the serial driver discussed here: http://ecos.sourceware.org/ml/ecos-devel/2009-05/msg00038.html I don't know is Simon has had any luck getting it working, but if not I'll try and put together a patch. As far as HID support is concerned, eCos is currently a bit lacking in USB class driver implementations. You'll need to dig into the documentation and roll your own. I'm sure that any standard USB class drivers you do develop would be more than welcome as contributions! Chris. [Posted to the list in case anyone knows of any HID class drivers already in development].