From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA11A158090 for ; Mon, 9 May 2022 14:38:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83041E08EF; Mon, 9 May 2022 14:38:41 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1EB5BE089A for ; Mon, 9 May 2022 14:38:40 +0000 (UTC) Received: from mailgw01.thundermail.uk (mail-gw.thundermail.uk [149.255.60.66]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id 713386004253 for ; Mon, 9 May 2022 15:38:39 +0100 (BST) X-ASG-Debug-ID: 1652107118-0554135d943b597a0001-LfjuLa Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailgw01.thundermail.uk with ESMTP id KPGvLfQ8CRz5e8bR (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 09 May 2022 15:38:38 +0100 (BST) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: cloud220.unlimitedwebhosting.co.uk[149.255.60.183] X-Barracuda-Apparent-Source-IP: 149.255.60.183 Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud220.unlimitedwebhosting.co.uk (Postfix) with ESMTPSA id B2721C56751 for ; Mon, 9 May 2022 15:38:37 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1652107118; bh=TKJUXmFkCRXoh5r+eH3cU+TrFCuwVtzjLrtaLy2EiEM=; h=From:To:Subject; b=m2E84vLBoOUwiSQEIQu5bxGd6T3p5VTC6BiDTzafFFbzRtDQuFhNyjJ/yAFXz8IxF frrpLAC0WW1AglJsXQbu8dyjBEV+jkNQ4v8A89lq/iWAHnnfOCLePk86BKl8BwU4yH 2Gus3NenCwDatq3SLqYdRMvVC/5ocwgUMsMAGsAY= From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Bluetooth speakers Date: Mon, 09 May 2022 15:38:30 +0100 X-ASG-Orig-Subj: Re: [gentoo-user] Bluetooth speakers Message-ID: <21461052.EfDdHjke4D@lenovo.localdomain> In-Reply-To: <20220509135642.B16A08257288@turkos.aspodata.se> References: <5824946.lOV4Wx5bFT@wstn> <5570651.DvuYhMxLoT@wstn> <20220509135642.B16A08257288@turkos.aspodata.se> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7380594.EvYhyI6sBW"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <20220509143838.4164626.38579@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Barracuda-Connect: cloud220.unlimitedwebhosting.co.uk[149.255.60.183] X-Barracuda-Start-Time: 1652107118 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://149.255.60.66:443/cgi-mod/mark.cgi X-ASG-Orig-Subj: Re: [gentoo-user] Bluetooth speakers X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 2319 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.97890 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: 7bf72f4e-15fd-4c26-81e7-fa8279df34f3 X-Archives-Hash: 6d18af0f57b8ec33a9e9a493ba7624ec --nextPart7380594.EvYhyI6sBW Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] Bluetooth speakers Date: Mon, 09 May 2022 15:38:30 +0100 Message-ID: <21461052.EfDdHjke4D@lenovo.localdomain> In-Reply-To: <20220509135642.B16A08257288@turkos.aspodata.se> On Monday, 9 May 2022 14:56:42 BST karl@aspodata.se wrote: > Peter: > ... > > > What would help is some idea of how the whole BT system works, > > ... > > There are two incompatible types of bluetooth: > Bluetooth Low Energy (BLE) > Bluetooth Classic > see: > https://www.bluetooth.com/learn-about-bluetooth/tech-overview/ > > You must check which generation of bluetooth your speaker uses. > If your speaker uses the classic type, this might help you: > https://wiki.debian.org/Bluetooth/Alsa > > /// > > More info about bluetooth: > https://en.wikipedia.org/wiki/Bluetooth > https://www.bluetooth.com/specifications/specs/ > > /// > > Current linux bluetooth tools (http://www.bluez.org/) doesn't > handle bluetooth classic, unless you build bluez with > --enable-deprecated configure option. > Also, bluez has dropped direct /dev file access for users, you > have to set up and go through dbus regardless wether you like it > or not. > > Regards, > /Karl Hammar I've met some success getting BT to work and I tend to follow these basic steps: 1. Configure the kernel according to the BT chipset available on the PC. 2. Power the BT chip by using whatever hardware button is available and check dmesg identified the device and loaded whatever module and firmware is necessary. 3. Use 'rfkill list' to check the device is not blocked and unblock it if necessary. 4. Run 'rc-service -v bluetooth start'. 5. Run 'bluetoothctl' to scan, list, pair and trust any peripherals - exchange a PIN to facilitate pairing as necessary. These steps should be relatively easy to complete and GUI tools are also available to assist with the above. Any problems thereafter are userspace related, i.e. whether the applications I use will be able to work with the BT peripherals. Audio has been problematic on a particular use case, where neither alsa (bluez-alsa), nor pulseaudio allowed me to output audio via BT. Eventually I tried blueman which after a couple of restarts helped pulseaudio to recognise the device and output audio through it. In all cases I prefer cables to temperamental radio connectivity and where quality matters, like it can be in some audio applications, I would seek to connect with a cable. HTH --nextPart7380594.EvYhyI6sBW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmJ5J2YACgkQseqq9sKV ZxkvIg/+NL77jKKkfbi2mw40UGvFpGnrdd7PSrzmrqqz/dgzEUWGhuvRRZalLoC0 fT5T/XpVajCuLaIsi7IUaXbuuHqVGVn86WkPtxcUJkVlAu4SbGbuYU3Qm9xILjfJ 3x42B74t6BTQrBVk9RIXLIOvjs/Ml29Om4vBWDBUhd9U6YZaX7fEYQGjOTi6CO5t BvKNJQtwLwpItspuWKVbvvVlB+1gOJkDWu2nRHCo35nf67xR5tLLxGvRa/HmsicD XoPrGs6Lycz9twTHkdHGSDOLHBqLwq2xJLaL2Y1/gkAvTSwtbwnqq0Vs8PT61tVm fCrONae9T5eTITA38kB8kg/jyDT5Pm4+ND71TdTj4iEchMVbCTwM/ANcNQpXLDT+ iEoFbR6dXfzYQb2CFPmSVzGDSa3jjSTqplBloZnAvY6hzqL4HeEWVgr4Fqwf7Hsr 3chnn0GdiWywGTKyXXgbFf84/2wv9cEJoqcT49xXum/n6/V152vHH4AaygyhyiEf iu/XKsBMIyYg6BXYtrfiVxpNIry3NK7xAriLEgkI22Hpsc5G9GSGiQE0Z5npjny7 fMEEnVAG3vcc3qJFXotxx/FDGqfp2nC+MkIM01TkqmPZ1ZAFGSIvi24yWz+e13kY raqc/fnqTaj/7PtWiDqkKNo6AbzBxL1xcLNK6CXBpQtyFagzzvA= =+K6G -----END PGP SIGNATURE----- --nextPart7380594.EvYhyI6sBW--