I have looked through Pitti's (upstream author) instructions of the tool, ut it seems that it only works on the already running device and that there is no way to capture the startup and shutdown sequences.
I have recorded the main record of the device this way: till@till-x1carbon:~$ lsusb [...] Bus 002 Device 009: ID 03f0:c211 Hewlett-Packard [...] till@till-x1carbon:~$ sudo umockdev-record /dev/bus/usb/002/009 > deskjet-2540.umockdev I have attached the file. One can record device operations, but only those which can get triggered by a shell command, not those who are triggered by a manual operation on the device (plug/unplug, power-cycle, press button, ...). Is there a shell command which triggers a shutdown, start-up, or reboot of the printer? Especially one has to take into account that the device keeps only its bus ID and the device ID increments by 1. @pitti, is there a way to record start-up or shutdown of a USB device? ** Attachment added: "deskjet-2540.umockdev" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1721839/+attachment/4967899/+files/deskjet-2540.umockdev -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1721839 Title: Services asked for by UDEV do not get triggered To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1721839/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
