I'm trying to use a Vodafone K5150 device on Fedora 19. This modem works and installs the necessary software on RHEL 6, but not on Fedora. When trying to (re)install the modeswitch-data package, I noticed in the Makefile a dependency for libusb-1.0
Fedora does not use the libusb-1.0 rpm anymore. Developers forked it and renamed it to libusbx (dispute on Releases).
make install
sed 's_!/usr/bin/tclsh_!'"/bin/tclsh"'_' < usb_modeswitch.tcl > usb_modeswitch_dispatcher
cc -o usb_modeswitch usb_modeswitch.c -Wall `pkg-config --libs --cflags libusb-1.0`
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
In file included from usb_modeswitch.c:59:0:
usb_modeswitch.h:26:20: fatal error: libusb.h: No such file or directory
#include <libusb.h>
The Makefile contains a --cflags which points to the libusb-1.0 library. What must be changed to have this modem working on Fedora 19?
In the libusbx package , I also can't see any reference to libusb(x).pc
Hope anybode could help
Regards,
Serge