linux/wine for K144XV/K3 Utility

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

linux/wine for K144XV/K3 Utility

Mike Markowski-2
Is anyone using Wine successfully on linux to update his K3 or K144XV?

Unfortunately, it seems there is only a Windows version of K144XV Utility, but I
can't get it to work in Wine.  Even after creating a com1 symbolic link to
/dev/ttyS0 in ~/.wine/dosdevices, K144XV Utility shows no serial ports.  I tried
the K3 Utility in Wine (rather than the linux version I normally use) and got
the same lack of serial ports.  Clicking "Refresh port list" didn't change things.

Any help is very welcome!

73,
Mike ab3ap
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: linux/wine for K144XV/K3 Utility

Thomas Horsten
Hi Mike

You have to call the link "com1" or something similar for it to work.

So e.g.:

$ ln -s /dev/ttyS0 ~/.wine/dosdevices/com1

Also you need to be a member of the group that has access to the ttyS*
devices, in Ubuntu it's dialout, if you're not do:

$ sudo adduser YOURNAME dialout
(obviously, replace YOURNAME with your username). Then log out and log back
in for the change to take effect.

73,
Thomas 2E0ETT

On 12 April 2011 12:45, Mike Markowski <[hidden email]> wrote:

> Is anyone using Wine successfully on linux to update his K3 or K144XV?
>
> Unfortunately, it seems there is only a Windows version of K144XV Utility,
> but I
> can't get it to work in Wine.  Even after creating a com1 symbolic link to
> /dev/ttyS0 in ~/.wine/dosdevices, K144XV Utility shows no serial ports.  I
> tried
> the K3 Utility in Wine (rather than the linux version I normally use) and
> got
> the same lack of serial ports.  Clicking "Refresh port list" didn't change
> things.
>
> Any help is very welcome!
>
> 73,
> Mike ab3ap
> ______________________________________________________________
> Elecraft mailing list
> Home: http://mailman.qth.net/mailman/listinfo/elecraft
> Help: http://mailman.qth.net/mmfaq.htm
> Post: mailto:[hidden email]
>
> This list hosted by: http://www.qsl.net
> Please help support this email list: http://www.qsl.net/donate.html
>
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: linux/wine for K144XV/K3 Utility

Nate Bargmann
It has also been noted that the com1 symlink must point to a *real*
serial port, i.e. /dev/ttyS0 or such.  I have had no luck with a USB to
Serial adapter, i.e. /dev/ttyUSB0, under Wine for any program.  However,
the adapters work flawlessly for native Linux programs including the K3
utility.  This would seem to be a problem in Wine rather than Linux or
the Windows program Wine is running.

73, de Nate >>

--

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: linux/wine for K144XV/K3 Utility

Mike Markowski-2
Thanks, Nate.  I'm lucky enough to have a real serial port, so no usb issues to
worry about.  Also, the utility to open up transmit for MARS ran fine under
Wine.  It's just the K144XV and K3 utilities that don't pick up the serial port.
 Numerous other ham related programs are successfully using /dev/ttyS0, so it's
very likely a Wine configuration problem (though the directions are pretty simple!)

Since it sounds like your Wine set up is working, can I ask what you had to do?
 As I read the directions, I only have to:

  $ cd ~/.wine/dosdevices
  $ ln -s /dev/ttyS0 com1

and then run Wine.  Yet, the utilities show no serial port!  Frustrating.

73,
Mike ab3ap

On 04/12/2011 09:27 AM, Nate Bargmann wrote:
> It has also been noted that the com1 symlink must point to a *real*
> serial port, i.e. /dev/ttyS0 or such.  I have had no luck with a USB to
> Serial adapter, i.e. /dev/ttyUSB0, under Wine for any program.  However,
> the adapters work flawlessly for native Linux programs including the K3
> utility.  This would seem to be a problem in Wine rather than Linux or
> the Windows program Wine is running.
>
> 73, de Nate >>
>
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: linux/wine for K144XV/K3 Utility

