dahdi-linux/xpp/xtalk
Tzafrir Cohen e6c2b1850d xpp: Serialized Parallel load; E-Main-3 firmware
This introduces support for loading multiple firmwares in parallel also
for the case of a manual load. This is anyway the case for an automatic
load from udev.

* libusb needs to scan the bus all too often. This causes occasional
  failures for opening devices.
* Thus introduce a semaphore to serialize uses of libusb.

E-Main-3 firmware differs by a different value of bcdDevice:

* Read this from the sysfs devices tree.
* Fall back to lsusb -v (much slower) is sysfs not available.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10348 17933a7a-c749-41c5-a318-cba88f637d49
2011-11-29 23:40:21 +00:00
..
debug.c xpp: use 'xtalk' for the USB access code 2011-03-10 18:48:11 +00:00
debug.h xpp: use 'xtalk' for the USB access code 2011-03-10 18:48:11 +00:00
xlist.c xpp: use 'xtalk' for the USB access code 2011-03-10 18:48:11 +00:00
xlist.h xpp: use 'xtalk' for the USB access code 2011-03-10 18:48:11 +00:00
xtalk_defs.h xpp: use 'xtalk' for the USB access code 2011-03-10 18:48:11 +00:00
xtalk.c xpp: use 'xtalk' for the USB access code 2011-03-10 18:48:11 +00:00
xtalk.h xpp: use 'xtalk' for the USB access code 2011-03-10 18:48:11 +00:00
xusb.c xpp: Serialized Parallel load; E-Main-3 firmware 2011-11-29 23:40:21 +00:00
xusb.h xpp: use 'xtalk' for the USB access code 2011-03-10 18:48:11 +00:00