Some discussion with xnox on IRC helped me to get to a possible cause of
the problem:
journalctl -u udev-configure-printer@-devices-
pci:00-:00:14.0-usb2-2x2d2.service > journalctl-u.txt
gives (file redirection prevents trimming ;lines to terminal width):
--
-- Logs begin at Mon
** Tags added: rls-aa-incoming
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1721839
Title:
Services asked for by UDEV do not get triggered
Status in systemd package in
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: systemd (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.n
It seems that with a 70-printers.rules as follows at least a correct
service name is generated
--
# Low-level USB device add trigger
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="udev-configure-printer",
TAG+="systemd", PROGRAM="
This is not critical. The service is started, but the encoding/decoding
of the %i name appears to be not round-trip safe.
** Changed in: systemd (Ubuntu)
Importance: Critical => High
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subsc
Could you please record udevmock dump of plugging in and out a USB
printer and attach the udevmock file here?
https://www.piware.de/2013/02/umockdev-record-and-mock-hardware-for-
debugging-and-testing/
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages
Given that the service is oneshot, I need a full output of the journal
to see what has happened to said service.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1721839
Title
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
[...]
I have tried recording startup and shutdown now by recording with the
command "sleep 10" and doing the manual operation (plugging/unplugging
USB) during the sleep delay. Unfortunately, it does not work.
For unplugging I did
sudo umockdev-record --ioctl=/dev/bus/usb/002/009=deskjet-2540-ioctl-
shu
Here is the systemd journal of plugging the printer, taken with
journalctl -o verbose -f 2>&1 | tee systemd-journal-plug.log
After issuing the command (with printer unplugged) I waited some seconds
to see that there is no further output happening. Then I plugged the
printer and waited for no furt
Now I have proceeded as described in the previous comment for unplugging
the printer, issuing this command with the printer still plugged:
journalctl -o verbose -f 2>&1 | tee systemd-journal-unplug.log
waited some seconds, unplugged the printer, waited some seconds, Ctrl+C.
Output attached.
** A
Till, you should perhaps open a bug on systemd upstream on github since
it's likely an issue there? There might have a clue about it or people
who are available to debug the issue...
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribe
Reported this bug upstream:
https://github.com/systemd/systemd/issues/7109
** Bug watch added: github.com/systemd/systemd/issues #7109
https://github.com/systemd/systemd/issues/7109
** Also affects: systemd via
https://github.com/systemd/systemd/issues/7109
Importance: Unknown
St
** Changed in: systemd
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1721839
Title:
Services asked for by UDEV do not get triggered
Status
** Also affects: ubuntu-release-notes
Importance: Undecided
Status: New
** Changed in: ubuntu-release-notes
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https
** Changed in: systemd (Ubuntu)
Importance: High => Critical
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1721839
Title:
Services asked for by UDEV do not get trigger
16 matches
Mail list logo