From owner-freebsd-usb@FreeBSD.ORG Mon Jul 9 22:09:23 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21EF416A46C for ; Mon, 9 Jul 2007 22:09:23 +0000 (UTC) (envelope-from pldrouin@cyberfingers.net) Received: from smtp.cyberfingers.net (smtp.cyberfingers.net [198.177.254.227]) by mx1.freebsd.org (Postfix) with ESMTP id F3E7D13C465 for ; Mon, 9 Jul 2007 22:09:22 +0000 (UTC) (envelope-from pldrouin@cyberfingers.net) Received: from [134.117.23.170] (pldrouinlap-pc.physics.carleton.ca [134.117.23.170]) by smtp.cyberfingers.net (Postfix) with ESMTP id 48CB0170050 for ; Mon, 9 Jul 2007 18:09:18 -0400 (EDT) Message-ID: <4692B20A.5060008@cyberfingers.net> Date: Mon, 09 Jul 2007 18:09:14 -0400 From: Pierre-Luc Drouin User-Agent: Thunderbird 2.0.0.4 (X11/20070626) MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <4692717C.9090901@cyberfingers.net> <20070709212438.GA56079@tirith.brixandersen.dk> In-Reply-To: <20070709212438.GA56079@tirith.brixandersen.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Problem with libusb on FreeBSD? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 22:09:23 -0000 Yep, I have tried to run GPSBabel both as a normal user and as root. Henrik Brix Andersen wrote: > On Mon, Jul 09, 2007 at 01:33:48PM -0400, Pierre-Luc Drouin wrote: > >> I have looked through the GPSBabel code and it looks like it is failing at >> the very first call of usb_bulk_write() when the initialization packet is >> sent to the device. >> Is this a known bug with libusb on FreeBSD 6.2? >> > > Just a quick suggestion - do you have rw access to the ugen(4) device > node(s)? This is often overlooked, it seems. > > FWIW, I am using usb_bulk_write() in quite a few local projects > without any problems. > > Regards, > Brix >