Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Mick
On Monday 10 Apr 2017 14:44:58 Gabriele Zaverio wrote:
> A strange thing something happen: a requester pop up saying
> 
> Bluez: error reading list of adapters

Check your bluetooth service is running on the PC.

then run:

$ bluetoothctl 
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# scan on

and associate with the device you want to associate with, set its trust, etc.

In addition to the above, 'sudo hciconfig' will show if your bt controller is 
up & running or down, although bluetoothctl will also complain if your 
hardware is not on.

-- 
Regards,
Mick--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
A strange thing something happen: a requester pop up saying

Bluez: error reading list of adapters

On 4/10/17, Mick  wrote:
> On Monday 10 Apr 2017 13:53:17 Gabriele Zaverio wrote:
>> >> I wanna get rid of it. It's unuseful and crappy. :(
>> >
>> > Uninstall it and configure alsa?
>>
>> yep, this is something I wanna do :)
>>
>> > Is your bt hardware up & running?
>>
>> Yes it is :)
>>
>> > What does hciconfig show?  Did you also
>> > try  to use bluetoothctl to associate your bt device with the PC?
>>
>> Yes, bluetoothctl associate it and it works. I'm just wondering how
>> can I have this automatically set up, without having to open terminal
>> and do the bluetoothctl stuff every time by hand. :)
>>
>> Maybe a pushbutton in E that I can press to associate this device,
>> launching the bluetoothctl shell command?
>
> OK, your problem seems simpler than mine because at least your PC hardware
> is
> more cooperative.  ;-)
>
> Create a script which will run the stanzas required to enable your bt
> controller and associate it with the bt audio device.  Make it executable.
>
> Then create a .desktop file in your ~/.local/share/applications/ and call
> the
> script from it, with e.g.:
>
> Exec=~/.myBTscript.sh
>
> --
> Regards,
> Mick


-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Mick
On Monday 10 Apr 2017 13:53:17 Gabriele Zaverio wrote:
> >> I wanna get rid of it. It's unuseful and crappy. :(
> > 
> > Uninstall it and configure alsa?
> 
> yep, this is something I wanna do :)
> 
> > Is your bt hardware up & running?
> 
> Yes it is :)
> 
> > What does hciconfig show?  Did you also
> > try  to use bluetoothctl to associate your bt device with the PC?
> 
> Yes, bluetoothctl associate it and it works. I'm just wondering how
> can I have this automatically set up, without having to open terminal
> and do the bluetoothctl stuff every time by hand. :)
> 
> Maybe a pushbutton in E that I can press to associate this device,
> launching the bluetoothctl shell command?

OK, your problem seems simpler than mine because at least your PC hardware is 
more cooperative.  ;-)

Create a script which will run the stanzas required to enable your bt 
controller and associate it with the bt audio device.  Make it executable.  
Then create a .desktop file in your ~/.local/share/applications/ and call the 
script from it, with e.g.:

Exec=~/.myBTscript.sh

-- 
Regards,
Mick--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
>> I wanna get rid of it. It's unuseful and crappy. :(

> Uninstall it and configure alsa?

yep, this is something I wanna do :)

> Is your bt hardware up & running?

Yes it is :)

> What does hciconfig show?  Did you also
> try  to use bluetoothctl to associate your bt device with the PC?

Yes, bluetoothctl associate it and it works. I'm just wondering how
can I have this automatically set up, without having to open terminal
and do the bluetoothctl stuff every time by hand. :)

Maybe a pushbutton in E that I can press to associate this device,
launching the bluetoothctl shell command?

-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Mick
On Monday 10 Apr 2017 12:32:35 Gabriele Zaverio wrote:
> On 4/10/17, Carsten Haitzler  wrote:
> > for pulse using cpu to mix... try edit /etc/pulseaudio/daemon.conf
> > and change resample-method. try "trivial" instead of speex-float-1
> 
> I wanna get rid of it. It's unuseful and crappy. :(

Not completely so.  If you have multiple inputs it allows you to adjust volume 
per application that generates it.  So music via media player can stay at 
background levels, while VoIP remains audible and desktop notifications don't 
make your ears bleed.  :-)

It doesn't always work as advertised on my desktop systems, but it's work in 
progress.


> > and i know of no other way to just go redirect your audio from normal out
> > to bt speakers other than to have a daemon in between do it... and that
> > is what pulse is for.
> 
> It was working without pulse some time ago, so why now I had to use
> pulseshit? That's my question - how to get rid of it and use bluetooth
> without it :)

