modemmanager: remove support to serial XBee cellular devices
Serial support to XBee cellular devices is deprecated since the recommended communication protocol is USB, so we remove the udev rules that supported these devices. Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
b7b7d0110b
commit
400110aaf9
|
|
@ -1,11 +0,0 @@
|
||||||
ACTION!="add|change|move", GOTO="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
||||||
# By default, ModemManager expects a default baudrate of 57600bps. Different
|
|
||||||
# baudrates may be used by setting the ID_MM_TTY_BAUDRATE udev tag.
|
|
||||||
|
|
||||||
# ModemManager documentation states that the best practice is to use the DEVPATH
|
|
||||||
# this way rather than other rules such as KERNEL, so be careful when modifying
|
|
||||||
DEVPATH=="/devices/soc0/soc.0/2100000.aips-bus/21f4000.serial/tty/ttymxc4", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1", ENV{ID_MM_PHYSDEV_UID}="Digi XBee Cellular"
|
|
||||||
DEVPATH=="/devices/soc0/soc/2100000.aips-bus/21f4000.serial/tty/ttymxc4", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1", ENV{ID_MM_PHYSDEV_UID}="Digi XBee Cellular"
|
|
||||||
|
|
||||||
LABEL="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
ACTION!="add|change|move", GOTO="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
||||||
# By default, ModemManager expects a default baudrate of 57600bps. Different
|
|
||||||
# baudrates may be used by setting the ID_MM_TTY_BAUDRATE udev tag.
|
|
||||||
|
|
||||||
# ModemManager documentation states that the best practice is to use the DEVPATH
|
|
||||||
# this way rather than other rules such as KERNEL, so be careful when modifying
|
|
||||||
DEVPATH=="/devices/platform/soc/2100000.aips-bus/21e8000.serial/tty/ttymxc1", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1", ENV{ID_MM_PHYSDEV_UID}="Digi XBee Cellular"
|
|
||||||
DEVPATH=="/devices/soc0/soc/2100000.aips-bus/21e8000.serial/tty/ttymxc1", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1", ENV{ID_MM_PHYSDEV_UID}="Digi XBee Cellular"
|
|
||||||
|
|
||||||
LABEL="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
ACTION!="add|change|move", GOTO="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
||||||
# By default, ModemManager expects a default baudrate of 57600bps. Different
|
|
||||||
# baudrates may be used by setting the ID_MM_TTY_BAUDRATE udev tag.
|
|
||||||
|
|
||||||
# ModemManager documentation states that the best practice is to use the DEVPATH
|
|
||||||
# this way rather than other rules such as KERNEL, so be careful when modifying
|
|
||||||
DEVPATH=="/devices/platform/30a60000.serial/tty/ttymxc3", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1", ENV{ID_MM_PHYSDEV_UID}="Digi XBee Cellular"
|
|
||||||
|
|
||||||
LABEL="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
ACTION!="add|change|move", GOTO="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
||||||
# By default, ModemManager expects a default baudrate of 57600bps. Different
|
|
||||||
# baudrates may be used by setting the ID_MM_TTY_BAUDRATE udev tag.
|
|
||||||
|
|
||||||
# ModemManager documentation states that the best practice is to use the DEVPATH
|
|
||||||
# this way rather than other rules such as KERNEL, so be careful when modifying
|
|
||||||
DEVPATH=="/devices/platform/5a060000.serial/tty/ttyLP0", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1", ENV{ID_MM_PHYSDEV_UID}="Digi XBee Cellular"
|
|
||||||
|
|
||||||
LABEL="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
ACTION!="add|change|move", GOTO="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
||||||
# By default, ModemManager expects a default baudrate of 57600bps. Different
|
|
||||||
# baudrates may be used by setting the ID_MM_TTY_BAUDRATE udev tag.
|
|
||||||
|
|
||||||
# ModemManager documentation states that the best practice is to use the DEVPATH
|
|
||||||
# this way rather than other rules such as KERNEL, so be careful when modifying
|
|
||||||
DEVPATH=="/devices/platform/5a800000.i2c/i2c-0/0-0063/mca-cc8x-uart/tty/ttyMCA0", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1", ENV{ID_MM_PHYSDEV_UID}="Digi XBee Cellular"
|
|
||||||
|
|
||||||
LABEL="mm_digi_xbee_cellular_modem_end"
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
file://78-mm-digi-xbee-cellular.rules \
|
|
||||||
file://80-mm-net-device-blacklist.rules \
|
file://80-mm-net-device-blacklist.rules \
|
||||||
file://late-modems-scan.service \
|
file://late-modems-scan.service \
|
||||||
file://late-modems-scan.timer \
|
file://late-modems-scan.timer \
|
||||||
|
|
@ -15,11 +14,8 @@ SRC_URI += " \
|
||||||
PACKAGECONFIG_remove = " polkit"
|
PACKAGECONFIG_remove = " polkit"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
# Install udev rules for XBee cellular
|
|
||||||
install -d ${D}${nonarch_base_libdir}/udev/rules.d
|
|
||||||
install -m 0644 ${WORKDIR}/78-mm-digi-xbee-cellular.rules ${D}${nonarch_base_libdir}/udev/rules.d/
|
|
||||||
|
|
||||||
# Install udev rules for ModemManager blacklist devices
|
# Install udev rules for ModemManager blacklist devices
|
||||||
|
install -d ${D}${nonarch_base_libdir}/udev/rules.d
|
||||||
install -m 0644 ${WORKDIR}/80-mm-net-device-blacklist.rules ${D}${nonarch_base_libdir}/udev/rules.d/
|
install -m 0644 ${WORKDIR}/80-mm-net-device-blacklist.rules ${D}${nonarch_base_libdir}/udev/rules.d/
|
||||||
|
|
||||||
# Install systemd service for scanning late modems
|
# Install systemd service for scanning late modems
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue