Work around to use my usb bluetooth dongle to browse files from in my mobile and retrieve them.
I did several test to be able to transfert files from my mobile to my laptop and vice-versa.
The command line solution was ok but I prefer a gui solution to be able to browse also the files.
An important information is that their is a bluetooth interface provided with my Dell laptop (Latitude D505) but it seems it’s not working. So I use an usb dongle (sure it works, I was using it on crappy: my old HP laptop without bluetooth interface). My mobile is a Sony Ericsson K700i.
Using gentoo, I emerged some needed packages :
bluez-utils-2.24 bluez-hciemu-1.2 bluez-libs-2.25 bluez-hcidump-1.30
and started the bluetooth init.d service.
As I use gnome as main desktop manager, I first tryed to do this with gnome, so I installed gnome-bluetooth and I tryed the bluetooth-manager: nothing 🙁
Something goes wrong at this point, I cannot scan anything.
Let’s try to find why :
haring ~ # hciconfig hci0: Type: USB BD Address: 00:10:C6:57:FE:46 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:631 acl:0 sco:0 events:76 errors:0 TX bytes:609 acl:0 sco:0 commands:23 errors:0 hci1: Type: USB BD Address: 00:12:C8:00:07:CA ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING RX bytes:117 acl:0 sco:0 events:15 errors:0 TX bytes:310 acl:0 sco:0 commands:14 errors:0
My two interfaces are there, (but I’m not sure that the integrated works).
haring ~ # hcitool scan Scanning ... haring ~ #
mmm :-S
haring ~ # hcitool -i hci1 scan Scanning ... 00:0F:DE:C3:9D:CE K700i Fred 00:14:51:5A:D6:58 Kris Buytaert...s Computer
haha here’s my phone… so I need to say to gnome’s bluetooth-manager to use only the second interface !
but how ? I didn’t find it out (send me a mail if you know how, thx)
So I decided to disable the integrated interface (like I can do it with a networkcard) :
haring ~ # hciconfig hci0 down haring ~ # hciconfig hci0: Type: USB BD Address: 00:10:C6:57:FE:46 ACL MTU: 192:8 SCO MTU: 64:8 DOWN RX bytes:1078 acl:0 sco:0 events:127 errors:0 TX bytes:620 acl:0 sco:0 commands:25 errors:0 hci1: Type: USB BD Address: 00:12:C8:00:07:CA ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:423 acl:0 sco:0 events:21 errors:0 TX bytes:331 acl:0 sco:0 commands:16 errors:0 haring ~ # hcitool scan Scanning ... 00:0F:DE:C3:9D:CE K700i Fred 00:14:51:5A:D6:58 Kris Buytaert...s Computer
Then Let’s try again the gnome-bluetooth-manager: nothing ! :’-( (maybe the package is broken)
ps: in nautilus send to…. bluetooth doesn’t work neither 🙁
Ok, so let’s re-emerge that package to a newer version… :
haring x86" emerge gnome-bluetooth
In the meanwhile, let’s test kde ;-), I emerged kdebluetooth-1.0_beta1
fred@haring ~ $ kbluetoothd ERROR: Communication problem with kbluetoothd, it probably crashed. fred@haring ~ $ KCrash: Application 'kbluetoothd' crashing...
arrrrrghhhhh !!
Problem ! ok I’ll physicaly remove the usb dongle, and restart kbluetoothd and restarted the init.d buetooth service (It hangs if there is no running bluetooth interface)
Once kbluetoothd started I insert the usb dongle and put hci0 down again. I click on the tray icon of kbluetoothd and… my phone’s there in konqueror !
This works as I expected ! great 😉
Now, go back to gnome, I killed kbluetoothd, and started again gnome-bluetooth-manager. Scanning for devices… nothing 🙁
Conclusion with the kdebluetooth and konqueror it works !