From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Bluetooth audio device on GuixSD Date: Sun, 14 Oct 2018 19:22:58 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_136379_1932314332.1539537778205" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBk6Z-0004lZ-Sb for help-guix@gnu.org; Sun, 14 Oct 2018 13:23:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBk6V-0002FR-T0 for help-guix@gnu.org; Sun, 14 Oct 2018 13:23:03 -0400 Received: from w1.tutanota.de ([81.3.6.162]:47202) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBk6V-0002Eq-Jh for help-guix@gnu.org; Sun, 14 Oct 2018 13:22:59 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id 341A5FA7CDA for ; Sun, 14 Oct 2018 17:22:58 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Help Guix ------=_Part_136379_1932314332.1539537778205 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello! I've found MIT lectures and want to listen it on my laptop. I want be able to use bluetooth headphones. Is it possible to configure bluetooth audio device? How to do that with 'bluez-alsa' or any other ? ------=_Part_136379_1932314332.1539537778205 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello! I've found MIT lectures and want to listen it on my laptop. I want be able to use bluetooth headphones.
Is it possible to configure bluetooth audio device? How to do that with 'bluez-alsa' or any other ?
------=_Part_136379_1932314332.1539537778205-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Bluetooth audio device on GuixSD Date: Mon, 15 Oct 2018 08:33:29 +0200 Message-ID: <87sh17k9c6.fsf@ambrevar.xyz> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBwRd-0001bU-C2 for help-guix@gnu.org; Mon, 15 Oct 2018 02:33:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBwRZ-000787-Cs for help-guix@gnu.org; Mon, 15 Oct 2018 02:33:37 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:47595) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBwRZ-00077I-6N for help-guix@gnu.org; Mon, 15 Oct 2018 02:33:33 -0400 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@tutanota.com Cc: Help Guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable First, add the bluetooth service to your Guix .config: =2D-8<---------------cut here---------------start------------->8--- (operating-system ;... =20 (services (list (bluetooth-service) ;... %desktop-services))) =2D-8<---------------cut here---------------end--------------->8--- THen =2D-8<---------------cut here---------------start------------->8--- $ sudo -E guix system reconfigure /path/to/your/config.scm =2D-8<---------------cut here---------------end--------------->8--- Test if bluetooth is started. =2D-8<---------------cut here---------------start------------->8--- $ sudo herd status | grep bluetooth + bluetooth =2D-8<---------------cut here---------------end--------------->8--- If not, reboot. If you run a desktop environment (e.g. Gnome), there should be a graphical configuration tool for bluetooth already. Otherwise, you can install "blue= z" and follow the instructions here: https://wiki.archlinux.org/index.php/Bluetooth#Pairing Hope that helps! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlvENLkACgkQm9z0l6S7 zH+zRgf9GGd58y4RdtTAhX5fWaWM+tGmz9GBMzVla0u2AGSwLID/q31n/uz3erX8 5UGj5YJkaZc5wnHhe42oX8buBDV9zxaEZfqsKUWddRUqK4yav9V2mqDsNRjOSirs /cccXqbvV2J0iHPUYWBmHNdNK/cS9EUdIZT07h41l1iE/HDdM7w9YLLvJMTsrqQg 94gV4xuWSYVPjv1oUOonTbZGETpu1IozfsOq+G6/5DiMVgd9PTKV9Uyr1dFjtz5I AAirrxj+sXpXDgS5jHZO6Aavo6K1jJicLm2ilVcA2PhxkwkhOVti7epMVMwKeh1+ kL8A1PvhWXDbf33imFT004eHrJ7K0w== =SJ4o -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Bluetooth audio device on GuixSD Date: Mon, 15 Oct 2018 14:16:37 +0200 Message-ID: <87in23e76i.fsf@gnu.org> References: <87sh17k9c6.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC1nc-0005Gt-4E for help-guix@gnu.org; Mon, 15 Oct 2018 08:16:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC1nb-0000Pc-Ki for help-guix@gnu.org; Mon, 15 Oct 2018 08:16:40 -0400 In-Reply-To: <87sh17k9c6.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Mon, 15 Oct 2018 08:33:29 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: Help Guix Hello, Pierre Neidhardt skribis: > First, add the bluetooth service to your Guix .config: This makes me wonder: should we add the bluetooth service to =E2=80=98%desktop-services=E2=80=99? Bluez doesn=E2=80=99t seem to add much to the closure size and many people probably expect to have it installed in a desktop setting. Thoughts? Ludo=E2=80=99. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Bluetooth audio device on GuixSD Date: Mon, 15 Oct 2018 14:38:00 +0200 Message-ID: <87efcrjsgn.fsf@ambrevar.xyz> References: <87sh17k9c6.fsf@ambrevar.xyz> <87in23e76i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC28P-0006Zk-NR for help-guix@gnu.org; Mon, 15 Oct 2018 08:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC28K-0003CE-EV for help-guix@gnu.org; Mon, 15 Oct 2018 08:38:09 -0400 In-reply-to: <87in23e76i.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Help Guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I agree! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlvEiigACgkQm9z0l6S7 zH8LrwgAp2Qq/DKLdoZfG0qlZZIE1X0u9NrUDyaLI9iTX8z56OtpMngxjmYpdt16 hn5/vpaV2E9OXHSshCDT5Da07JxWQHbHcRKwWxL/KBCEjS6sOT+VZ5ZXobbl6rnk EOvs90yXJkE2NB62Cpp/ia6+HYFefq7vZYGg3KVmtg2i+cvIJ7Q8wSd+B8gRQPBA ClxSPDalPl1LzMX7cP9pL4eo2DtpDK/Bk7QCQoMZyCs04Kt0Gn4b8WGAia5ig/yd GXV+fa+gHKDeKPNu7iBgvsYBSPf+8Sv/VLjlnRWAtrAmDGJwIxkrKG0O+HdU4eIK Fj+7kSGBdIyFAK3dKdilpY0msZ82sQ== =zgQ8 -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Bluetooth audio device on GuixSD Date: Mon, 15 Oct 2018 15:00:50 +0200 Message-ID: <87r2grmkjh.fsf@elephly.net> References: <87sh17k9c6.fsf@ambrevar.xyz> <87in23e76i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC2V0-0001q2-Gf for help-guix@gnu.org; Mon, 15 Oct 2018 09:01:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC2Ul-0006vB-F4 for help-guix@gnu.org; Mon, 15 Oct 2018 09:01:24 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gC2Ul-0006tq-0A for help-guix@gnu.org; Mon, 15 Oct 2018 09:01:15 -0400 In-reply-to: <87in23e76i.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Help Guix Ludovic Court=C3=A8s writes: > Pierre Neidhardt skribis: > >> First, add the bluetooth service to your Guix .config: > > This makes me wonder: should we add the bluetooth service to > =E2=80=98%desktop-services=E2=80=99? > > Bluez doesn=E2=80=99t seem to add much to the closure size and many people > probably expect to have it installed in a desktop setting. How about only adding it to the GNOME service? %desktop-services is also used by people who use simpler window managers and they may prefer to have fewer software added by default. It is easy enough for people to remove services, of course, but I thought I=E2=80=99d mention it as an alternative anyway. Either way is fin= e by me. -- Ricardo From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Bluetooth audio device on GuixSD Date: Sat, 20 Oct 2018 18:20:16 +0200 (CEST) Message-ID: References: <> <87sh17k9c6.fsf@ambrevar.xyz> <<87sh17k9c6.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Mon, 15 Oct 2018 08:33:29 +0200")> <87in23e76i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_36199_1108179406.1540052416932" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDuCq-0002Xl-04 for help-guix@gnu.org; Sat, 20 Oct 2018 12:34:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDtzJ-0004br-74 for help-guix@gnu.org; Sat, 20 Oct 2018 12:20:32 -0400 Received: from w1.tutanota.de ([81.3.6.162]:47014) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gDtzG-0004Uh-7A for help-guix@gnu.org; Sat, 20 Oct 2018 12:20:28 -0400 In-Reply-To: <87in23e76i.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" Cc: Help Guix ------=_Part_36199_1108179406.1540052416932 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello! I am not able to use bluetooth on Xfce4 desktop using bluetoothctl. = Would you give more advises? I'v performed this:=20 1. added bluetooth to /etc/config.scm as Pierre Neidhardt posted https://li= sts.gnu.org/archive/html/help-guix/2018-10/msg00046.html 2. ran `guix pull && guix package -u` and then reconfigured system `guix sy= stem reconfigure /etc/config.scm` 3. rebooted and my try was not successful.=20 4. I edited to /etc/bluetooth/main.conf typing 'true' instead of 'false' (I= remounted /gnu/store with rw for perform this without reconfiguring with g= uix command) 5. I rebooted but no result again: # herd status bluetooth Status of bluetooth: =C2=A0 It is started. =C2=A0 Running value is 698. =C2=A0 It is enabled. =C2=A0 Provides (bluetooth). =C2=A0 Requires (dbus-system udev). =C2=A0 Conflicts with (). =C2=A0 Will be respawned. # herd status dbus-system Status of dbus-system: =C2=A0 It is started. =C2=A0 Running value is 322. =C2=A0 It is enabled. =C2=A0 Provides (dbus-system). =C2=A0 Requires (user-processes). =C2=A0 Conflicts with (). =C2=A0 Will be respawned. # herd status udev Status of udev: =C2=A0 It is started. =C2=A0 Running value is 200. =C2=A0 It is enabled. =C2=A0 Provides (udev). =C2=A0 Requires (root-file-system). =C2=A0 Conflicts with (). =C2=A0 Will not be respawned. # rfkill list bluetooth 1: ideapad_bluetooth: Bluetooth =C2=A0=C2=A0=C2=A0 Soft blocked: yes =C2=A0=C2=A0=C2=A0 Hard blocked: no # rfkill unblock bluetooth # herd restart bluetooth Service bluetooth has been stopped. Service bluetooth has been started. # bluetoothctl Agent registered [bluetooth]# list [bluetooth]#=20 [bluetooth]# select Missing ctrl argument [bluetooth]# devices No default controller available Cannot see bluetooth device.=20 I do not know MAC-address. I cannot power on as described here Here say https://wiki.archlinux.org/index.php/Bluetooth#Pairing =C2=A0 `hciconfig hci0 up`caus= e I have no this tool. Please, how to deal with it? ------=_Part_36199_1108179406.1540052416932 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello! I am not able to use bluetooth on Xfce4 desktop using bluetoothctl. = Would you give more advises?
I'v performed this:
1. added blueto= oth to /etc/config.scm as Pierre Neidhardt posted https://lists.gnu.org/archive/html/help-guix/2018-= 10/msg00046.html
2. ran `guix pull && guix package -u` and= then reconfigured system `guix system reconfigure /etc/config.scm`
3.= rebooted and my try was not successful.
4. I edited to /etc/bluetoot= h/main.conf typing 'true' instead of 'false' (I remounted /gnu/store with r= w for perform this without reconfiguring with guix command)
5. I reboo= ted but no result again:

