[DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread Neil
Louis, have you tried turning down the baud rate on both devices?
Some variations of the FTDI chipset need to be slowed down in order to work I 
believe.
I moderate a scanner group that uses both Prolific and FTDI serial chipsets 
under Wine and this was one of the answers.

Worth a go anyway.

Neil.
G7EBY.

--- In dstar_digital@yahoogroups.com, Louis Cashmer lcash...@... wrote:

 All,
 
 I am hoping someone else has been down this or a similar road. I have already 
 checked out the Wine forums. I have an ID1 and I am trying to get the ICOM 
 ID1 control software under Linux. The gui looks great but I can not 
 communicate via the Ubuntu 9.04 X64 system.
 
 I have determine that the ID1 uses an internal FTDI chip.
 
 Any help would be much appreciated.
 
 73
 Louis
 KG4QPQ





[DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread john_ke5c
 I am hoping someone else has been down this or a similar road. I have already 
 checked out the Wine forums. I have an ID1 and I am trying to get the ICOM 
 ID1 control software under Linux. The gui looks great but I can not 
 communicate via the Ubuntu 9.04 X64 system.

When I briefly tried to get the band module programming software to work under 
wine, I found that USB support really does not exist in wine.  The wine Wiki 
basically says that - http://wiki.jswindle.com/index.php/Drivers and scroll 
about half-way down the page.  Please let us know if you find a way to get it 
working.

73 -- John



[DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread Neil
Copied from another forum I asked on:

USB drivers do not work under WINE. This is along standing issue that
don't look like it'll be solved any time soon.

The note you refer to deals with an actual USB device running under
Linux. If it appears as a serial port under Linux you *should* be able
to use it under WINE by connecting to the relevant pre-mapped port. The
serial speed is often lowered to allow all the software to get their
interupts etc in.

The ID-1 has been made to work under Linux using CHIRP rather than the
supplied Icom software.


Thanks to Mark P for this.

Hope this helps.

Neil.
--- In dstar_digital@yahoogroups.com, john_ke5c k...@... wrote:

  I am hoping someone else has been down this or a similar road. I have 
  already checked out the Wine forums. I have an ID1 and I am trying to get 
  the ICOM ID1 control software under Linux. The gui looks great but I can 
  not communicate via the Ubuntu 9.04 X64 system.
 
 When I briefly tried to get the band module programming software to work 
 under wine, I found that USB support really does not exist in wine.  The wine 
 Wiki basically says that - http://wiki.jswindle.com/index.php/Drivers and 
 scroll about half-way down the page.  Please let us know if you find a way to 
 get it working.
 
 73 -- John





Re: [DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread iw2oaz
Quoting john_ke5c k...@hot.rr.com:

 I am hoping someone else has been down this or a similar road. I   
 have already checked out the Wine forums. I have an ID1 and I am   
 trying to get the ICOM ID1 control software under Linux. The gui   
 looks great but I can not communicate via the Ubuntu 9.04 X64 system.

 When I briefly tried to get the band module programming software to   
 work under wine, I found that USB support really does not exist in   
 wine.  The wine Wiki basically says that -   
 http://wiki.jswindle.com/index.php/Drivers and scroll about half-way  
  down the page.  Please let us know if you find a way to get it   
 working.

Hi John,
my personal experience was the follow:

Ubuntu 8.04 with all update
sudo apt-get install wine
Insert the CD for ID-1 software and install it via Wine. Now check  
your USB port generally the first /dev /ttyUSB0 , create a symbolic  
link like this sudo ln -s /dev/ttyUSB0 /dev/ttyS4 , go to  
Applications and find Wine applications menù, here you can find the  
ID-1 software click and start the program. You need to insert a serial  
port and put the 5 number, now your ID-1 is opertive via software.  
This procedure was replied into 4 machine with Ubuntu 8.04 and 8.10.

73 de Antonio IW2OAZ




[DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread Louis Cashmer
--- In dstar_digital@yahoogroups.com, iw2...@... wrote:

 Quoting Louis Cashmer lcash...@...:
 
  All,
 
  I am hoping someone else has been down this or a similar road. I   
  have already checked out the Wine forums. I have an ID1 and I am   
  trying to get the ICOM ID1 control software under Linux. The gui   
  looks great but I can not communicate via the Ubuntu 9.04 X64 system.
 
  I have determine that the ID1 uses an internal FTDI chip.
 
  Any help would be much appreciated.
 
 Hi Louis,
 you need to make a symbolic lynk from you USB port a a serial. For example:
 
 sudo ln -s /dev/ttyUSB0 /dev/ttyS4
 
 Now use the COM5 port for your ID-1 software.
 
 73 de Antonio IW2OAZ

Thanks, but the ID1 software doesn't use comm ports, it uses USB ports. You can 
actually plug a USB cable into an ID1. I truly appreciate the response, but 
that won't do it.





RE: [DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread Woodrick, Ed
Actually it does use a COM port. It's a virtualized COM port over the USB link. 
The USB implementation is essentially just a different plug.

From: dstar_digital@yahoogroups.com [mailto:dstar_digi...@yahoogroups.com] On 
Behalf Of Louis Cashmer
Sent: Sunday, August 02, 2009 12:35 PM
To: dstar_digital@yahoogroups.com
Subject: [DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine



--- In dstar_digital@yahoogroups.commailto:dstar_digital%40yahoogroups.com, 
iw2...@... wrote:

 Quoting Louis Cashmer lcash...@...:

  All,
 
  I am hoping someone else has been down this or a similar road. I
  have already checked out the Wine forums. I have an ID1 and I am
  trying to get the ICOM ID1 control software under Linux. The gui
  looks great but I can not communicate via the Ubuntu 9.04 X64 system.
 
  I have determine that the ID1 uses an internal FTDI chip.
 
  Any help would be much appreciated.
 
 Hi Louis,
 you need to make a symbolic lynk from you USB port a a serial. For example:

 sudo ln -s /dev/ttyUSB0 /dev/ttyS4

 Now use the COM5 port for your ID-1 software.

 73 de Antonio IW2OAZ

Thanks, but the ID1 software doesn't use comm ports, it uses USB ports. You can 
actually plug a USB cable into an ID1. I truly appreciate the response, but 
that won't do it.



Re: [DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread iw2oaz
Quoting Louis Cashmer lcash...@yahoo.com:

 --- In dstar_digital@yahoogroups.com, iw2...@... wrote:

 Quoting Louis Cashmer lcash...@...:

  All,
 
  I am hoping someone else has been down this or a similar road. I
  have already checked out the Wine forums. I have an ID1 and I am
  trying to get the ICOM ID1 control software under Linux. The gui
  looks great but I can not communicate via the Ubuntu 9.04 X64 system.
 
  I have determine that the ID1 uses an internal FTDI chip.
 
  Any help would be much appreciated.
 
 Hi Louis,
 you need to make a symbolic lynk from you USB port a a serial. For example:

 sudo ln -s /dev/ttyUSB0 /dev/ttyS4

 Now use the COM5 port for your ID-1 software.

 73 de Antonio IW2OAZ

 Thanks, but the ID1 software doesn't use comm ports, it uses USB   
 ports. You can actually plug a USB cable into an ID1. I truly   
 appreciate the response, but that won't do it.

Louis ID-1 use a CABLE USB but it need to cretae a virtual port.  
When you open the software it ask to you for put the COM POrt number  
click and see another little window that say COM Port Setting enter  
the desired port number for the USB terminal (1-256), enter here the  
port number.

73 de Antonio IW2OAZ



[DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread john_ke5c
I stand educated; I didn't know the ID-1 software talked via com port 
interfaces rather than via usb port interfaces.  What I said is true, wine does 
not support usb interfaces, but linux sure does.  Thus Pierre, Antonio, Ed, and 
maybe others have pointed a way to the solution - the ID-1 software talks to 
wine via com port interfaces which are mapped to linux USB serial com ports 
where linux handles the interface.

Let me add that you need to define any com port you intend to use under wine in 
the ~/.wine/dosdevices directory.  If you have physical com ports on your 
computer, you will find existing entries in this directory for those.  To 
complete Pierre's example, you also need to create an entry for com4 in the 
~/.wine/dosdevices directory:

ln -s /dev/ttyS4 com4

This tells wine where to look for com4, /dev/ttyS4 in this case which Pierre 
redefined to be the first USB port, /dev/ttyUSB0.

*** I'm pretty sure I've done this in one step before, all in the dosdevices 
directory.  Try

ln -s /dev/ttyUSB0 com4 (some distros use /dev/usb/ttUSB0...)

Then tell the ID-1 software to use com4.  Don't forget to attend the 
permissions issue also described by Pierre.  I think if you run wine as root, 
you don't have to worry about this, but regular users do not have permission to 
use tty ports in linux for security reasons.

73 -- John

 The ID-1 control software, only knows about COM: devices which under 
 linux are the /dev/ttyS On the other hand, the FTDI chips seen by 
 linux as a /dev/ttyUSB... Assuming that you only have one such device 
 connected on your system, it will be /dev/ttyUSB0. What you have to do is 
 to link to some ttyS device. Say you
 
   ln -s /dev/ttyUSB0 /dev/ttyS4
 
 The ID-1 control software will be able to connect to COM5.
 
 You also need to make sure that you have read/write access to the device. 
 Under most recent distributions, those device will grant R/W access to 
 members of the group uucp. If needed, you edit /etc/group to be included 
 in that group. Here's how it shows on my system where I have the ID-1 
 control software running on COM5:
 
[...@localhost]$ ls -la /dev/ttyUSB0 
crw-rw 1 root uucp 188, 0 aoû  1 16:12 /dev/ttyUSB0
[...@localhost]$ ls -la /dev/ttyS4
lrwxrwxrwx 1 root root 12 jui 27 20:45 /dev/ttyS4 - /dev/ttyUSB0
[...@localhost]$ grep uucp /etc/group
uucp:x:14:uucp,prt
 
 (Note that under Windows it's exactly the same: USB serial devices are 
 turned into COM ports and it is the COM port number that you actually 
 configure in the ID-1 control software. The only difference is that 
 Windows automatically assign a COM port number for the USB serial 
 interfaces.)
 
 '73 - Pierre
 __
 
 Pierre Thibaudeau
 VA2RKA/VA2RKB/VE2RIO/VE2RVR/VE2RQF/VE2RTO/VE2LKL/VE2TXD sysadmin





Re: [DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread Pierre Thibaudeau
Today, 18:58 -, john_ke5c wrote:

Let me add that you need to define any com port you intend to use 
under wine in the ~/.wine/dosdevices directory.  If you have physical 
com ports on your computer, you will find existing entries in this 
directory for those.  To complete Pierre's example, you also need to 
create an entry for com4 in the ~/.wine/dosdevices directory:

ln -s /dev/ttyS4 com4

This tells wine where to look for com4, /dev/ttyS4 in this case which 
Pierre redefined to be the first USB port, /dev/ttyUSB0.

Actually you dont need both things. Either one of the following will do 
the same thing, i.e. let the USB0 be known to wine applications as COM5.

   ln -s /dev/ttyUSB0 /dev/ttyS4
   ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com5

(Provided that the wine directory is in it's default location.)

Doing the first will make this device to be known as /dev/ttyS4 aka COM5 
to all users on the system and to all applications, while the latter will 
make it only for the owner of the .wine directory and only for wine 
applications. There is an advantage to the latter: it will be persistent, 
i.e. it will survive a reboot.

(Remember that ttyS's are numbered starting at 0 while COM's are numbered 
from 1. /dev/ttyS0 is mapped to COM1 and so on.)

'73 - Pierre
__

Pierre Thibaudeau
VA2RKA/VA2RKB/VE2RIO/VE2RVR/VE2RQF/VE2RTO/VE2LKL/VE2TXD sysadmin


[DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine

2009-08-02 Thread Louis Cashmer
Ah, I stand corrected. One should never assume. I thank everyone who is trying 
to help here. Thanks to Pierre I am making a lot of progress, but still don't 
have it working. :-( Tomorrow is another day and I'll have a fresh look at all 
the posts in this thread.
73
Louis
KG4QPQ

--- In dstar_digital@yahoogroups.com, Woodrick, Ed ewoodr...@... wrote:

 Actually it does use a COM port. It's a virtualized COM port over the USB 
 link. The USB implementation is essentially just a different plug.
 
 From: dstar_digital@yahoogroups.com [mailto:dstar_digi...@yahoogroups.com] On 
 Behalf Of Louis Cashmer
 Sent: Sunday, August 02, 2009 12:35 PM
 To: dstar_digital@yahoogroups.com
 Subject: [DSTAR_DIGITAL] Re: ID1 Software Under Linux with Wine
 
 
 
 --- In dstar_digital@yahoogroups.commailto:dstar_digital%40yahoogroups.com, 
 iw2oaz@ wrote:
 
  Quoting Louis Cashmer lcashmer@:
 
   All,
  
   I am hoping someone else has been down this or a similar road. I
   have already checked out the Wine forums. I have an ID1 and I am
   trying to get the ICOM ID1 control software under Linux. The gui
   looks great but I can not communicate via the Ubuntu 9.04 X64 system.
  
   I have determine that the ID1 uses an internal FTDI chip.
  
   Any help would be much appreciated.
  
  Hi Louis,
  you need to make a symbolic lynk from you USB port a a serial. For example:
 
  sudo ln -s /dev/ttyUSB0 /dev/ttyS4
 
  Now use the COM5 port for your ID-1 software.
 
  73 de Antonio IW2OAZ
 
 Thanks, but the ID1 software doesn't use comm ports, it uses USB ports. You 
 can actually plug a USB cable into an ID1. I truly appreciate the response, 
 but that won't do it.