unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Mario Forzanini <mf@marioforzanini.com>
To: hub.lombard@free.fr
Cc: help-guix@gnu.org
Subject: Re: Set up the bluetooth - error : dbus-service-type: unbound variable
Date: Fri, 17 Mar 2023 13:43:23 +0100	[thread overview]
Message-ID: <bf8f67a9-2c97-5ed2-a7f4-5e0ce28e9270@marioforzanini.com> (raw)
In-Reply-To: <80247569.447788393.1679056785638.JavaMail.root@zimbra49-e8.priv.proxad.net>

On 3/17/23 1:39 PM, hub.lombard@free.fr wrote:
> Hi Mario !
> 
> Thanks you for your help, it worked!
> Taking care to disable my old statements, I simply inserted your lines into my config.
> After rebooting, I was pleased to see the bluetooth enabled.
> For my test, I use a mini bluetooth speaker M-370 DJ. I detect it in the blutooth settings of Gnome.
> Its configuration does not succeed but it is another problem, I will see that...
> 
> Your solution to have the bluetooth activated is simple and effective, again, thanks a lot!
> 
> Hubert

I'm happy to hear that.

I responded at 4AM and forgot to add the mailing list in Cc, I will 
include my response below in case anyone else has similar problems in 
the future.
-- 
Mario

> ----- Mail original -----
> De: "Mario Forzanini" <mf@marioforzanini.com>
> À: "hub lombard" <hub.lombard@free.fr>
> Envoyé: Vendredi 17 Mars 2023 03:37:21
> Objet: Re: Set up the bluetooth - error : dbus-service-type: unbound variable
> 
> Hi!
> 
> On 3/16/23 9:20 PM, hub.lombard@free.fr wrote:
>> Wanting to use bluetooth devices, especially audio speakers, I have tried to
>> inser in my /etc/config.scm some relevant gnu packages, modules, services...
>> But I can't make it work
>> [...]
>> $ sudo guix system reconfigure /etc/config.scm
>> ..............................................
>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> erreur : dbus-service-type : variable non liée
> 
> 
> I think the service you are looking for is called
> 'dbus-root-service-type', rather than 'dbus-service-type', but I'm
> pretty sure it is part of %desktop-services anyway.
> 
>> After have put '(gnu packages dbus)'
>>
>>
>> $ sudo guix system reconfigure /etc/config.scm
>> ..............................................
>> guix system: erreur : échec lors du chargement de « /etc/config.scm » :
>> ice-9/boot-9.scm:3330:6: In procedure resolve-interface:
>> no code for module (gnu packages dbus)
>>
>> I don't know how to investigate more...
>> Thank you in advance if you have some infos :)
>>
>> Regards
>>
>>
>> Hubert
> 
> This is my working bluetooth configuration
> 
> <snip>
> (use-modules (gnu services base)
>                (gnu services desktop))
> 
> (operating-system
>     ; ...
>     (services
>         (cons
>          (service bluetooth-service-type
>                   (bluetooth-configuration
>                    (auto-enable? #t)))
>          %desktop-services)))
> <snap>
> 
> DBus starts by default and bluetooth is enabled and automatically
> configured, Pulseaudio can connect to my bluetooth headset out of the
> box. Sometimes I had issues with bluetooth on GNU/Linux because I didn't
> realize my antenna was software locked and I needed to unlock it with
> rfkill. I hope this helps


       reply	other threads:[~2023-03-18 15:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <80247569.447788393.1679056785638.JavaMail.root@zimbra49-e8.priv.proxad.net>
2023-03-17 12:43 ` Mario Forzanini [this message]
     [not found] <1013727203.444856133.1678997935330.JavaMail.root@zimbra49-e8.priv.proxad.net>
2023-03-16 20:20 ` Set up the bluetooth - error : dbus-service-type: unbound variable hub.lombard
2023-03-17 13:06   ` hub.lombard

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=bf8f67a9-2c97-5ed2-a7f4-5e0ce28e9270@marioforzanini.com \
    --to=mf@marioforzanini.com \
    --cc=help-guix@gnu.org \
    --cc=hub.lombard@free.fr \
    /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).