PDA

View Full Version : EW loggers and Linux + WINE


Martin Gregorie[_4_]
December 16th 08, 08:27 PM
Has anybody tried succeeded in getting the EW Uploader to run on Linux
under WINE and successfully talk to an EW Model D?

I'm using WINE 1.1.9 under Fedora 9. The uploader seems to run OK and can
see the logger when I boot it, but for some reason its not managing to
login to the model D. The Port list window shows the uploader trying to
connect to the logger for 2 seconds or so. Then the port state goes back
to "Awaiting connection" and the logger starts flashing.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |

bod43
December 17th 08, 01:13 AM
On 16 Dec, 20:27, Martin Gregorie >
wrote:
> Has anybody tried succeeded in getting the EW Uploader to run on Linux
> under WINE and successfully talk to an EW Model D?
>
> I'm using WINE 1.1.9 under Fedora 9. The uploader seems to run OK and can
> see the logger when I boot it, but for some reason its not managing to
> login to the model D. The Port list window shows the uploader trying to
> connect to the logger for 2 seconds or so. Then the port state goes back
> to "Awaiting connection" and the logger starts flashing.

This by the way is complete guesswork but
may with a bit of luck be worth considering.

The first thing that springs to mind is the
configuration of the serial port.

A google of [wine serial port] produces a few hits
that suggest that it is not all automagic (which is
perfectly reasonable).

Linux will need to release the port to wine and
windows will need to understand what ports are
available and what to refer to them by - com1, com7?

Martin Gregorie[_4_]
December 17th 08, 03:23 PM
On Tue, 16 Dec 2008 17:13:20 -0800, bod43 wrote:

> On 16 Dec, 20:27, Martin Gregorie >
> wrote:
>> Has anybody tried succeeded in getting the EW Uploader to run on Linux
>> under WINE and successfully talk to an EW Model D?
>>
>> I'm using WINE 1.1.9 under Fedora 9. The uploader seems to run OK and
>> can see the logger when I boot it, but for some reason its not managing
>> to login to the model D. The Port list window shows the uploader trying
>> to connect to the logger for 2 seconds or so. Then the port state goes
>> back to "Awaiting connection" and the logger starts flashing.
>
> This by the way is complete guesswork but may with a bit of luck be
> worth considering.
>
> The first thing that springs to mind is the configuration of the serial
> port.
>
> A google of [wine serial port] produces a few hits that suggest that it
> is not all automagic (which is perfectly reasonable).
>
> Linux will need to release the port to wine and windows will need to
> understand what ports are available and what to refer to them by - com1,
> com7?

Problem solved. I now have the latest version of the EW Uploader running
successfully on Linux under WINE 1.1.9.

I thought I could simply FTP my (oldish) copy of the uploader across to
Linux: the result semi-worked as described above. Then I found that there
is a 2003/4 Uploader release on the EW website that fixes some problems
with USB-Serial converters. I downloaded that and installed it by running
its installer under WINE. That 'just worked'.

This uploader version now talks to my model D through one of the built-in
serial ports on my motherboard. However, it still won't deal with the USB-
serial converter. That could be down to a number of reasons, ranging from
it simply not liking my converter through incompatibilities with the
Linux USB management system. Maybe WINE needs the Windows USB drivers to
be installed. Who knows.

I'm ignoring the USB problem because I have another solution. Both my
serial ports have permanent uses and I could do with a few more anyway,
so rather than waste time fooling with USB, I'll simply drop in a six
port PCI card and use that for the uploader.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |

Martin Gregorie[_4_]
December 17th 08, 07:07 PM
On Wed, 17 Dec 2008 16:26:49 +0000, Tim Newport-Peace wrote:

> Now if you had said that you were trying to work via a Serial/USB
> converter...
>
> These can give problems even in native Windows. It largely depends on
> the manufacturer of the converter. What make/model were you using?
>
Yes, I'm aware that they can be a bit dodgy and worse, I've set up WINE
to pretend its Win95, which is really pre USB.

How does a USB serial adapter appear to a Windows system and is a driver
needed? On a Linux program a USB serial adapter is to all intents and
purposes just another serial port (COM1-COM4 are /dev/ttyS[0-3] and USB
adapters are /dev/ttyUSB[0-9] but the name is the main [only?]
difference).

I'm using pfrac.com's U232-P9 USB-serial adapter. It costs a bit more
than the Belkin, but its selling point has always been that it 'just
works'. I've never tried it with Windows, but its always done what it
says on the tin with Linux. I've never noticed any slowness, but then
I've never run it faster than 9600 baud.

> A serial_PCI/Cardbus connection seems to be the best answer. I have
> never tried the Serial ExpressCard solution however.
>
I've just ordered a 6 serial port PCI card. That may be slight overkill,
but at least its cheap overkill.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |

Martin Gregorie[_4_]
December 17th 08, 11:37 PM
On Wed, 17 Dec 2008 19:07:01 +0000, Martin Gregorie wrote:

> I'm using pfrac.com's U232-P9 USB-serial adapter.
>
Oops. For 'pfrac.com' read 'pfranc.com'.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |

Google