# herd status bluetooth
Status of = bluetooth:
  It is started.
  Running value is 698.
  It is enabled.
  Provides (bluetooth).
  Requi= res (dbus-system udev).
  Conflicts with ().
  Will be = respawned.

# herd status dbus-system
Status of dbus-system:=
  It is started.
  Running value is 322.
  I= t is enabled.
  Provides (dbus-system).
  Requires (use= r-processes).
  Conflicts with ().
  Will be respawned.=
# herd status udev
Status of udev:
  It is started.  Running value is 200.
  It is enabled.
  Prov= ides (udev).
  Requires (root-file-system).
  Conflicts= with ().
  Will not be respawned.


# rfkill list= bluetooth
1: ideapad_bluetooth: Bluetooth
    Sof= t blocked: yes
    Hard blocked: no
# rfkill unblo= ck bluetooth
# herd restart bluetooth
Service bluetooth has been = stopped.
Service bluetooth has been started.
# bluetoothctl
= Agent registered
[bluetooth]# list
[bluetooth]#
[bluetooth]= # select
Missing ctrl argument
[bluetooth]# devices
No defau= lt controller available


Cannot see bluetooth device.
I do not know MAC-address. I cannot power on as described here
Here s= ay https://wiki.archlinux.org/index.p= hp/Bluetooth#Pairing  `hciconfig hci0 up`cause I have= no this tool.

