Serial port for programming scanner

hello.

Trying to program an IC-R5 scanner without using windoze. It was suggested to try:
Downloading and Installing tk5 on Linux

failing miserably, please be patient as I am relatively a newb:
**
Q1) how do I even know what the configuration of the serial port is? (I didnt see anything in YAST, Hardware)**

The installation instruction (Step 5 Copied below):
*Define and export tk5, a new environment variable to point to the installation subdirectory just created.

tk5=/home/username/tk5/tk5.0.6
export tk5

To make the change permanent, you must add the two lines above to your shell’s profile, e.g., /home/username/.bash_profile if you use the bash shell.
*
I didnt see a /.bash_profile other than .bashrc

When I try to launch the application directly I get the following error:

username:~/tk5/tk5.0.6> ./tk5.bat
bash: ./tk5.bat: Permission denied

when I look at the permissions of the directory I get the following:
linux-pd:/home/username/tk5/tk5.0.6 # ls -l
total 356
-rwxr-xr-x 1 username users 42322 2004-12-08 21:24 api5.tcl
-rw-r–r-- 1 username users 15129 2002-04-23 15:05 COPYING
-rwxr-xr-x 1 username users 158724 2004-12-08 15:14 gui5.tcl
-rwxr-xr-x 1 username users 23185 2002-12-04 09:31 misclib.tcl
-rwxr-xr-x 1 username users 29508 2003-05-14 14:55 mylib.tcl
-rw-r–r-- 1 username users 6531 2004-12-08 21:39 README
-rw-r–r-- 1 username users 10608 2003-05-15 11:22 sample.csv
-rw-r–r-- 1 username users 4607 2003-05-26 11:41 shortwav.csv
-rw-rw-rw- 1 username users 315 2003-03-27 13:34 tk5.bat
-rwxr-xr-x 1 username users 4302 2004-03-11 01:02 tk5.tcl

Q2) any suggestion on how to attack the problem?

thanks for your time
qu1nn

You are trying to run tk5.bat and it is not an executable file.
I’m not sure if that is the one you should try. (Please see the documentation once again). Generally, if you see a “.bat” file, it is meant for Windo$
However, if the documentation still says that you should run that file only, do the following and then try:

chmod +x tk5.bat
tk5=/home/username/tk5/tk5.0.6
export tk5

These two lines should be in the .bashrc file.

bash: ./tk5.bat: Permission denied

Type this in console (in the directory where tk5.bat is located)


chmod +x tk5.bat

You also need to install wine to run .bat files.

ps.: are you sure that this SDK is for Linux?