Brendan Minish
In reply to this post by Nate Bargmann
I on the other hand have never had any issues with symlinking usb serial
ports under linux, I have done it on several machines under several
distros
thing to watch out for though is that in some distros these devices may
be placed in a different group than the standard TTY devices by udev


On Tue, 2011-04-12 at 08:27 -0500, Nate Bargmann wrote:
> It has also been noted that the com1 symlink must point to a *real*
> serial port, i.e. /dev/ttyS0 or such.  I have had no luck with a USB to
> Serial adapter, i.e. /dev/ttyUSB0, under Wine for any program.  However,
> the adapters work flawlessly for native Linux programs including the K3
> utility.  This would seem to be a problem in Wine rather than Linux or
> the Windows program Wine is running.
>
> 73, de Nate >>
>

--
73
Brendan EI6IZ

______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: linux/wine for K144XV/K3 Utility

Nate Bargmann
* On 2011 12 Apr 08:44 -0500, Brendan Minish wrote:
> I on the other hand have never had any issues with symlinking usb serial
> ports under linux, I have done it on several machines under several
> distros
> thing to watch out for though is that in some distros these devices may
> be placed in a different group than the standard TTY devices by udev

Well, you may well be correct.  As I run Debian, it would seem this
issue would be encountered by others.  Looking at the owner/group of the
files I see:

crw-rw---- 1 root dialout   4, 64 Apr 10 11:06 /dev/ttyS0
crw-rw---- 1 root dialout   4, 65 Apr 10 11:07 /dev/ttyS1
crw-rw---- 1 root dialout   4, 66 Apr 10 11:06 /dev/ttyS2
crw-rw---- 1 root dialout   4, 67 Apr 10 11:06 /dev/ttyS3
crw-rw---- 1 root dialout 188,  0 Apr 10 11:06 /dev/ttyUSB0

which show only major/minor device number differences as I would expect.
And my user is a member of the dialout group.

My dosdvices are as follows:

$ ls -l ~/.wine/dosdevices/
total 0
lrwxrwxrwx 1 nate nate 10 Nov 30 18:17 com1 -> /dev/ttyS0
lrwxrwxrwx 1 nate nate 12 Jan 15  2010 com5 -> /dev/ttyUSB0

I really should remove the link to com1 as that port is actually on
ttyS1 and dedicated to my weather station.

I use the Ubuntu Wine beta updates on my Debian boxes as the Debian
version of wine is quite old.  I've not tried using serial ports in Wine
for several releases so it's possible that it is fixed.  The latest
version of Wine I have installed is 1.3.17.

73, de Nate >>

--

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: linux/wine for K144XV/K3 Utility

Nate Bargmann
In reply to this post by Mike Markowski-2
* On 2011 12 Apr 08:36 -0500, Mike Markowski wrote:

> Thanks, Nate.  I'm lucky enough to have a real serial port, so no usb issues to
> worry about.  Also, the utility to open up transmit for MARS ran fine under
> Wine.  It's just the K144XV and K3 utilities that don't pick up the serial port.
>  Numerous other ham related programs are successfully using /dev/ttyS0, so it's
> very likely a Wine configuration problem (though the directions are pretty simple!)
>
> Since it sounds like your Wine set up is working, can I ask what you had to do?
>  As I read the directions, I only have to:
>
>   $ cd ~/.wine/dosdevices
>   $ ln -s /dev/ttyS0 com1
>
> and then run Wine.  Yet, the utilities show no serial port!  Frustrating.

There was a bug report in the Wine BTS from long ago that attempted to
fix some things in Wine's serial port implementation.  As I recall, the
issue was that the ports do not show in the registry in the same manner
as they do under Windows.  Unfortunately, I don't think the patch ever
became a part of Wine as my follow ups on my systems showed that the
ports still did not show and suggested work-arounds did not work for me.

