Skip to content

Update upower #836

Merged
merged 3 commits into from
Jul 3, 2018
Merged

Update upower #836

merged 3 commits into from
Jul 3, 2018

Conversation

donald
Copy link
Collaborator

@donald donald commented Jul 3, 2018

Make upowerd less chatty.

mariux64/mxtools#47 is waiting for this update.

Newer kernels emit bind and unbind events, which upowerd doesn't
understand.

    Jul 03 16:19:54 theinternet.molgen.mpg.de upowerd[761]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0
    Jul 03 16:19:54 theinternet.molgen.mpg.de upowerd[761]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0
    Jul 03 16:19:55 theinternet.molgen.mpg.de upowerd[761]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0
    Jul 03 16:19:55 theinternet.molgen.mpg.de upowerd[761]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0
    Jul 03 16:19:55 theinternet.molgen.mpg.de upowerd[761]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0

This became a problem, when we tried to used `blink1-tool` in a loop.
This could fill our log files.

A patch to make upowerd less chatty on newer kernels has been sent to
its development mailing list and committed to its master development
branch [1] [2].

Apply this patch as a backport.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=106019
[2] https://cgit.freedesktop.org/upower/commit/?id=40e525edbde41f24f53a3a5255fbace71c79261a
@pmenzel pmenzel merged commit 0c648f7 into master Jul 3, 2018
@donald donald deleted the update-upower branch September 14, 2018 08:47
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants