You are not logged in.

#1 2008-03-27 03:53:41

cnshzj007
Member
From: Shanghai, China
Registered: 2008-03-18
Posts: 44
Website

bluetooth problem HELP

Both my mobile and laptop are able to 'see' each other as you can see below.
But both them can link each other just for 2 or 3 seconds then loss the link.
I can not sent photos from mobile to laptop, conversely, I can sent files from laptop to mobile.

Why? And Help needed.

Thanks a lot.


[zhangjing@Archlinux007 ~]$ pacman -Q | grep blue
blueman 0.3-3
bluez-gnome 0.25-1
bluez-libs 3.28-1
bluez-utils 3.28-1
gnome-bluetooth 0.11.0-1.1
python-pybluez 0.14-2


[zhangjing@Archlinux007 ~]$ pacman -Q | grep obe
obex-data-server 0.3-3
openobex 1.3-2


[zhangjing@Archlinux007 ~]$ sudo /etc/rc.d/bluetooth restart
:: Stopping bluetooth subsystem:  pand dund rfcomm hidd sdpd hcid        [DONE] 
:: Starting bluetooth subsystem:  hcid hidd                              [DONE] 

[zhangjing@Archlinux007 ~]$ lsmod | grep -i blue
bluetooth              51172  9 hidp,bnep,rfcomm,hci_usb,l2cap


[zhangjing@Archlinux007 ~]$ dmesg | grep -i blue
Bluetooth: Core ver 2.11
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.9
Bluetooth: L2CAP socket layer initialized
Bluetooth: HCI USB driver ver 2.9
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: HIDP (Human Interface Emulation) ver 1.2


[zhangjing@Archlinux007 ~]$ bluetooth-applet 
Bluetooth OBEX start failed: Invalid path
Bluetooth FTP start failed: Invalid path


[zhangjing@Archlinux007 ~]$ hcitool dev
Devices:
    hci0    00:11:B1:07:A3:62


[zhangjing@Archlinux007 ~]$ hcitool scan
Scanning ...
    00:11:9F:84:F5:78    Nokia6260

Last edited by cnshzj007 (2008-03-27 12:49:35)

Offline

#2 2008-03-30 21:01:25

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: bluetooth problem HELP

i have the exact problm!


Its a sick world we live in....

Offline

#3 2008-03-30 21:16:24

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: bluetooth problem HELP

cnshzj007 wrote:

Both my mobile and laptop are able to 'see' each other as you can see below.
But both them can link each other just for 2 or 3 seconds then loss the link.
I can not sent photos from mobile to laptop, conversely, I can sent files from laptop to mobile.

Why? And Help needed.

Thanks a lot.


[zhangjing@Archlinux007 ~]$ pacman -Q | grep blue
blueman 0.3-3
bluez-gnome 0.25-1
bluez-libs 3.28-1
bluez-utils 3.28-1
gnome-bluetooth 0.11.0-1.1
python-pybluez 0.14-2


[zhangjing@Archlinux007 ~]$ pacman -Q | grep obe
obex-data-server 0.3-3
openobex 1.3-2


[zhangjing@Archlinux007 ~]$ sudo /etc/rc.d/bluetooth restart
:: Stopping bluetooth subsystem:  pand dund rfcomm hidd sdpd hcid        [DONE] 
:: Starting bluetooth subsystem:  hcid hidd                              [DONE] 

[zhangjing@Archlinux007 ~]$ lsmod | grep -i blue
bluetooth              51172  9 hidp,bnep,rfcomm,hci_usb,l2cap


[zhangjing@Archlinux007 ~]$ dmesg | grep -i blue
Bluetooth: Core ver 2.11
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.9
Bluetooth: L2CAP socket layer initialized
Bluetooth: HCI USB driver ver 2.9
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: HIDP (Human Interface Emulation) ver 1.2


[zhangjing@Archlinux007 ~]$ bluetooth-applet 
Bluetooth OBEX start failed: Invalid path
Bluetooth FTP start failed: Invalid path


[zhangjing@Archlinux007 ~]$ hcitool dev
Devices:
    hci0    00:11:B1:07:A3:62


