FS#10033 - Bluetooth OBEX start failed: Invalid path
Attached to Project:
Arch Linux
Opened by mark (sickhate) - Sunday, 30 March 2008, 21:15 GMT
Last edited by Geoffroy Carrier (gcarrier) - Thursday, 12 February 2009, 09:05 GMT
Opened by mark (sickhate) - Sunday, 30 March 2008, 21:15 GMT
Last edited by Geoffroy Carrier (gcarrier) - Thursday, 12 February 2009, 09:05 GMT
|
Details
Description:
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 Steps to reproduce: I can not sent photos from mobile to laptop, conversely, I can sent files from laptop to mobile. |
This task depends upon
Closed by Geoffroy Carrier (gcarrier)
Thursday, 12 February 2009, 09:05 GMT
Reason for closing: Fixed
Thursday, 12 February 2009, 09:05 GMT
Reason for closing: Fixed
Bluetooth OBEX start failed: Invalid path
Bluetooth FTP start failed: Invalid path
That's where the problem is. I looked at the source code of bluetooth-applet and found that it uses the values of XDG_DOWNLOAD_DIRECTORY and XDG_PUBLICSHARE_DIR in order to start the File Recieve service (OBEX) and the FTP service respectively. But it doesn't check to see if these directories are not set. I've attached a patch (for bluetooth-applet) which will set these directories to /home/user/Desktop for OBEX and /home/user/ for FTP. This will allow bluetooth-applet to start the file receiving service. (Tested and it works for me)
i get this
conn_request: bdaddr 00:18:8D:42:20:EF
conn_complete: status 0x00
Should I open a new bug ticket?
Bye ;)
obex-data-server 0.3.1
bluez-gnome 0.26
bluez-libs 3.32
bluez-utils 3.32
This way I'm able to send and receive files from phones to PC and vice-versa.
Cheers ;)