Uninstall it and configure alsa?


> > you have bluez installed? i cont know what should cause connman to start
> > offering bt as a connect option - i always say it listed if i had a bt
> > device and bluez running...
> 
> I have bluez and utils installed but nothing happens. bluetoothd is running.

On some systems the bt hardware is not always happy to coexist with other USB 
controllers.  I'm thinking of Broadcom which on my system at least requires me 
to use rfkill to block my WiFi, before bluetooth can be used!  O_O

Is your bt hardware up & running?  What does hciconfig show?  Did you also try 
to use bluetoothctl to associate your bt device with the PC?

-- 
Regards,
Mick--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
On 4/10/17, Simon Lees  wrote:

> Well if you want low latency you don't use bluetooth, I use jack for my
> low latency audio use, however my audio only works when I have my

I don't need low latency, I just need something that work smooth - and
pa doesn't. :)

And we're OT, any hint about my BT problem and how to solve / have
some automation in pairing? :)

-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Simon Lees


On 04/10/2017 05:00 PM, Gabriele Zaverio wrote:
> Hi there,
> 
> I'm in need of pairing a bluetooth speaker to my laptop, and I'm
> wondering if this is possible WITHOUT using pulseaudio. (because
> pulseaudio is using sometimes a lot of cpu, add a lot of latency, and
> ALSA is every time fine for me - in short I believe pulseaudio is an
> unuseful piece of CRAP and I don't wanna use it, but that's another
> topic :) )
> 
Well if you want low latency you don't use bluetooth, I use jack for my
low latency audio use, however my audio only works when I have my
recording interface plugged in and it uses considerably more CPU then
pulse but it is much lower latency.

-- 

Simon Lees (Simotek)http://simotek.net

Emergency Update Team   keybase.io/simotek
SUSE Linux   Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
On 4/10/17, Carsten Haitzler  wrote:

> for pulse using cpu to mix... try edit /etc/pulseaudio/daemon.conf
> and change resample-method. try "trivial" instead of speex-float-1

I wanna get rid of it. It's unuseful and crappy. :(

> and i know of no other way to just go redirect your audio from normal out to
> bt speakers other than to have a daemon in between do it... and that is what
> pulse is for.

It was working without pulse some time ago, so why now I had to use
pulseshit? That's my question - how to get rid of it and use bluetooth
without it :)

> you have bluez installed? i cont know what should cause connman to start
> offering bt as a connect option - i always say it listed if i had a bt
> device and bluez running...

I have bluez and utils installed but nothing happens. bluetoothd is running.

-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread The Rasterman
On Mon, 10 Apr 2017 09:30:53 +0200 Gabriele Zaverio  said:

> Hi there,
> 
> I'm in need of pairing a bluetooth speaker to my laptop, and I'm
> wondering if this is possible WITHOUT using pulseaudio. (because
> pulseaudio is using sometimes a lot of cpu, add a lot of latency, and
> ALSA is every time fine for me - in short I believe pulseaudio is an
> unuseful piece of CRAP and I don't wanna use it, but that's another
> topic :) )

for pulse using cpu to mix... try edit /etc/pulseaudio/daemon.conf

and change resample-method. try "trivial" instead of speex-float-1

and i know of no other way to just go redirect your audio from normal out to bt
speakers other than to have a daemon in between do it... and that is what pulse
is for.

> I'm using E as desktop manager, I add the "technology" in connman, but
> "scan" does nothing into the connman gui, and I have to manually use
> "bluetoothctl" every time.
> 
> Am I missing something?
> 
> Any help is appreciated :)

you have bluez installed? i cont know what should cause connman to start
offering bt as a connect option - i always say it listed if i had a bt device
and bluez running...

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
Hi there,

I'm in need of pairing a bluetooth speaker to my laptop, and I'm
wondering if this is possible WITHOUT using pulseaudio. (because
pulseaudio is using sometimes a lot of cpu, add a lot of latency, and
ALSA is every time fine for me - in short I believe pulseaudio is an
unuseful piece of CRAP and I don't wanna use it, but that's another
topic :) )

I'm using E as desktop manager, I add the "technology" in connman, but
"scan" does nothing into the connman gui, and I have to manually use
"bluetoothctl" every time.

Am I missing something?

Any help is appreciated :)


-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users