[zhangjing@Archlinux007 ~]$ hcitool scan
Scanning ...
    00:11:9F:84:F5:78    Nokia6260

i reported it as a bug tongue hope someone help...


Its a sick world we live in....

Offline

#4 2008-03-31 19:32:43

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: bluetooth problem HELP

loading bluetooth-applet i get this

Bluetooth OBEX start failed: Invalid path


Its a sick world we live in....

Offline

#5 2008-05-01 14:04:37

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: bluetooth problem HELP

Any news on this? I still get the bluetooth obex start failure...


Mortuus in anima, curam gero cutis

Offline

#6 2008-05-01 14:07:00

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: bluetooth problem HELP

still nothing dude...obex data server still needs to be updated...i updtaed but still didnt work..so..just wait i guess.....shit i needed badly bluettoth working..


Its a sick world we live in....

Offline

#7 2008-05-08 14:28:03

priyank
Member
Registered: 2006-03-11
Posts: 4
Website

Re: bluetooth problem HELP

aRcHaTe wrote:

loading bluetooth-applet i get this

Bluetooth OBEX start failed: Invalid path

^^ You can't recieve files if that thing fails.

Alternatively, you can still recieve files if you have the gnome-bluetooth package installed.
All you need to do is run the following command:

$ gnome-obex-server

Now, you should be able to recieve files from your mobile device. (Atleast it works here)


- Priyank

Offline

#8 2008-05-08 19:16:20

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: bluetooth problem HELP

priyank wrote:
aRcHaTe wrote:

loading bluetooth-applet i get this

Bluetooth OBEX start failed: Invalid path

^^ You can't recieve files if that thing fails.

Alternatively, you can still recieve files if you have the gnome-bluetooth package installed.
All you need to do is run the following command:

$ gnome-obex-server

Now, you should be able to recieve files from your mobile device. (Atleast it works here)

conn_request:    bdaddr 00:18:8D:42:20:EF
conn_complete:    status 0x00

it doenst work for me...it fails to on receive


Its a sick world we live in....

Offline

#9 2008-05-08 21:35:28

mauud777
Member
Registered: 2008-03-12
Posts: 17

Re: bluetooth problem HELP

[moauud@myhost ~]$ gnome-obex-server

** (gnome-obex-server:3858): WARNING **: OBEX server register error: -1

** (gnome-obex-server:3858): WARNING **: Unable to initialize OBEX source

** (gnome-obex-server:3858): WARNING **: Couldn't initialise OBEX listener
[moauud@myhost ~]$



this is my only problem in Arch

Offline

#10 2008-05-14 07:55:24

july`s
Member
Registered: 2004-08-16
Posts: 8

Re: bluetooth problem HELP

Hi, I had similar problem. No problem with sending over bluetooth from laptop to mobile (s60 v3).

No problem other laptops to discover my laptops bluetooth services, but my mobile cant discover my laptops bluetooth services.

I did some snooping and figure out, that the other laptops send service discovery request with id mask form 0 to 65535 (or something like that, sorry i havent time to make notes:( )

But the problem with my mobile was, that it send something different service request and my laptop responds like that:


hcid[21158]: Got a svc srch req
hcid[21158]: Seq type : 53
hcid[21158]: Data size : 3
hcid[21158]: Data type: 0x19
hcid[21158]: No of elements : 1
hcid[21158]: Expected count: 65535
hcid[21158]: Bytes scanned : 5
hcid[21158]: Continuation State size : 0
hcid[21158]: Match count: 0

so the mobile is not able to find the required service

I am not sure why (is it S60 issue, or it is because i run x64 system), but the solution that works for me is very simple:)
in package bluez-utils, file:
~/packages/sources/bluez-utils/src/bluez-utils-3.30$ vi sdpd/request.c
function static int service_search_req(sdp_req_t *req, sdp_buf_t *buf)   // it is at line 237 for 3.30 bluez-utils package

i found that there is a loop:
for (; list && rsp_count < expected; list = list->next) {

which never execute the code inside, because of list && rsp_count < expected

simple change (in the begining of function)
        //short rsp_count = 0;
        uint16_t rsp_count = 0;
make the condition work right for me:)


so let me summarize:
my system is x64, a have to "patch" funcitonstatic int service_search_req in sdpd/request.c from blue-utils package
---
        //short rsp_count = 0;
        uint16_t rsp_count = 0;
---
so my symbian based mobile (nokia e51 s60 v3) to be able to discover my laptops bluetooth services.

so now i am able to enjoy amora (bluetooth remote control application smile

Offline

#11 2008-05-14 14:47:07

Venator85
Member
From: Italy
Registered: 2007-10-18
Posts: 62

Re: bluetooth problem HELP

july`s wrote:

