Page 3 of 3
Posted: Sun 09 Sep 2007, 21:55
by steevieb
Tried gnokii, installed ok, and worked, but same password connection problem.
Possibly something in bluez configuration, as I then tried debernardis experimental dotpup, and it worked without a password and paired to the phone automatically - I didn't even know it had paired until I checked on the phone.
However, I still cannot download from the phone although it connects ok.
Am I in the wrong folder, and if so, how do I change the current folder?
This is what I get when I try to list phone contents;
Code: Select all
sh-3.00# obexftp -b 00:60:57:D3:9C:24 -l
Browsing 00:60:57:D3:9C:24 ...
Channel: 10
Connecting...done
Receiving "(null)"... <?xml version="1.0"?> <!DOCTYPE folder-listing SYSTEM " obex-folder-listing.dtd"> <folder-listing version="1.0"><file name = "VideoMS G_N6600_TIM.sis" size="120245" modified="20060611T192914"/></folder-listing>done
Disconnecting...done
-b, --bluetooth [<device>] use or search a bluetooth device
-l, --list [<FOLDER>] list current/given folder
-g, --get <SOURCE> fetch files
-G, --getdelete <SOURCE> fetch and delete (move) files
-p, --put <SOURCE> send files
This is what I get when I try to transfer file;
Code: Select all
sh-3.00# obexftp -b 00:60:57:D3:9C:24 -g "Image(886)"
Browsing 00:60:57:D3:9C:24 ...
Channel: 10
Connecting...done
Receiving "Image(886)"... failed: Image(886)
Disconnecting...done
Probably doing something stupid, need to sleep...
Posted: Sat 15 Sep 2007, 14:03
by giac_fab
It's so difficult
I tried also obexpushd ..... I can't put file from my phone to my pc ....
I tried all the channel but my phone wan't see my pc
If I try to associate my phone to pc my phone see th pc !
I don't understand
Posted: Wed 14 Nov 2007, 16:39
by Vaklin
Will say a real big THANK YOU to seomeone who can take a look why obexftp looks in phone services and for "OBEX file transfer" and ignores the -B (--channel). In my phone this service is 11. I need to try with service in channel 12 (Nokia OBEX PC Suite Services). I hope this will give me access to addressbook and SMS's in card and phone memory.
I'm not a programmer and this "small look" will catch few weeks of my time.
Please, please, please....
Posted: Sat 24 Nov 2007, 13:40
by giac_fab
SOLVED SEND/RECEIVE FILES to/from
install :
Experimental Bluetooth
BluezLibs
ObexFTP
OpenObex
http://www.debernardis.it/dotpups/experimental_BT_1.pup
http://www.murga-linux.com/puppy/viewto ... ch&id=3927
http://www.murga-linux.com/puppy/viewto ... ch&id=4045
http://www.murga-linux.com/puppy/viewto ... ch&id=5581
Starting script must be :
#! /bin/sh
hcid
modprobe rfcomm
modprobe hci-usb
hciconfig hci0 up
modprobe bluetooth
modprobe l2cap
sdpd
#next lines added by me (from internet)
dbus-send --system --dest=org.bluez /org/bluez/hci0 \ # this line make pc visibile
org.bluez.Adapter.SetMode string:discoverable # this line make pc visibile
sleep 3
hciconfig hci0 class 0x3e0100 # this line seems not be load automaticaly from hcid.conf
Then :
obexftp -b xxx -put yyy # xxx=ADRESS OF DEVICE(hcitool scan) yyy=file
obexftpd -b # pc wait for connections
PAIRING IS "1234"
Tell me if it works also for you
EDIT : I saw that It works only with xfce 441 installed ( it has an own dbus system installed )
Posted: Sat 24 Nov 2007, 13:57
by edoc
Which version of Puppy are you using, please?
That is a probably critical to success.
Also, what bluetooth devices are you using?
Thanks! doc
Posted: Sat 24 Nov 2007, 21:07
by giac_fab
I'm using puppy 3.01
An extrenal USB adapter
The problems were (see my old posts)
- PC (hci0) is not propely configured by hciconf ( class of device, added to script )
- PC is not visibile by default by other devices such as phone ( dbus-send --system -- ...... added to script)
I tried with a nokia and with a LG .... both work .
EDIT : I saw that It works only with xfce 441 installed ( it has an own dbus system installed )
Posted: Sun 16 Dec 2007, 01:18
by Béèm
I have a K700i mobile phone
I also have a USB bluetooth from iDream.
I installed the packaged referenced in this thread.
I can browse the phone and see what services are available.
I wanted to start with file transfer.
I issue: obexftp -b K700i -g "afbeelding(1)"
afbeelding(1) is the name of a picture file on the phone.
Then I get a message: Failed to connect to SDP server: File descriptor in bad state.
What does this mean and how can I correct?
Posted: Thu 20 Dec 2007, 20:27
by giac_fab
I suppose that PUT to phone is ok ......
I don't know how obexftp can take files directly from phone .....
but you I use obexftpd ( you have it )
sh-3.00# obexftpd -c /root/ -b
Waiting for connection...
You PC will be visible from your phone ( like another phone) . Your files will be saved to "/root/"
Try
Posted: Fri 21 Dec 2007, 01:24
by Béèm
I don't know what you mean by 'put to phone'
A kinda command?
When I issue:
Code: Select all
# obexftp -b K700i -g "afbeelding(1)"
Scanning ...
Using 00:16:20:19:E8:89 K700i
Failed to connect to SDP server: File descriptor in bad state
#
When I issue:
Code: Select all
# obexftpd -b K700i -g "afbeelding(1)"
register to SDP Server failed.
#
When I issue:
Code: Select all
# obexftpd -c/root/ -b
register to SDP Server failed.
#
obexftp and obexftpd are both in /usr/bin
There is also a obex_test.
When I issue
Code: Select all
# obex_test -b
Using Bluetooth RFCOMM transport
OBEX Interactive test client/server.
> put bootmanager.png remote
PUT file (local, remote)> name=bootmanager.png, size=38009
Going to send 38009 bytes
Link broken!
Error while doing OBEX_HandleInput()
>
I have a hci0 device, but I don't understand this RFCOMM thing.
Should I define something for it, or do I have it already?
Posted: Tue 25 Dec 2007, 12:52
by tempestuous
giac_fab wrote:EDIT : I saw that It works only with xfce 441 installed ( it has an own dbus system installed )
giac_fab,
It's strange that obexftp "push" works for you with the dbus contained in XFCE4.4.1, but fails with John Doe's dbus package.
I just checked, and both dbus versions are 1.0.2.
John Doe configured his dbus compilation like this
Code: Select all
./configure --prefix=/usr --localstatedir=/usr
because dbus-launch was trying to access the dbus pid/socket file in /usr/var/run/dbus
This might (?) be the cause of problems with other utilities (such as obexftp) because they may be looking in the conventional location of /var/run/dbus
So I have just compiled dbus now like this -
Code: Select all
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
Would you test this version of dbus to see if obexftp "push" works?
You will still need the BlueZ libs/utilities/firmware from
http://www.murga-linux.com/puppy/viewto ... 474#115474
EDIT Dec 26 2007
dbus packages removed. Configuration problem identified, fix soon.
Posted: Tue 25 Dec 2007, 15:40
by giac_fab
QUOTE = I don't know what you mean by 'put to phone'
A kinda command?
I'm talking about
obexftp -b xxx -put yyy # xxx=ADRESS OF DEVICE(hcitool scan) yyy=file
------------------------------------------
#! /bin/sh
hcid
modprobe rfcomm
modprobe hci-usb
hciconfig hci0 up
modprobe bluetooth
modprobe l2cap
sdpd
#next lines added by me (from internet)
dbus-send --system --dest=org.bluez /org/bluez/hci0 \
# this line make pc visibile to the phone
org.bluez.Adapter.SetMode string:discoverable
# like previus line
sleep 3
hciconfig hci0 class 0x3e0100
# this line seems not be load automaticaly from hcid.conf
You need to see if this script when executed shows up some errors ( I think you get an error with red line)
-----------------------------------------
I taken only varius pieces and I put them together ...... I posted only the way that worked for me
I spent a lot of time to find where problems were and to find the trhee or four lines I added to starting script.... so I thought that add them to forum could be useful for someone.
# obexftpd -c /root/ -b
register to SDP Server failed.
# obexftpd -c /root/ -b
Now If you did all that I wrote on my post I don't know how to help you
EDIT :
Tried again..... The error shows up if I kill sdpd ......
# obexftpd -c /root/ -b
register to SDP Server failed.
# sdpd
# obexftpd -c /root/ -b
Waiting for connection...
Posted: Tue 11 Mar 2008, 08:53
by tantor
Problem finaly solved with my sony ericsson k800i
BlueZ-utils-3.24 solved the passkey/pin issue for me.
http://www.murga-linux.com/puppy/viewto ... 225a1026d1
(found on
http://www.murga-linux.com/puppy/viewto ... =862185957)
From scratch;
in /etc/bluetooth/hcid.conf
# Default PIN code for incoming connections
passkey "1234";
in rxvt;
rm -f /var/run/dbus/*
dbus-uuidgen --ensure
dbus-daemon --system
hcid
modprobe rfcomm
modprobe hci-usb
modprobe bluetooth
hciconfig hci0 up
modprobe l2cap
sdpd
dbus-send --system --dest=org.bluez /org/bluez/hci0 \
org.bluez.Adapter.SetMode string:discoverable
sleep 3
hciconfig hci0 class 0x3e0100
hcid -n
passkey-agent --default 1234 &
obexftp -b 0:19:63:1C:ED:CF -c / -l (change mac adr)
when i did the next line, i got an error," /root/mnt/bluetooth", so i took the easy way, and made an shortcut to mnt/bluetooth in root folder.. lol (i'm a newbie)
obexfs -b 00:19:63:1C:ED:CF -B 7 ~/mnt/bluetooth (change mac adr and '7' to the channel came up in the scanning)
so.. that made my day.. opened rox file manager, and go to mount/bluetooth..
again, im a newbie, maybe someone can make a script or something,if this work for you to?
succesful modem connection over bluetooth with a LG KU990
Posted: Sat 09 Aug 2008, 19:07
by wap_dude
Hello to you all
I just wanted to report a succesful internet modem connection via bluetooth with a mobile
my computer is an ASUS W7J laptop with a broadcom BT chipset, mobile phone is a LG KU990(viewty), puppy 4.0 kernel 2.6.21.7.
operator is french vodafone (SFR) in 3G (illimythics)
I installed Bluez as shown in the first posts
My bluetooth config file :
/etc/bluetooth
options {
autoinit yes;
security auto;
pairing multi;
passkey "0000";
}
device {
name "BlueZ (%d)";
class 0xff0100;
iscan enable; pscan enable;
lm accept, master;
lp rswitch,hold,sniff,park;
}
to launch bluetooth modules and hcid I use this script:
#!/bin/sh -x
rm -f /var/run/dbus/*
dbus-uuidgen --ensure
dbus-daemon --system
modprobe bluetooth
modprobe l2cap
modprobe rfcomm
modprobe hci-usb
hcid
Then scan with
# hcitool scan
gets the BT adress
#sdbtool browse
To get the channel in the LG dial-up networking service paragraph ("8" for me)
prepare modem connection by editing
etc/bluetooth/rfcomm.conf
with
rfcomm0 {
bind yes;
device 00:11:22:33:44:55;
channel 8;
comment "Bluetooth PPP connection";
}
Then connect phone (I had to pair first from the phone. funny thing each time I connect under MSwindows I have to re-pair afterward-from the phone-, I guess the phone gets confused having the same bt adress with two names)
# hcitool cc 00:11:22:33:44:55
then connect modem
# rfcomm connect rfcomm0 00:11:22:33:44:55 8
Creates a modem in dev/rfcomm0
then edit etc/wvdial.conf with:
Modem = /dev/rfcomm0
Baud = 115200
FLOWCONTROL = NOFLOW
Init1 = AT+CGDCONT=1,"IP","wapsfr" #last one is the access point
Init2 = AT&F&D2&C1S0=0
Dial Command = ATD
Phone = *99#
Username = dummy
Password = dummy
ask password = 0
stupid mode = 1
Auto DNS = off
and it works perfectly.
hope this helps anyone who owns a LG phone
I got this little script for the second part
hcitool cc 00:11:22:33:44:55
wait
rfcomm connect rfcomm0 00:11:22:33:44:55 8 &
sleep 3
echo "lancement wvdial"
wvdial
works perfectly...
I just love my puppy even more now!!
wap_dude
Posted: Sun 10 Aug 2008, 13:51
by Caneri
Hi All, (SOLVED) look here..
http://www.murga-linux.com/puppy/viewto ... 850#222850
Has anyone had luck with a bluetooth mouse?
I get as far as hcitool scan and this sees my bluetooth travel mouse. There must be something I'm missing as the mouse still doesn't work.
Best,Thanks,
Eric
bluetooth ache
Posted: Mon 20 Jun 2016, 09:53
by ktat
I'm not sure if I'm in the right place, very new to puppy.
Once I enter bluetoothd into a terminal the bluetooth manager will start from the menu list. However, after finding devices that I can connect to and accepting the pairing. When I try to send a file, no Banana.
Here's some, what I hope is useful, output:
Code: Select all
root# blueman-applet
Loading configuration plugins
_________
<module> (/usr/lib/python2.7/dist-packages/blueman/main/Config.py:20)
Skipping plugin Gconf
No module named gconf
blueman-applet version 1.23 starting
Using file config backend
_________
Load (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:54)
['TransferService', 'ShowConnected', 'Headset', 'KillSwitch', 'AppIndicator', 'RecentConns', 'Networking', 'ExitItem', 'PPPSupport', 'SerialManager', 'DBusService', 'StatusIcon', 'NetUsage', 'PulseAudio', 'NMPANSupport', 'Menu', 'StandardItems', 'DhcpClient', 'AuthAgent', 'NMDUNSupport', 'DiscvManager', 'PowerManager']
Using file config backend
_________
Load (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:54)
Unable to load plugin module AppIndicator
No module named appindicator
_________
Load (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:54)
Unable to load plugin module NMPANSupport
No module named gconf
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.StatusIcon.StatusIcon'>
Using file config backend
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.DBusService.DBusService'>
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.Headset.Headset'>
Using file config backend
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.Networking.Networking'>
Using file config backend
_________
load_nap_settings (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/Networking.py:30)
Loading NAP settings
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.PulseAudio.PulseAudio'>
Using file config backend
_________
pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)
1
_________
pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)
5
_________
on_load (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PulseAudio.py:160)
PulseAudio version: [4, 0, 0]
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.Menu.Menu'>
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.PowerManager.PowerManager'>
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.TransferService.TransferService'>
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.KillSwitch.KillSwitch'>
Using file config backend
_________
on_load (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:25)
Using the new killswitch system
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.AuthAgent.AuthAgent'>
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.ShowConnected.ShowConnected'>
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.DhcpClient.DhcpClient'>
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.SerialManager.SerialManager'>
Using file config backend
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.RecentConns.RecentConns'>
Using file config backend
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
Not loading PPPSupport because it's conflict has higher priority
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.StandardItems.StandardItems'>
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.DiscvManager.DiscvManager'>
Using file config backend
_________
update_menuitems (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:114)
warning: Adapter is None
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class 'blueman.plugins.applet.NMDUNSupport.NMDUNSupport'>
ERROR:dbus.proxies:Introspect error on org.blueman.Mechanism:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.blueman.Mechanism was not provided by any .service files
_________
update_state (/usr/lib/python2.7/dist-packages/blueman/main/KillSwitchNG.py:162)
State: True
_________
on_switch_added (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:45)
killswitch registered 1
_________
on_obex_owner_changed (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/TransferService.py:70)
obex owner changed:
_________
on_dbus_name_owner_change (/usr/bin/blueman-applet:81)
org.bluez owner changed to
_________
update_menuitems (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:114)
warning: Adapter is None
also:
Code: Select all
root# bluez-test-adapter list
Traceback (most recent call last):
File "/usr/bin/bluez-test-adapter", line 12, in <module>
manager = dbus.Interface(bus.get_object("org.bluez", "/"), "org.bluez.Manager")
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
root# rfkill list
0: phy0: wlan
Soft blocked: no
Hard blocked: no
1: hci0: bluetooth
Soft blocked: no
Hard blocked: no
some specs:
Code: Select all
root# lsusb
Bus 005 Device 002: ID 0b05:b700 ASUSTek Computer, Inc. Broadcom Bluetooth 2.1
-Version-
Kernel : Linux 3.14.56 (i686)
Version : #1 SMP PREEMPT Mon Dec 21 14:52:08 GMT 2015
-Computer-
Operating System : tahrpup - 6.0.5
blueman-1.23_tahr
bluez_4.101
If there isn't enough (I hope not too much) information, I'm happy to furnish more if it will help.
bluetooth_5.5.sfs: 3484 K
Posted: Mon 27 Jun 2016, 11:14
by Pelo
bluetooth_5.5.sfs: 3484 K
What i can say is that hungarian Puppy developers aimed to blue tooth usage by their precise 5.7.1
Sfs is included in the ISO
Unfortunately i don't have any bluetooth item at home.
Hungarian topic ask csipesz how far the hungarian team is with Bluetooth.
Hum
they are quite leaders in cutting edge stuff ....
Bletooh is on test bench
here, click and see
Posted: Sat 17 Sep 2016, 00:05
by ktat
I sent a PM to csipesz, unfortunately wasn't able to help.
Posted: Sat 17 Sep 2016, 08:13
by Semme
Nope! This is an EIGHT YEAR OLD THREAD you've posted in!
I'm not sure if I'm in the right place, very new to puppy..
Yeah, we could sense this. I answered you
elsewhere..
Posted: Mon 31 Oct 2016, 18:45
by noalternative
steevieb wrote:downloaded
bluez-firmware-1.2.pet
bluez-libs-3.9.pet
bluez-utils-3.9.pet
dbus-1.0.2.pet
installed bluez-firmware-1.2.pet
installed dbus-1.0.2.pet
installed bluez-libs-3.9.pet
installed bluez-libs-3.9.pet
using petget, restarted X.
Where can I download these if I am using a puppy based on xenial pup and they are not in the pet-get repos?
I know I could install ubuntu stuff but most of bluetooth debs seems to require that I download half of ubuntu too!