[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bluetooth audio device on GuixSD

From: Maxim Cournoyer
Subject: Re: Bluetooth audio device on GuixSD
Date: Sun, 06 Jan 2019 18:40:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)


<address@hidden> 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
> <>  `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

 -- 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---
    (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---
   '("lp"                       ;for bluetooth
--8<---------------cut here---------------end--------------->8---



reply via email to

[Prev in Thread] Current Thread [Next in Thread]