Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 21 Jul 2018, 09:53
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
NEW puppybt + bluez-tray + bluez5
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [36 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
petihar


Joined: 09 Apr 2007
Posts: 355

PostPosted: Tue 19 Jun 2018, 03:15    Post subject:  

Bonjour Pro,

Thank you for your answer Wink

Quote:
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:

Quote:
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
Back to top
View user's profile Send private message 
Pro

Joined: 12 Feb 2010
Posts: 94

PostPosted: Wed 20 Jun 2018, 01:09    Post subject:  

Some distributive not have launched Dbus "system" session, but have a "user" session.

Example for start system session
dbus-uuidgen --ensure
dbus-daemon --system
Back to top
View user's profile Send private message 
petihar


Joined: 09 Apr 2007
Posts: 355

PostPosted: Fri 22 Jun 2018, 07:15    Post subject:  

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
Back to top
View user's profile Send private message 
Pro

Joined: 12 Feb 2010
Posts: 94

PostPosted: Fri 22 Jun 2018, 07:44    Post subject:  

Thank you.
Pair device work?

For send music, i use /etc/asoundrc. If you have ~/asoundrc, may be my file not applied...
Back to top
View user's profile Send private message 
tenochslb

Joined: 10 Jul 2010
Posts: 73
Location: Mexico

PostPosted: Mon 02 Jul 2018, 00:50    Post subject:  

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.
capture17529.png
 Description   
 Filesize   10.24 KB
 Viewed   169 Time(s)

capture17529.png

Back to top
View user's profile Send private message 
Pro

Joined: 12 Feb 2010
Posts: 94

PostPosted: Mon 02 Jul 2018, 20:47    Post subject:  

tenochslb wrote:
On Puppy Tahr 6.0.6 64bit using puppybt-5.7-bluez5.50_64-pr01.sfs

Example for start system session
dbus-uuidgen --ensure
dbus-daemon --system
Back to top
View user's profile Send private message 
tenochslb

Joined: 10 Jul 2010
Posts: 73
Location: Mexico

PostPosted: Tue 03 Jul 2018, 00:51    Post subject:  

pro
Quote:
Example for start system session
dbus-uuidgen --ensure
dbus-daemon --system


command:
Code:
dbus-uuidgen --ensure

no problem,

however, the command;
Code:
root# dbus-daemon --system
Failed to start message bus: The pid file "/var/run/dbus/dbus.pid" exists, if the message bus is not running, remove this file


If I erase the file mentioned, dbus-daemon --system works but puppybt continues to fail.
Back to top
View user's profile Send private message 
Pro

Joined: 12 Feb 2010
Posts: 94

PostPosted: Tue 03 Jul 2018, 02:53    Post subject:  

tenochslb wrote:
pro
If I erase the file mentioned, dbus-daemon --system works but puppybt continues to fail.
in my system exist file /var/run/dbus/system_bus_socket

May be for testing you commented string 14 in script puppybt?
Also good test from root:
killall bluetoothd
bluetoothd
if no errors - dbus session work good and my check not need.
Back to top
View user's profile Send private message 
tenochslb

Joined: 10 Jul 2010
Posts: 73
Location: Mexico

PostPosted: Tue 03 Jul 2018, 22:28    Post subject:  

Quote:
In my system exist file /var/run/dbus/system_bus_socket

I also have the file /var/run/dbus/system_bus_socket.

Quote:
May be for testing you commented string 14 in script puppybt?

I commented out line 14 as you suggested and now the feedback from terminal is this,
Code:
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
Failed to open connection to "system" message bus: 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
/usr/bin/puppybt: line 462: 25357 Terminated              gtkdialog -c --program=process
0
[/quote]
capture21395.png
 Description   
 Filesize   15.44 KB
 Viewed   127 Time(s)

capture21395.png

Back to top
View user's profile Send private message 
Pro

Joined: 12 Feb 2010
Posts: 94

PostPosted: Wed 04 Jul 2018, 00:58    Post subject:  

tenochslb wrote:
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused

puppybt run from root?
Back to top
View user's profile Send private message 
tenochslb

Joined: 10 Jul 2010
Posts: 73
Location: Mexico

PostPosted: Wed 04 Jul 2018, 19:39    Post subject:  

Quote:
puppybt run from root?

Yes, always as root.
Back to top
View user's profile Send private message 
Pro

Joined: 12 Feb 2010
Posts: 94

PostPosted: Wed 04 Jul 2018, 20:09    Post subject:  

tenochslb wrote:
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused

may be need restart dbus for read /etc/dbus-1/system.d/bluetooth.conf
I launch Tahr 6.0.5 virtual machine, use command
Code:
/etc/init.d/messagebus reload
for load config /etc/dbus-1/system.d/bluetooth.conf


you load puppybt.sfs on system boot, or use manual load sfs?
Back to top
View user's profile Send private message 
Pro

Joined: 12 Feb 2010
Posts: 94

PostPosted: Wed 04 Jul 2018, 22:00    Post subject:  

FOR ALL MAINTEINER:
1. I think it's better to load sfs at system startup. sfs have udev rules and startup script /etc/xdg/autostart/bluetooth.desktop for autostart tray applet. For ROX panel may be need change autostart method.
2. The structure of the module will vary slightly for different distributions. This is normal because the location of the files in different distributions is different (for example /lib/udev or /usr/lib/udev)
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1531
Location: Brisbane, Australia

PostPosted: Thu 12 Jul 2018, 21:35    Post subject:  

I'm running upupbb 18.05.

I got "puppybt" to run but I could not get it to pair with my bluetooth mouse.

I edited "puppybt" to change line 14 from
Code:
[ -e /run/dbus/system_bus_socket ]
to
Code:
[ -e /var/run/dbus/system_bus_socket ]
.

I ran "bluetooth.sh", it seemed to run to completion, but it produced no output.
I then ran "puppybt".

A "scanning" thingy appeared on the screen, and it seemed to find something but neither "pair" button produced a sucessful pair.

gyro
Back to top
View user's profile Send private message 
Pro

Joined: 12 Feb 2010
Posts: 94

PostPosted: Thu 12 Jul 2018, 23:16    Post subject:  

gyro wrote:
I'm running upupbb 18.05.

I got "puppybt" to run but I could not get it to pair with my bluetooth mouse.
sorry i dont now way for connect mouse via bluez5, may be you send me screen puppybt with recognized mouse and bluetoothctl info you_mac_moise

I think that the mouse should be connected automatically at boot time and the configuration should be done only once. We will strive for this, in the script bluetooth.sh reserved string for connect hid (mouse, keyboard etc.).

Quote:
I edited "puppybt" to change line 14 from
i change script on github, line 14 not need how.

Code:
I ran "bluetooth.sh", it seemed to run to completion, but it produced no output.
this script for launch applet on start panel ex. Lxpanel. Not needed for puppybt.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [36 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0631s ][ Queries: 13 (0.0106s) ][ GZIP on ]