On Wed, 19 May 2004, Trevor Blackwell wrote:

>
> I'm also trying to make the Labjack work on FreeBSD 4.9. I haven't
> solved the problem, but I at least know why you're getting a "device not
> configured" error when writing to the USB endpoint. The ugen driver
> finds that:
>
>   (sce->edesc->bmAttributes & UE_XFERTYPE) == UE_INTERRUPT
>
> but only allows a generic write for devices with XFERTYPE of UE_BULK. So
> it gives a ENXIO (device not configured) when you call write.

Makes since. So what if we override that code? ;-) I haven't looked at
this for a month or so, but I started writing my own device driver using
the existing ones as a template. I suceeded in detecting the device but
crashed the system with a type 12 when trying to connect. I'm just not
that experienced with C programming, but what better project to get a
crash course in C?

> I've also fooled around with using the uhid driver, but I haven't been
> able to complete a write with it either. If you figure it out, drop me a
> note!

I'll followup with you privately and we can post a summary to the list
when we figure it out.

Chris
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to