[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse
Subject: Re: [opensuse] howto - Read Data from Serial Port?
From: Curt Grimley <Curt () CGSS ! net>
Date: 2008-02-29 6:34:31
Message-ID: 47C7A777.8090400 () CGSS ! net
[Download RAW message or body]
David C. Rankin wrote:
> Banning someone out of personal spite is uncalled for fascism wrote:
>> David C. Rankin wrote:
>>> Listmates,
>>>
>>> A linux question. I have a phone system that will output call
>>> logs through an rs-232 cable. I would like to write a script that
>>> will read the data from the serial port and input it into a mysql
>>> table.
>>
>> cat /dev/ttyS_ | data_storing_program
>>
You might check out the program called "minicom". It can handle the
port initialization for you.
Also, it can write out to a file - just make that a named pipe and you
can run your mysql or whatever script to load your data.
Curt
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic