Motion - Bug Report 2007x 06x 13x 064421
You are here: Foswiki>Motion Web>BugReports>BugReport2007x06x13x064421 (21 Feb 2008, AngelCarpintero)Edit Attach

BUG: Problem with serial port when motion start.

I have temperature sensor on /dev/ttyS2 in extension card on ISA slot . When I start motion some of symbol is drop depending CPU load. I can see the same when request sensor by minicom.
In dmesg I get messages "input overrun on /dev/ttyS2" almost every time I request
 the sensor. In configuration file all tracking are turned off. I try to coment 
   if ((i = open("/dev/tty", O_RDWR)) >= 0) {
      ioctl(i, TIOCNOTTY, NULL);
      close(i);
   }
in motion.c but nothing.
Please help.

Environment

Motion version: Daily Snapshot 2.06.07
ffmpeg version:  
Shared libraries: ffmpeg
Server OS: ASPLinux 11.2, kernel 2.6.20

-- AlexanderKhoryakov - 13 Jun 2007

Follow up

Please post Motion config file.

-- KennethLavrsen - 13 Jun 2007

Ok. In attachment motion configuration file.

-- AlexanderKhoryakov - 13 Jun 2007

Fix record

Seems the problem is the "track_port none".

The help text says that default is "none". That has been misunderstood. My guess is that the code tries to open a serial device called "none". The correct setting is to leave the setting undefined. Ie. commented out. And then the default is that no device is set.

-- KennethLavrsen - 21 Feb 2008


Indeed , rejecting bug.

-- AngelCarpintero - 21 Feb 2008

BugReportForm edit

TopicTitle Problem with serial port when motion start.
BugStatus Rejected
AssignedBugTo
SubmittedBy AlexanderKhoryakov
I Attachment Action Size Date Who Comment
motion.confconf motion.conf manage 21 K 13 Jun 2007 - 12:27 UnknownUser Motion configuration byte
Topic revision: r5 - 21 Feb 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.