Re: [PATCH] rc-core: export the hardware type to sysfs

2017-05-01 Thread David Härdeman
On Mon, May 01, 2017 at 11:36:13AM +0100, Sean Young wrote: >On Sat, Apr 29, 2017 at 12:03:29PM +0200, David Härdeman wrote: >> Exporting the hardware type makes it possible for userspace applications >> to know what to expect from the hardware. >> >> This makes it possible to write more user-frie

Re: [PATCH] rc-core: export the hardware type to sysfs

2017-05-01 Thread Sean Young
On Sat, Apr 29, 2017 at 12:03:29PM +0200, David Härdeman wrote: > Exporting the hardware type makes it possible for userspace applications > to know what to expect from the hardware. > > This makes it possible to write more user-friendly userspace apps. This duplicates lirc features (LIRC_GET_FEA

[PATCH] rc-core: export the hardware type to sysfs

2017-04-29 Thread David Härdeman
Exporting the hardware type makes it possible for userspace applications to know what to expect from the hardware. This makes it possible to write more user-friendly userspace apps. Note that the size of sysfs_groups[] in struct rc_dev is not changed by this patch because it was already large eno