HID Custom Sensor driver in linux kernel

Greg KH greg at kroah.com
Tue Feb 10 17:20:37 EST 2015


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



More information about the Kernelnewbies mailing list