obexftp not working with irda

Bug #970 reported by Rafał Próchniak
6
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Medium
Unassigned
obexftp (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

(Ubuntu Hoary + backports, obexftp 0.10.6-1, mobile phone - Siemens S65, built in irda (SiS 650 motherboard) with standard sir)

It seems that obexftp does not work with irda

(Ubuntu Hoary + backports, obexftp 0.10.6-1, mobile phone - Siemens S65, built in irda (SiS 650 motherboard) with standard sir)

It seems that obexftp does not work with irda. This was what I got:

$obexftp -i -l /
No custom transport
Connecting...failed: connect
Still trying to connect
Connecting...failed: connect
Still trying to connect
Connecting...failed: connect
Still trying to connect

At the same time irdadump showed my mobile and multisync and scmxx worked fine.

I have found it somewhere (openobex mailing list?) that obexftp uses bluetooth by default (someone straced it, and so did I):

Part of strace output:
write(2, "Connecting...", 13) = 13
socket(PF_BLUETOOTH, SOCK_STREAM, 3) = 4
bind(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 10) = -1 EINVAL (Invalid argument)
close(4) = 0
socket(PF_BLUETOOTH, SOCK_STREAM, 3) = 4
bind(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 10) = -1 EINVAL (Invalid argument)
close(4) = 0
write(2, "failed: connect\n", 16) = 16
write(2, "Still trying to connect\n", 24) = 24

Complete output is available here: http://www.ubuntuforums.org/attachment.php?attachmentid=1325

So I compiled obexftp from sources (I apt-got sources from the package, not from project's website) without bluetooth support and it works:

$ /opt/bin/obexftp -i -l
No custom transport
Connecting...done
Receiving (null)... <?xml version="1.0"?>
<!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
<folder-listing version="1.0">
   <folder name="Data" modified="20040101T000000" user-perm="RWD" group-perm="W" />
   <folder name="MMCard" modified="20040115T000000" user-perm="RWD" group-perm="W" />
</folder-listing>
done
Disconnecting...done

(Maybe this is not correct output, but compile was not clean, showing some xml-related errors). My custom obexftp sends files, so it works fine for me.

I can't test obexftp with bluetooth, as I don't have it (only in my phone...). Is there a way to have this package recongize irda/bluetooth at runtime? Is breezy package any better?

Changed in obexftp:
assignee: nobody → motu
Revision history for this message
Simon Ruggier (simon80) wrote :

I can tell you that that is the usual output of obexftp, using it in Ubuntu as well as Gentoo

Revision history for this message
Jonathan Carter (jonathan) wrote :

Have you upgraded to the breezy or latest dapper (6.06 LTS) release?

Have the bug persisted?

Revision history for this message
Rafał Próchniak (burlap) wrote :

It worked fine in breezy, so far in dapper irda does not work at all (reported as https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/49828)

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

49828 is fixed now, how about this bug then?

Revision history for this message
Rafał Próchniak (burlap) wrote :

It works ok, the bug is fixed.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

marking the bug fixed

Changed in obexftp:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.