unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Bluetooth
@ 2019-05-02  9:33 Raghav Gururajan
  2019-05-02  9:53 ` Bluetooth znavko
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Raghav Gururajan @ 2019-05-02  9:33 UTC (permalink / raw)
  To: help-guix

Hello Guix!

I have added "bluetooth-service [#:bluez bluez] [#:auto-enable? #t]" to my system services. But I am not able to use bluetooth as user. In GNOME settings, it's no bluetooth found" or if I turn on the button, it turns off again. I have added the user to "lp" group as well. What should be the issue?

Thank you!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bluetooth
  2019-05-02  9:33 Bluetooth Raghav Gururajan
@ 2019-05-02  9:53 ` znavko
  2019-05-02 10:02 ` Bluetooth Raghav Gururajan
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: znavko @ 2019-05-02  9:53 UTC (permalink / raw)
  To: Raghav Gururajan, help-guix

Many bluetooth devices are not supported by linux-libre kernel. Which you have?
try here https://lists.gnu.org/archive/html/help-guix/2018-10/msg00045.html
https://lists.gnu.org/archive/html/help-guix/2019-01/msg00057.html
there is option auto-enable #f, so that config is important.
http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n412


May 2, 2019 9:34 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:

> Hello Guix!
> 
> I have added "bluetooth-service [#:bluez bluez] [#:auto-enable? #t]" to my system services. But I
> am not able to use bluetooth as user. In GNOME settings, it's no bluetooth found" or if I turn on
> the button, it turns off again. I have added the user to "lp" group as well. What should be the
> issue?
> 
> Thank you!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bluetooth
  2019-05-02  9:33 Bluetooth Raghav Gururajan
  2019-05-02  9:53 ` Bluetooth znavko
@ 2019-05-02 10:02 ` Raghav Gururajan
  2019-05-02 10:12 ` Bluetooth Raghav Gururajan
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Raghav Gururajan @ 2019-05-02 10:02 UTC (permalink / raw)
  To: znavko, help-guix

Mine is RYF Certified TET-X200T. I bought exactly this https://tehnoetic.com/laptops/tet-x200t. Bluetooth worked fine when I was using Trisquel and Hyperbola.

May 2, 2019 5:53 AM, znavko@disroot.org wrote:

> Many bluetooth devices are not supported by linux-libre kernel. Which you have?
> try here https://lists.gnu.org/archive/html/help-guix/2018-10/msg00045.html
> https://lists.gnu.org/archive/html/help-guix/2019-01/msg00057.html
> there is option auto-enable #f, so that config is important.
> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n412
> 
> May 2, 2019 9:34 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:
> 
>> Hello Guix!
>> 
>> I have added "bluetooth-service [#:bluez bluez] [#:auto-enable? #t]" to my system services. But I
>> am not able to use bluetooth as user. In GNOME settings, it's no bluetooth found" or if I turn on
>> the button, it turns off again. I have added the user to "lp" group as well. What should be the
>> issue?
>> 
>> Thank you!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bluetooth
  2019-05-02  9:33 Bluetooth Raghav Gururajan
  2019-05-02  9:53 ` Bluetooth znavko
  2019-05-02 10:02 ` Bluetooth Raghav Gururajan
@ 2019-05-02 10:12 ` Raghav Gururajan
  2019-05-02 10:33 ` Bluetooth znavko
  2019-05-02 10:36 ` Bluetooth Raghav Gururajan
  4 siblings, 0 replies; 6+ messages in thread
From: Raghav Gururajan @ 2019-05-02 10:12 UTC (permalink / raw)
  To: znavko, help-guix

In continuation to my previous email in this thread:

It appears bluetooth service is included in %desktop-services.

I already modified %desktop-services to include openvpn-plugin with the following syntax:
  (services (cons* (service gnome-desktop-service-type)
                   (modify-services %desktop-services
                   (network-manager-service-type
                    config => (network-manager-configuration
                               (inherit config)
                               (vpn-plugins
                                (list network-manager-openvpn)))))))

Now, what is the syntax for appending the bluetooth-service modification (auto-enable? #t) to the above config??

Thank you!

May 2, 2019 6:02 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:

> Mine is RYF Certified TET-X200T. I bought exactly this https://tehnoetic.com/laptops/tet-x200t.
> Bluetooth worked fine when I was using Trisquel and Hyperbola.
> 
> May 2, 2019 5:53 AM, znavko@disroot.org wrote:
> 
>> Many bluetooth devices are not supported by linux-libre kernel. Which you have?
>> try here https://lists.gnu.org/archive/html/help-guix/2018-10/msg00045.html
>> https://lists.gnu.org/archive/html/help-guix/2019-01/msg00057.html
>> there is option auto-enable #f, so that config is important.
>> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n412
>> 
>> May 2, 2019 9:34 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:
>> 
>>> Hello Guix!
>>> 
>>> I have added "bluetooth-service [#:bluez bluez] [#:auto-enable? #t]" to my system services. But I
>>> am not able to use bluetooth as user. In GNOME settings, it's no bluetooth found" or if I turn on
>>> the button, it turns off again. I have added the user to "lp" group as well. What should be the
>>> issue?
>>> 
>>> Thank you!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bluetooth
  2019-05-02  9:33 Bluetooth Raghav Gururajan
                   ` (2 preceding siblings ...)
  2019-05-02 10:12 ` Bluetooth Raghav Gururajan
@ 2019-05-02 10:33 ` znavko
  2019-05-02 10:36 ` Bluetooth Raghav Gururajan
  4 siblings, 0 replies; 6+ messages in thread
From: znavko @ 2019-05-02 10:33 UTC (permalink / raw)
  To: Raghav Gururajan, help-guix

My workable config is:

(operating-system
...
  (services
  ...
			     (modify-services      
			      (remove (lambda (service)
					(member (service-kind service)
						(list ntp-service-type avahi-service-type 
						      network-manager-service-type
						      gdm-service-type)))
				      %desktop-services) ;end of remove lambda services

			      (wpa-supplicant-service-type config =>
							   (wpa-supplicant-configuration
							    (interface "wlp2s0")
							    (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))

			      (bluetooth-service config =>
						      (bluetooth-configuration
						       (auto-enable? #t)))
			      

			      (elogind-service-type
			       c => (elogind-configuration (handle-lid-switch 'ignore)))
			      )	;;end of modify-services
  )
)


So if I am correct:

			     (modify-services    
			      %desktop-services
			      (bluetooth-service config =>
						      (bluetooth-configuration
						       (auto-enable? #t)))
			      


May 2, 2019 10:12 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:

> In continuation to my previous email in this thread:
> 
> It appears bluetooth service is included in %desktop-services.
> 
> I already modified %desktop-services to include openvpn-plugin with the following syntax:
> (services (cons* (service gnome-desktop-service-type)
> (modify-services %desktop-services
> (network-manager-service-type
> config => (network-manager-configuration
> (inherit config)
> (vpn-plugins
> (list network-manager-openvpn)))))))
> 
> Now, what is the syntax for appending the bluetooth-service modification (auto-enable? #t) to the
> above config??
> 
> Thank you!
> 
> May 2, 2019 6:02 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:
> 
>> Mine is RYF Certified TET-X200T. I bought exactly this https://tehnoetic.com/laptops/tet-x200t.
>> Bluetooth worked fine when I was using Trisquel and Hyperbola.
>> 
>> May 2, 2019 5:53 AM, znavko@disroot.org wrote:
>> 
>>> Many bluetooth devices are not supported by linux-libre kernel. Which you have?
>>> try here https://lists.gnu.org/archive/html/help-guix/2018-10/msg00045.html
>>> https://lists.gnu.org/archive/html/help-guix/2019-01/msg00057.html
>>> there is option auto-enable #f, so that config is important.
>>> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n412
>>> 
>>> May 2, 2019 9:34 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:
>> 
>> Hello Guix!
>> 
>> I have added "bluetooth-service [#:bluez bluez] [#:auto-enable? #t]" to my system services. But I
>> am not able to use bluetooth as user. In GNOME settings, it's no bluetooth found" or if I turn on
>> the button, it turns off again. I have added the user to "lp" group as well. What should be the
>> issue?
>> 
>> Thank you!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bluetooth
  2019-05-02  9:33 Bluetooth Raghav Gururajan
                   ` (3 preceding siblings ...)
  2019-05-02 10:33 ` Bluetooth znavko
@ 2019-05-02 10:36 ` Raghav Gururajan
  4 siblings, 0 replies; 6+ messages in thread
From: Raghav Gururajan @ 2019-05-02 10:36 UTC (permalink / raw)
  To: znavko, help-guix

Awesome! I will try it and let you know. Thanks!

May 2, 2019 6:33 AM, znavko@disroot.org wrote:

> My workable config is:
> 
> (operating-system
> ...
> (services
> ...
> (modify-services 
> (remove (lambda (service)
> (member (service-kind service)
> (list ntp-service-type avahi-service-type 
> network-manager-service-type
> gdm-service-type)))
> %desktop-services) ;end of remove lambda services
> 
> (wpa-supplicant-service-type config =>
> (wpa-supplicant-configuration
> (interface "wlp2s0")
> (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))
> 
> (bluetooth-service config =>
> (bluetooth-configuration
> (auto-enable? #t)))
> 
> (elogind-service-type
> c => (elogind-configuration (handle-lid-switch 'ignore)))
> ) ;;end of modify-services
> )
> )
> 
> So if I am correct:
> 
> (modify-services 
> %desktop-services
> (bluetooth-service config =>
> (bluetooth-configuration
> (auto-enable? #t)))
> 
> May 2, 2019 10:12 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:
> 
>> In continuation to my previous email in this thread:
>> 
>> It appears bluetooth service is included in %desktop-services.
>> 
>> I already modified %desktop-services to include openvpn-plugin with the following syntax:
>> (services (cons* (service gnome-desktop-service-type)
>> (modify-services %desktop-services
>> (network-manager-service-type
>> config => (network-manager-configuration
>> (inherit config)
>> (vpn-plugins
>> (list network-manager-openvpn)))))))
>> 
>> Now, what is the syntax for appending the bluetooth-service modification (auto-enable? #t) to the
>> above config??
>> 
>> Thank you!
>> 
>> May 2, 2019 6:02 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:
>> 
>>> Mine is RYF Certified TET-X200T. I bought exactly this https://tehnoetic.com/laptops/tet-x200t.
>>> Bluetooth worked fine when I was using Trisquel and Hyperbola.
>>> 
>>> May 2, 2019 5:53 AM, znavko@disroot.org wrote:
>> 
>> Many bluetooth devices are not supported by linux-libre kernel. Which you have?
>> try here https://lists.gnu.org/archive/html/help-guix/2018-10/msg00045.html
>> https://lists.gnu.org/archive/html/help-guix/2019-01/msg00057.html
>> there is option auto-enable #f, so that config is important.
>> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n412
>> 
>> May 2, 2019 9:34 AM, "Raghav Gururajan" <rvgn@disroot.org> wrote:
>>> Hello Guix!
>>> 
>>> I have added "bluetooth-service [#:bluez bluez] [#:auto-enable? #t]" to my system services. But I
>>> am not able to use bluetooth as user. In GNOME settings, it's no bluetooth found" or if I turn on
>>> the button, it turns off again. I have added the user to "lp" group as well. What should be the
>>> issue?
>>> 
>>> Thank you!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-02 10:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-02  9:33 Bluetooth Raghav Gururajan
2019-05-02  9:53 ` Bluetooth znavko
2019-05-02 10:02 ` Bluetooth Raghav Gururajan
2019-05-02 10:12 ` Bluetooth Raghav Gururajan
2019-05-02 10:33 ` Bluetooth znavko
2019-05-02 10:36 ` Bluetooth Raghav Gururajan

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).