NEW puppybt + bluez-tray + bluez5

Configuration wizards, scanners, remote desktop, etc.
Message
Author
Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

NEW puppybt + bluez-tray + bluez5

#1 Post 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.
Last edited by Pro on Mon 14 Jan 2019, 05:17, edited 9 times in total.

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#2 Post by Pro »

May be you need some programm for notification
Attachments
yad-0.39.0.tar.gz
latest version
(93.79 KiB) Downloaded 594 times
ntf-0.9-any.tar.gz
(19.87 KiB) Downloaded 619 times
yad-0.26.1-1-i686.tar.gz
old version
(75.27 KiB) Downloaded 575 times

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#3 Post 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.

THX1138
Posts: 7
Joined: Sun 10 Sep 2017, 06:10

#4 Post 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.

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#5 Post 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.

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#6 Post by Pro »

Release version 5.4

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

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#7 Post by Pro »

Version 5.5 upload to github
Also x64 version upload

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#8 Post by Pro »

version 5.6 upload to github

tenochslb

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

#9 Post 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

hamoudoudou

#10 Post by hamoudoudou »

drivers
detects my bluetooth device iogear gbu521

Missing drivers . study what is available before buying your equipment

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

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

#11 Post 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 :(

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#12 Post 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)

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

Release 5.7

#13 Post 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!!!

User avatar
petihar
Posts: 366
Joined: Mon 09 Apr 2007, 12:04

#14 Post 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.
Attachments
Copie d'écran.png
(10.5 KiB) Downloaded 1325 times

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#15 Post 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.

User avatar
petihar
Posts: 366
Joined: Mon 09 Apr 2007, 12:04

#16 Post 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

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#17 Post 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

User avatar
petihar
Posts: 366
Joined: Mon 09 Apr 2007, 12:04

#18 Post 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

Pro
Posts: 109
Joined: Fri 12 Feb 2010, 11:12

#19 Post by Pro »

Thank you.
Pair device work?

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

tenochslb

#20 Post 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.
Attachments
capture17529.png
(10.24 KiB) Downloaded 624 times

Post Reply