From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 11:31:01 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C9AD16A46E for ; Tue, 12 Feb 2008 11:31:01 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id C0FB613C4D5 for ; Tue, 12 Feb 2008 11:31:00 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m1CBUw5E040320 for ; Tue, 12 Feb 2008 12:30:58 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id m1CBUpX1056741 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 12 Feb 2008 12:30:51 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id m1CBUoXC049648 for ; Tue, 12 Feb 2008 12:30:50 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id m1CBUobp049647 for freebsd-usb@freebsd.org; Tue, 12 Feb 2008 12:30:50 +0100 (CET) (envelope-from ticso) Date: Tue, 12 Feb 2008 12:30:50 +0100 From: Bernd Walter To: freebsd-usb@freebsd.org Message-ID: <20080212113049.GE46322@cicely12.cicely.de> References: <20080211235832.GA1054@hades.panopticon> <20080212010327.GB1054@hades.panopticon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080212010327.GB1054@hades.panopticon> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on cicely12.cicely.de Subject: Re: Need docs on USB driver development X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 11:31:01 -0000 On Tue, Feb 12, 2008 at 04:03:27AM +0300, Dmitry Marakasov wrote: > * Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: > > > work through neither uhid nor ugen drivers (though I'm gonna do > > some more digging here). So I've decided to go level lower and write > Upd: I was able to make it work through ugen. By the chance I've plugged > the device into another slot, and it worked. > > So the curious thing is that it works like that: > addr 1: UHCI root hub, Intel > addr 3: AVerMedia USB Radio, AVerMedia Technologies > > (can write commands to /dev/ugen0.2) > > But not like that: > addr 1: OHCI root hub, NEC > addr 2: AVerMedia USB Radio, AVerMedia Technologies > > (writing to /dev/ugen0.2 fails with EIO) Some devices are way to sensitive to noise and sometimes even timing. What you see is very likely a transmission error because of hardware problems and not of software. I would say the device is just badly designed. You may even change the situation by adding an hub between. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de