kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: HID Custom Sensor driver in linux kernel
Date: Wed, 11 Feb 2015 06:20:37 +0800	[thread overview]
Message-ID: <20150210222037.GA26888@kroah.com> (raw)
In-Reply-To: <CALwa49vKjSCwL4KDZ9HCRgaj7zG5t2JH_RHfrCy=OLmgqVoohA@mail.gmail.com>

On Tue, Feb 10, 2015 at 11:12:57PM +0530, s.rawat wrote:
> I am reading the HID sensor hub code on lxr??and found that there is no driver
> code for hid custom sensor.Is this driver non existent.Hid custom sensor is a
> custom sensor implemented in the device firmware.
> I have a sensor device to which i can talk in windows using hid dlls ,I can
> even read custom fields of a custom sensor of a device through windows apis.
> I want to do the same in linux.I can read the accelerometer, gyroscope and
> magnetometer data through a c application?in Linux.But I am unable to do so for
> a custom sensors due to un-availability of the HID custom sensor driver.Does it
> exist or exist by some other name?.

Have you looked in drivers/iio/common/hid-sensors?  There are also other
specific hid sensor drivers in drivers/iio/ for those specific chipsets
that are just a bit different from the specification.

Hope this helps,

greg k-h

  reply	other threads:[~2015-02-10 22:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 17:42 HID Custom Sensor driver in linux kernel s.rawat
2015-02-10 22:20 ` Greg KH [this message]
2015-02-11 11:18   ` s.rawat
2015-02-12  2:04     ` Greg KH

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=20150210222037.GA26888@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).