Re: ModemManager serial port lock-files
- From: Aleksander Morgado <aleksander lanedo com>
- To: Dmitry Ivanyushin <defance gmail com>
- Cc: networkmanager-list <networkmanager-list gnome org>
- Subject: Re: ModemManager serial port lock-files
- Date: Fri, 07 Jun 2013 15:31:56 +0200
I have several serial ports in my system but also I have a daemon that
is responsible for communication with several devices connected to those
serial ports. This daemon runs as root. However when MM starts it tries
to find modem via writing to all serial ports registered in the system.
That operation break protocols of these devices.
I am thinking of adding support of lock-files to MM. Is it good to add
such support in mm-manager.c to test locks, in mm-serial-port to acquire
and release those locks?
What MM version is this? MM shouldn't be probing platform serial (RS232)
ports by default, unless they are explicitly white-listed. For USB
devices exposing ttys which aren't modems, we can blacklist them in our
udev rules. Would that help?
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]