Page 1 of 3

NEW puppybt + bluez-tray + bluez5

Posted: Fri 18 Aug 2017, 06:43
by Pro
Hello all,

I and my frend Ddshurick from the team PuppyRus linux, we suggest trying a set of programs to connect bluetooth devices.
Based on pBluetooth code http://www.murga-linux.com/puppy/viewtopic.php?t=109828

All-in-one module with minimal programm needed for work bluetooth you can download here https://github.com/Pro-pra/PuppyBT
Rename downloaded .pfs package to .sfs and use it.
Сheck availability D-bus on you system (command: ps -A|grep dbus)

Features:
1. bluez5 version 5.50
2. bluez-tray for controller management (power, visibility etc.)
3. puppybt script for device managment. Auto-detect available device functions, separate tabs for each device.

Programm now in status BETA, аvailable functions: serial connection, OBEX push and receive, mount device file system, send sound to remote device, receive sound from remote device, simple control player on remote device (script tray application)
Were not implemented printing issues, has not been tested to connect keyboards and mice, some pair problem with key-code.

Pull requests are welcome. Test results too.

Posted: Fri 18 Aug 2017, 06:56
by Pro
May be you need some programm for notification

Posted: Fri 08 Sep 2017, 01:43
by Pro
add many function, release version of package 5.4 coming soon.

I not have device with BNEP profile (network connection via bluetooth), function not tested.

Posted: Thu 14 Sep 2017, 18:41
by THX1138
Could this work on Lucid Puppy 5.2.8 to use one of these Bluetooth remote controls? Thanks! I have a Belkin F8T009 USB Bluetooth adapter.

Posted: Thu 14 Sep 2017, 23:25
by Pro
THX1138 wrote:Could this work on Lucid Puppy 5.2.8 to use one of these Bluetooth remote controls? Thanks! I have a Belkin F8T009 USB Bluetooth adapter.
I do not know. in puppybt script, remote control is made from the PC of the remote device, and you get the reverse process From device to PC.

Send me info from sdptool browse please.

Posted: Mon 25 Sep 2017, 07:09
by Pro
Release version 5.4

I not have device with BNEP profile (network connection via bluetooth), function not work.

Posted: Fri 13 Oct 2017, 12:16
by Pro
Version 5.5 upload to github
Also x64 version upload

Posted: Fri 01 Dec 2017, 02:14
by Pro
version 5.6 upload to github

On Tahr 64 6.0.5 64 BIT, puppybt 5.6 - bluez5.47 not working

Posted: Sat 02 Jun 2018, 21:02
by tenochslb
This is the error message, hopefully it can be fixed. Great work!

Code: Select all

root# puppybt
bluetoothd: /lib/libdbus-1.so.3: no version information available (required by bluetoothd)
D-Bus setup failed: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Scanning ...
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
/usr/bin/puppybt: line 436: 12941 Terminated              gtkdialog -c --program=process
/usr/bin/puppybt: line 417: ntf: command not found

Posted: Mon 04 Jun 2018, 10:11
by hamoudoudou
drivers
detects my bluetooth device iogear gbu521

Missing drivers . study what is available before buying your equipment

Re: On Tahr 64 6.0.5 64 BIT, puppybt 5.6 - bluez5.47 not working

Posted: Sat 09 Jun 2018, 04:10
by Pro
tenochslb wrote:This is the error message, hopefully it can be fixed. Great work!
not installed, or not running dbus server on you system. Bluetoothd 5.хх need dbus :(

Posted: Sat 09 Jun 2018, 04:15
by Pro
hamoudoudou wrote:drivers
detects my bluetooth device iogear gbu521

Missing drivers . study what is available before buying your equipment

Code: Select all

D-Bus setup failed: Connection ":1.35" is not allowed to own the service "org.bluez" due to security policies in the configuration file 
fix this.
may be you run bluetoothd from user (need run bluetoothd from superuser)

Release 5.7

Posted: Thu 14 Jun 2018, 00:30
by Pro
Version 5.7 upload to github
changes:
1. bluez-5.50
2. update bluez-alsa libs from github
3. bash scripts check with shellcheck utility, some syntax correction
4. add check exist DBus System session (need for bluetoothd)
5. and more script code changes.

TODO: Find way to create serial /dev/rfcomm0 via DBus (or via bluetoothctl) Bluez developers maillist small help me.

NOW bluetoothctl have normal non-interactive mode, ex. bluetootctl connect 11:22:33:44:55 work good!!!

Posted: Sat 16 Jun 2018, 15:10
by petihar
HelloPro,
First of all, thank you for all your hard work. I've been trying for a long time to make bluetooth work on different puppies but what a pain! There's always something wrong, something missing... or whatever.
I installed your latest sfs on upup bionic beaver and now I'm faced with a DBus problem... that I can't solve.
Do you have any idea what I could do?
Thank you in advance, petihar.

Posted: Mon 18 Jun 2018, 00:36
by Pro
petihar wrote:HelloPro,
faced with a DBus problem... that I can't solve.
Do you have any idea what I could do?
Dbus have system and user session, in you system not launch dbus system session (user session may be launch).

check /run/dbus/system_bus_socket if missing - dbus system not launched. Launch dbus is Distribution problem, need configure you distro.

If i found way for launch bluetoothd daemon without Dbus system session, i change puppybt and remove check Dbus session.

Posted: Tue 19 Jun 2018, 07:15
by petihar
Bonjour Pro,

Thank you for your answer :wink:
If i found way for launch bluetoothd daemon without Dbus system session, i change puppybt and remove check Dbus session.
Fine, but is that possible? Because:
Launch dbus is Distribution problem, need configure you distro.
I don't know how.

Have a nice day and thanks again for your help.
petihar

Posted: Wed 20 Jun 2018, 05:09
by Pro
Some distributive not have launched Dbus "system" session, but have a "user" session.

Example for start system session
dbus-uuidgen --ensure
dbus-daemon --system

Posted: Fri 22 Jun 2018, 11:15
by petihar
Hi Pro,
bluetooth seems to work very well on the csipesz upupbb derivative :
http://murga-linux.com/puppy/viewtopic.php?t=113512
Well recognized peripherals. I managed to send a picture of my phone to the pc but not the other way around. I haven't been able to send music from the phone to the pc via vlc either but I think it should be easy to resolve.
Here, this is for your information, maybe this one will be useful to you?
Yours, petihar

Posted: Fri 22 Jun 2018, 11:44
by Pro
Thank you.
Pair device work?

For send music, i use /etc/asoundrc. If you have ~/asoundrc, may be my file not applied...

Posted: Mon 02 Jul 2018, 04:50
by tenochslb
On Puppy Tahr 6.0.6 64bit using puppybt-5.7-bluez5.50_64-pr01.sfs

Thanks for this much needed software in puppy linux.