Wykres commitów

20 Commity (3709fcb9827d39948fb7b384d2c76caf02de059d)

Autor SHA1 Wiadomość Data
Nate Bargmann f76b354588 Reformatted src directory 2017-08-09 06:14:31 -05:00
Nate Bargmann 6a3214fd43 Apply Linux C style
Update files modified to support libusb-1.0.
2016-02-21 14:56:44 -06:00
Nate Bargmann 9ec98e0fe3 Check for libusb-1.0/libusb.h
Some distributions--Debian and Alpine tested--put libusb.h under the
libusb-1.0 directory.  Test for its presence and if found define
HAVE_LIBUSB_1_0_LIBUSB_H.  Also test for HAVE_LIBUSB or
HAVE_LIBUSB_1_0_LIBUSB_H and conditionally include the correct header
file in the sources.
2016-02-15 08:10:07 -06:00
Stephane Fillod 8d7697c3bd Migrating from libusb-0.1 to libusb-1.0 2016-02-14 18:02:26 +01:00
Nate Bargmann dad27d1f69 Update LGPL header in src source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Nate Bargmann f500a67b49 Test product string with strncasecmp() now
Now testing with strncasecmp() for case insensitive match.  Updating
firmware on FUNcube Dongle to v18f resulted in product string changing
from "FunCube Dongle" to "FUNcube Dongle".  As new dongles are shipped
with older firmware, both product strings are valid.  Sigh...
2011-07-08 07:01:00 -05:00
Nate Bargmann ba5720d1a9 Fix test of strstr() for Vendor string match.
The sense of the test of strstr() return value was reversed.  Corrected
so Vendor string match would pass.  Tested with FUNcube.
2011-07-07 22:53:24 -05:00
Stephane Fillod 7b73db7c1f Make usb_set_configuration() optional upon backend choice, disable it for FUNcude dongle
The call to usb_set_configuration() looks troublesome for the setup
for the FUNcube dongle on Win32 target. In fact it appears not to be
necessary (TBC). Make that call optional per backend choice.
2011-04-11 23:24:44 +02:00
Nate Bargmann, N0NB d78648a170 Added partial match in USB product name
In case the usb device name is not found among the available devices, a
partial string comparison is performed.

Author: Stefano Speretta, Innovative Solutions In Space BV
<s.speretta@isispace.nl>
Signed-off-by: Stefano Speretta <s.speretta@isispace.nl>

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3054 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-17 12:22:48 +00:00
Stéphane Fillod, F8CFE 91deafbcb3 Allow USB device's VID/PID/Vendor/Product to be explicitly specified
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3041 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-08 09:02:40 +00:00
Nate Bargmann, N0NB 53dad4d957 FUNcube interface added by Stefano Speretta
Added FUNcube interface to Hamlib.  This is a basic FUNcube interface:
at the moment only frequency set/readout is supported.  From Stefano
Speretta <s.speretta@isispace.nl>.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3026 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-28 00:40:45 +00:00
Stéphane Fillod, F8CFE db563f7aaf Add support for USB device without usb_set_configuration() and
without usb_claim_interface(). Looks like needed on Windows 7.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2994 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-08 20:43:53 +00:00
Stéphane Fillod, F8CFE 886542c461 usb_set_configuration() is mandatory for the setup on Windows
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2987 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-22 19:54:12 +00:00
Stéphane Fillod, F8CFE 26f7a9e3c9 * do not check return value of usb_detach_kernel_driver_np(),
it's done as best effort, and access failure would be catched later.
* make failure of usb_claim_interface() fatal in usb_port_open()


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2984 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-17 15:02:05 +00:00
Stéphane Fillod, F8CFE b636a3f6ac allow check of vendor name and product string when looking for USB device
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2727 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-09-14 07:32:36 +00:00
Stéphane Fillod, F8CFE 1b79a2a0ed * call missing usb_find_devices()
* disable usb_set_configuration/usb_set_altinterface since they seem to interfere


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2219 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-10-07 20:12:36 +00:00
Martin Ewing, AA6E f6ddc3edad documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2145 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-15 00:27:52 +00:00
Stéphane Fillod, F8CFE fd25cc7a83 misc comment fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2066 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-20 22:41:17 +00:00
Stéphane Fillod, F8CFE 07a8c95610 make libusb usage optional
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2053 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-11-19 14:41:37 +00:00
Stéphane Fillod, F8CFE 36c62542ae added usb port type support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2046 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-11-01 23:02:02 +00:00