libftdi Archives

Subject: Design decisions, was: Re: Claiming devices...

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 6 Oct 2010 13:34:56 +0200
Hallo,

we all exchanged our point of views. Now we need to come to some conclusions:
- should we give ftdi_usb_open_dev() more options how to handle different
situations?
Possible situations are: 
-- ftdi_sio is loaded, should we unload or abort
-- some other application has claimed the device via usbfs, should we force
claiming and continue or should we exit
-- If we unloaded ftdi_sio, should we attach it again on exit
 
- Should we make all these decisions configurable?

What we can do depends however on what information libusb provides us. At
the moment we can distinguish between ftdi_sio and usbfs...

Bye

-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread