Monitor udev events for the MMC subsystem.
cros-disks previously monitored udev events from the SCSI subsystem and
missed the events from the MMC subsystem, which is associated with some
SD card readers.
TEST=Tested the following:
1. `FEATURES=test emerge-$BOARD platform2`
2. Run the following command under a root shell to monitor DeviceAdded
and DeviceRemoved signal emitted by cros-disks on Link and Blaze:
dbus-monitor --system --monitor 'interface=org.chromium.CrosDisks'
A DeviceAdded signal should be emitted when a SD card is inserted.
A DeviceRemoved signal should be emitted when a SD card is removed.
Commit-Queue: Ben Chan <firstname.lastname@example.org>
Tested-by: Ben Chan <email@example.com>
Reviewed-by: Toni Barzic <firstname.lastname@example.org>
2 files changed