FS#36449 - [upower] log spam with Logitech Unifying devices

Attached to Project: Arch Linux
Opened by Peter Wu (Lekensteyn) - Wednesday, 07 August 2013, 23:07 GMT
Last edited by Jan de Groot (JGC) - Monday, 14 October 2013, 07:07 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
UPower 0.9.21 tries to improve support for Logitech Unifying devices, but contains some bugs that cause incorrect protocol communication and results in log spam that looks like:

UPower-Linux-WARNING **: failed to coldplug unifying device: invalid response from device: 7

A series of patches (targeting 0.9.22) is available at:
http://lists.freedesktop.org/archives/devkit-devel/2013-August/001417.html

This issue was not exposed in Arch until 0.9.21 because of:
- Find hidraw devices correctly with systemd udev >= v196 (Arkadiusz Miśkiewicz)

For now, I suggest keeping 0.9.20 in the repos. (unless you consider log spam, potentially growing memory usage because of many HID actions filling the queue and a high chance of broken battery readings for Unifying receivers not a big issue).

Copy of NEWS:
Version 0.9.21
~~~~~~~~~~~~~~
Released: 2013-07-26

New Features:
- Add support for Logitech Wireless (NonUnifying) devices (Arkadiusz Miśkiewicz)
- Use PIE to better secure installed tools and also use full RELRO in the daemon (Richard Hughes)

Bugfixes:
- Allow clients to call org.freedesktop.DBus.Peer (Richard Hughes)
- Detect udev rules dir (Tom Gundersen)
- Drop --enable-systemd and linking to libsystemd-daemon (Martin Pitt)
- Find hidraw devices correctly with systemd udev >= v196 (Arkadiusz Miśkiewicz)
- Fix test for logind availability (Martin Pitt)
- Update the upower man page with all the current options (Richard Hughes)
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 14 October 2013, 07:07 GMT
Reason for closing:  Fixed
Comment by Peter Wu (Lekensteyn) - Tuesday, 08 October 2013, 15:51 GMT
Fixed with UPower 0.9.22, announcement below:

---
Standing in for Richard, I just did a new UPower release as we fixed
some rather important bugs.

http://upower.freedesktop.org/releases/upower-0.9.22.tar.xz
sha256sum: 795f0d1a8ae4d03f7170a207b08e484ba0c6ba9c8d4f33a98a61765ddd81c5a1

Version 0.9.22
~~~~~~~~~~~~~~
Released: 2013-10-08

New Features:
- Add temperature property for batteries (Seth Forshee)

Bugfixes:
- Fix error handling in up_client_get_properties_sync() (Bastien Nocera, Martin Pitt)
- Make GetHistory() array order consistent (Martin Pitt)
- Fix crash with bluetooth input devices (Martin Pitt)
- Lots of fixes/rework for Logitech wireless input devices (Peter Wu)
- Allow valid UTF-8 encoded properties (Shih-Yuan Lee (FourDollars))
- Detect the battery of bluetooth input devices (Shih-Yuan Lee (FourDollars))
- Only one warning if no valid voltage found (Timothée Ravier)
- openbsd: Do not call g_thread_init() (Richard Hughes)
Comment by Peter Wu (Lekensteyn) - Tuesday, 08 October 2013, 16:27 GMT
checksum changed:

Martin Pitt [2013-10-08 17:42 +0200]:
> Standing in for Richard, I just did a new UPower release as we fixed
> some rather important bugs.
>
> http://upower.freedesktop.org/releases/upower-0.9.22.tar.xz
> sha256sum: 795f0d1a8ae4d03f7170a207b08e484ba0c6ba9c8d4f33a98a61765ddd81c5a1

Sorry, that was a broken tarball (I figured out with Richard what
went wrong, we'll fix the missing files). I reuploaded it:

sha256sum: d31e81b5123c597df1bd246a371dd5eec88b3fdef5f514086f153577e3215f11

Loading...