The PSION Organiser II Homepage
Forum Home Forum Home Help Help Search Search Members Members Login Login Register Register

Welcome, Guest. Please Login or Register.
Why register?
   The Psion Organiser II Forum
   Psi2Win
   Psi2Win - Support & more
(Moderators: Mikesan, Boris)
   Psi2Win & Linux
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Psi2Win & Linux  (Read 5024 times)
Boris
Administrator




   
WWW

Posts: 552
Psi2Win & Linux
« on: Jan 21st, 2004, 3:32pm »
Quote Quote Modify Modify

Reportedly Psi2Win runs under WINE allright (I have not tested it).
However the current installer does not.  As of Nov. 2007, there is a new installer that should also do the job.
Therefore I have added a few words about Linux installation to the download page.
 
BTW If someone volunteers to write a native linux port, I will gladly supply him with the core routines.
« Last Edit: Nov 9th, 2007, 12:20pm by Boris »

Triholerahduliäöhh gugguh !! (tyrolean joy jodler)
Rough translation: There's a new build of Psi2Win!!
Email: boris[at]psion2[dot]org
gbage
new Member




   


Posts: 1
Re: Psi2Win & Linux
« Reply #1 on: Aug 13th, 2005, 9:58am »
Quote Quote Modify Modify

I'd volunteer, if i'm allowed to release the GNU/Linux port under GPL terms.
giuSerpe
Guest

Email

Re: Psi2Win & Linux
« Reply #2 on: Jul 18th, 2006, 5:13pm »
Quote Quote Modify Modify Remove Remove

hi boris!
 
there is anyone who can help you in irc://irc.freenode.net/openoffice.org-it
 
obviously  under GPL terms  
see you soon
 
giuSerpe  
 
p.s.: http://www.giuserpe.it/appunti/index.php?page=PsiToWin
joakinen
Member




   


Posts: 13
Re: Psi2Win & Linux
« Reply #3 on: Nov 3rd, 2006, 2:58pm »
Quote Quote Modify Modify

I'm trying to install Psi2Win in my Ubuntu-Linux, and after I follow the instructions in the Psi2Win pages (install the VB6, register MSCOMM32.OCX and execute the EXE directly I get a dialog saying:
 
Error 429 in get_FileSysObject
ActiveX component can't create object
 
I tried to send this error to bgc-at-surfeu-dot-at but get this error:
 
This is an automatically generated Delivery Status Notification
THIS IS A WARNING MESSAGE ONLY.
YOU DO NOT NEED TO RESEND YOUR MESSAGE.
Delivery to the following recipient has been delayed:
    [edited out]
