Samsung SGH-E720 with Linux

It works ! Almost.

I first bought a random USB Bluetooth dongle called Trendnet TBW-101UB. As expected it was detected automatically by Mandriva 2006, but then the real pain in ass began.

Let’s start with the phone settings :

Bluetooth
1 – Activation : On
2 – My devices : localhost-0 ( see below )
3 – My phone’s visibility : On
4 – My phone’s name : SGH-E720
5 – Secure mode : Off

Since I use KDE I used the kdebluetooth package of my distro, then I changed the bluepin utility of Bluez to Kbluepin like described in the kde-bluetooth FAQ.
Then I somehow managed to exchange PIN numbers and save the computer ( called localhost-0 in the phone ) as an authorized device, don’t ask me how, and that’s it, nothing else worked within kde-bluetooth, worse it completely screwed up something with KDE, some KDE-related processes started to crash, the service called “dm” was also impossible to turn off.

I don’t know why I started to try out this how-to. It can sound stupid since I use Mandriva not Ubuntu, KDE not Gnome, and a Samsung phone not Nokia, but the OBEX protocole is actually the same and it worked so, what the hell !

So here’s what I did. See the original how-to for more details.

Note that the bluetooth service is still running but not kde-bluetooth.

$ su
$ urpmi gnome-bluetooth bluez-utils
# gnome-obex-server is already in gnome-bluetooth
$ modprobe l2cap
$ modprobe rfcomm
$ mknod /dev/rfcomm0 c 216 0
$ hcitool scan


hcitool scan
Scanning ...
00:12:47:AC:57:99 SGH-E720

$ vi /etc/bluetooth/rfcomm.conf

# with vi I changed the stuff to this : ( don’t ask me about the channel 10 I have no idea of what it is )


rfcomm0 {
# Automatically bind the device at startup
bind no;

# Bluetooth address of the device
device 00:12:47:AC:57:99;

# RFCOMM channel for the connection
channel 10;

# Description of the connection
comment "Example Bluetooth device";
}

$ sdptool add –channel=10 OPUSH

$ rfcomm bind /dev/rfcomm0 00:12:47:AC:57:99 10

$ gnome-obex-send /home/zoby/Desktop/file.mp3

And it worked !!!! It showed a prompt on both the phone and the computer and the file transfer began.

All the rest of the how-to didn’t work, that is how to transfer pictures from the phone to the computer with gnome-obex-server. Too bad. But I’m glad I can fill the 80Meg with mp3s now.

And like the guy said, do not forget that “Everytime that you reboot you must re apply this things (which you could insert into a boot-script)” :

modprobe l2cap
modprobe rfcomm
mknod /dev/rfcomm0 c 216 0
sdptool add –channel=10 OPUSH
rfcomm bind /dev/rfcomm0 YOUR_PHONE_ADDRESS 10

EDIT 2006/01/30

Cool.

Today I tried Ubuntu Live CD and tried again to make it work, and the symptoms were exactly the same as when using Mandriva/gnome-bluetooth, the transfer starts but stops after 10 seconds, but better than with Mandriva since before I had to restart the phone between each attempt. So it’s a little better than with then Mandriva packages.

But this time I found a cool trick.
So, when the transfer stops after 10 seconds, I can make it restart by doing :

Menu, Settings, 6 Bluetooth, 2 My devices, ubuntu-0 ( or whatever name ), Options, Service list, Object list, Refresh.

Everytime the transfer stops, press Refresh. Yeah, it’s annoying as hell, I know. I think something’s wrong with this phone, but it might be a software or a dongle problem, I can’t be sure.

I will try it with my mandriva later, and also I still have to transfer the pictures from the phone to the computer, so stay tuned. It’s a time consuming process so it might take some time.

EDIT :
With Ubuntu, I forgot the line :
rfcomm bind /dev/rfcomm0 YOUR_PHONE_ADDRESS 10
and it worked better ( no need no refresh all the time )
Weird…

List of phones related : Samsung SGH-D800 SGH-D500 SGH-X810 SGH-S410 SGH-E860 SGH-E880 SGH-D600 SGH-E730 SGH-E620 SGH-E730 SGH-E520


