From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: znavko@tutanota.com
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: Bluetooth audio device on GuixSD
Date: Sun, 06 Jan 2019 18:40:48 -0500 [thread overview]
Message-ID: <871s5p5p8f.fsf@gmail.com> (raw)
In-Reply-To: <LPHGj5m--3-1@tutanota.com> (znavko's message of "Sat, 20 Oct 2018 18:20:16 +0200 (CEST)")
Hi,
<znavko@tutanota.com> 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]#
> [bluetooth]# select
> Missing ctrl argument
> [bluetooth]# devices
> No default controller available
>
> Cannot see bluetooth device.
> I do not know MAC-address. I cannot power on as described here
> Here say https://wiki.archlinux.org/index.php/Bluetooth#Pairing
> <https://wiki.archlinux.org/index.php/Bluetooth#Pairing> `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 ‘bluetoothd’ daemon, which 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
prev parent reply other threads:[~2019-01-06 23:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-14 17:22 Bluetooth audio device on GuixSD znavko
2018-10-15 6:33 ` Pierre Neidhardt
2018-10-15 12:16 ` Ludovic Courtès
2018-10-15 12:38 ` Pierre Neidhardt
2018-10-15 13:00 ` Ricardo Wurmus
2018-10-20 16:20 ` znavko
2019-01-06 23:40 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871s5p5p8f.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=help-guix@gnu.org \
--cc=znavko@tutanota.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).