Message will be retried for 2 more day(s)
Technical details of temporary failure:
TEMP_FAILURE: SMTP Error (state : 451 4.3.2 Please try again later
 
 
Can anydody help me with this?
« Last Edit: Nov 9th, 2006, 8:40pm by Boris »
Boris
Administrator




   
WWW

Posts: 552
Re: Psi2Win & Linux
« Reply #4 on: Nov 3rd, 2006, 3:44pm »
Quote Quote Modify Modify

Uh oh, another dependency I have forgot about...
 
Psi2Win uses the FileSystemObject, which is part of the "Microsoft Scripting Runtimes".
 
You can get these from Microsoft directly but you will have to do this from a Windoze machine because of their disposable 'Genuine Wi(n)dows Check'    
However, I bet Google will find a few alternatives....
 
About the mail error: the mail reached me a few minutes ago. The former surfeu.at is frequently changing owner and has recently been sold to etel.at, probably they are currently reconfiguring the servers....
« Last Edit: Nov 3rd, 2006, 3:45pm by Boris »

Triholerahduliäöhh gugguh !! (tyrolean joy jodler)
Rough translation: There's a new build of Psi2Win!!
Email: boris[at]psion2[dot]org
joakinen
Member




   


Posts: 13
Re: Psi2Win & Linux
« Reply #5 on: Nov 9th, 2006, 4:44pm »
Quote Quote Modify Modify

Thanks Boris for that advice! I found the scripting runtime v5.6 and installed it. Now Psi2Win works. Well... it appears on the screen but I am not able to make it dialog with my Organiser.
 
I checked the serial connection from Linux using minicom transferring files via XMODEM to/from the Organiser with the COMMS Link and that works perfectly, but the Psion protocol refuses to work. In my Windows machine everything works perfect.
 
Just in case someone is interested in this and can help, some data:
 
- I'm using WINE version 0.9.23 in a Ubuntu Linux. Tried 6.06 and 6.10 versions of Ubuntu.
- I've told Wine to use /dev/ttyS0 as COM1 by making a symbolic link in the "dosdevices" directory like this:
$ ln -s /dev/ttyS0 com1
 
Wine starts it writes in the console some "fixme" messages:
 
fixme:ole:CoRegisterMessageFilter message filter has been registered, but will not be used
fixme:ole:OleLoadPictureEx (0x95e57c,7414,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33 f970), partially implemented.
fixme:ole:OLEPictureImpl_SaveAsFile (0x19d8d8)->(0x1bbf00, 0, (nil)), hacked stub.
fixme:comm: set_queue_size insize 1024 outsize 512 unimplemented stub
 
In spite of those ugly messages Psi2Win appears on the screen. When I click on the "start" button, more messages appear
 
fixme:comm:GetCommProperties (0x94 0x7fbaf5f0 )
fixme:comm:GetCommProperties (0x94 0x7fbaf5f0 )
fixme:comm:GetCommProperties (0x94 0x7fbaf5f0 )
fixme:comm:set_queue_size insize 1024 outsize 512 unimplemented stub
fixme:comm:set_queue_size insize 1024 outsize 512 unimplemented stub
err:comm:get_baud_rate tcgetattr error 'Input/output error'
err:comm:set_baud_rate tcgetattr error 'Input/output error'
 
 
I keep trying. Any help will be appreciated.
 
joakinen
Boris
Administrator




   
WWW

Posts: 552
Re: Psi2Win & Linux
« Reply #6 on: Nov 9th, 2006, 9:39pm »
Quote Quote Modify Modify

First of all: I am constantly mocking at windows, but - as yet - havn't started using linux.  :-/  
So all I can do is guess...
Wine starts it writes in the console some "fixme" messages:
 
fixme:ole:CoRegisterMessageFilter message filter has been registered, but will not be used
fixme:ole:OleLoadPictureEx (0x95e57c,7414,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33 f970), partially implemented.
fixme:ole:OLEPictureImpl_SaveAsFile (0x19d8d8)->(0x1bbf00, 0, (nil)), hacked stub.
fixme:comm: set_queue_size insize 1024 outsize 512 unimplemented stub
In spite of those ugly messages Psi2Win appears on the screen. When I click on the "start" button, more messages appear
 
fixme:comm:GetCommProperties (0x94 0x7fbaf5f0 )
fixme:comm:GetCommProperties (0x94 0x7fbaf5f0 )
fixme:comm:GetCommProperties (0x94 0x7fbaf5f0 )
fixme:comm:set_queue_size insize 1024 outsize 512 unimplemented stub
fixme:comm:set_queue_size insize 1024 outsize 512 unimplemented stub

I think you can ignore the ones above!
 
But the next two look serious:
err:comm:get_baud_rate tcgetattr error 'Input/output error'
err:comm:set_baud_rate tcgetattr error 'Input/output error'

Obviously, the COM port cannot be accessed. Probably you need to set up the COM-port in WINEs configuration:
[serialports]
"Com1" = "/dev/ttyS0"

Also you may need to
#chmod 666 /dev/ttys0

I took this info from giuSerpes page about Psi2Win & Linux (see the link a few posts above).
The page is in italian, but that's better than nothing.
 
I hope this helps!
« Last Edit: Nov 10th, 2006, 2:26pm by Boris »

Triholerahduliäöhh gugguh !! (tyrolean joy jodler)
Rough translation: There's a new build of Psi2Win!!
Email: boris[at]psion2[dot]org
joakinen
Member




   


Posts: 13
Re: Psi2Win & Linux
« Reply #7 on: Nov 10th, 2006, 1:22pm »
Quote Quote Modify Modify

Hi,
 
I've already read giuSerpes' page. The problem is that explains how to configure an old WINE version, the one that used the wine.conf file for an all-in-one configuration.  
 
In the current WINE versions they have three .reg files to simulate the Windows registry, and a graphical tool to configurate all. Well, all except the mapping of serial ports, which is done via a symbolic link from the DOS name to de Linux device.  
 
http://www.winehq.org/site/docs/wineusr-guide/misc-things-to-configure#A EN385
 
[FAQ quote]
3.3.1. Serial and Parallel Ports
 
Serial and parallel port configuration is very similar to drive configuration - simply create a symbolic link in ~/.wine/dosdevices with the name of the device. Windows serial ports follow a naming convention of the word "com" followed by a number, such as com1, com2, etc. Similarly, parallel ports use "lpt" followed by a number, such as lpt1. You should link these directly to the corresponding Unix devices, such as /dev/ttyS0 and /dev/lp0. For example, to configure one serial port and one parallel port, run the following commands:
 
     ln -s /dev/ttyS0 com1
     ln -s /dev/lp0 lpt1
[end of FAQ quote]
 
This produces the same effect that the entries under [serialports] produced in the older versions. As you can see in my previous post, this is what I did. I also changed the com port to use any of the 4 available.
 
The chmod line allows that *any* user can read and write through that serial port. I issued the chmod command, but didn't work either. I will investigate this further.
 
I also executed the psi2win program with administrator credentials (using the command "sudo") to test that the problem is not about permissions (the administrator has complete privileges over the serial ports), but the problem remains.
 
The next thing to do is to install some terminal emulation software for Windows under WINE to see if the serial port is usable. That will tell me if the problem is in the WINE configuration (the most probable cause) or in some incompatibility between Psi2Win and this version of WINE.
 
I will keep you informed...
 
« Last Edit: Nov 10th, 2006, 1:22pm by joakinen »
John Gardner
Member




   


Posts: 21
Re: Psi2Win & Linux
« Reply #8 on: Nov 24th, 2006, 10:52am »
Quote Quote Modify Modify

I too am running Linux (Kubuntu, the KDE version of Ubuntu ver. 6.0.1)
Since converting my machine away from Windows, I have had to drop back to using a bootable DOS disk to backup my Psion.  To be able to use Psi2Win again would be wonderful.
Boris
Administrator




   
WWW

Posts: 552
Re: Psi2Win & Linux
« Reply #9 on: Nov 25th, 2006, 3:02pm »
Quote Quote Modify Modify

Obviously, the problem with linux is the MSCOMMS ActiveX component.
Well, I could build a special linux version that wouldn't utilise MSCOMMS, but simply read and write to StdIn/StdOut.  
 
You would then have to pipe StdIn/Out to /dev/ttyS0
 
This would probaly work, as the Psion Link Protocol can be run without any handshaking.
 
The program would still have to be run under WINE.
 
However, this would mean a completly new implementation of the basic I/O routines. Since I'm very busy at the moment, this will not be possible too soon, but I guess there will be less stress around christmas.
 
However, since Guiserpe made it work, I urge you to keep on trying....

Triholerahduliäöhh gugguh !! (tyrolean joy jodler)
Rough translation: There's a new build of Psi2Win!!
Email: boris[at]psion2[dot]org
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

The Psion Organiser II Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2002,
Xnull. All Rights Reserved.
top