Tricks and tips at Samsung Eternity forum
  
Welcome, Guest. Please login or register.

News: Click here to check out our network of cell phone forums
Samsung Eternity Forum  
Join now and get hottest ringtones         Find Free New AT&T Cell Phones
         Screen Protection         Cheap Mobile Phone Accessories
Pages: [1]
Print
Author Topic: Running TkFileExplorer on Linux  (Read 3135 times)
drunnells
Newbie


Cookies: 3
Posts: 24


« on: June 26, 2009, 04:11:06 PM »

For anyone who is interested in running TkFileExplorer on Linux, these are the steps that I took to accomplish it on my LFS workstation running Wine v1.0-rc2 and kernel 2.6.30.

There may be other options required, but this is the only one that I needed to add to my own kernel configuration:

Device Drivers -> USB support -> USB Modem (CDC ACM) support

Once the new kernel was compiled and installed, plugging in the phone via USB showed this in a dmesg:

Code:
[10165.663952] usb 1-2: New USB device found, idVendor=04e8, idProduct=6601
[10165.663959] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[10165.663963] usb 1-2: Product: SAMSUNG CDMA Technologies
[10165.663966] usb 1-2: Manufacturer: SAMSUNG Electronics CO.,Ltd.
[10165.664048] usb 1-2: uevent
[10165.664157] usb 1-2: usb_probe_device
[10165.664162] usb 1-2: configuration #1 chosen from 1 choice
[10165.665349] usb 1-2: adding 1-2:1.0 (config #1, interface 0)
[10165.665392] usb 1-2:1.0: uevent
[10165.665712] cdc_acm 1-2:1.0: usb_probe_interface
[10165.665717] cdc_acm 1-2:1.0: usb_probe_interface - got id
[10165.665856] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

At this point you might now have a /dev/ttyACM0 device if you are using a distro that uses udev, otherwise you might need to create one with:

Code:
mknod /dev/input/ttyACM0 c 166 0

Once the device is created, assuming you have a working Wine configuration, you will need create a symbolic link to give Wine a COM port to let TkFileExplorer use. In my case I chose COM1 so I did a:

Code:
ln -s /dev/ttyACM0 ~/.wine/dosdevices/com1

And then I was ready to go. Download TkFileExplorer from one of the threads here that mention it and do a:

Code:
wine TkFileExplorer_2.2.exe

When you do a setup in TkFileExplorer you won't see any com ports listed, so just type in "com1" when asked. From there everything worked just like running it in windows.

I hope this helps some people out! I got fed up with trying to get Bitpim working on my system so aside from running TkFileExplorer from inside a VirtualBox or something, this seemed like the next best solution.
Logged

Dustin Runnells


norminnorman
Newbie


Cookies: 0
Posts: 4


« Reply #1 on: November 10, 2009, 10:47:25 PM »

I just ran across this post while trying to avoid installing Windows in Virtualbox.

I am running Ubuntu Jaunty with Wine 1.01 and can't get this to work.  So far I've plugged in the phone, looked and there was already a /dev/ttyACM0 so I ran 'ln -s /dev/ttyACM0 ~/.wine/dosdevices/com1' then ran tkfileexporer, set up 'com1' for the port and tried to connect.  It gives me "Error: The communication link is lost."  Have any ideas?  I REALLY don't want to have to install windows.
Logged
norminnorman
Newbie


Cookies: 0
Posts: 4


« Reply #2 on: November 10, 2009, 11:03:47 PM »

I just ran across this post while trying to avoid installing Windows in Virtualbox.

I am running Ubuntu Jaunty with Wine 1.01 and can't get this to work.  So far I've plugged in the phone, looked and there was already a /dev/ttyACM0 so I ran 'ln -s /dev/ttyACM0 ~/.wine/dosdevices/com1' then ran tkfileexporer, set up 'com1' for the port and tried to connect.  It gives me "Error: The communication link is lost."  Have any ideas?  I REALLY don't want to have to install windows.
NEVERMIND!  I followed the advice on this thread:
http://www.samsung-eternity.com/index.php?topic=6597.0
and it worked!  I guess you just have to be fast.
Logged
stoutg
Newbie


Cookies: 0
Posts: 4


« Reply #3 on: December 09, 2009, 08:47:06 PM »

I am running Ubuntu 9.10 Karmic Koala  and it automatically created /dev/ttyACM0 when I pluged in my phone.  I was missing the link 'ln -s /dev/ttyACM0 ~/.wine/dosdevices/com1'.  Also after starting TK File Explorer, I had to manually type in 'com1' into the port field, tkfe didn't autodetect it like it does in Windows.

Now everything is working great and I don't have to use Windows any more, yeah!!!
Logged
TimUSA
Newbie


Cookies: 0
Posts: 2


« Reply #4 on: March 31, 2010, 09:24:23 PM »

running Mandriva 2010, i get this:

Code:
[eriemw@localhost ~]$ su root
Password:
[root@localhost eriemw]# cd..
[root@localhost home]# cd..
[root@localhost /]# mknod /dev/input/ttyACM0 c 166 0
[root@localhost /]# ln -s /dev/ttyACM0 ~/.wine/dosdevices/com1
ln: creating symbolic link `/root/.wine/dosdevices/com1': No such file or directory

any ideas, kinda a newbie to linux
Logged
Pages: [1]
Print

Jump to: