Re: [systemd-devel] PropertiesChanged signal not sent unless Subscribe called

2024-04-12 Thread Carlos Garnacho
Hi, On Thu, Apr 11, 2024 at 11:45 PM segfault wrote: > > Hi, > > I noticed that some functionality of gnome-settings-daemon doesn't work > as expected on some systems. I tracked that down to the fact that > gnome-settings-daemon subscribes to the >

Re: [systemd-devel] [PATCH udev v4] udev: Add builtin/rule to export touchscreen/tablet size as udev properties

2015-01-11 Thread Carlos Garnacho
Hey David, On dom, 2015-01-11 at 14:37 +0100, David Herrmann wrote: snip Otherwise, looks all good. I was about to push it, but could you rename it to something more generic? udev_builtin_evdev_id for example. I don't want a different builtin for each evdev property we add, so lets be

[systemd-devel] [PATCH udev v5] udev: Add builtin/rule to export evdev information as udev properties

2015-01-11 Thread Carlos Garnacho
@@ +/* + * evdev_id - extracts miscellaneous information from evdev devices + * + * Copyright (C) 2014 Red Hat + * Author: + * Carlos Garnacho carl...@gnome.org + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License

Re: [systemd-devel] [PATCH udev v4] udev: Add builtin/rule to export touchscreen/tablet size as udev properties

2015-01-08 Thread Carlos Garnacho
Hey all, Now that holidays are over or almost, friendly ping about this one. I've got some pending GNOME patches eager to depend on this :). Is there anything else that needs considering/addressing? Cheers, Carlos On Mon, Dec 22, 2014 at 5:04 PM, Carlos Garnacho carl...@gnome.org wrote

[systemd-devel] [PATCH udev v4] udev: Add builtin/rule to export touchscreen/tablet size as udev properties

2014-12-22 Thread Carlos Garnacho
+ * + * Copyright (C) 2014 Red Hat + * Author: + * Carlos Garnacho carl...@gnome.org + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License

[systemd-devel] [PATCH udev v2] udev: Add program/rule to export touchscreen/tablet size as udev properties

2014-12-19 Thread Carlos Garnacho
@@ -0,0 +1,78 @@ +/* + * input_abs_size - extracts abs X/Y size in millimeters from input devices + * + * Copyright (C) 2014 Red Hat + * Author: + * Carlos Garnacho carl...@gnome.org + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General

Re: [systemd-devel] [PATCH udev v2] udev: Add program/rule to export touchscreen/tablet size as udev properties

2014-12-19 Thread Carlos Garnacho
Hey Lennart, On vie, 2014-12-19 at 17:20 +0100, Lennart Poettering wrote: On Fri, 19.12.14 16:01, Carlos Garnacho (carl...@gnome.org) wrote: + +#include linux/input.h +#include udev.h + +/* Resolution is defined to be in units/mm for ABS_X/Y */ +#define ABS_SIZE_MM(absinfo

[systemd-devel] [PATCH udev v3] udev: Add builtin/rule to export touchscreen/tablet size as udev properties

2014-12-19 Thread Carlos Garnacho
-input_abs_size.c new file mode 100644 index 000..faf707e --- /dev/null +++ b/src/udev/udev-builtin-input_abs_size.c @@ -0,0 +1,81 @@ +/* + * input_abs_size - extracts abs X/Y size in millimeters from input devices + * + * Copyright (C) 2014 Red Hat + * Author: + * Carlos Garnacho carl

[systemd-devel] [PATCH udev 0/1] export device sizes

2014-12-18 Thread Carlos Garnacho
Hey, I'm sending a patch for udev to export ID_INPUT_[WIDTH|HEIGHT]_MM properties for tablets and touchscreens. Even if it's scarcely useful info, IMO it fills a small gap with an eye on Wayland/X11-less sessions. As some background, I've been hacking on making GNOME input device configuration

[systemd-devel] [PATCH udev] udev: Add program/rule to export touchscreen/tablet size as udev properties

2014-12-18 Thread Carlos Garnacho
--- /dev/null +++ b/src/udev/input_abs_size/input_abs_size.c @@ -0,0 +1,177 @@ +/* + * input_abs_size - extracts abs X/Y size in millimeters from input devices + * + * Copyright (C) 2014 Red Hat + * Author: + * Carlos Garnacho carl...@gnome.org + * + * This program is free software; you can

Re: [systemd-devel] [PATCH] udev: Add keyboard leds helper app

2014-01-17 Thread Carlos Garnacho
Hey Lennart :), On vie, 2014-01-17 at 12:04 +0100, Lennart Poettering wrote: On Fri, 17.01.14 12:01, Carlos Garnacho (carl...@gnome.org) wrote: This helper program checks the leds available on keyboard devices and exports these as list of keywords in the ID_INPUT_KEYBOARD_LEDS property

Re: [systemd-devel] [PATCH] udev: Add keyboard leds helper app

2014-01-17 Thread Carlos Garnacho
On vie, 2014-01-17 at 14:41 +0100, Lennart Poettering wrote: On Fri, 17.01.14 14:19, Carlos Garnacho (carl...@gnome.org) wrote: Hmm, so the idea here is to attach this information to the udev devices, so that it is available unprivileged? Yeah, pretty much. But it is already