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 F2835158090 for ; Tue, 10 May 2022 08:17:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E8B6E0918; Tue, 10 May 2022 08:17:35 +0000 (UTC) Received: from smarthost01b.sbp.mail.zen.net.uk (smarthost01b.sbp.mail.zen.net.uk [212.23.1.3]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F0BB0E0824 for ; Tue, 10 May 2022 08:17:34 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01b.sbp.mail.zen.net.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noL3l-0003O1-5w for gentoo-user@lists.gentoo.org; Tue, 10 May 2022 08:17:33 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Bluetooth speakers Date: Tue, 10 May 2022 09:17:32 +0100 Message-ID: <4711568.GXAFRqVoOG@wstn> In-Reply-To: <21461052.EfDdHjke4D@lenovo.localdomain> References: <5824946.lOV4Wx5bFT@wstn> <20220509135642.B16A08257288@turkos.aspodata.se> <21461052.EfDdHjke4D@lenovo.localdomain> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01b-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 08e84cc1-c58b-4b2e-8d88-43f9f6cacfbe X-Archives-Hash: 3b4d52aaed2853a1e4b1efb7aa69a4d0 On Monday, 9 May 2022 15:38:30 BST Michael wrote: > 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. Yes, I went through all that, just as you said, but still I got no sound. > 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. Indeed, and I've now replaced the speakers, the 3.5mm cable and the USB dongle - every sound component is new. When I tested it yesterday in the plasma control panel, I heard one "front left", very loud, and then nothing. I thought some BT stuff must still be lying around somewhere, so I've installed a new system from scratch, using a kernel .config from before I started with BT, and today I still hear no sound. This seems like witchcraft now. -- Regards, Peter.