Bluetooth in lucid puppy ----> blueman is here

A home for all kinds of Puppy related projects
Message
Author
Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

Bluetooth in lucid puppy ----> blueman is here

#1 Post by Master_wrong »


edit nov 28,2011
https://docs.google.com/document/d/1EBD ... edit?pli=1
how to connect bluetooth internet DUN
-----------------------------------

edit sept 7.2011
install these 2 files to install blueman on puppy
http://hotfile.com/dl/129175521/d604f21 ... 8.pet.html
blueman 121, for 528 is here (need python 26 below)
python 26 which i use (ALL use this)
http://hotfile.com/dl/117232563/c197fe0 ... 6.pet.html

----------------------------------------------------------------------------------
Source (for creating from source, developer only)
http://hotfile.com/dl/117226824/3a0c332 ... ar.gz.html
howto---> extract into root, then run 1st script, run 2nd blueman, also check http://www.murga-linux.com/puppy/viewtopic.php?t=69556
-----------------------------------------------------------------------------------



------------------------------------------------------------------------------


to run blueman, if bluez is not running...

#!/bin/sh
dbus-uuidgen --ensure &
dbus-daemon --system
modprobe bluetooth
modprobe l2cap
modprobe rfcomm
modprobe btusb
/usr/local/sbin/hciconfig hci0 up
/usr/local/sbin/hciconfig hci0 class 0x3e0100
mknod -m 666 /dev/rfcomm0 c 216 0
bluetoothd
mkdir /root/a
hcitool scan
blueman-applet

to browse phone:

1. install blueman with the lucid-fuse-obexfs (the new ones)
2. after run bllueman-applet, right-click on applet ---> select local service
3. select transfer, click on advanced
4. set advanced ----> obexfs -b %d /root/a
5. create /root/a
6. click browse
7. open rox /root/a

--------------------------------------

after reading both

http://www.murga-linux.com/puppy/viewtopic.php?t=52973

and

http://murga-linux.com/puppy/viewtopic. ... 52944caeb6

i'm hoping that i can make bluetooth easier...

btw i was testing pybluez and blueman...
blueman need python dbus as the installer always complained that there was no python dbus... anyone know what is the needed version of python dbus for python 2.5.2 ?

ps: pybluez work
Last edited by Master_wrong on Sat 29 Dec 2012, 01:26, edited 31 times in total.
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Bluetooth in lucid puppy

#2 Post by L18L »

Master_wrong wrote:...the installer always complained that there was no python dbus... anyone know what is the needed version of python dbus for python 2.5.2 ?...
I don't know but I might try one from here

Hope this helps
or you will get a better answer from a more competent person
spot

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#3 Post by Master_wrong »

:D

I did it, i mean...

i managed to apply jemimah gnome-applet into lucid... see pic.
libxbc from jemimah is not applicable on lucid. i use this instead.

@L18L
still no good, from python i type import dbus it says i need xml thing.
thank anyway.
Attachments
libxcb-xlib0_1.1-1.2_i386.deb.zip
(14.97 KiB) Downloaded 1128 times
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#4 Post by smokey01 »

I thought Jemimah had bluetooth working in Puppeee or Fluppy.

Maybe she has a PET laying about somewhere that might work in Lucid Puppy 5.2.5.

Some discussion here:
http://www.murga-linux.com/puppy/viewto ... 249#396249

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#5 Post by Béèm »

This bluetooth pet probably won't work here.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#6 Post by Master_wrong »

@smokey
libxcb-1.0.pet from jemimah is not installable in lucid, someone already reported that in the thread but he didnt upload the files nedeed.

btw i did use all the pet in the link that you give me, only libxcb-1.0.pet is not installable. which is why i posting this.


@Béèm
yes its nice, but its 431 inside.
thank i will try testing kde bluetooth
Last edited by Master_wrong on Sun 24 Apr 2011, 11:13, edited 1 time in total.
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
WindUpToy
Posts: 87
Joined: Wed 22 Oct 2008, 03:28
Location: melbourne.au Slick525DVD

#7 Post by WindUpToy »

