Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2020 22:08:33 +0100
From:      Quelrond <quelrond@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   libusb - no debug messages?
Message-ID:  <9e88cd9e-bf99-b6e0-abf1-d55333388b62@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm using the CURRENT snapshot on Raspberry Pi 4.

My app use libusb from base to communicate with some hardware.

Probably, libusb is compiled with a debug option as my stderr is flooded 
by messages like

LIBUSB_FUNCTION: libusb_open_device_with_vid_pid enter
LIBUSB_FUNCTION: libusb_open_device_with_vid_pid leave

I would like to get rid of these messages, but libusb ignores the log 
options passed by the 'normal' way. Probably, I need to rebuild libusb, 
but I cannot find the option I need to disable for the build neither the 
method to pass this option to the compiler.

Could someone help me?

Best regards,

Peter




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e88cd9e-bf99-b6e0-abf1-d55333388b62>