modemmanager: generalize udev rules for XBee cellular

After the kernel update (v3.14 to v4.1) the sysfs path changed from:

/devices/soc0/soc.0/2100000.aips-bus/21f4000.serial/tty/ttymxc4

to:

/devices/soc0/soc/2100000.aips-bus/21f4000.serial/tty/ttymxc4

which caused the XBee Cellular not to be detected on the new kernel. These more
general rules are compatible with both kernels.

https://jira.digi.com/browse/DEL-4199

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
This commit is contained in:
Diaz de Grenu, Jose 2017-05-16 11:26:57 +02:00
parent 0ce722decf
commit 0e7f5d3a47
1 changed files with 2 additions and 2 deletions

View File

@ -4,9 +4,9 @@ ACTION!="add|change|move", GOTO="mm_digi_xbee_cellular_modem_end"
# baudrates may be used by setting the ID_MM_TTY_BAUDRATE udev tag. # baudrates may be used by setting the ID_MM_TTY_BAUDRATE udev tag.
# ConnectCore 6 SBC # ConnectCore 6 SBC
DEVPATH=="/devices/soc0/soc.0/2100000.aips-bus/21f4000.serial/tty/ttymxc4", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1" DEVPATH=="/devices/*/2100000.aips-bus/21f4000.serial/tty/ttymxc4", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1"
# ConnectCore 6UL SBC Pro # ConnectCore 6UL SBC Pro
DEVPATH=="/devices/platform/soc/2100000.aips-bus/21e8000.serial/tty/ttymxc1", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1" DEVPATH=="/devices/*/2100000.aips-bus/21e8000.serial/tty/ttymxc1", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1"
LABEL="mm_digi_xbee_cellular_modem_end" LABEL="mm_digi_xbee_cellular_modem_end"