As I got my Blueman via PPM as a Ubuntu binary, I got all the deps with it, including python-dbus_0.83.0-1ubuntu3_i386.deb, but it doesn't seem to do anything.
I also tried everything from Ubuntu Lucid that had Dbus in the name, but no good either.
I wish I knew what I was doing :)
It's not easy being incompetent.

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#8 Post by Master_wrong »

@winduptoy
any chance that you use python 2.5 ?
i had similiar experience with it,
try to open terminal type :

python

import dbus


then there you see error and if you were lucky you can get the right package...
i myself use dbus-python-0.71... because higher version may need newer python too.

right now i'm trying to use python 26, there is no error, but now i'm still struggling to install blueman itself. i have to build lot of the modul and package from source such as gtk, gobject etc.
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
WindUpToy
Posts: 87
Joined: Wed 22 Oct 2008, 03:28
Location: melbourne.au Slick525DVD

#9 Post by WindUpToy »

hmmm...

# python
Python 2.6.4 (r264:75706, Nov 19 2009, 02:54:25)
[GCC 4.2.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named dbus
>>>

That is using python-dbus_0.83. which came with bluemon.

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#10 Post by Master_wrong »

@winduptoys...

well...
in my case
I compile some package, install some deb from debian, also some deb from ubuntu:

dbus-python-0.71.tar.gz
libffi-dev_3.0.9-1_i386.deb
Pyrex-0.9.9.tar.gz
python-cairo-dev_1.4.12-1.2_all.deb
python-gobject-dev_2.21.4+is.2.21.3-1_all.deb
python-notify_0.1.1-2+b2_i386.deb


but thats wrong because when i compile blueman_1.21.orig.tar.gz
it always says that gobject is not found.

the reason...
some module were inside /usr/local/lib/python2.6/dist-packages
instead /usr/lib/python2.6/dist-packages.

creating link on /usr/lib/python2.6/dist-packages seem help.
btw a module is a folder... so i just link the folder. i dont know if this is wrong.

blueman installed correctly.
now i am trying to run it.


so is there any case that your python is not from ubuntu ?

edit: https://bugs.launchpad.net/ubuntu/+sour ... bug/362570
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
WindUpToy
Posts: 87
Joined: Wed 22 Oct 2008, 03:28
Location: melbourne.au Slick525DVD

#11 Post by WindUpToy »

re: so is there any case that your python is not from ubuntu ?

I got python at the same time as bluemon and the other deps from Ubuntu, using PuppyPackageManager.

Interesting page about the Python-2.6 bug.
I'll read it again and see if I can pick up anything from it.

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

successfull install, not run

#12 Post by Master_wrong »

so l learn new lesson today...


when install from source :
./configure --prefix=/usr
make
make install

when install python module (cannot run ./configure)
python setup.py install --prefix=/usr


UPDATE !!! 26-apr

i use these package, which makes blueman installed without error:

blueman_1.21.orig.tar.gz
dbus-python-0.83.2.tar.gz
gnome-python-2.20.0.tar.gz
intltool-0.35.0.tar.gz
libffi_3.0.9.orig.tar.gz
libtool_2.4.orig.tar.gz
notify-python_0.1.1.orig.tar.gz
py2cairo-1.8.10.tar.gz
pygobject-2.16.0.tar.gz
pygtk-2.13.0.tar.gz
Pyrex-0.9.9.tar.gz

install also jemimah's package

then come error... again
Last edited by Master_wrong on Tue 26 Apr 2011, 11:01, edited 1 time in total.
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

GOOD RESULT

#13 Post by Master_wrong »

i get good result today after i learn that
the correct order of installation is:

Python and D-Bus first
dbus-glib after D-Bus
dbus-python after all of D-Bus, dbus-glib and Python
so i install jemimah gnome-bluetooth then i managed to install and get this result...
blueman can run but still cannot send files or anything useful yet...
package used

blueman-1.21
dbus-python-0.83.2
intltool-0.35.0
libffi-3.0.9
libtool-2.4
notify-python-0.1.1
pycairo-1.8.10
pygobject-2.16.0
pygtk-2.13.0
Pyrex-0.9.9

file usr/lib/libpcre.la
Attachments
test7.png
(60.5 KiB) Downloaded 5953 times
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
WindUpToy
Posts: 87
Joined: Wed 22 Oct 2008, 03:28
Location: melbourne.au Slick525DVD

#14 Post by WindUpToy »

Today I installed it in U-horrible-Buntu and and it ran, but needed Blues to be running. I don't know how to do that.

You may have discovered the secret: the order of installation.
I will try your way tomorrow.

Just as a matter of interest, these are the files I was working with.

Could you please post a link to the files you use?

Thanks.
Attachments
BluemonDebs.png
(22.25 KiB) Downloaded 9873 times

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#15 Post by Master_wrong »

Hi,

surely I'll more than glad if you can test them too. thanks for the list of file, it may useful.
here is the file

http://hotfile.com/dl/115852740/4b4ef30 ... ar.gz.html

all you need todo is
1.make sure your puppy installed with python and compiler(devs).
2. install jemimah bluetooth package
3. extract bluman-puppy.tar.gz file into root EDIT: then install libpcre.la.pet
4. run script, it may takes few minute, but after it stop and you can see some lines with exit blueman written on it then try press enter. there should be no error, i already try 2-3 times here.
(to produce such my screenshot delete this line in the script)
cd gnome-python-2.20.0
./configure --prefix=/usr
make
make install
cd ..


5. run blueman-applet

edit: i run this before i run blueman
dbus-uuidgen --ensure &
dbus-daemon --system
modprobe bluetooth
modprobe l2cap
modprobe rfcomm
modprobe btusb
hciconfig hci0 up
hciconfig hci0 class 0x3e0100
mknod -m 666 /dev/rfcomm0 c 216 0
hcitool scan
bluetoothd


ps: it may be a good idea to test with your .deb files too in case that i cannot send files because the some plugin are not available in my package yet.
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
WindUpToy
Posts: 87
Joined: Wed 22 Oct 2008, 03:28
Location: melbourne.au Slick525DVD

#16 Post by WindUpToy »

I have done down to step 4, and it stopped with error below.
Tried again on a new installation of Lucid, same thing.

Is Python a Microsoft product, by any chance?
I am Micro Pist Off.
Attachments
PythonHeaders-error.jpg
(177.51 KiB) Downloaded 3419 times

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#17 Post by Master_wrong »

checking for header not found ?
the problem is likely because you are using u-buntu's python

Python

http://www.murga-linux.com/puppy/viewto ... 1c1b1f2cef
or
http://www.mediafire.com/?sharekey=42f2 ... a77d7aad89

Devx

http://www.murga-linux.com/puppy/viewtopic.php?t=63251

i use clusterpupv2
http://www.murga-linux.com/puppy/viewtopic.php?t=63705
it has all lucid 5.2-devx-python


UPDATE-
installed openobex, obexftp before script----> successfully sending files into phone
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
WindUpToy
Posts: 87
Joined: Wed 22 Oct 2008, 03:28
Location: melbourne.au Slick525DVD

#18 Post by WindUpToy »

Started all over again using the SFS you recommended.

Now I seem to have come full circle.. no dbus module.

I'm not meant to succeed here, I'm sure, so I'll put it aside for now and try again later, when I don't have better things to do.

Thank you for all your help, and I hope you succeed.
Attachments
no_dbus.jpg
(158.52 KiB) Downloaded 3345 times

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#19 Post by Master_wrong »

sorry to hear that...
i wonder why the script didnt run at your place

perhaps you didnt install libpcre.la.pet ? because it can make huge different
Thank you for all your help, and I hope you succeed.
thank you
I have successfully sending files from and to phone...
i will try to create pet and post when i successfully test them.
Last edited by Master_wrong on Fri 29 Apr 2011, 18:04, edited 1 time in total.
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#20 Post by Master_wrong »

http://hotfile.com/dl/117222286/b60de79 ... n.zip.html

this is the blueman for puppy...
1. install all pet, install blueman.pet last (i dont know if it makes any different, but that's how i test it)
2. run script -----> Ignore error
3. run at terminal... blueman-applet

giving right to every user at /usr/libexec/dbus-daemon-launch-helper will remove error at startup

please help me to improve this as i only have handphone. so i cannot test other device.

thank you
Last edited by Master_wrong on Mon 09 May 2011, 11:41, edited 2 times in total.
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

Post Reply