Ticket #1833 (closed defect: fixed)
Getting rid of battery and usb useless dbus related debug output
| Reported by: | LeRoutier | Owned by: | openmoko-devel |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | unknown | Version: | |
| Severity: | normal | Keywords: | HasPatch |
| Cc: | Blocked By: | ||
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | yes | PatchReviewResult: | |
| Reproducible: |
Description
Both matchbox's applets for USB and Battery fill logs because of the way they handle DBus messages.
They recieve messages from everyone, not only for the waited Interface. So, each time a Hal or Freesmartphone or whatever dbus message arrives, they put a "Unknown dbus message, ignoring" in /tmp/x.log, making it useless.
The following patches would limit the noise.
Attachments
Change History
Changed 5 years ago by LeRoutier
- Attachment openmoko-panel-battery_dbus_debug.patch added
Changed 5 years ago by LeRoutier
- Attachment openmoko-panel-usb_dbus_debug.patch added
openmoko-panel-usb patch
comment:1 Changed 5 years ago by LeRoutier
To be more precise, for each unknown dbus message, we had :
(matchbox-panel-2:1542): DEBUG: battery_applet: signal_filter
(matchbox-panel-2:1542): DEBUG: (unknown dbus message, ignoring)
(matchbox-panel-2:1542): DEBUG: usb_applet: signal_filter
(matchbox-panel-2:1542): DEBUG: (unknown dbus message, ignoring)
in /tmp/x.log
Whatever the source or dest of the message was
comment:2 Changed 5 years ago by LeRoutier
Please note that openmoko-dialer2 (phone-kit) needs the same kind of love :
if ( !g_strcmp0( dbus_message_get_interface(msg), "org.openmoko.PhoneKit?.Headset" ) ) { ... }
Changed 5 years ago by LeRoutier
- Attachment openmoko-dialer2_dbus_debug.patch added
openmoko-dialer2_dbus patch
comment:4 Changed 5 years ago by roh
- HasPatchForReview set
BatchModify?: set HasPatchForReview? on 'keyword' contains 'patch'

openmoko-panel-battery patch