Re: [Linuxwacom-devel] [PATCH 06/15] Input - wacom: install LED/OLED sysfs files in the HID device instead of USB

From: Przemo Firszt
Date: Thu Jul 03 2014 - 05:37:42 EST



Quoting Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>:

Removes one more dependency over USB, but requires some changes in
the user space to find the sysfs files correctly.

This patch breaks the user space. However, the number of program
accessing the LEDs is quite limited and we can easily patch them
to handle the new HID behavior.
[..]
Hi Bejnamin,
If you get the green light to break the user space we might as well think about getting it in line with led/oled over bluetooth (intuos4 wireless) or the other way around.

The biggest user of led/oled functionality is gnome and there are also a few small projects that would stop working after that change. I can fix i4oled project easily, i4oled-gui is based on gnome handling oleds.

Patching those 2 should be enough to fix gnome:
https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/wacom/gsd-wacom-led-helper.c
https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/wacom/gsd-wacom-oled-helper.c

Regards,
Przemo Firszt


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/