Please, how to deal with it?
------=_Part_36199_1108179406.1540052416932-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: Bluetooth audio device on GuixSD Date: Sun, 06 Jan 2019 18:40:48 -0500 Message-ID: <871s5p5p8f.fsf@gmail.com> References: > <87sh17k9c6.fsf@ambrevar.xyz> <87sh17k9c6.fsf@ambrevar.xyz> <87in23e76i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggI2H-0004xR-6J for help-guix@gnu.org; Sun, 06 Jan 2019 18:40:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggI2G-0005lW-A9 for help-guix@gnu.org; Sun, 06 Jan 2019 18:40:53 -0500 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]:44851) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggI2G-0005kb-5t for help-guix@gnu.org; Sun, 06 Jan 2019 18:40:52 -0500 Received: by mail-io1-xd33.google.com with SMTP id r200so33537030iod.11 for ; Sun, 06 Jan 2019 15:40:51 -0800 (PST) In-Reply-To: (znavko's message of "Sat, 20 Oct 2018 18:20:16 +0200 (CEST)") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@tutanota.com Cc: Help Guix Hi, writes: > Hello! I am not able to use bluetooth on Xfce4 desktop using bluetoothctl= . Would you give more advises? [...] > # bluetoothctl > Agent registered > [bluetooth]# list > [bluetooth]#=20 > [bluetooth]# select > Missing ctrl argument > [bluetooth]# devices > No default controller available > > Cannot see bluetooth device.=20 > I do not know MAC-address. I cannot power on as described here > Here say https://wiki.archlinux.org/index.php/Bluetooth#Pairing > =C2=A0 `hciconfig > hci0 up`cause I have no this tool. You can configure the bluetooth service in your system's config to automatically power up the bluetooth controller. The Guix info manual says: -- Scheme Procedure: bluetooth-service [#:bluez BLUEZ] [#:auto-enable? #f] Return a service that runs the =E2=80=98bluetoothd=E2=80=99 daemon, wh= ich manages all the Bluetooth devices and provides a number of D-Bus interfaces. When AUTO-ENABLE? is true, the bluetooth controller is powered automatically at boot, which can be useful when using a bluetooth keyboard or mouse. Here's what it looks like in mine: --8<---------------cut here---------------start------------->8--- (services (cons* [...] (bluetooth-service #:auto-enable? #t) [...] --8<---------------cut here---------------end--------------->8--- In your user-account record you'll also want to add "lp" in the list of supplementary groups, so that your unprivileged user has access to your bluetooth device: --8<---------------cut here---------------start------------->8--- (user-account [...] (supplementary-groups '("lp" ;for bluetooth [...]))) --8<---------------cut here---------------end--------------->8--- HTH, Maxim