I finally bit the bullet and just went out and bought a D-Link DBT-120 bluetooth dongle since I was going to pay the same amount, if not more, trying to win one on e-bay, plus I would have to wait for it, what fun is that.
I had played around for a little with John's DBT-120 to make sure it would work, but apparently I didn't go far enough with it. I was able to link my computer to my phone and ping the phone, but I never tried to pull anything off the phone. Guess I should have.
Here is the issue I'm having. As I said before, I am able to link the two devices up, ping the phone using l2ping, and pull all of the relevant information from the phone using hcitool. The problem comes when I try to use obexftp to pull files off the phone. It won't connect. I get this:
obexftp -b xx:xx:xx:xx:xx:xx -l
Browsing xx:xx:xx:xx:xx:xx ...
Channel: 7
No custom transport
Connecting...bt: -94
failed: connect
Still trying to connect
Connecting...bt: -94
failed: connect
Still trying to connect
Connecting...bt: -94
failed: connect
Still trying to connect
I even tried upgrading my kernel from 2.6.7 to 2.6.9 and that did not fix it. I have followed the tutorials that I found here and here, and posted a few inquiries on forums.gentoo.org. If anyone has any ideas, let me know.
I am running bluez-utils 2.12, bluez-lib 2.12, bluez-hcidump 1.16 and obexftp 0.10.7.
Posted by doug at February 9, 2005 01:19 PM | TrackBackI got obexftp listing the files and directories thanks to John's sluething. He looked through the source code for obexftp and libopenobex and found out where teh -94 error was being thrown. It is becausse libopenobex was compiled without bluetooth support. I re-emerged openobex and now things work.
I also had to change the way I was listing files in directories, a change to obexftp from 0.10.6 to 0.10.7.. I have to use obexftp [device] -l Pictures instead of obexftp [device] -c Pictures -l. Now I just can't get it to step into the Pictures directory and pull a file. I'm installing KDEBluetooth right now and that should work for me.
Posted by: doug at February 10, 2005 10:42 AMI finally got everything working, after finding a bug in the gentoo port of obexftp. I had to manually build and install the Debian version of the program with the patches they have written. I filed a bug report on bugs.gentoo.org with Bug ID 81514. Hopefully this will be fixed with the next release.
Posted by: doug at February 10, 2005 12:32 PMBug 81514 has been fixed by applying the patch that the Debian sources had to the Gentoo source and is now available via emerge. Thanks to the developer that put this patch in the source! I can now transfer files back and forth with my phone.
The next step will be to get rfcomm to work. For some reason, it won't connect, much like the error I had with obexftp. Maybe I need to try the debian sources.
Posted by: doug at February 11, 2005 07:16 PM