Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 18:41:16 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usbd_set_config_no vs. usbd_set_config_index
Message-ID:  <200708161841.17660.hselasky@c2i.net>
In-Reply-To: <46C47AA3.4040809@icyb.net.ua>
References:  <46C2D04A.30409@icyb.net.ua> <200708161815.47620.hselasky@c2i.net> <46C47AA3.4040809@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 16 August 2007, Andriy Gapon wrote:
> on 16/08/2007 19:15 Hans Petter Selasky said the following:
> > Hi,
> >
> > I would say that "usbd_set_config_index()" is more reliable and faster
> > than "usbd_set_config_no()". I tried to get rid of
> > all "usbd_set_config_no()".
>
> Hmm, then I am puzzled how my change from *_index() to *_no() helped in
> my case. Maybe some parameters were incorrect, or maybe different
> devices need different parameters and that's where _no() comes useful.

What config number are you setting?

Have you dumped the configuration of your device using "udesc_dump" 
(See /usr/ports/sysutils/udesc_dump) ?

--HPS



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