Re: [systemd-devel] [PATCH] hostnamed: regard convertible chassis type as laptop

2017-02-27 Thread Jani Nikula
On Mon, 27 Feb 2017, David Herrmann <dh.herrm...@gmail.com> wrote: > Turned into a github PR [1]. Can we continue the discussion there? Sure thing. Thanks, David! BR, Jani. -- Jani Nikula, Intel Open Source Technology Center ___ systemd-deve

Re: [systemd-devel] [PATCH] hostnamed: regard convertible chassis type as laptop

2017-02-24 Thread Jani Nikula
On Fri, 24 Feb 2017, Jani Nikula <jani.nik...@intel.com> wrote: > While both the DMI and ACPI data are regarded as unreliable in hostnamed > source, consumers of the chassis type use it to make rather drastic > policy decisions. BTW, since the implementation seems to think the dat

[systemd-devel] [PATCH] hostnamed: regard convertible chassis type as laptop

2017-02-24 Thread Jani Nikula
Currently the DMI convertible chassis type is disregarded by hostnamed. The fallback ACPI data might indicate either laptop or tablet. For example, Lenovo Yoga 910 is convertible per DMI data, but tablet per ACPI data, and therefore receives tablet chassis type. Regard convertibles as laptops to

Re: [systemd-devel] [PATCH] backlight: handle saved brightness exceeding max brightness

2014-05-07 Thread Jani Nikula
On Wed, 07 May 2014, Jani Nikula jani.nik...@intel.com wrote: If too high a brightness value has been saved (e.g. due to kernel mechanism changing from one kernel version to another, or booting the userspace on another system), the brightness update fails and the process exits. Clamp saved