libusb - no debug messages?

Quelrond <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.