From owner-freebsd-questions@FreeBSD.ORG Tue Jun 29 16:02:48 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 6B7AF16A4CE for ; Tue, 29 Jun 2004 16:02:48 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD6EF43D45 for ; Tue, 29 Jun 2004 16:02:47 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i5TG2ZaI037793 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 29 Jun 2004 18:02:37 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i5TG1nUi018019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Jun 2004 18:01:50 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id i5TG1nrW003306; Tue, 29 Jun 2004 18:01:49 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id i5TG1l9C003305; Tue, 29 Jun 2004 18:01:47 +0200 (CEST) (envelope-from ticso) Date: Tue, 29 Jun 2004 18:01:47 +0200 From: Bernd Walter To: Darren Pilgrim Message-ID: <20040629160146.GF609@cicely12.cicely.de> References: <000601c449d2$793e91c0$0a2a15ac@spud> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c449d2$793e91c0$0a2a15ac@spud> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cicely5.cicely.de cc: questions@freebsd.org Subject: Re: Can I access a USB device that has no driver attached? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 16:02:48 -0000 On Thu, Jun 03, 2004 at 06:22:54PM -0700, Darren Pilgrim wrote: > I have a UPS with a USB interface. There isn't a specific UPS driver in > FreeBSD beyond uhid. If I were to connect the UPS's interface port > without having a driver attached, is it still possible to talk to the > device in some way? I ask because I'm helping get nut (sysutils/nut) > working for USB UPSes under FreeBSD. Maybe your question is outdated, but since noone answered yet. - You can enhance our uhid driver - You can write your own driver - You can do raw control transfers via /dev/usb* - You can also do raw control and pipe trandfers if ugen takes the device - You can use libusb for portable (Linux, ...) device access via ugen -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de