Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2004 22:55:41 -0400
From:      Brian Fundakowski Feldman <green@freebsd.org>
To:        "Aho K.F. Li" <thinker@branda.to>
Cc:        idownes@slingshot.co.nz
Subject:   Re: where to get info to write basic usb driver for own device?
Message-ID:  <20040710025541.GE1626@green.homeunix.org>
In-Reply-To: <40E87B4D.1050203@branda.to>
References:  <E1Bh6Xf-0005UW-02@mailsrv2.tranzpeer.net> <40E87B4D.1050203@branda.to>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 04, 2004 at 09:49:01PM +0000, Aho K.F. Li wrote:
> What kind of device do you had build?
> A HID?
> If your device is not with heaven traffic, you can consider to
> develop your driver at user space with ugen(4) or uhid(4) at first.
> And then, move it into kernel space when you need.
> I had wrote a drive for a touch panel device.
> Actually, it is a input device for XFree86.
> I worked it with uhid(4), all my work was finished at user space.
> It would be a good entry point.

I absolutely agree with this -- it's very hard to write good kernel
USB drivers in FreeBSD, and if it can be done with ugen(4)/libusb, you'll
safe yourself a lot of time and pain.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040710025541.GE1626>