From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Wed, 11 Feb 2015 06:20:37 +0800 Subject: HID Custom Sensor driver in linux kernel In-Reply-To: References: Message-ID: <20150210222037.GA26888@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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