Date: Wed, 19 May 2004 13:26:31 -0700 (PDT) From: Chris <admin2@forkthepenguin.com> To: Trevor Blackwell <tlb@anybots.com> Cc: freebsd-questions@freebsd.org Subject: Re: USB generic driver problems Message-ID: <Pine.BSI.4.58L.0405191323310.1934@vp4.netgate.net> In-Reply-To: <1084998099.5889.9.camel@tlb> References: <1084998099.5889.9.camel@tlb>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.58L.0405191323310.1934>