Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2006 08:46:56 -0700
From:      Claus Assmann <freebsd+stable@esmtp.org>
To:        freebsd-stable@freebsd.org
Subject:   Polar IR->USB: setting configuration index 0 failed
Message-ID:  <20060908154656.GA3698@zardoc.esmtp.org>

next in thread | raw e-mail | index | archive | help
[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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060908154656.GA3698>