Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2007 23:06:40 +0800
From:      "Xiaofan Chen" <xiaofanc@gmail.com>
To:        "Chuck T." <freebsdfan@hotmail.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: snd_uaudio with libusb ?
Message-ID:  <a276da400709290806hbce4365y9015aa4ae299f817@mail.gmail.com>
In-Reply-To: <BAY116-W369496EF9838627D320790C7B30@phx.gbl>
References:  <BAY116-W4072AA56B15EBD7B73FAC9C7B20@phx.gbl> <a276da400709281906m28bacac2r80c27074e222c597@mail.gmail.com> <BAY116-W245D862663F945A3204C2CC7B30@phx.gbl> <a276da400709290213v6d747d3bh4f3e4de212d5b602@mail.gmail.com> <BAY116-W369496EF9838627D320790C7B30@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/29/07, Chuck T. <freebsdfan@hotmail.com> wrote:

>    if(dev != NULL) {
>       if((udev = usb_open(dev)) != NULL) {
>          Ret = 0;
>       }

Hmm, you do not set USB configurations. I know this might
be good for Linux but this will not work under Windows.
Not so sure about FreeBSD.

I have tested some codes under Linux/Windows and
I will do the tests for FreeBSD. I already tested pk2
and Piklab for PICkit 2 under FreeBSD with the help
from people here. I always set configurations and
calim interfaces (interrupt transfer for PICKit 2 -- HID device).
http://forum.microchip.com/tm.aspx?m=106426

Not so sure about control transfer. I think you do not
need to claim the interface.


Regards,
Xiaofan



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