11 thoughts on “Samsung SGH-E720 with Linux

  • Anonymous

    I got the samsung e720 to transfer pics from the pone to host and the other way. with ubuntu 5.10 bluez-utils and some kde-stuff (kbuetoothd and Bluetooth OBEX Client) you can set everything in a gui there. quite flawlessly to set up.

    What would be really cool if the Samsung cold connect to a PAN bluetooth network and use the internet connection from the host;)

    Reply
  • Anonymous

    Thanks SO MUCH!

    Recently I got a Samsung D600. But I do not use windows.

    Now I can simply use kde bluetooth with a bluetooth dongle.

    Must get a decent bluetooth dongle from somewhere…….

    Reply
  • Anonymous

    I`ve just got a Samsung D600E, and i can transfer files between the computer and phone, and the other way trough gnome-bluetooth.

    But recently i`ve tried to make it possible to send sms from my computer and trough my
    D600. Have any of you succeded using gnome-phone-manager to send sms` from your computer?

    Reply
  • Anonymous

    Can you post the hciconfig -a of your Trendnet TBW-101UB dongle? I wish to know if it has CSR chipset as TBW-102UB. Thanks.

    Reply
  • zoby

    I don’t see anything about the chipset, but sure :

    zob@ubuntu:~$ hciconfig -a
    hci0: Type: USB
    BD Address: 00:0B:0D:07:32:B2 ACL MTU: 120:20 SCO MTU: 64:0
    UP RUNNING PSCAN ISCAN
    RX bytes:111 acl:0 sco:0 events:14 errors:0
    TX bytes:310 acl:0 sco:0 commands:14 errors:0
    Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00 0x00
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
    Link policy: RSWITCH HOLD SNIFF PARK
    Link mode: SLAVE ACCEPT
    Name: ‘ubuntu-0′
    Class: 0x3e0100
    Service Classes: Networking, Rendering, Capturing
    Device Class: Computer, Uncategorized
    HCI Ver: 1.2 (0x2) HCI Rev: 0x0 LMP Ver: 1.2 (0x2) LMP Subver: 0x757
    Manufacturer: Silicon Wave (11)

    note about the article :
    without the line :
    rfcomm bind /dev/rfcomm0 YOUR_PHONE_ADDRESS 10
    I can upload files from my mobile to the computer, but with it, it’s impossible..

    Reply
  • Lem

    Hi,

    I am trying for ages to get my D600 to connect through USB with either Kubuntu 6.06 Dapper Drake or FedoraCore 4, both running KDE.
    Well, couldn’t get it run yet. But I found an interesting program that seems to be made for it: comsams
    http://sourceforge.net/projects/comsams

    Well, if some of you succeed in connecting the phone through that software, I would be very interested. I suspect the program calls some libraries that aren’t installed on my PC. And since it doesn’t appear in the edition packages for neither of the 2 edition I am running, I don’t get the dependancies right. Well, it’s a thought.

    Anyway, give it a try.

    Reply
  • Anonymous

    It works ! I don’t beleive it ! I had given up after several weeks, and I thought that there was no solution for my Samsung D600E on Linux…

    But, the solution exists !

    This worked for me :
    - go comsams project URL (see Iem comment)
    - Download the QT static compiled version (I didn’t managed to compile the sources…)
    - Launch the file, you should get this window
    - In device field, type exactly the same than the snapshot : /dev/ttyACM0
    - Than connect your phone with the USB cable, and set the USB phone config to MODEM

    And I should rules !
    I have managed to transfert images and videos both way…
    Thank you Iem and zoby !

    Reply
  • Anonymous

    Tried today on Fedora core 6; it didn’t worked yet.

    Thanks for the explanations. Don’t forgetto start /etc/init.d/bluetooth service (I forgot).

    Merci

    Reply
  • Anonymous

    I have read this blog with great interest. I have a SAMSUNG X820, and still trying to get it communicate whith KDE in SUSE 10.1

    I got the Kbluetooth Client working. It worked out of the box. But I would still want to be able to share contact and calander info with my phone and PC.
    I have no idea of how? Have tried sync function in Kontact, and in evolution. But those sync functions are written for a Palm, not at 820 from Samsung.

    Can anybody give me a clue?

    Reply
  • Anonymous

    diepes. I have a Samsung SGH ZV50.
    On debian.
    Here is my crib notes.
    1. Enable bluetooth #/etc/init.d/bluetooth start
    2. Scan for bluetooth devices may have to make them visible #hcitool scan
    3. Use mac from above to find bluetooth #sdptool browse [MAC]
    4. Look through output for OBEX channel
    5. Mount phone memory on dir files with #obexfs -b 00:16:DB:99:0D:99 -B 4 files

    Hope i typed it correct, zoby’s cheeks had me distracted. p.s. not sure if i had to associate the laptop and phone, by connecting to laptop from phone and providing pin.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>