mirror of
https://github.com/libimobiledevice/libplist
synced 2026-06-08 15:29:34 +00:00
Draft HAL
Fix fdi file
This commit is contained in:
committed by
Jonathan Beck
parent
76816c9fa6
commit
37fff27135
+1
-1
@@ -1,5 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
SUBDIRS = src include
|
||||
SUBDIRS = src include fdi
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libiphone-1.0.pc
|
||||
|
||||
+1
-1
@@ -38,4 +38,4 @@ AC_FUNC_MALLOC
|
||||
AC_FUNC_REALLOC
|
||||
AC_CHECK_FUNCS([strcasecmp strdup strerror strndup])
|
||||
|
||||
AC_OUTPUT(Makefile src/Makefile include/Makefile libiphone-1.0.pc)
|
||||
AC_OUTPUT(Makefile src/Makefile include/Makefile fdi/Makefile libiphone-1.0.pc)
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<deviceinfo version="0.2">
|
||||
<device>
|
||||
<match key="info.subsystem" string="usb">
|
||||
<match key="usb.vendor_id" int="0x05ac">
|
||||
<match key="usb.product_id" compare_ge="0x1290">
|
||||
<match key="usb.product_id" compare_le="0x1293">
|
||||
<append key="info.capabilities" type="strlist">afc</append>
|
||||
</match>
|
||||
</match>
|
||||
</match>
|
||||
</match>
|
||||
</device>
|
||||
</deviceinfo>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
freedesktopfdidir=$(prefix)/share/hal/fdi/information/20thirdparty/
|
||||
freedesktopfdi_DATA=31-apple-mobile-device.fdi
|
||||
|
||||
@@ -77,6 +77,7 @@ struct iphone_afc_file_int;
|
||||
typedef struct iphone_afc_file_int *iphone_afc_file_t;
|
||||
|
||||
//device related functions
|
||||
void iphone_set_debug(int level);
|
||||
iphone_error_t iphone_get_device ( iphone_device_t *device );
|
||||
iphone_error_t iphone_free_device ( iphone_device_t device );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user