As the source for the programs is not available, it's difficult to
determine (at least for someone not familiar with Windows) just how the
serial ports are searched for and found.  Perhaps it is possible that
they are using some method not supported by Wine.  Such is the downside
of closed source software.  :(

73, de Nate >>

--

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: linux/wine for K144XV/K3 Utility

Dick Dievendorff
The various utilities get their inventory of serial ports from the registry under HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM. Device drivers install values here in Windows.

Dick, K6KR

On Apr 12, 2011, at 7:03, Nate Bargmann <[hidden email]> wrote:

> * On 2011 12 Apr 08:36 -0500, Mike Markowski wrote:
>> Thanks, Nate.  I'm lucky enough to have a real serial port, so no usb issues to
>> worry about.  Also, the utility to open up transmit for MARS ran fine under
>> Wine.  It's just the K144XV and K3 utilities that don't pick up the serial port.
>> Numerous other ham related programs are successfully using /dev/ttyS0, so it's
>> very likely a Wine configuration problem (though the directions are pretty simple!)
>>
>> Since it sounds like your Wine set up is working, can I ask what you had to do?
>> As I read the directions, I only have to:
>>
>>  $ cd ~/.wine/dosdevices
>>  $ ln -s /dev/ttyS0 com1
>>
>> and then run Wine.  Yet, the utilities show no serial port!  Frustrating.
>
> There was a bug report in the Wine BTS from long ago that attempted to
> fix some things in Wine's serial port implementation.  As I recall, the
> issue was that the ports do not show in the registry in the same manner
> as they do under Windows.  Unfortunately, I don't think the patch ever
> became a part of Wine as my follow ups on my systems showed that the
> ports still did not show and suggested work-arounds did not work for me.
>
> As the source for the programs is not available, it's difficult to
> determine (at least for someone not familiar with Windows) just how the
> serial ports are searched for and found.  Perhaps it is possible that
> they are using some method not supported by Wine.  Such is the downside
> of closed source software.  :(
>
> 73, de Nate >>
>
> --
>
> "The optimist proclaims that we live in the best of all
> possible worlds.  The pessimist fears this is true."
>
> Ham radio, Linux, bikes, and more: http://www.n0nb.us
> ______________________________________________________________
> Elecraft mailing list
> Home: http://mailman.qth.net/mailman/listinfo/elecraft
> Help: http://mailman.qth.net/mmfaq.htm
> Post: mailto:[hidden email]
>
> This list hosted by: http://www.qsl.net
> Please help support this email list: http://www.qsl.net/donate.html
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: linux/wine for K144XV/K3 Utility

vk4tux
In reply to this post by Mike Markowski-2
On 04/13/2011 02:00 AM, [hidden email] wrote:

Is anyone using Wine successfully on linux to update his K3 or K144XV?

Unfortunately, it seems there is only a Windows version of K144XV Utility, but I
can't get it to work in Wine.  Even after creating a com1 symbolic link to
/dev/ttyS0 in ~/.wine/dosdevices, K144XV Utility shows no serial ports.  I tried
the K3 Utility in Wine (rather than the linux version I normally use) and got
the same lack of serial ports.  Clicking "Refresh port list" didn't change things.

Any help is very welcome!

73,
Mike ab3ap

Mike I use Crossover ( A commercial advanced version of wine with bottle format) with good success re K3 Utlity on fedora 14.

http://www.codeweavers.com/account/downloads/install-crossover-pro-10.0.0.bin

Good setup info here for an icom rxr software but same symlink principles;

http://www.garfnet.org.uk/joomla/index.php?option=com_content&task=view&id=89&Itemid=16  <http://www.garfnet.org.uk/joomla/index.php?option=com_content&task=view&id=89&Itemid=16>

Also Virtualbox

http://www.virtualbox.org/wiki/Linux_Downloads

running xp or win7 os works very well too under any supported Linux host.


Adrian ... vk4tux

______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: linux/wine for K144XV/K3 Utility

Nate Bargmann
In reply to this post by Dick Dievendorff
* On 2011 12 Apr 10:18 -0500, Dick Dievendorff wrote:
> The various utilities get their inventory of serial ports from the registry under HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM. Device drivers install values here in Windows.

Thanks, Dick.

That at least provides a starting point in figuring out if Wine is
populating that key correctly.

73, de Nate >>

--

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html