Re: USB generic driver problems
From: Chris (admin2_at_forkthepenguin.com)
Date: 05/19/04
- Previous message: Trevor Blackwell: "Re: USB generic driver problems"
- In reply to: Trevor Blackwell: "Re: USB generic driver problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 19 May 2004 13:26:31 -0700 (PDT) To: Trevor Blackwell <tlb@anybots.com>
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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Trevor Blackwell: "Re: USB generic driver problems"
- In reply to: Trevor Blackwell: "Re: USB generic driver problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|