Closed antonvdh closed 9 years ago
This looks like a path problem. Do you see the header file in the include path? Its probably different on SUSE?
Also once again this program has the vendor and product id hard coded. It’s easy to change, but wont detach any other device.
On 3 Sep 2015, at 08:00, Anton notifications@github.com wrote:
How to install on openSUSE 13.2 (x86_64)
linux-nfs:/home/anton/bosto-2g-linux-kernel-module # make
gcc detach_usbhid.c -I/usr/include/libusb-1.0 -L/lib/-linux-gnu/libusb-1.0.so.0 -lusb-1.0 -o detach_usbhid
detach_usbhid.c:2:20: fatal error: libusb.h:
include
^ compilation terminated.
— Reply to this email directly or view it on GitHub https://github.com/aidyw/bosto-2g-linux-kernel-module/issues/2.
I thought I’d run a rough test with the new code. Seems I’ve caught all the aberrations from the stylus now. Seems to work. Good luck with SUSE. Aidan
On 3 Sep 2015, at 08:00, Anton notifications@github.com wrote:
How to install on openSUSE 13.2 (x86_64)
linux-nfs:/home/anton/bosto-2g-linux-kernel-module # make
gcc detach_usbhid.c -I/usr/include/libusb-1.0 -L/lib/-linux-gnu/libusb-1.0.so.0 -lusb-1.0 -o detach_usbhid
detach_usbhid.c:2:20: fatal error: libusb.h:
include
^ compilation terminated.
— Reply to this email directly or view it on GitHub https://github.com/aidyw/bosto-2g-linux-kernel-module/issues/2.
Wow many thanks I gonny try the new code later today. Op 3 sep. 2015 17:16 schreef "Aidan Walton" notifications@github.com:
I thought I’d run a rough test with the new code. Seems I’ve caught all the aberrations from the stylus now. Seems to work. Good luck with SUSE. Aidan
On 3 Sep 2015, at 08:00, Anton notifications@github.com wrote:
How to install on openSUSE 13.2 (x86_64)
linux-nfs:/home/anton/bosto-2g-linux-kernel-module # make
gcc detach_usbhid.c -I/usr/include/libusb-1.0 -L/lib/-linux-gnu/libusb-1.0.so.0 -lusb-1.0 -o detach_usbhid
detach_usbhid.c:2:20: fatal error: libusb.h:
include
^ compilation terminated.
— Reply to this email directly or view it on GitHub < https://github.com/aidyw/bosto-2g-linux-kernel-module/issues/2>.
— Reply to this email directly or view it on GitHub https://github.com/aidyw/bosto-2g-linux-kernel-module/issues/2#issuecomment-137482069 .
Driver works fine for opensuse 13.2
How to install on openSUSE 13.2 (x86_64)
linux-nfs:/home/anton/bosto-2g-linux-kernel-module # make
gcc detach_usbhid.c -I/usr/include/libusb-1.0 -L/lib/-linux-gnu/libusb-1.0.so.0 -lusb-1.0 -o detach_usbhid
detach_usbhid.c:2:20: fatal error: libusb.h:
include
compilation terminated.