I've written an app in a win32 environment that i'm now trying to port over to linux. I was using
Win32::SerialPort, and now am trying to use
Device::SerialPort. The thing is, I keep getting these errors, and I dont understand what they mean.
Every time I try to read from the serial port with the module's embedded
read() or
input() methods, i get
Error #9 in Device::SerialPort::read. Now, they're not fatal errors, but the result is that I cannot read ANY data from the serial port.
I've traced this Error #9 through the module's source code and I
think it's a POSIX error in the
read_vmin() and
input() subs, but I can't figure out anything further. I emailed the author of the module, and he had no idea what that error msg meant. Any ideas from a wiser monk than I?
__________
Give a man a match and he'll be warm for an hour. Set him on fire and he'll be warm for the rest of his life.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.