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.
BUG=chromium:375368
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.
Change-Id: I50277e2805561ac618f9f7623b582c09a2bf2aff
Reviewed-on: https://chromium-review.googlesource.com/203174
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Toni Barzic <tbarzic@chromium.org>
2 files changed