On 9/29/07, Chuck T. <[EMAIL PROTECTED]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"