Re: ModemManager serial port lock-files




I am working with git version of MM and Ubuntu 12.04.

I have three different physical serial (RS232) ports and they are not
USB-to-serial. Now MM probes all of them. I want MM to automatically
detect the port the modem is connected to but there're another devices
controlled by another daemon.


Most likely you'll need to include the check of "pnp" subsystem also
when looking for the "ID_MM_PLATFORM_DRIVER_PROBE" udev tag. Your
problem seems to be that the RS232 ports are not listed within the
'platform' subsystem, and teerefore the check for the
ID_MM_PLATFORM_DRIVER_PROBE-based whitelist is not being done.

I now wonder if this 'pnp' subsystem can be considered fully equivalent
to the 'platform' one for our purposes.
Yes, PNP is basically equivalent to platform for us here.


Dan, wouldn't we need to explicitly require the device to be in the
whitelist for this subsystem? See attached patch.


-- 
Aleksander

Attachment: 0001-manager-require-whitelist-for-devices-in-the-pnp-sub.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]