From: Przemo Firszt <przemo@firszt.eu>
To: Daniel Nicoletti <dantti12@gmail.com>
Cc: linux-input@vger.kernel.org, Jiri Kosina <jkosina@suse.cz>,
Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: HID battery strength does not emit power_suppy udev events
Date: Tue, 01 Jan 2013 20:56:50 +0000 [thread overview]
Message-ID: <1357073810.8915.14.camel@localhost> (raw)
In-Reply-To: <CACo8zOf9LdPA_OZSLZp3iQj80+DvVvQh_Wc6Or902SSJ2hMWVg@mail.gmail.com>
Dnia 2013-01-01, wto o godzinie 18:39 -0200, Daniel Nicoletti pisze:
> Well from your logs you can see the udev emitted an 'add ' for
> wacom_battery, the odd part is that it sends several add for the
> battery.
> Wacom tablets have a different code from handling the battery, i wrote
> the code that'sgeneric for hid devices, and the battery part looks
> like a lot when looking to tje wacom one but it doesn't emits 'add '
> or 'del ' events...
> I'm not kernel dev and after reading docs and digging some code I 'm
> still clueless about it...
Can you post the code?
Do you have this switched on in your kernel config (default = no)?
config HID_BATTERY_STRENGTH
bool "Battery level reporting for HID devices"
depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
default n
---help---
This option adds support of reporting battery strength (for HID
devices
that support this feature) through power_supply class so that
userspace
tools, such as upower, can display it.
--
Kind regards,
Przemo Firszt
next prev parent reply other threads:[~2013-01-01 20:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-15 2:30 HID battery strength does not emit power_suppy udev events Daniel Nicoletti
[not found] ` <CAD2FfiEbqUvfuUYpgQFaXoUBAn_7TnV4FnGXNDeD-jHCCfpGVQ@mail.gmail.com>
[not found] ` <CACo8zOeSf_0ump=ChJKvgLQL1_OVoOE5Ts0ybw=5S3ZFMzZcGw@mail.gmail.com>
2012-12-28 0:16 ` Daniel Nicoletti
2013-01-01 19:46 ` Przemo Firszt
[not found] ` <CACo8zOf9LdPA_OZSLZp3iQj80+DvVvQh_Wc6Or902SSJ2hMWVg@mail.gmail.com>
2013-01-01 20:56 ` Przemo Firszt [this message]
[not found] ` <CACo8zOe6muNzxE+u-V3dFD27e-2h9w7267Pk3SAUZFsF-Ok9Vw@mail.gmail.com>
2013-01-02 3:24 ` Daniel Nicoletti
2013-01-02 15:04 ` Przemo Firszt
2013-01-02 23:57 ` Daniel Nicoletti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1357073810.8915.14.camel@localhost \
--to=przemo@firszt.eu \
--cc=dantti12@gmail.com \
--cc=jeremy@goop.org \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.