Actions

Difference between revisions of "Software Setup For Linux"

From The RadioReference Wiki

Line 50: Line 50:
 
===Create a 32 Bit Wine Prefix===
 
===Create a 32 Bit Wine Prefix===
  
:Delete the directory ~/.wine (If created in step 1 above) and create the new prefix.
+
:From a terminal window copy and paste each line below to delete the directory ~/.wine (If created in step 1 above) and create the new prefix.
 
<pre>
 
<pre>
 
rm ~/.wine
 
rm ~/.wine

Revision as of 16:14, 20 March 2016

Serial Port Permission

Any applications requiring access to the serial port(s) must have the current user added to the "dialout" user group. In a terminal window copy and paste the following replacing <You_User_Name_Here> with the current user name:

sudo adduser <You_User_Name_Here> dialout


Linux Scanner Applications Tested

BCProgTool

Cross platform scanner application and the easiest to set up in Linux. Use this if you’ve had too much wine and just want to scan:)

Windows Scanner Applications Tested Using Wine

The following applications do connect to the scanner and will allow upload and downloads. Additional features may be affected with the use in Wine as noted below.

Uniden

ARC-XT-Pro

Slow to authenticate to RR.com.

FreeScan

Doesn't authenticate connect to the RadioReference Database after Username and Password are entered.

ProScan

Doesn't find its User Manual from the toolbar.

ScanControl

Functions as intended. Also compatable with some RS Models.

Radio Shack

PSREdit

Details on this page go back to Ubuntu 8.10, support ending 2010. May work with a current installation of Wine as described below. Last release 2013.

Win500

Details on this page go back to .NET Framework v1.1 (Year 2003). May work with a current installation of Wine as described below. Last release was 2015 and is current in 2016.

Wine Installation Process and Serial Configuration

Install Wine

Using your Package Manager install the latest version of wine. This was tested using v1.6.2 (2016).

Create a 32 Bit Wine Prefix

From a terminal window copy and paste each line below to delete the directory ~/.wine (If created in step 1 above) and create the new prefix.
rm ~/.wine
WINEARCH=win32 WINEPREFIX=~/.wine winecfg
Close the Wine Configuration window by selecting “OK”.

Install Winetricks

Install winetricks and make it executable:
wget http://www.kegel.com/wine/winetricks
chmod +x winetricks

Install .NET Framework v4.5:

Note: .NET Framework (FW) 3.0 and XML Parser are prerequisites for .NET Framework 4.5. If they are not found in their respective ~/.cache directories the .NET FW 4.5 install will fail.
Download .NET Framework 3.0 from: http://www.oldversion.com/windows/download/net-framework-3-0
Copy netframework3.exe to ~/.cache/winetricks/dotnet30
Download MS XML Parser 3.0 SP 7 from: http://download.cnet.com/Microsoft-XML-Parser-MSXML-3-0-Service-Pack-7-SP7/3000-7241_4-10731613.html
Copy msxml3.msi to ~/.cache/winetricks/msxml3/
Proceed with the .NET Framework 4.5 Installation:
bash winetricks -q dotnet45 corefonts
Note: The actual install takes ~10 minutes. Wait until it finishes with a command prompt.

Check the .NET Framework v4.5 Install

Download the tool from here:
https://blogs.msdn.microsoft.com/astebner/2008/10/13/net-framework-setup-verification-tool-users-guide/
Check your .NET FW 4.5 installation run:
wine ~/Downloads/netfx_setupverifier_new/netfx_setupverifier.exe
In the "Product to Verify" pull down and select ".NET Framework 4.5"
Select "Verify Now"
When complete select "View Log"
If you don't see the following line return to step 2 above by deleting the .wine directory:
[DATE,TIME] "Install state for .NET Framework 4.5: installed with no service packs."
If you do the hard part is over! Exit the window.

Add current use to the dialout group

If not done from step 1 above.
Replace <Your_User_Name_Here> with the current user:
sudo adduser <Your_User_Name_Here> dialout
Logout then back in to complete the user group addition.

Create symbolic link to the serial port

For RS-232 Run:
ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
For USB to RS-232 Adapter Run:
ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1


Add serial port to the registry

Open the file with:
gedit ~/.wine/system.reg
Add to the file under the line “#arch=win32”:
[Hardware\\Devicemap\\Serialcomm] 1131331688
"COM1"="COM1"
Save and close the file.
Connect the cable.
Reboot

Select an Application

Select a link to one of the Windows applications above and install. Happy scanning.


Remaining Current

As of this date, March 2016, Microsoft is up to .NET Framework 4.6.1. Of course application and wine developers will lag behind. As they catch up it will be important to be running the most current version of wine that your Ubuntu Package Manager has to offer.

Equally important is to stay up to date with the most current version of .NET Framework that Wine and your Ubuntu distribution will handle. Today Wine advertises that .NET Framework 4.5.2 has been successfully tested with Ubuntu LTS 14.04. I happen to have been running Ubuntu Non-LTS 15.10 and after starting the .NET FW 4.5.2 Update I received the warning that it wasn't supported by my operating system. These current releases are only updates from either 4.0 or 4.5. When Microsoft releases what will no longer be an update but full release it would be advisable to perform the new installaion before any .NET FW is installed above.

Wine .NET Framework Version Support Table

https://appdb.winehq.org/objectManager.php?sClass=application&iId=2586