linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iio/hid-sensor-accel-3d: no output from /dev/iio:device*?
@ 2015-12-17 23:38 Nish Aravamudan
       [not found] ` <CAOhV88ODTazDA2jmn9DP5idMmXXQa9jKB9Ur_aWTD_3WYZM1fw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Nish Aravamudan @ 2015-12-17 23:38 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Jonathan Cameron, Srinivas Pandruvada, Hartmut Knaack,
	Lars-Peter Clausen, Peter Meerwald,
	linux-input-u79uwXL29TY76Z2rM5mHXA,
	linux-iio-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Crt Mori

[Starting a new thread from https://lkml.org/lkml/2015/12/15/663, as
now my laptop is displaying values in the sysfs *raw* files.]

So I'm trying to understand exactly how the hid-sensor-accel-3d driver works.

If I turn up debugging, when I `cat
/sys/bus/iio/devices/device*/*raw*`, I see "iio iio:device3:
accel_3d_proc_event" and I think that means that
hid_sensor_push_data() is getting called.

But read()'s on /dev/iio:device3 never produces anything, which is
what iio-sensor-proxy uses to translate events to dbus.

Is it expected that the dev-node is "silent"? Just trying to
understand if an extension to the driver to support a chardev based
output is appropriate, or if iio-sensor-proxy needs to be changed to
handle this device.

-Nish

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-12-18 16:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-17 23:38 iio/hid-sensor-accel-3d: no output from /dev/iio:device*? Nish Aravamudan
     [not found] ` <CAOhV88ODTazDA2jmn9DP5idMmXXQa9jKB9Ur_aWTD_3WYZM1fw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-18  0:51   ` Srinivas Pandruvada
2015-12-18  1:00     ` Pandruvada, Srinivas
2015-12-18  1:08       ` Nish Aravamudan
     [not found]         ` <CAOhV88OinTE31-qp1vh-4XHT-TqMTTOYwHiLk0yptg0prwetjw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-18  1:11           ` Pandruvada, Srinivas
     [not found]             ` <1450400953.5427.18.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-12-18  2:33               ` Nish Aravamudan
2015-12-18  2:50                 ` Pandruvada, Srinivas
     [not found]                   ` <1450406943.3885.3.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-12-18  3:06                     ` Nish Aravamudan
     [not found]                       ` <CAOhV88MH4pyX1j8qutc47vjpwQcb9bEUFTyocLtNH5JnVve+6A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-18 16:58                         ` Pandruvada, Srinivas
2015-12-18  1:07     ` Nish Aravamudan
     [not found]       ` <CAOhV88MYvtD508toqR2KLOdpSq_tU=kwQKOf252t1sdiK4SviQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-18  1:16         ` Srinivas Pandruvada
     [not found]           ` <1450401390.5427.22.camel-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-12-18  1:59             ` Nish Aravamudan

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).