From owner-freebsd-arm@freebsd.org Sun Nov 15 21:08:36 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9905C469F12 for ; Sun, 15 Nov 2020 21:08:36 +0000 (UTC) (envelope-from quelrond@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ4Yv5M2Jz3k8N for ; Sun, 15 Nov 2020 21:08:35 +0000 (UTC) (envelope-from quelrond@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id 19so22036200wmf.1 for ; Sun, 15 Nov 2020 13:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=LD39Oqw/X0HxUPnj2UxJ6T6l2VXfq+IGLjL7oAPgph8=; b=LtPTKIK/QCLzU/PJMaMMdz6mY6QDIGq1fUV6jz/01HxREIsKoVOXEvJHYuxpFq8NfL LzuSrwTZFVv6dX8Jsj3AxjQyqVtcwNN0DbItJJJyK7EDyFibmglA1ZQPNxblL6VC6z0t 3kmCil7xWZTdgZ9RFTKUFOuesxgqC37/LRpR7zq43rBYpVkvq+gVVDyrIbJf6JQF7dIl W5JGlJwXIAS3cMeGrVoXUqErKqcOyeJkR3PQhe5yl0dSVCKCB8khOX0abRb2rJSyCEhU o0FLKEy7TkEj0oLq7l3mCNAtrGexR4BOElBIBm0wZJbXo9W9IUc3EheVTp5JWcmCHz73 HrxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=LD39Oqw/X0HxUPnj2UxJ6T6l2VXfq+IGLjL7oAPgph8=; b=o+4FDLyKyzPFJ+pp45vlYbc9U4CLTsRS7XDxzqgxB3edHIzCZCzDVfAcE0z1Dmr8Ny /Cm8kLQgzIuCZkSh2MASm0cVduopDpLtAL4FtE8SGIrJG+96mXXlXNf0UMqXTkjnMR7x Q9J/gxCMZhzbY0aZlf9KHR4ZvtZrqDeCGSj0tXlTh6Gz0DqXLmo8+BxqyMw/9USdJFvE xfucua+LkSy6IqXB2BwCUwxX8B7SNDorVhV36Sfsg6xf6EEL+NxEOj496ngtuBW+KZ8n eG+7YRBleCChWiPu2h8hnf+0MSEorJWxomEMYShsMjEECvK5+J2PbyjmoRoveiIoqwyk 7QGw== X-Gm-Message-State: AOAM533rpRBrtSYE8edJjvsp9WOjMuuAbH6tm8W/RssR6wuBaBMikVTR f4xRog2Rl0O0bCqAnuJ/V3gAWoP58z8= X-Google-Smtp-Source: ABdhPJxDoheuOsH4wowWeH5MYbU9Il2HXchIMCh2WHtGKkg55PpqiPfWUJqgLWmzTTejO56MbWLqbw== X-Received: by 2002:a1c:41c4:: with SMTP id o187mr12026021wma.158.1605474514227; Sun, 15 Nov 2020 13:08:34 -0800 (PST) Received: from peter-freebsd.domain.local (85-31-109-70.netw.fr. [85.31.109.70]) by smtp.googlemail.com with ESMTPSA id k1sm16098636wrp.23.2020.11.15.13.08.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Nov 2020 13:08:33 -0800 (PST) To: freebsd-arm@freebsd.org From: Quelrond Subject: libusb - no debug messages? Message-ID: <9e88cd9e-bf99-b6e0-abf1-d55333388b62@gmail.com> Date: Sun, 15 Nov 2020 22:08:33 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.3.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4CZ4Yv5M2Jz3k8N X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LtPTKIK/; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of quelrond@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=quelrond@gmail.com X-Spamd-Result: default: False [-2.98 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.98)[-0.975]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::334:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::334:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::334:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2020 21:08:36 -0000 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