From nobody Tue Dec 26 22:30:39 2023 X-Original-To: bluetooth@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T08cP2wcFz54Rlv for ; Tue, 26 Dec 2023 22:30:45 +0000 (UTC) (envelope-from SRS0=2BNT=IF=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T08cN3ZjSz3cNw for ; Tue, 26 Dec 2023 22:30:44 +0000 (UTC) (envelope-from SRS0=2BNT=IF=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=quip.cz header.s=private header.b=LoJmteoI; dkim=pass header.d=quip.cz header.s=private header.b=W4CIlNZY; spf=none (mx1.freebsd.org: domain of "SRS0=2BNT=IF=quip.cz=000.fbsd@elsa.codelab.cz" has no SPF policy when checking 94.124.105.4) smtp.mailfrom="SRS0=2BNT=IF=quip.cz=000.fbsd@elsa.codelab.cz"; dmarc=none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id AECA3D7887 for ; Tue, 26 Dec 2023 23:30:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1703629841; bh=fQrTXoIXq1BYNJs/wwOI9ceiBAvckCns0wBfFSEcvHk=; h=Date:To:From:Subject; b=LoJmteoIuSAjb8rAQoZpqHROn+LQj/8QDfOIimHcNJUCY7U3uguc5eldJl6G7lMV1 8z5Sdn9avHC3LqXl4R15q72anyahG2kTiDsoWMZ/ED03Jn5kj4geGOtPgyhNenZs7o hTiOTOQbBWvb5+fB3GIUXdwISUrgf5e4IczxTUdc= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 40F73D7884 for ; Tue, 26 Dec 2023 23:30:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1703629840; bh=fQrTXoIXq1BYNJs/wwOI9ceiBAvckCns0wBfFSEcvHk=; h=Date:To:From:Subject; b=W4CIlNZYrJZOlDmHHdNxUQgen/XiqoABX4LgFbYAgM03f4oiGdnnVCvJSmGS4GSWg zG5SRfd009faEEkmQLJqAp8UayNVOdAAgs715zusGXZ/fJjZenTblgN63z/DURhhx7 4pyMykyv9mqDIQY70Pd953mGE4bwiHXlSWznsHgQ= Message-ID: <1753ca65-3bcc-437c-b64b-f5bcad8d4e14@quip.cz> Date: Tue, 26 Dec 2023 23:30:39 +0100 List-Id: Using Bluetooth in FreeBSD environments List-Archive: https://lists.freebsd.org/archives/freebsd-bluetooth List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bluetooth@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bluetooth@FreeBSD.org Content-Language: en-US From: Miroslav Lachman <000.fbsd@quip.cz> Subject: ng_l2cap_lp_discon_ind: ubt0l2cap - unexpected LP_DisconnectInd event Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=2BNT=IF=quip.cz=000.fbsd@elsa.codelab.cz]; R_DKIM_ALLOW(-0.20)[quip.cz:s=private]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[bluetooth@FreeBSD.org]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=2BNT=IF=quip.cz=000.fbsd@elsa.codelab.cz]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[quip.cz]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[quip.cz:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[bluetooth@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4T08cN3ZjSz3cNw X-Spamd-Bar: -- Does anobody know what causes this error in /var/log/messages? kernel: ng_l2cap_lp_discon_ind: ubt0l2cap - unexpected LP_DisconnectInd event. Connection does not exist, con_handle=72 I am trying to connect my FreeBSD desktop with my Bluetooth enabled "sound system". I tried it with new USB BT dongle and repeatedly get this error few seconds after connection command: # hccontrol -n ubt0hci create_connection HazyAudioPA Connection is not visible by # hccontrol -n ubt0hci read_connection_list I tried to connect to this sound system from my old Dell laptop with internal BT (which I successfully tested in the past with Sony SRS X11 BT sound device) but even on this laptop I get the same error so it is not a problem of USB BT dongle. BT sound system works OK with Xiaomi Redmi phone. It seems to me that FreeBSD does not like "this" BT sound system but I don't know why and what can I try to tweak. bluetooth/hcsecd.conf: device { bdaddr ad:ee:cf:63:5a:dd; name "HazyAudioPA"; key nokey; pin nopin; } bluetooth/hosts: ad:ee:cf:63:5a:dd HazyAudioPA hcsecd is running Kind regards Miroslav Lachman