From owner-freebsd-stable@FreeBSD.ORG Fri Sep 8 15:46:57 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D175816A4DD for ; Fri, 8 Sep 2006 15:46:57 +0000 (UTC) (envelope-from ca+envelope@esmtp.org) Received: from zardoc.esmtp.org (adsl-63-195-85-27.dsl.snfc21.pacbell.net [63.195.85.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F27B43D49 for ; Fri, 8 Sep 2006 15:46:57 +0000 (GMT) (envelope-from ca+envelope@esmtp.org) Received: from zardoc.esmtp.org (localhost. [127.0.0.1]) by zardoc.esmtp.org (sendmail X.1.0.PreAlpha9.1) with ESMTPS (TLS=TLSv1/SSLv3, cipher=AES256-SHA, bits=256, verify=FAIL) id S0000000000071BF500; Fri, 8 Sep 2006 08:46:56 -0700 Received: (from ca@localhost) by zardoc.esmtp.org (8.13.4/8.12.10.Beta0/Submit) id k88FkubY003876 for freebsd-stable@freebsd.org; Fri, 8 Sep 2006 08:46:56 -0700 (PDT) Date: Fri, 8 Sep 2006 08:46:56 -0700 From: Claus Assmann To: freebsd-stable@freebsd.org Message-ID: <20060908154656.GA3698@zardoc.esmtp.org> Mail-Followup-To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: Polar IR->USB: setting configuration index 0 failed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 15:46:57 -0000 [this has been sent to freebsd-usb before, sorry if you see it twice but maybe someone on this list can help?] I'm trying to get a Polar IR->USB interface working with FreeBSD 6.1, but it fails with the error: setting configuration index 0 failed I enabled USB_DEBUG and added some more printf statements to see what's going on. The (annotated) output looks like this: ! When the IR interface is plugged it it properly shows up: ugen0: vendor 0x413c product 0x8000, rev 2.00/12.66, addr 2 ! vendor DELL 0x413c Dell usbd_get_string: getting lang failed, using 0 ugen1: vendor 0x0da4 product 0x0001, rev 1.00/1.19, addr 2 ! This is the Polar IR interface. However, the next message is: ugen1: setting configuration index 0 failed ! Turning debugging on and starting at the recognition of the interface: ugen1: vendor 0x0da4 product 0x0001, rev 1.00/1.19, addr 3 usbd_set_config_index: dev=0xc52cdc00 index=0 usbd_set_config_index: free old config usbd_get_config_desc: confidx=0 usbd_get_desc: type=2, index=0, len=9 usbd_alloc_xfer() = 0xc4b97800 usbd_transfer: xfer=0xc4b97800, flags=2, pipe=0xc52e3800, running=0 usbd_dump_queue: pipe=0xc52e3800 usb_allocmem: use frag=0xc4bd4d00 size=9 usb_insert_transfer: pipe=0xc52e3800 running=0 timeout=5000 usb_event_thread: woke up usb_discover usb_add_task: task=0xc4b97888 usb_task_thread: woke up task=0xc4b97888 usb_transfer_complete: pipe=0xc52e3800 xfer=0xc4b97800 status=15 actlen=0 ! This seems to be a timeout error; ! usbdi.h: USBD_TIMEOUT, /* 15 */ usb_freemem: frag=0xc4bd4d00 usb_transfer_complete: repeat=0 new head=0 usbd_start_next: pipe=0xc52e3800, xfer=0 usbd_free_xfer: 0xc4b97800 ! and here's the erorr again: usbd_set_config_index: dev=0xc52cdc00, usbd_get_config_desc=15 ugen1: setting configuration index 0 failed device_attach: ugen1 attach returned 6 The software that is used to read data (http://daveb.net/s710/) uses libusb. It "works" under some Linux version (e.g., SuSE 9.3 but not 10.1). Is there some way to get this working under FreeBSD too?