From owner-freebsd-gnome@FreeBSD.ORG Sun Apr 1 23:54:02 2012 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AB96106564A; Sun, 1 Apr 2012 23:54:02 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-sj.cisco.com (firebird.cisco.com [171.68.227.73]) by mx1.freebsd.org (Postfix) with ESMTP id 1A53D8FC12; Sun, 1 Apr 2012 23:54:01 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-sj.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id q31Nf54n021092; Sun, 1 Apr 2012 16:41:06 -0700 (PDT) Received: from rtp-jclarke-8917.cisco.com (rtp-jclarke-8917.cisco.com [10.117.46.168]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id q31NeuUZ025506; Sun, 1 Apr 2012 19:40:57 -0400 (EDT) Message-ID: <4F78E788.40608@freebsd.org> Date: Sun, 01 Apr 2012 19:40:56 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <4F749AD1.7020703@FreeBSD.org> <4F749FFD.7020707@FreeBSD.org> <4F775927.1030400@freebsd.org> <201204012311.57974.hselasky@c2i.net> In-Reply-To: <201204012311.57974.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome , Andriy Gapon Subject: Re: Fwd: Re: calibre: kindle usb connection problem X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2012 23:54:02 -0000 On 4/1/12 5:11 PM, Hans Petter Selasky wrote: >> libusb20_be_alloc_default >> libusb20_be_device_foreach >> libusb20_dev_get_bus_number >> libusb20_dev_get_address >> libusb20_dev_get_config_index >> libusb20_dev_get_config_index > > Hi, > > I think you need to open the device to be allowed to call > libusb20_dev_req_string_simple_sync, like shown in the previous function call > list. > > Does that make sense to you? It does, but I actually had that in there. What this did help me recognize is that I wasn't closing the device. Thanks for the hint :-). Andriy, can you try these two patches? http://www.marcuscom.com/downloads/patch-hald_freebsd_probing_probe-usb2-interface.c http://www.marcuscom.com/downloads/patch-hald_freebsd_probe-usb2-device.c Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome