GUsb 0.4.4 released

2023-01-30 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Tarballs available here: https://github.com/hughsie/libgusb/releases This release adds the following features: * Add new API

GUsb 0.4.3 released!

2022-12-20 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.4.3 = Released: 2022-12-20 This release fixes the following bugs: * Export g_usb_device_has_tag() * W

GUsb 0.4.2 released!

2022-10-18 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.4.2 = Released: 2022-10-18 This release fixes the following bugs: * Close the GUsbDevice objects in gu

GUsb 0.4.1 released!

2022-10-01 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. New Features: - Allow loading and saving only devices with specific tags (Richard Hughes) - Include removed devices in the

GUsb 0.4.0 released!

2022-09-12 Thread Richard Hughes
getting BOS descriptors (Richard Hughes) - Allow emulating devices by saving and replaying device events (Richard Hughes) - Cache the list of interfaces and descriptors (Richard Hughes) - Serialize the GUsbDevice to and from JSON format (Richard Hughes) Bugfixes: - Ignore usb.ids classes

GUsb 0.3.9 released

2021-12-07 Thread Richard Hughes
cript (Ting-Wei Lan) - Fix hotplug after threaded device removal (Richard Hughes) - Fix version script check for GNU BFD linker on FreeBSD (Ting-Wei Lan) Tarballs available here: http://people.freedesktop.org/~hughsient/releases/ Richard.

GUsb 0.3.8 released!

2021-10-06 Thread Richard Hughes
Cañuelo) Bugfixes: - Add the GUsbEndpoint methods to the docs (Richard Hughes) - Fix hotplug handling and signal emission during enumerate (Benjamin Berg) Tarballs available here: http://people.freedesktop.org/~hughsient/releases/ Richard.

GUsb 0.3.7 released!

2021-05-24 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.3.7 ~ Released: 2021-05-24 New Features: - Add a FreeBSD CI target (Richard Hughes) Bugfixes: - Do

Re: Blacklisting power sources

2021-05-10 Thread Richard Hughes
On Sat, 8 May 2021 at 10:42, Florian Leeber wrote: > Following up on my investigations on our Android-based mobile devices I > came to the conclusion that the best solution for solving my fake > battery problem would be a blacklist. Is it being exported as a sysfs "power_supply" class? > I could

GUsb 0.3.6 released!

2021-03-12 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.3.6 ~ Released: 2021-03-12 New Features: - Add g_usb_device_get_string_descriptor_bytes() (Richard

GUsb 0.3.5 released!

2020-07-30 Thread Richard Hughes
subproject (Richard Hughes) - Fix version script to be more portable (Laurent Bigonville, Ting-Wei Lan) - Include methods on plain structs in the version script (Simon McVittie) Tarballs available here: http://people.freedesktop.org/~hughsient/releases/ Richard

Re: battery not detected when managed by PMU (apple powerbook)

2020-06-29 Thread Richard Hughes
On Mon, 29 Jun 2020 at 02:54, Giuseppe Sacco wrote: > Browsing UPower source code I noticed that PMU device is not managed at > all, at least on the Linux branch. If it helps, HAL used to have code to read from PMU devices. I don't think it got ported all those years ago to DeviceKit-power, the o

GUsb 0.3.4 released!

2020-02-20 Thread Richard Hughes
st during check (Richard Hughes) Bugfixes: - Include the USB bus in the generated platform_id (Richard Hughes) Tarballs available here: http://people.freedesktop.org/~hughsient/releases/ Richard. ___ devkit-devel mailing list [email protected]

GUsb 0.3.3

2020-01-30 Thread Richard Hughes
libusb_endpoint_descriptor (Emmanuel Pacaud) Bugfixes: - Fix high number of wakeups when checking the GUsbContext (Richard Hughes) - Use '#pragma once' to reduce boilerplate (Richard Hughes) - Wrap the upstream libusb_strerror() (Richard Hughes) Tarballs available here: http://people.freed

GUsb 0.3.2 released!

2020-01-06 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.3.2 ~ Released: 2020-01-06 Bugfixes: - Do not use deprecated libusb API (Richard Hughes) - Fix

GUsb 0.3.1 released!

2019-11-16 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.3.1 ~ Released: 2019-11-16 New Features: - Add g_usb_device_get_spec() (Richard Hughes) - Add

Re: UPower update

2018-09-18 Thread Richard Hughes
On Tue, 18 Sep 2018 at 19:25, Tom Mercer wrote: > I am having a very difficult time finding a person who can push changes to > UPower. Who do I talk to, and through what medium? Most of us here. Do you have something specific to talk about? :) Richard ___

UPower 0.99.8

2018-06-19 Thread Richard Hughes
Version 0.99.8 ~~ Released: 2018-06-18 New Features: - Lock down systemd service file - Add support for "Unknown" capacity level, and clarify handling of devices with coarse battery levels - Add a new version of up_client_get_devices() which unrefs contents Bugfixes: - Fix warn

GUsb 0.3.0

2018-02-15 Thread Richard Hughes
Version 0.3.0 ~ Released: 2018-02-14 New Features: - Add Travis integration (Richard Hughes) - Allow changing the path to usb.ids file (Ting-Wei Lan) - Port to the Meson build system (Richard Hughes) Bugfixes: - Replace libusb-1.0/libusb.h with libusb.h (Ting-Wei Lan) Tarball

UPower 0.99.7

2017-11-28 Thread Richard Hughes
Version 0.99.7 ~~ Released: 2017-11-28 New Features: - Add support for Bluetooth LE device batteries (Bastien Nocera) - Allow to be replaced via --replace,-r (Christian Kellner) Bugfixes: - Fix critical action after resume from hibernate (Miroslav Sustek) - Fix compilation with li

UPower 0.99.6

2017-09-11 Thread Richard Hughes
Version 0.99.6 ~~ Released: 2017-09-11 New Features: - Add UP_DEVICE_KIND_GAMING_INPUT for gaming devices (Bastien Nocera) - Detect joysticks as gaming input devices (Bastien Nocera) Bugfixes: - Correctly close inhibitor FD (Benjamin Berg) - Fix crash when '@' is present in the de

UPower 0.99.5

2017-07-24 Thread Richard Hughes
) - Get a serial number for device batteries (Bastien Nocera) - Refresh devices after waking up from sleep (Christian Kellner) Bugfixes: - Add proper error and cancellable handling to UpClient constructor (Martin Pitt) - Do not spin in a loop when /proc/timer_stats cannot be written (Richard Hughes

GUsb 0.2.11 released!

2017-07-24 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. New Features: - Add g_usb_context_set_flags() Bugfixes: - Fix the actual required GLib version Tarballs available here: ht

New mailing list for fwupd

2017-04-13 Thread Richard Hughes
[Since the overlap of people working on power/disks/hardware stuff might be high, I've taken the liberty to post this here -- sorry if it comes across as spam.] I've created a mailing list for fwupd and LVFS discussions. If you're interested in firmware updating on Linux, or want to know what's ha

GUsb 0.2.10 released!

2017-04-10 Thread Richard Hughes
Hughes) - Fix a memory leak when using control tranfers (Richard Hughes) - Fix gtk-doc build when builddir != srcdir (Ting-Wei Lan) - Fix symbol version table up to version 0.2.9 (Dominique Leuenberger) Tarballs available here: http://people.freedesktop.org/~hughsient/releases/ Richard

GUsb 0.2.9 released!

2016-03-21 Thread Richard Hughes
Version 0.2.9 ~ Released: 2016-03-21 New Features: - Add g_usb_context_wait_for_replug() (Richard Hughes) - Install gusbcmd as a debugging aid (Richard Hughes) GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with

UPower 0.99.4

2016-02-16 Thread Richard Hughes
New Features: - Add support for Logitech G700s/G700 Gaming Mouse (muzena) - Port to GDBus (Cosimo Cecchi) - Support g_autoptr() for all libupower-glib object types (Kalev Lember) Bugfixes: - Add critical action support for *BSD (Eric Koegel) - Change the default low battery policy to percenta

Re: Re-introduce pm-utils support for non-systemd systems

2015-12-02 Thread Richard Hughes
On 2 December 2015 at 19:41, Daniel Reurich wrote: > Is there any chance we could reintroduce the support for > suspend/hibernate/poweroff back in for non-systemd systems into the 1.0 > series. This is important still for non-systemd OS's including Devuan > and the *BSD's No, sorry. pm-utils is

GUsb 0.2.7 released!

2015-09-15 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.2.7 ~ Released: 2015-09-15 New Features: - Support g_autoptr() for all gusb object types (Kalev Lember

Re: UPower: fix build regression

2015-08-10 Thread Richard Hughes
On 6 August 2015 at 12:43, Arnaud Quette wrote: > Please find attached a patch that fixes a build regression on upower, > following the removal of dbus build deps. Pushed with a small change, thanks. Richard. ___ devkit-devel mailing list devkit-devel@

Re: UPower: 95-upower-hid.rules update

2015-07-29 Thread Richard Hughes
On 8 June 2015 at 09:13, Arnaud Quette wrote: > please find attached the first patch, addressing the added devices. I've pushed this, thanks. Richard. ___ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman

Re: UPower: 95-upower-hid.rules update

2015-07-29 Thread Richard Hughes
On 22 June 2015 at 14:14, Arnaud Quette wrote: > here is the patch, before I completly forgot. I've pushed this, thanks. Richard. ___ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-deve

UPower 0.99.3

2015-05-28 Thread Richard Hughes
Version 0.99.3 ~~ Released: 2015-05-28 Bugfixes: - Bail out when iDevice state is malformed (Bastien Nocera) - Defer getting iDevice info until ready (Bastien Nocera) - Fix crash on uninitialized variant (Vlad Orlov) - Fix libimobiledevice msg in configure (Bastien Nocera) - More

GUsb 0.2.5 released!

2015-05-28 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.2.5 ~ Released: 2015-05-28 New Features: - Add g_usb_device_get_custom_index() (Richard Hughes

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Richard Hughes
On 24 April 2015 at 21:36, Martin Pitt wrote: > That sounds better to > me than introducing yet another config file location/format? Me too; I'm pretty sure David was dead against this kind of configuration when we designed udisks/upower. Richard. ___

libgusb 0.2.4

2015-01-09 Thread Richard Hughes
Version 0.2.4 ~ Released: 2014-01-09 Notes: - Bump glib build requirement to 2.38 (Ignacio Casal Quinteiro) New Features: - Add g_usb_context_find_by_platform_id() (Richard Hughes) - Add g_usb_device_get_children() (Richard Hughes) - Add g_usb_device_get_device_subclass and

UPower 0.99.2 Release

2014-12-18 Thread Richard Hughes
Version 0.99.2 ~~ Released: 2014-12-18 Bugfixes: - Avoid unaligned memory access in hidpp-device (Peter Wu) - Bump GLib min req to 2.34 (Eric Koegel) - Correct check to prevent the display of invalid ASCII codes (Eric Koegel) - Fencepost array access error (Eric Koegel) - Fix clea

GUsb 0.2.3

2014-12-01 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.2.3 ~ Released: 2014-12-01 Bugfixes: - Correctly terminate the libusb event thread (Richard Hughes

GUsb 0.2.2 released!

2014-11-26 Thread Richard Hughes
G_USB_API_IS_SUBJECT_TO_CHANGE (Richard Hughes) - Use a thread to process libusb1 events (Richard Hughes) Tarballs available here: http://people.freedesktop.org/~hughsient/releases/ Richard ___ devkit-devel mailing list devkit-devel

Re: [PATCH 00/10] Memory leak fixes (bug 82659)

2014-11-26 Thread Richard Hughes
On 26 November 2014 at 11:21, Peter Wu wrote: > These memleaks have been found using valgrind and the suppression files > from GNOME.supp[1] and gobject-list with trace patches[2]. All pushed to master, thanks! Richard. ___ devkit-devel mailing list de

GUsb 0.2.1

2014-11-24 Thread Richard Hughes
Hughes) - Ignore 'unsupported' as a return value for kernel drivers (Richard Hughes) Tarballs available here: http://people.freedesktop.org/~hughsient/releases/ Richard ___ devkit-devel mailing list [email protected]

Re: [PATCH] upowerd: Fix cleanup in up_device_idevice_coldplug/finalize

2014-10-08 Thread Richard Hughes
Pushed to master with a small whitespace fixup. Thanks! Richard On 5 October 2014 06:03, Nikolay Martynov wrote: > Under certain conditions lockdownd_client_free was called > twice for same client. This caused SIGSEGV. > > This patch addresses this issue > > Signed-off-by: Nikolay Martynov > --

Re: [PATCH] daemon: Update aggregate device on battery removal

2014-10-08 Thread Richard Hughes
Pushed to master, thanks. Richard. On 2 October 2014 14:16, Evangelos Foutras wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=84345 > --- > I'm not sure if this is the correct way to fix this but it works for me. > > src/up-daemon.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff

Re: [PATCH] all: convert value from g_get_real_time() to seconds

2014-10-08 Thread Richard Hughes
Applied, with a small change (s/100/G_USEC_PER_SEC) -- thanks. Richard. On 2 October 2014 14:04, Evangelos Foutras wrote: > Commit 5ddfe0d (all: Use g_get_real_time() when possible) replaced calls > to g_get_current_time() with g_get_real_time(), however, we also need to > convert the return

UPower 0.99.1

2014-08-18 Thread Richard Hughes
he history directory at runtime (Cosimo Cecchi) - Do not log a critical warning when using _set_object_path_sync() (Richard Hughes) - Fix API doc for up_client_get_on_battery() (Bastien Nocera) - Fix possible UpHistoryItem leak on failure (Bastien Nocera) - Fix segfault on getting propert

UPower 0.99.0

2013-10-29 Thread Richard Hughes
Released: 2013-10-29 Notes: - This version contains major API changes. Use the 0.9.* versions if you want to keep using the old API. New Features: - Add WarningLevel and IconName properties to all devices (Bastien Nocera) - Add DisplayDevice composite battery (Bastien Nocera) - Enforce critic

UPower 0.9.23

2013-10-18 Thread Richard Hughes
Version 0.9.23 ~~ Released: 2013-10-18 Bugfixes: - Add missing dbus-glib-1 to private requires (Bastien Nocera) - Disable Watts-Up devices by default (Bastien Nocera) - Really don't overwrite retval with prop values (Bastien Nocera) - Update and correct Toshiba recall list (Bastien

Re: UPower 0.9.21

2013-07-26 Thread Richard Hughes
On 26 July 2013 16:17, Julien Danjou wrote: > Does that release fixes the various regression on the HID++ protocol? Yes, I believe so. Richard ___ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinf

UPower 0.9.21

2013-07-26 Thread Richard Hughes
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

Re: upowerd grabs my serial adapters

2013-07-17 Thread Richard Hughes
On 17 July 2013 09:11, Kees Jongenburger wrote: > Can probing generic serial devices please be disabled by default? You can disable it here: /etc/UPower/UPower.conf -- but I'm stuck between a rock and and a hard place with either option by default. Richard ___

Re: UPower: Reduce disk writes?

2013-06-07 Thread Richard Hughes
On 6 June 2013 20:39, Stuart Miller wrote: > concerns nonetheless. Please consider editing your save function to write > only the latest changes to these files. Baring that, consider letting the > save frequency be changed as a variable in /etc/UPower/UPower.conf. This is > certainly a desired fea

Re: [PATCH v2][UPower] build: detect udev rules dir

2013-05-07 Thread Richard Hughes
Applied, thanks. Richard. ___ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Re: [PATCH][UPower] build: detect udev rules dir

2013-03-20 Thread Richard Hughes
On 19 March 2013 12:33, Tom Gundersen wrote: > Udev rules may live in either /lib/udev/rules.d or /usr/lib/udev/rules.d > depending on the distro. > Remove the heuristic for deciding the dir, use pkgconfig to detect the > location and allow it to be > set manually. What distro uses /usr/lib/ude

UPower 0.9.20

2013-03-18 Thread Richard Hughes
Version 0.9.20 ~~ Released: 2013-03-18 New Features: - Add a --enable-deprecated configure argument to remove pm-utils support (Richard Hughes) - Deprecate running the powersave scripts (Richard Hughes) - Factor out the Logitech Unifying support to support other devices (Richard

GUsb 0.1.6 released!

2013-03-05 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.1.6 ~ Released: 2013-03-05 Bugfixes: - Do not use deprecated GLib functionality (Richard Hughes

Re: Patch submission for incorrect battery %

2013-02-12 Thread Richard Hughes
On 11 February 2013 00:38, mark ellis wrote: > I've made a new patch that works just the same, but instead of copy and > pasting i've just moved the block that works out energy-full and > energy-full-design out of the coldplug if. So energy-full and energy-full-design actually change at runtime?!

Re: pm-utils dependency

2013-02-12 Thread Richard Hughes
On 12 February 2013 09:41, Richard Hughes wrote: > I'll have a go at this today in git master. I've pushed the following commits: commit 9843589d2d80e6dc2b3f51338e64bd1da1c53860 Author: Richard Hughes Date: Tue Feb 12 10:53:49 2013 + Require applicati

Re: pm-utils dependency

2013-02-12 Thread Richard Hughes
On 11 February 2013 23:13, Ifai Gios wrote: > If these changes are made, and pm-utils is dropped at least for > HAVE_SYSTEMD, then we could get rid of an useless dependency in our systems, > and simplify our stack a bit more. So, what do you say? I'll have a go at this today in git master. Richa

GUsb 0.1.5 released!

2013-02-05 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.1.5 ~ Released: 2013-02-05 Bugfixes: - Don't use the deprecated INCLUDES in Makefile.am (Ri

Re: UPower Version 0.9.19

2013-01-03 Thread Richard Hughes
On 3 January 2013 09:58, Julien Danjou wrote: > Hehe, that's awesome! I don't think the T620 is supported yet, it seems > recent, so it's likely to use HID++ 2.0 for battery status, which I > didn't implement yet. I've the spec and even a mouse device to test > this, but not enough spare time for

Plans for UPower 1.0

2013-01-03 Thread Richard Hughes
I'm intending to branch 1.0 later this week. Plans I have for 1.0 are: * Removing the Sleeping/NotifySleep/Resuming/NotifyResume signals * Removing AboutToSleep(), Suspend(), SuspendAllowed(), Hibernate(), HibernateAllowed() methods This is because I believe that this low-level stuff should be lo

Re: UPower Version 0.9.19

2013-01-03 Thread Richard Hughes
On 3 January 2013 09:09, Julien Danjou wrote: > Too bad you released without my latest patch. :-) I don't know if you > noticed I've updated it, could you take a look maybe? Sorry, I missed that. Bugzilla sends me wy too many emails. I've pushed it to master now. I've actually bought a T620 y

UPower Version 0.9.19

2013-01-02 Thread Richard Hughes
Hughes) - Do not continue to poll if /proc/timer_stats is not readable (Richard Hughes) - Fix "can-hibernate" formatting in upower --dump (Martin Pitt) - Fix device matching for recent kernels (Peter Hurley) - Fix srcdir != builddir (Colin Walters) - Send resume signal when built with s

Re: [PATCH v2] Fix device matching for recent kernels

2012-12-29 Thread Richard Hughes
On 26 December 2012 18:51, Peter Hurley wrote: > In recent kernels, hiddev* devices now have class "usbmisc", rather > than "usb" (see http://www.spinics.net/lists/linux-usb/msg62276.html). > This change translates into a change in SUBSYSTEM matching for hiddev* > devices. This fix addresses this

GUsb 0.1.4 released!

2012-11-06 Thread Richard Hughes
g_usb_device_reset() to reset a connected device (Richard Hughes) - Add Vala bindings (Evan Nemerson) Bugfixes: - Assorted introspection annotation fixes (Evan Nemerson) - Rename inconsistently named gusb_* symbols to g_usb_* (Evan Nemerson) Tarballs available here: http://people.freedesktop.org

Upower 0.9.18 released

2012-08-08 Thread Richard Hughes
Version 0.9.18 ~~ Released: 2012-08-08 New Features: - Use systemd if possible for suspend and hibernate (Matthias Clasen) Bugfixes: - openbsd: Properly initialize update-time when creating devices (Landry Breuil) Richard. ___ devkit-deve

UPower 0.9.17

2012-06-25 Thread Richard Hughes
letti) - linux: Treat the battery state 'not charging' as PENDING_CHARGE (Richard Hughes) - Selectively disable warnings for deprecated GValueArray (Martin Pitt) Richard. ___ devkit-devel mailing list [email protected] htt

Re: [PATCH upower] Drop 'type' parameter from CancelRequest() signature

2012-05-30 Thread Richard Hughes
On 29 May 2012 22:20, Sascha Silbe wrote: > Sure, here they are. Thanks for the review! Both committed to master, thanks. Richard. ___ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-dev

Re: [PATCH upower] Drop 'type' parameter from CancelRequest() signature

2012-05-25 Thread Richard Hughes
On 22 May 2012 20:27, Sascha Silbe wrote: > CancelRequest() never worked because the method signature in D-Bus > introspection data didn't match the actual function signature. Patches look good, can you send them as attachments please? Thanks. Richard. ___

UPower 0.9.16 Released

2012-04-30 Thread Richard Hughes
Hughes) - Correct the cap on the energy rate (Gary Ching-Pang Lin) - Do not print error message for missing /etc/crypttab (Kelly Anderson) - Fix crash in up_device_csr_finalize (Martin Pitt) - Never detect HID devices with batteries as power supplies (Richard Hughes) - Re-coldplug dock status

Re: [PATCH] Correct the cap on the energy rate

2012-04-27 Thread Richard Hughes
On 27 April 2012 07:28, Gary Ching-Pang Lin wrote: > --- >  src/linux/up-device-supply.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Richard. ___ devkit-devel mailing list [email protected] http://lis

Re: [PATCH] libupower-glib: fix small memory leak

2012-04-26 Thread Richard Hughes
On 25 April 2012 12:33, Pavel Vasin wrote: > +       g_free (client->priv->daemon_version); Committed, thanks. Richard. ___ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Re: [PATCH] Re-coldplug dock status when resuming from sleep

2012-04-11 Thread Richard Hughes
On 11 April 2012 08:19, Evan Broder wrote: > It's possible for the docked state of a laptop (i.e. the display > connectivity state) to change while the laptop is asleep. Pushed with a couple of tiny cosmetic changes, thanks! Richard. ___ devkit-devel m

Re: upower battery status flashing when both AC and battery are plugged in

2012-02-23 Thread Richard Hughes
On 13 February 2012 13:57, Ralf Jung wrote: > $ upower --monitor > [14:50:33.294]  device removed:   /org/freedesktop/UPower/devices/battery_BAT0 > [14:50:34.108]  device added:     /org/freedesktop/UPower/devices/battery_BAT0 This looks like a kernel bug to me. Does the device keep appearing and

Re: upowerd claiming standard FTDI

2012-02-17 Thread Richard Hughes
On 16 February 2012 22:39, Joshua Lamorie wrote: > Any idea how long it should take for it to give up? I'll have a look at the > upower source to see if my device (the console for an embedded Linux device) > is somehow appearing to be a Watts Up. I should try three times iirc. Richard. ___

Re: upowerd spamming syslog - value "120.000000" out of range for percentage

2012-02-17 Thread Richard Hughes
On 17 February 2012 10:06, Arnaud Quette wrote: > we, in NUT, have a workaround for this, clamping any value higher than 100 %: Great, I'll do the same in upower. Thanks: commit 2c02598806425bf60244d60f45c578e23bf08152 Author: Richard Hughes Date: Fri Feb 17 10:30:47 2012 +

Re: upowerd claiming standard FTDI

2012-02-16 Thread Richard Hughes
On 14 February 2012 23:02, Joshua Lamorie wrote: > According to the USB UART datasheet from FTDI [2], the idVendor and > idProduct described in the above udev rule clearly refer to devices from > FTDI. Specifically, Yes, the watts up pro device didn't do this very well at all. > I don't have acc

Re: upowerd spamming syslog - value "120.000000" out of range for percentage

2012-02-16 Thread Richard Hughes
On 12 February 2012 22:01, johnm wrote: > shows. It seems upowerd doesn't like this value though. As you can see > below, upower -d reports 0%. Any fix for this? What's upower meant to do if the hardware reports 120%? Clip it to 100%? Richard. ___ devk

Re: upowerd high cpu usage

2011-12-07 Thread Richard Hughes
On 7 December 2011 09:03, Hizsnyai Gábor wrote: > KERNEL[350.765144] > change > /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 > (power_supply) > UDEV [350.768243] That's an insane amount of data from the kernel. I think you need to file a bug agains

GUsb 0.1.3 released!

2011-12-05 Thread Richard Hughes
GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. Version 0.1.3 ~ Released: 2011-12-05 Bugfixes: - Do not build with -Werror by default (Richard Hughes) - Add a

UPower 0.9.15 Released

2011-12-05 Thread Richard Hughes
evice type is usb (Richard Hughes) - Don't spam the log when we're saving history when on low power (Richard Hughes) - Fail the tests gracefully if GI is not available (Martin Pitt) - Fix crash in up_device_csr_finalize() (Martin Pitt) - Fix invocation of src/linux/integration-te

Re: [PATCH] upower: Handle Linux power supplies not exporting a present property

2011-12-03 Thread Richard Hughes
On 27 November 2011 19:39, Heiko Stübner wrote: > According to Anton Vorontsov (Linux power supply maintainer) power > supplies should not export a present property when they are not > hotpluggable and users of the properties should handle supplies > without present-property as always present. Ap

GUsb 0.1.2 released!

2011-11-11 Thread Richard Hughes
Hughes) Bugfixes: - Ignore EBUSY when trying to detach a kernel driver (Richard Hughes) - Fix a build failure on Debian (Richard Hughes) Tarballs available here: http://people.freedesktop.org/~hughsient/releases/ Richard ___ devkit-devel mailing list

GUsb 0.1.1 released!

2011-11-01 Thread Richard Hughes
API. New Features: - Add g_usb_device_get_platform_id (Richard Hughes) Bugfixes: - Add usb-1.0 to the gusb.pc 'Requires' (Richard Hughes) - Do not leak the GUdev API into the public API of GUsb (Richard Hughes) - Do not try to set the currently running device configuration twice (Rich

Re: [PATCH] Linear regression in UPower

2011-10-19 Thread Richard Hughes
rcular buffer and use an index to calculate the rate on each update. Signed-off-by: Richard Hughes Thanks! Richard. ___ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Re: [PATCH] Linear regression in UPower

2011-10-19 Thread Richard Hughes
On 19 October 2011 11:08, Leonardo Robol wrote: > Do you think the patch could be included upstream? I think that many > broken-batteries people would be glad to have a consistent estimate of > the remaining lifetime. Yes, this sounds cool. Back when all the estimation code was in g-p-m I used a

Re: UPower-DEBUG messages with statement that BAT0 status did not changed

2011-10-17 Thread Richard Hughes
On 15 October 2011 18:33, Kay Sievers wrote: > Alternatively tools can stop using glib's logging functions. commit 52bef2b4611a1b9446a74e9a77c0c98eb83751d7 Author: Richard Hughes Date: Wed Sep 28 16:13:17 2011 +0100 Filter all the debugging details unless --verbose is specified

Re: GUsb 0.1.0 released!

2011-10-10 Thread Richard Hughes
On 15 September 2011 15:56, David Zeuthen wrote: > I haven't checked 0.1.0 but when I looked at it some time ago you were > still using libgudev types in the API, specifically the GUdevDevice > type. If that's still the case, I think it would be ideal that can be > avoided - instead I suggest that

UPower 0.9.14 released

2011-10-03 Thread Richard Hughes
Version 0.9.14 ~~ Released: 2011-10-03 New Features: - Filter the debugging details unless --verbose is specified (Richard Hughes) Bugfixes: - Fix linux up_backend_supports_sleep_state() return code (Christian Seiler) - Fix the kFreeBSD detection (Pino Toscano) Richard

GUsb 0.1.0 released!

2011-09-15 Thread Richard Hughes
release, and we're open to new API ideas, patches and bugreports. New Features: - Add a debugging tool to exercise the API that is not installed (Richard Hughes) - Add a simple self test framework (Richard Hughes) - Build: AM_PROG_CC_C_O required (Javier Jardón) - Build: Honor aclocal

Re: UPower: Web site: Please add information to clone repository

2011-09-06 Thread Richard Hughes
On 5 September 2011 21:42, Paul Menzel wrote: > It would be great if you could add the following standard paragraph. Added, thanks. Richard. ___ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/

UPower release 0.9.13

2011-09-05 Thread Richard Hughes
Version 0.9.13 ~~ Released: 2011-09-05 New Features: - Modernize autotools config (Javier Jardón) - Use git.mk and remove the manual .gitignore files (Richard Hughes) - Use upstream gettext instead the glib one (Javier Jardón) Bugfixes: - Avoid warnings about missing annotations

Re: [upower PATCH] build: don't rely on files' presence to define the default backend.

2011-09-02 Thread Richard Hughes
On 1 September 2011 18:06, Emilio López wrote: > I see a little typo there, was it fixed when committing or does it need > fixing? Good catch, thanks! commit bc7ffea5de19cab5b298c2b86ee8abcb2158f9de Author: Richard Hughes Date: Fri Sep 2 09:46:20 2011 +0100 trivial: fix up a t

Re: [upower PATCH] build: don't rely on files' presence to define the default backend.

2011-09-01 Thread Richard Hughes
On 1 September 2011 12:14, Diego Elio Pettenò wrote: > Files might not be there, or in the case of cross-compilation, they most > definitely won't be there (and if they are, they are not the ones you > should be looking for). Instead use the autoconf-defined $host variable to > identify for what s

Re: [PATCH] Patch to solve issues with some hardware that causes battery to never update

2011-07-11 Thread Richard Hughes
On 10 July 2011 21:34, Mikael Hjelm wrote: > -          not if we've guessed the state to be fully charged */ > -       supply->priv->enable_poll = (state != > UP_DEVICE_STATE_FULLY_CHARGED); > +          not if we've guessed the state to be fully charged. This > function > +          has been dis

UPower 0.9.12 Released

2011-07-04 Thread Richard Hughes
Version 0.9.12 ~~ Released: 2011-07-04 Bugfixes: - Add AC_PROG_LIBTOOL as advised by autotools (Landry Breuil) - Add openbsd missing includes for close and strcmp (Landry Breuil) - Fix how we estimate the device rate for batteries that do not provide this data (Richard Hughes

Re:

2011-07-01 Thread Richard Hughes
On 1 July 2011 16:43, Mikael Hjelm wrote: > I would like to see a change either in setup_poll to reenable the poll > independent of the enable_poll state, or even resetting it to enabled, or do > not disable the enable_poll unless the state is > UP_DEVICE_STATE_FULLY_CHARGED AND AC power is online

UPower 0.9.11 Released

2011-05-25 Thread Richard Hughes
Version 0.9.11 ~~ Released: 2011-05-25 New Features: - Add new NotifySleep() and NotifyResume() signals that include the sleep type (Richard Hughes) Bugfixes: - Ensure up-apm-native.h gets shipped in the tarball for OpenBSD (Richard Hughes) - Check energy vs. charge in the Linux

Re: signalling suspend/resume events (deviceKit-power)

2011-05-04 Thread Richard Hughes
On 24 March 2011 11:19, viswanadha rao palepu wrote: > I am a c programmer in liunux. I just want to know how the kernel signals > the user level applications about suspend/hibernate. The kernel just gets told to suspend by writing to a file in syfs. This is done typically by pm-suspend. When the

Re: [PATCH] Adding an argument to Sleeping signal

2011-05-04 Thread Richard Hughes
r the delay. I've applied the following patch: commit 77ff3fe9fb9e13ed31a3e7ea780068a26ca61bd4 Author: Richard Hughes Date: Wed Mar 30 15:09:57 2011 +0100 Add new NotifySleep() and NotifyResume() signals that include the sleep type This allows session power managers to do differen

  1   2   3   >