-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 12 Jul 2003 04:56 am, Bob Deblier wrote:
> On Friday 11 July 2003 17:19, Greg KH wrote:
> > On Fri, Jul 11, 2003 at 11:46:46AM +0000, Bob Deblier wrote:
> > > Hi all,
> > >
> > > A couple of years ago I bought a Dallas Semiconductor 1490 2-in-1 fob
> > > with a crypto iButton, but support on Linux so far only seems possible
> > > through libusb, with non-free software. I thought I'd give it a shot
> > > to create a real driver.
> >
> > Why?  If it can be talked to from userspace, why not just write another
> > libusb program for it?
>
> Okay - that makes sense. Guess I was thinking too much like "If it can be
> done, why not do it."
I've done stuff in userspace, and I've done stuff in kernel space. If I never 
saw another kernel space driver, I'd be happy.

Advantages to libusb:
* Highly portable (including outside Linux)
* Easy to debug (machine doesn't crash everytime you make a mistake, faster 
development)
* Easy to code (don't have to worry about SMP locking, far fewer races, don't 
have to worry as much about memory allocation issues, and so on)

Advantages to kernel space:
* More ego boosting :-)
* Allows you to provide standard interfaces (not applicable in this case 
though).


Brad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/D3v3W6pHgIdAuOMRAlcwAKCAuo0C7qBvBss/I0dvLkr1YrnivwCfSVac
L35mR9Il577fVRfXVmNDNmo=
=dVGH
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to