Autor |
Nachricht |
weinbi_restored
Gast
|
Verfasst am:
So März 29, 2009 15:11 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
UPDATE:Please check this tutorial: http://translate.googleusercontent.com/translate_c?hl=en&rurl=translate.google.com&tl=en&u=http://www.hotfix.pl/myphoneexplorer-instalacja-za-pomoca-wine-linux-debian-ubuntu-a271.htm&usg=ALkJrhhhb_KUFWA1TOJkGL11Rltax6RCRw
UPDATE:
When using MyPhoneExplorer 1.7.0 or higher, you can just use normal Setup!
The script mentioned below was written for the special edition which was necessary to run mpe before 1.7.0. The special MPE edition is no longer on the server so the script cannot find it. Anyhow, it is useful for tasks like pairing the phone. So you can run the script, then use the normal MPE setup and install it in the same directory (~/.wine/drive_c/MyPhoneExplorer).
HowTo use MyPhoneExplorer 1.6.1 MSComm-Edition @ Linux
A user, s0l1dsnak3123, wrote a script for installing MyPhoneExplorer on GNU/Linux. The script downloads everything it needs from the internet and installs it.
It has been tested on openSuSE 10.3 and Ubuntu "Hardy Heron".
The script can be found here:
http://www.fjsoft.at/forum/forumspace/files/myphoneinstaller.tar.gz
If the script doesn't work for you, you can try the previous, less comfortable, method and download and install all on your own - with the following HowTo:
There may be simpler ways,
There may be steps not necessary,
It may be not totally safe,
BUT it works!
At first: You should not think that you will be able to use every function!!
I've done every step on my notebook with:
> SuSE Linux 10.2 with Kernel 2.6.16.21-0.8 --> [www.novell.com/linux/] / [http://en.opensuse.org]
> KDE 3.5
> USB-Bluetooth Dongle
> wine 0.9.29 --> [www.winehq.com]
> MyPhoneExplorer 1.6.1 MSComm-Edition --> [www.fjsoft.at] / [www.fjsoft.at/forum/viewforum.php?f=6]
> I'm using a SE K750i
All commands with # at the beginning are done as root, all with $ as normal user.
~ means the home-path of the user.
Some names (e.g. of folders or of menus) may vary to your version because I did the hole thing on a german version, but I tried to use the english names.
Before Installing
At first of all, download the VB 6 Runtimes --> [www.google.com] / [http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c]
Then install them with the command:
Code: | $ wine VB6.0-KB290887-X86.exe |
MyPhoneExplorer does NOT work without them!!
HowTo Install MyPhoneExplorer 1.6.1 under GNU/Linux
1. Download MyPhoneExplorer 1.6.1 MSComm-Edition --> [www.fjsoft.at/files/MyPhoneExplorer_wine.zip] (direct link)
2. Unzip the zip-file
3. Copy the folder "MyPhoneExplorer" into the "Program Files" of wine
4. Rename the "oleaut32.dll" in the folder ~/.wine/windows/system32 - e.g. into "oleaut32-alt.dll"
5. Copy "stdole2.tlb" and "oleaut32.dll" from Windows into ~/.wine/windows/system32
6. Code: | $ wine regsvr32 oleaut32.dll |
7.
8. Then select MyPhoneExplorer.exe under "Applications", and create a new settlement for "oleaut32.dll" under "librarys". (Set to "Native (Windows)"!)
9. Close wincfg by pressing OK
10. All dlls in the MyPhoneExplorer-folder manuell registrieren. Soll heißen
Code: | $ regsvr32 <dllName>.dll |
It should also work with the following command, but I didn't test it:
11.Code: | $ wine ~/.wine/Programme/MyPhoneExplorer/MyPhoneExplorer.exe |
Now it should already be running!
HowTo Connect Cellphone with MyPhoneExplorer using Bluetooth
There is a good website with infos around bluetooth, but it's only available in German. Sorry, but I do not know a good info-site about Bluetooth under Linux in English. --> [www.jochen-lillich.de/article/bluetooth-unter-linux]
The bluetooth-tools of Bluez should be installed in most distributions, otherwise you have install them yourself. For help see the Bluez-Site. --> [http://bluez.sourceforge.net]
Start the bluetooth-services:
Code: | # /etc/init.d/bluetooth start |
Then you have search for your mobile phone. For that you should turn of bluetooth at every other device, if there are any. Turn it on on your cell phone and make it visible. Then type the command:
This command returns a hex-adress which should displace the "00:11:22:33:44:55" in the next command.
Code: | # rfcomm bind 0 00:11:22:33:44:55 |
Usually you have to do this every time after restarting. To avoid this, we change a few things in the bluetooth-config file. Therefore open the file with your common texteditor, I'm using kwrite:
Code: | # kwrite /etc/bluetooth/rfcomm.conf |
My rfcomm.conf (I've changed my hex-adress!):
Zitat: | #
# RFCOMM configuration file.
#
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:11:22:33:44:55;
# RFCOMM channel for the connection
channel 2;
# Description of the connection
comment "Example Bluetooth device";
} |
Then you have to restart the bluetoot-services:
Code: | # /etc/init.d/bluetooth restart |
Now we're going to link the device file with a wine device:
Code: | # cd ~/.wine/dosdevices |
Code: | # ln -is /dev/rfcomm0 com1 |
Now it should work, but it often doesn't. So start YaST > Hardware > Bluetooth. The Bluetooth-services should be activated and you should set the security-manager to "Local PIN..." und insert a user-defined PIN.
Now the great moments comes closer: the first contact with your mobile phone:
Code: | # echo "ATZ" > /dev/rfcomm0 |
Then your phone should ask, if the incomming connection should be permitted. Say yes and if there are any other questions, say also yes. Then the phone should ask for a PIN: Now type the SAME PIN than in YaST.
HowTo Connect Cellphone with MyPhoneExplorer using USB-Cable (by Winer)
Code: | :~/$ cd ~/.wine/dosdevice/ |
Code: | :~/.wine/dosdevices$ ln -is /dev/ttyACM0 com1 |
Of course, it's not necessary to use com1. The others should also work!
After all start the MPE:
Code: | $ wine ~/.wine/<Installpath of MPE>/MyPhoneExplorer.exe |
At the end you have to choose in the Settings "Stable Connection..."! Otherwise the phone can not be identified!!
Enjoy MyPhoneExplorer @ GNU/Linux!
2007 (c) by Weinberger Daniel
Comment from FJ
Very thanks to weinbi for this Tutorial. The developer of MyPhoneExplorer (FJ) cannot give any support for Linux/Wine. If you have questions or problems then this can be only answered by free Linux-Users which visit this forum. |
|
|
|
![](images/spacer.gif) |
lolo_restored
Gast
|
Verfasst am:
So März 29, 2009 15:15 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
Great !!!
I will try this, Thanks for your help ![Wink](images/smiles/icon_wink.gif) |
|
|
|
![](images/spacer.gif) |
rahmad_restored
Gast
|
Verfasst am:
So März 29, 2009 15:16 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
I've done until step 9, then I get error message : failed to load <name>.dll. any suggestion pls! I'm using Ubuntu feisty and wine 0.9.33 on laptop LenovoY400.. anyone success run MPE on Ubuntu ? |
|
|
|
![](images/spacer.gif) |
Gast
|
Verfasst am:
So März 29, 2009 15:17 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
HowTo Connect Cellphone with MyPhoneExplorer using USB-Cable (by Winer)
Code: | :~/$ cd ~/.wine/dosdrive/ |
Code: | :~/.wine/dosdevices$ ln -is /dev/ttyACM0 com1 |
All work o.k. but not com port to usb worked
Brand new Ubuntu 7.10 and wine. Help !
O.K. solved
must put com1 manual and then conect (no automatic search) |
|
|
|
![](images/spacer.gif) |
allotment_restored
Gast
|
Verfasst am:
So März 29, 2009 15:18 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
It rocks. Thanks ever so much. My K800i sonny ericsson is happy.
Here some more guidance to whoever trying.
I have just one question, can the newer versions (not on com1)
work under linux? If yes how (what dll to add and how to setuo the usb)
Mandriva 2007.1 32 bits kernel 2.6.17-16mdv on an i686
$ kded --version Qt: 3.3.8 KDE: 3.5.6
$ wine --version wine-0.9.33
MyPhoneExplorer 1.6.1 MSComm-Edition --> [www.fjsoft.at] /
[www.fjsoft.at/forum/viewforum.php?f=6]
http://www.fjsoft.at/files/MyPhoneExplorer_wine.zip
This version is important because it communicate on com1. I am not sure I understand german but it looks like other version use COM16 or whatever and the ole library may work differently or whatever, so the instructions works only for MyPhoneExplorer 1.6.1 and the file is called MyPhoneExplorer_wine.zip
you may need unzip to extract oleaut32.zip
http://www.dll-files.com/dllindex/dll-files.shtml?oleaut32
I looked at this one as well but was the same I already add; maybe worth
checking for you:
http://www.dll-files.com/dllindex/dll-files.shtml?msvbvm60
http://www.ascentive.com/support/new/support_dll.phtml?dllname=STDOLE2.TLB
http://appdb.winehq.org/objectManager.php?sClass=application&iId=5416
wine VB6.0-KB290887-X86.exe
You need to choose a path. I do not know what is best. I chose
/home/username/.wine/some_drive_c/windows
there you should now see vbrun60sp6.exe
dll instalation: I found out I needed the ocx as well
$ cd /home/username/.wine/some_drive_c/Program\ Files/MyPhoneExplorer/DLL/
Note: drive_c is called whatever you chose to call it, maybe just C
then
for i in *.dll; do wine regsvr32 $i; done; for i in *.ocx; do wine regsvr32
$i; done;
then
cd..
wine MyPhoneExplorer.exe
F2 (options), then 3rd menu from the top, then on the right choose the
language, then F4 to exit.
Language will now be English; you need to restart application for that to be implemented.
When to connect the mobile phone (USB connection)?
First switch on mobile (Yes!)
Then start MyphoneExplorer
ls -l /home/username/.wine/dosdevices/
You should see this flashing or red color or whatever telling you it is not
connected
com1 -> /dev/ttyACM0
$ ls -l /dev/ttyAC*
ls: /dev/ttyAC*: No such file or directory
Plug the USB cable into computer, the mobile comes up with icones
If you look at the log as root
# tail -f /var/log/syslog you should see
kernel: ohci_hcd 0000:00:02.0: wakeup
kernel: usb 1-3: new full speed USB device using ohci_hcd and address 6
kernel: usb 1-3: configuration #3 chosen from 1 choice
kernel: cdc_acm 1-3:3.1: ttyACM0: USB ACM device
kernel: cdc_acm 1-3:3.3: ttyACM1: USB ACM device
and
# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 006: ID 0fce:d039 Sony Ericsson Mobile Communications AB
Bus 001 Device 001: ID 0000:0000
If you do not see that switch off phone, unplug, start phone, plug phone
you can see two lines output from
$ ls -l /dev/ttyAC*
If you do not you have a problem.
Important DO choose the "phone mode", press select on the phone
Now start
wine MyPhoneExplorer.exe
Press F2 options, type COM1 choose a baud rate of 115200, press OK
Important "search for device" does not work, do not worry
Press F1, I did get phone could not be ID if I did not choose "Stable
connection" it worked.
The debug output is
Hauptfenster fertig geladen
DoItemUpdate
DoItemUpdate fertig
Avaiable Ports: COM0=;
Settimeout: RT=2000 WT=200
Port 1 wurde geöffnet !
[TX]: AT+CGSN
ErrMsg: Phone could not be identified
Port 1 wird geschlossen |
|
|
|
![](images/spacer.gif) |
FJ_restored
Gast
|
Verfasst am:
So März 29, 2009 15:20 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
Zitat: | Here some more guidance to whoever trying.
I have just one question, can the newer versions (not on com1)
work under linux? If yes how (what dll to add and how to setuo the usb) |
The Windows-Version contains a library which is not compatible with wine - the wine-version uses another library. Its not binded to COM1 or COM16. With the stable connection you can open all avaiable COM-Ports. |
|
|
|
![](images/spacer.gif) |
Gast
|
Verfasst am:
So März 29, 2009 15:21 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
Thanks for all the help here - I've now got this version of MyPhoneExplorer working in Wine and syncing with my K750. The only thing that doesn't work is getting calendars from Google Calendar - it crashes when I put my username/password in and then try to download the list of my calendars. Any idea of how to get this working? The error messages returned are:
Code: | fixme:msxml:xmlnode_GetIDsOfNames
fixme:toolbar:TOOLBAR_ReplaceBitmap resources not in the current module not implemented
err:trackbar:TRACKBAR_WindowProc unknown msg 204e wp=00000000 lp=0033b69c
fixme:msxml:DllCanUnloadNow
fixme:msxml:DllCanUnloadNow
fixme:msxml:DllCanUnloadNow |
The second line (beginning fixme:toolbar) was repeated many times. I'm using Ubuntu 7.04 if that's any help.
I can see there's an option in MyPhoneExplorer to open a iCal file over a network - but Google doesn't support authenticated access to calendars, and I really don't want to share my private calendar with everyone.
I've also got MyPhoneExplorer running inside a virtual installation of Windows 2000 (using Innotek VirtualBox), and when I try to do the same thing it crashes too! |
|
|
|
![](images/spacer.gif) |
FJ_restored
Gast
|
Verfasst am:
So März 29, 2009 15:22 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
Zitat: | At first: You should not think that you will be able to use every function!! |
Maybe it depends on the MSXML-library provided from Wine. |
|
|
|
![](images/spacer.gif) |
Gast
|
Verfasst am:
So März 29, 2009 15:22 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
Easy workaround found! Although trying to sync the phone with Google Calendar directly crashes the app, Google helpfully provide private iCal feeds for each calendar, which MPE imports just fine. I've submitted a report on this app to the Wine application database, and it should show up at http://appdb.winehq.org/objectManager.php?sClass=application&iId=5416 fairly soon. I've given it status Silver: "Applications with minor issues that do not affect typical usage". |
|
|
|
![](images/spacer.gif) |
Gast
|
Verfasst am:
So März 29, 2009 15:22 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
at end of installation i just get a a splash screen and nothing happens
jay@jay-laptop:~/.wine/drive_c/Program Files/MyPhoneExplorer$ sudo wine MyPhoneExplorer.exe
err:ole:CoGetClassObject class {167066b3-693a-44b0-afb4-422380ff940d} not registered
err:ole:CoGetClassObject class {167066b3-693a-44b0-afb4-422380ff940d} not registered
err:ole:CoGetClassObject no class object {167066b3-693a-44b0-afb4-422380ff940d} could be created for context 0x3
err:ole:CoGetClassObject class {167066b3-693a-44b0-afb4-422380ff940d} not registered
err:ole:CoGetClassObject class {167066b3-693a-44b0-afb4-422380ff940d} not registered
err:ole:CoGetClassObject no class object {167066b3-693a-44b0-afb4-422380ff940d} could be created for context 0x3
is the log from terminal
while registering i was not able to register iconlib.dll
please help
thanks |
|
|
|
![](images/spacer.gif) |
Gast
|
Verfasst am:
So März 29, 2009 15:23 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
i am also not sure if vb6 run time is installed as the above command just causes it to extract at some place giving another exe
and when i try to run it i get following error
jay@jay-laptop:~/.wine$ sudo wine /home/jay/.wine/drive_c/Program\ Files/vbrun60sp6.exe
fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 33f754,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\windows\\temp\\IXP000.TMP\\OLEAUT32.DLL" -> L"c:\\windows\\system32\\OLEAUT32.DLL"
fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 33f754,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\windows\\temp\\IXP000.TMP\\OLEPRO32.DLL" -> L"c:\\windows\\system32\\OLEPRO32.DLL"
fixme:ole:DllRegisterServer stub |
|
|
|
![](images/spacer.gif) |
Gast
|
Verfasst am:
So März 29, 2009 15:35 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
after some struggle i managed install the app
no error i get is 'phone not identified'
i am using usb cable to connect it |
|
|
|
![](images/spacer.gif) |
Gast
|
Verfasst am:
So März 29, 2009 15:35 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
K got it working from usb cable
Millions thanks for this tutorial |
|
|
|
![](images/spacer.gif) |
Eddie Plum_restored
Gast
|
Verfasst am:
So März 29, 2009 15:36 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
Zitat: | The Windows-Version contains a library which is not compatible with wine - the wine-version uses another library. |
FJ, does this mean we could use the current version of MPE and just overwrite the library with the one packaged in the zip file mentioned above? Or does the library get updated with each release?
Here's Hoping!
Ed. |
|
|
|
![](images/spacer.gif) |
FJ_restored
Gast
|
Verfasst am:
So März 29, 2009 15:36 |
![Antworten mit Zitat Antworten mit Zitat](templates/fisubsilversh/images/lang_english/icon_quote.gif) ![Nach oben Nach oben](templates/fisubsilversh/images/icon_up.gif) |
No - this would be too easy
I have to rewrite many things to make this Wine-Compatible Versions.
I think its enought if i make after every major-release a wine-version. |
|
|
|
![](images/spacer.gif) |
|
|
Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen.
|
Powered by phpBB
© 2001, 2002 phpBB Group :: FI Theme ::
Alle Zeiten sind GMT + 1 Stunde
Deutsche Übersetzung von phpBB.de
|