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

A home for all kinds of Puppy related projects
Message
Author
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]

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

UPDATE... obexfs

#21 Post by Master_wrong »

here is obexfs...
Attachments
success.png
(103.8 KiB) Downloaded 1650 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:

#22 Post by smokey01 »

Master_wrong are you able to put the entire bluetooth package together as a sfs file. This way people can try it without fear of breaking their current system.

I certainly am.

Thanks

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

#23 Post by WindUpToy »

OK, I found some time to try this at 3am today.
What a pleasant change to not be getting a Python error. (It just hasn't got that far yet).
I am stopped by this error instead.
I guess I know what it means but don't know how to fix it.
Attachments
captured.jpg
(88.89 KiB) Downloaded 3242 times

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

#24 Post by Master_wrong »

@winduptoys
no such device.... the last time i get that error i forgot to install something or i forgot to plug the bluetooth.


@smokey
I try but, right now i'm still need jemima's package because i cannot find the source for most packages... for example dbus. so there i still using most of jemimah pet.
but you can try livecd ? that will not break your system... even with the python pet included, you only need 256m memory (I test)
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

#25 Post by WindUpToy »

I forgot to enable Bluetooth on the phone :(

It's working, no Python errors!
Can send to the phone.
Can't browse the phone. I don't have or want Nautilus, so I symlinked my file manager to Nautilus (or vice-versa) but it just opened in my root directory.
It said that the setting for Nautilus could be changed, but I couldn't locate where to change it.

This is the closest I have ever been to Bluetooth in Puppy.
So near yet maybe so far.

Now I'm getting excited, which is probably a bit sad really.

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

#26 Post by Master_wrong »

It's working, no Python errors!
:shock: :shock: :shock: :shock:
Oh it alive it''s alive :lol: :lol: :twisted:
finally...
I 'm happy its working now, you almost scare me with all the error messages...
it surely scare smokey :)
Can't browse the phone.
1. install the lucid-fuse-obexfs
2. after run bllueman-applet, right-click on applet ---> select local service
3. select transfer, click on advanced
4. see my post picture about lucid-fuse-obexfs, its also the needed setting if you want your computer to accept files from phone
5. create /root/a
6. click browse
7. open rox /root/a

there you have it, browse your phone, copy from or into phone...
copy into phone makes error messages about changing files ownership, but its copied allright

Now I'm getting excited, which is probably a bit sad really.
is it really that difficult to make you happy ? :D :D
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

aarf

#27 Post by aarf »

it is customary to update the first post to contain the latest downloads and info.
You reached your hourly traffic limit.
waiting for download now. this host http://www.datafilehost.com/ doesnt require a wait.
does it do remote internet tether which puppeee bluez cant do?
good work anyways. :)

aarf

#28 Post by aarf »

Blueman zip now also at http://www.datafilehost.com/download-e06a65b4.html cant be sure as have no check sums.

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

#29 Post by Master_wrong »

@aarf,
thanks, i also upload there. and on the first post now

btw
Having problem with connecting to rfcomm, testing to install policy-kit tomorrow.

https://bugs.launchpad.net/blueman/+bug/403779
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

#30 Post by WindUpToy »

All good now.
Now I AM excited :)
It doesn't really take much to make me happy :)

Everything works fine, but transfer speed is noticeably slower than when using BlueSoleil in Windows.

Great work!
That's one less thing I have to use Windows for. Hooray!

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

#31 Post by Master_wrong »

Now I AM excited Smile
now you are excited too early... :P

there is still some problem...
i cannot connect to rfcomm... even when compiled without policykit, now lets see if there is another way...

from
https://bugs.launchpad.net/blueman/+bug/770259
--- /usr/share/pyshared/blueman/main/PPPConnection.py 2010-12-08 18:02:25.000000000 +0100
+++ /usr/share/pyshared/blueman/main/PPPConnection.py.working 2011-04-25 15:15:55.000000000 +0200
@@ -88,9 +88,12 @@ class PPPConnection(gobject.GObject):
def connect_callback(self, response):
if "CONNECT" in response:
dprint("Starting pppd")
- self.pppd = subprocess.Popen(["/usr/sbin/pppd", "%s" % self.port, "defaultroute", "updetach", "usepeerdns"], bufsize=1, stdout=subprocess.PIPE)
+ self.pppd = subprocess.Popen(["/usr/sbin/pppd", "%s" % self.port,
+ "crtscts",
+ "defaultroute", "nodetach", "usepeerdns"
+ ], bufsize=1, stdout=subprocess.PIPE)
glib.io_add_watch(self.pppd.stdout, glib.IO_IN | glib.IO_ERR | glib.IO_HUP, self.on_pppd_stdout)
- glib.timeout_add(1000, self.check_pppd)
+ glib.timeout_add(2000, self.check_pppd)

self.cleanup()
else:
@@ -178,7 +181,8 @@ class PPPConnection(gobject.GObject):

print "pppd exited with status %d" % status
return False
- return True
+ self.emit("connected", self.interface)
+ return False

def send_command(self, command):
dprint("-->", command)
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

#32 Post by Master_wrong »

pppd 2.4.5 seem incompatible with blueman...

with pppd 2.4.3 rfcomm can be set from blueman but i didnt know how to test, what dialer to use.
maybe its much easier to create custom script which run when we press browse button in blueman ?
which we will choose to browse or to dial internet ?

I dont know the answer, I hope other dev can improve.
thank you
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
Luluc
Posts: 200
Joined: Wed 16 Mar 2011, 07:10

#33 Post by Luluc »

Blueman is a 2,680 KB download and Python is a 752 KB download on Ubuntu. How come they are 20 MEGABYTES EACH on this Bluetooth package for Puppy?

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

#34 Post by WindUpToy »

http://www.bluesoleil.com/products/S000 ... 90007.html

IVT has a Linux version which they say is for all Linuxes.
I get an error trying to run it.
I am away from my computer ATM, so I can't post the error now, but will if anyone is interested.

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

#35 Post by Béèm »

WindUpToy wrote:http://www.bluesoleil.com/products/S000 ... 90007.html

IVT has a Linux version which they say is for all Linuxes.
I get an error trying to run it.
I am away from my computer ATM, so I can't post the error now, but will if anyone is interested.
I have written to IVT support, as I was successful in installing Bluesoleil in Wine, but my bluetooth device wasn't show and thus used.
I wrote again and was referred to linux download, but that didn't work.
Can't quite remember what the issue was. I have to look and find my notes.
Also I think some software wasn't free.

I had some success with Blueman for file transfer. (up and down load)

I had other things to attend too, so I didn't pursue for the moment.
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]

Post Reply