Rather than commenting out the merge key line as you have done above,
you can move the E220 section inside the <match key="storage.drive_type"
string="cdrom"></match> clause, which will remove the fake-cd-drive
entry. It doesn't work if you put it inside the <match
key="storage.lun" int="1"></match> clause, probably because it has a
different LUN, but I don't know how to work out what the LUN is.
Example:
<match key="storage.bus" string="usb">
<match key="storage.drive_type" string="cdrom">
<!-- Ignore the Huawei E220 USB HSDPA modem -->
<match key="@storage.originating_device:usb.vendor_id" int="0x12d1">
<match key="@storage.originating_device:usb.product_id" int="0x1003">
<merge key="info.ignore" type="bool">true</merge>
</match>
</match>
<match key="storage.lun" int="1">
<!-- Rest of file continues ... -->
--
[fix] Huawei E180 micro SD card not detected
https://bugs.launchpad.net/bugs/278067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs