summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2014-11-29 16:23:33 +0000
committerDenis Shienkov <denis.shienkov@gmail.com>2014-12-03 11:54:19 +0100
commit52e0a7c73dc5ac3352e4cec8ac7c9295b94eef97 (patch)
treebb46ecd21681bf937111971cb63f768981b5a363 /examples
parent8975c4ad32a8244a0eadc2d0c6bb49ea489ac57a (diff)
downloadqtserialport-52e0a7c73dc5ac3352e4cec8ac7c9295b94eef97.tar.gz
Detect a valid of serial8250 ports
Usually, a Linux kernel reserves a places for the non-PnP serial devices, for example, such as ttyS[0-4/14]. In case the system has not a HW devices which are attached to this places, then these devices will be stubs and present as usual serial ports. Thus, we can know about a validity of these devices only in attempt to open them and to query a type of. Note: This patch is theoretical, because are not tested for a valid 8250 devices. Task-number: QTBUG-32024 Change-Id: I313145caadfeeee4d5fe3c8e16c1bcf4ae79214d Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions