Solved

segementation fault, digitizer problem

Posted on 1997-08-31
1
287 Views
Last Modified: 2013-12-15
Hi,

Perhaps someone can help me to solve my digitizer problem.

I´m using  a calcomp drawing board III. It is connected to ttyS1(com2)
and works with Linux (Suse4.4). I can use it as a mice for example.
But when I try to use the digitizer in the program ´GRASS - v.digit
(geographic research analysis program)´ I get an error message :
segmentation fault.
I know that the program works fine and I´ve got the right digitizer
driver.
So I assume it is a hardware problem. In my linux box there is an Asus
P55 PCI board.

I tried to change the dram settings in the bios setup with the result
that sometimes appears an other error message when I run the GRASS
program. But this message wasn´t reproducible.

Do you have any suggestion. Perhaps you know a possibility to test the
tty-port when the program and the digitizer try to communicate.

Any hint is helpfull.

Thanks very, very much in advance and I´m sorry for my german-english.

Please reply by email

Christian

kerniebc@sp.zrz.tu-berlin.de
0
Comment
Question by:spyglass
1 Comment
 
LVL 4

Accepted Solution

by:
jlms earned 100 total points
ID: 1629498
The problems with digitizers  are of two kinds: the format of the data and the speed at which the data is sended.

To Isolate the problem follow these steps:

-Identify the format of the data required for your application: you have to check the manual of your program.

-Configure and test the digitizer:
  Check your digitizer's manual. Once you have configured it then test it, use this command:

cat /dev/ttyS1
or
cat /dev/ttyS1 > some_log_file (in case you need an constant stream of data)
and then press buttons and make movements  with the digitizer cursor and check that you are getting the information in the requested format. Be very careful with the cable that connects tha digitizer to your computer, some digitizers demand this cable to be shielded and the shield in contact with the metalic parts around the pins in both connectors. If you get the right format try
and the program still crashes the try changing the speed of the communication, this is particurlarly important if you have a constant stream of data. Check the Linux's setserial command ant how two change the samples/second in your digitizer.

-Check the software: if everything looks all right with the digitizer then try tracing your software. Try using the strace command to follow up the programs acctions. Maybe a permission is not set properly or a file somewhere is missing. Check that you have the exact requirements for your program (kernel version, libraries, X server, etc).
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Python variable _ manually assigned 9 86
Linux/Apache File Ownership/Permissions 1 65
curl SSL certificate unable to get local issuer certificate 15 72
awk file 6 56
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question