From owner-freebsd-questions@FreeBSD.ORG Wed May 19 13:21:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DBAD16A4CF for ; Wed, 19 May 2004 13:21:42 -0700 (PDT) Received: from fester.anybots.com (w055.z066088028.sjc-ca.dsl.cnc.net [66.88.28.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 92C8B43D45 for ; Wed, 19 May 2004 13:21:40 -0700 (PDT) (envelope-from tlb@anybots.com) Received: (qmail 69442 invoked from network); 19 May 2004 20:21:39 -0000 Received: from unknown (HELO ?10.10.10.16?) (10.10.10.16) by 10.10.10.20 with SMTP; 19 May 2004 20:21:39 -0000 From: Trevor Blackwell To: Chris Content-Type: text/plain Message-Id: <1084998099.5889.9.camel@tlb> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 19 May 2004 13:21:39 -0700 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: USB generic driver problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 20:21:42 -0000 I'm also trying to make the Labjack work on FreeBSD 4.9. I haven't solved the problem, but I at least know why you're getting a "device not configured" error when writing to the USB endpoint. The ugen driver finds that: (sce->edesc->bmAttributes & UE_XFERTYPE) == UE_INTERRUPT but only allows a generic write for devices with XFERTYPE of UE_BULK. So it gives a ENXIO (device not configured) when you call write. I've also fooled around with using the uhid driver, but I haven't been able to complete a write with it either. If you figure it out, drop me a note! -- Trevor Blackwell tlb@anybots.com (650) 210-9272