snd_uaudio with libusb ?

Xiaofan Chen xiaofanc at gmail.com
Sat Sep 29 08:06:46 PDT 2007


On 9/29/07, Chuck T. <freebsdfan at 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


More information about the freebsd-usb mailing list