SCIENTIFIC-LINUX-USERS Archives

July 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 28 Jul 2009 18:47:58 +0000
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (1233 bytes) , signature.asc (259 bytes)
WILLIAM J LUTTER wrote:
> SUMMARY I'm running SL 5.0 (Boron) with kernel 2.6.18-92.1.22.el5.   I have a
> 15 year old digitizer unit with vanilla 8N1 (8 bits, no parity, one stop bit)
> serial port parameters.
> 
> When I send the unit a status prompt which returns 55 characters, it comes
> back using a c "read(fd,data,80) (read in up to 80 bytes) as 8 bytes per read
> - as if there is an 8 byte buffer associated with the 16550A UART serial
> port.

the 16550 uart has a 16 byte fifo buffer.

if you are using a 'canned' i/o to read/write the 16550, that could be causing
your problems.

i would suggest that you pull http://www.national.com/ds/PC/PC16550D.pdf and
read so that you can write your own i/o to get interface that you want.

hth.


-- 

peace out.

tc,hago.

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****



ATOM RSS1 RSS2