so let me summarize:
my system is x64, a have to "patch" funcitonstatic int service_search_req in sdpd/request.c from blue-utils package
---
        //short rsp_count = 0;
        uint16_t rsp_count = 0;
---
so my symbian based mobile (nokia e51 s60 v3) to be able to discover my laptops bluetooth services.

so now i am able to enjoy amora (bluetooth remote control application smile

bluez-utils 3.31-1 already comes with that variable declaration uncommented, but I still have the same issue. sad
Bye

Offline

#12 2008-05-14 21:06:44

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: bluetooth problem HELP

Venator85 wrote:
july`s wrote:

so let me summarize:
my system is x64, a have to "patch" funcitonstatic int service_search_req in sdpd/request.c from blue-utils package
---
        //short rsp_count = 0;
        uint16_t rsp_count = 0;
---
so my symbian based mobile (nokia e51 s60 v3) to be able to discover my laptops bluetooth services.

so now i am able to enjoy amora (bluetooth remote control application smile

bluez-utils 3.31-1 already comes with that variable declaration uncommented, but I still have the same issue. sad
Bye

im guessing the problm is on obex server...it may have an issue with dbus


Its a sick world we live in....

Offline

#13 2008-05-15 10:25:41

july`s
Member
Registered: 2004-08-16
Posts: 8

Re: bluetooth problem HELP

Venator85 wrote:
july`s wrote:

so let me summarize:
my system is x64, a have to "patch" funcitonstatic int service_search_req in sdpd/request.c from blue-utils package
---
        //short rsp_count = 0;
        uint16_t rsp_count = 0;
---
so my symbian based mobile (nokia e51 s60 v3) to be able to discover my laptops bluetooth services.

so now i am able to enjoy amora (bluetooth remote control application smile

bluez-utils 3.31-1 already comes with that variable declaration uncommented, but I still have the same issue. sad
Bye

strange
just checked
http://bluez.sf.net/download/bluez-utils-3.31.tar.gz
~/delme/bluez-utils-3.31$ grep rsp_count ./sdpd/request.c
    short rsp_count = 0;


please do the following after you start /etc/rc.d/bluetooth
~/delme/bluez-utils-3.31$ ps -ef | grep hcid
july      1620 29329  0 13:23 pts/12   00:00:00 grep hcid
root     21251     1  0 May14 ?        00:00:00 /usr/sbin/hcid -s -f /etc/bluetooth/hcid.conf

~/delme/bluez-utils-3.31$ su -c "killall hcid"

~/delme/bluez-utils-3.31$ su -c "/usr/sbin/hcid -n -d -s -f /etc/bluetooth/hcid.conf"

and watch about:

match count

Offline

#14 2008-05-15 13:20:43

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: bluetooth problem HELP

Latest update but hcid still not lasting longer than a minute.
Mitsumi USB-Bluetooth dongle version 1.1

also Kbluetooth can't last. I was happy when was working. That was about 3.12 version.

F


do it good first, it will be faster than do it twice the saint wink

Offline

#15 2008-05-16 23:22:23

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: bluetooth problem HELP

TheSaint wrote:

Latest update but hcid still not lasting longer than a minute.
Mitsumi USB-Bluetooth dongle version 1.1

also Kbluetooth can't last. I was happy when was working. That was about 3.12 version.

F

its was working for me since the last dbus update..broke alot of stuff....allmost all working now..but now bluetooth..i miss him XD


Its a sick world we live in....

Offline

#16 2008-05-17 12:05:10

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: bluetooth problem HELP

I still suffer since then.
I just hope that some future version will get back working. I'm prone to buy a new bluetooth dongle. But maybe next year I' ll get a new laptop tongue


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB