On Fri, Jun 16, 2017 at 10:35 AM, Kai-Heng Feng
wrote:
> Dell Latitude 3160 does not have keyboard backlight, but there is a
> sysfs interface for it, which does nothing at all.
>
> KBD_LED_OFF_TOKEN is the only token can be found. Since it doesn't have
>
On Fri, Jun 16, 2017 at 10:35 AM, Kai-Heng Feng
wrote:
> Dell Latitude 3160 does not have keyboard backlight, but there is a
> sysfs interface for it, which does nothing at all.
>
> KBD_LED_OFF_TOKEN is the only token can be found. Since it doesn't have
> KBD_LED_ON_TOKEN or KBD_LED_AUTO_*_TOKEN,
On Fri, Jun 16, 2017 at 10:52 AM, Pali Rohár wrote:
> On Friday 16 June 2017 15:35:39 Kai-Heng Feng wrote:
>> - if (kbd_token_bits != 0 || ret == 0)
>> + /*
>> + * If KBD_LED_OFF_TOKEN is the only token,
>> + * consider there is no keyboard backlight.
>> +
On Fri, Jun 16, 2017 at 10:52 AM, Pali Rohár wrote:
> On Friday 16 June 2017 15:35:39 Kai-Heng Feng wrote:
>> - if (kbd_token_bits != 0 || ret == 0)
>> + /*
>> + * If KBD_LED_OFF_TOKEN is the only token,
>> + * consider there is no keyboard backlight.
>> + */
>> + if
On Friday 16 June 2017 17:46:58 Kai-Heng Feng wrote:
> On Fri, Jun 16, 2017 at 3:52 PM, Pali Rohár wrote:
> > Should not this check to be rather:
> >
> > (kbd_token_bits != 0 && (kbd_token_bits & BIT(KBD_LED_OFF_TOKEN)) !=
> > BIT(KBD_LED_OFF_TOKEN))
> >
> > To express that
On Friday 16 June 2017 17:46:58 Kai-Heng Feng wrote:
> On Fri, Jun 16, 2017 at 3:52 PM, Pali Rohár wrote:
> > Should not this check to be rather:
> >
> > (kbd_token_bits != 0 && (kbd_token_bits & BIT(KBD_LED_OFF_TOKEN)) !=
> > BIT(KBD_LED_OFF_TOKEN))
> >
> > To express that we have at least one
On Fri, Jun 16, 2017 at 3:52 PM, Pali Rohár wrote:
> Should not this check to be rather:
>
> (kbd_token_bits != 0 && (kbd_token_bits & BIT(KBD_LED_OFF_TOKEN)) !=
> BIT(KBD_LED_OFF_TOKEN))
>
> To express that we have at least one token at it is different from
>
On Fri, Jun 16, 2017 at 3:52 PM, Pali Rohár wrote:
> Should not this check to be rather:
>
> (kbd_token_bits != 0 && (kbd_token_bits & BIT(KBD_LED_OFF_TOKEN)) !=
> BIT(KBD_LED_OFF_TOKEN))
>
> To express that we have at least one token at it is different from
> KBD_LED_OFF_TOKEN token?
Yes, this
Hi!
On Friday 16 June 2017 15:35:39 Kai-Heng Feng wrote:
> Dell Latitude 3160 does not have keyboard backlight, but there is a
> sysfs interface for it, which does nothing at all.
>
> KBD_LED_OFF_TOKEN is the only token can be found. Since it doesn't have
> KBD_LED_ON_TOKEN or
Hi!
On Friday 16 June 2017 15:35:39 Kai-Heng Feng wrote:
> Dell Latitude 3160 does not have keyboard backlight, but there is a
> sysfs interface for it, which does nothing at all.
>
> KBD_LED_OFF_TOKEN is the only token can be found. Since it doesn't have
> KBD_LED_ON_TOKEN or
Dell Latitude 3160 does not have keyboard backlight, but there is a
sysfs interface for it, which does nothing at all.
KBD_LED_OFF_TOKEN is the only token can be found. Since it doesn't have
KBD_LED_ON_TOKEN or KBD_LED_AUTO_*_TOKEN, it should be safe to assume it
does not support keyboard
Dell Latitude 3160 does not have keyboard backlight, but there is a
sysfs interface for it, which does nothing at all.
KBD_LED_OFF_TOKEN is the only token can be found. Since it doesn't have
KBD_LED_ON_TOKEN or KBD_LED_AUTO_*_TOKEN, it should be safe to assume it
does not support keyboard
12 matches
Mail list logo