multiple notifications per plugin/removal

Bug #780003 reported by Kimiko Koopman
64
This bug affects 13 people
Affects Status Importance Assigned to Milestone
udev-notify
Confirmed
Wishlist
lokster

Bug Description

While only one USB device is plugged in or removed, it can still cause multiple notifications. This is confusing, as it is not clear that the notifications belong to one event, and annoying, because the notifications appear one after the other, lasting many seconds after the actual event.

For example, plugging in my Hama multi card reader gives notifications for:
- USB Device: Generic Mass Storage Device (USB icon)
- USB Storage Device: Generic Compact Flash (generic device icon)
- USB Storage Device: Generic SD/MMC (generic device icon)
- USB Storage Device: Generic MS/MS-PRO (generic device icon)
- USB Storage Device: Generic SM/xD-Picture (generic device icon)

Likewise, for my SanDisk microSD card reader:
- USB Device: Genesys USB Reader (USB icon)
- USB Storage Device: Generic STORAGE DEVICE (generic device icon)

While the naming of devices ('Genesys'?) and choice of icons (no pretty SD or MS icons for me :( ) is probably due to the udev system itself, udev-notify should still be able to combine these notifications into only one per plugin/remove event

Changed in udev-notify:
status: New → Confirmed
assignee: nobody → lokster (lokiisyourmaster)
importance: Undecided → Wishlist
Revision history for this message
Felix (apoapo) wrote :

At first i would like to thank you for this long-needed program.

Concerning the multiple events for 1 device:

Maybe collecting messages for lets say 2 seconds and then printing them in one notification to the screen would help.
We would still have multiple messages but only in 1 notification.

For me switching my screen and mouse+keyboard with a special switch means to have notifications for at least 1 minute.

Revision history for this message
VlaoMao (vlaomao) wrote :
Revision history for this message
Laszlo Boros (semmu) wrote :

The problem is that udev stores devices in a tree-like structure with grouping and categories, and when a device gets added, udev-notify will send notifications about every junction, while it should only notify about the last and most specific device.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.