?
Solved

segementation fault, digitizer problem

Posted on 1997-08-31
1
Medium Priority
?
303 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
jlms earned 200 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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

743 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