openSUSE Forums > Hardware » Serial port for programming scanner

Go Back   openSUSE Forums > Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read

Hardware Questions about drivers, peripheral cabling, configuration

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-May-2009, 22:31
Puzzled Penguin
 
Join Date: Jul 2008
Posts: 26
qu1nn hasn't been rated much yet
Default 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
__________________
Pentium D 820, 2.80GHz, Intel D945PSN ATX, evga geforce 7600GT 256MB PCIE, Geil DDR2, (1GB x 2) Dual Channel 667MHz
Suse 11 x86-64bit
Reply With Quote
  #2 (permalink)  
Old 30-May-2009, 01:34
Parent Penguin
 
Join Date: Sep 2008
Location: Dubai
Posts: 943
syampillai hasn't been rated much yet
Default Re: Serial port for programming scanner

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:
Code:
chmod +x tk5.bat
__________________
openSUSE 11.1 (x86_64) with KDE 4.3.0 (Release 158) on MacBook Pro
Reply With Quote
  #3 (permalink)  
Old 30-May-2009, 01:34
ram88's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: relative
Posts: 1,169
ram88 hasn't been rated much yet
Send a message via MSN to ram88 Send a message via Skype™ to ram88
Default Re: Serial port for programming scanner

Code:
tk5=/home/username/tk5/tk5.0.6
export tk5
These two lines should be in the .bashrc file.

Code:
bash: ./tk5.bat: Permission denied
Type this in console (in the directory where tk5.bat is located)
Code:
chmod +x tk5.bat
You also need to install wine to run .bat files.

ps.: are you sure that this SDK is for Linux?
__________________
http://akoskm.blogspot.com/
http://yami.googlecode.com/

Do not login directly as root - Thank you!
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2