From: Ritesh Raj Sarraf <rrs@researchut.com>
To: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
linux-iio <linux-iio@vger.kernel.org>
Subject: Re: sensor-hub: Move the memset to sensor_hub_get_feature()
Date: Wed, 28 Dec 2016 23:07:13 +0530 [thread overview]
Message-ID: <1482946633.12558.1.camel@researchut.com> (raw)
In-Reply-To: <1482945855.8484.8.camel@researchut.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On Wed, 2016-12-28 at 22:54 +0530, Ritesh Raj Sarraf wrote:
> Device4, for which there are no x, y, z attributes, reports the name
> "dev_rotation".
> Even for the other devices, I see no change in the reported values.
On the 4.8 kernel, the values do change. The iio-sensor-proxy still does not do
the rotation.
rrs@learner:/sys/bus/iio/devices$ while true; do for x in iio*; do echo -en
"Device: $x\t `cat $x/*[x-z]_raw`\n"; done; echo -en "sleep 2 secs\n\n"; sleep
2; done
Device: iio:device0 616
6
3570
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 111905
- -44762
- -22381
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1625000
402343
- -2531250
sleep 2 secs
Device: iio:device0 616
6
3570
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 22381
0
0
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1632812
402343
- -2531250
sleep 2 secs
Device: iio:device0 542
65503
3599
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 -111905
- -2887161
4274790
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1625000
429687
- -2511718
sleep 2 secs
Device: iio:device0 94
64699
425
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 693814
- -223811
1589058
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1539062
492187
- -2523437
sleep 2 secs
Device: iio:device0 145
893
2676
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 -738576
872862
- -6065278
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1503906
230468
- -2609375
sleep 2 secs
Device: iio:device0 488
808
2692
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 2551445
- -3536213
14592477
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1597656
222656
- -2621093
sleep 2 secs
Device: iio:device0 64240
750
2437
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 2663350
- -581908
3021448
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1488281
347656
- -2601562
sleep 2 secs
Device: iio:device0 63984
891
2470
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 -358097
402859
- -828100
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1468750
375000
- -2601562
sleep 2 secs
Device: iio:device0 1637
64842
524
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 11548647
2663350
- -16606776
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1441406
50781
- -2585937
sleep 2 secs
Device: iio:device0 649
642
2564
cat: 'iio:device1/*[x-z]_raw': No such file or directory
Device: iio:device1
Device: iio:device2 -5237177
- -2126204
19225364
cat: 'iio:device3/*[x-z]_raw': No such file or directory
Device: iio:device3
Device: iio:device4 27
64861
65298
Device: iio:device5 -1652343
210937
- -2570312
sleep 2 secs
^C
2016-12-28 / 23:01:36 ♒♒♒ ☹ => 130
(reverse-i-search)`name': quilt rename data-Fix-compass-property-^Cme.patch2016-
12-28 / 23:01:54 ♒♒♒ ☹ => 130
rrs@learner:/sys/bus/iio/devices$ cat iio\:device*/name
incli_3d
als
gyro_3d
dev_rotation
accel_3d
magn_3d
2016-12-28 / 23:02:35 ♒♒♒ ☺
rrs@learner:/sys/bus/iio/devices$ uname -a
Linux learner 4.8.15+ #47 SMP Wed Dec 21 14:19:46 IST 2016 x86_64 GNU/Linux
2016-12-28 / 23:02:41 ♒♒♒ ☺
- --
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAlhj+EkACgkQpjpYo/Lh
dWlAFhAAk882ZoICevpQH3kZ47WJKE/yrtOVQwmyxrkHa7kxWZVAfbZcr+Vlhktt
GIa8zM/rZ7TXwy794iEZMvTR5f6ZGMojHLuKRBdvnEr7lYHg/7396Rrw5mlOWhmS
/8B99ERQnDzmKExXcLts+4V6WbsWxJJlI4oNsaLn8vybZEImniDySqIehhKUEPtX
escMhgAdgcpmbps2oJYfQ6Oa4kOQjx34KeTPIUBaLHyd89jYYwygWG0K8oQpfMuG
tLcPrXOpgNBvyr4FHsHWhC9IYHIUArmKzyADnkaRJSbKjH/vh5lFw2FsjFNK2V2f
/fyy0hO5AqLluE1/dDERejekm+0uQ9TAlWouvRfvgtaSeoTgTuFmce51tp8An/wq
nzFBJJl085EgBby1NO2NJQwOd/Uh4TD3UBHIb5D8azlVXeN0his6ETWPQs00HHvn
PUNQVYXxEXtzZPkWrUCMNFVktRS8kCNmp/Hty655Wkj+jNF54/JHAb/1jD1ak9nQ
N0eTEBqHsthcZuSStmtsEfIZ0MybCY6xrqFc+uyoYvp3crqi4IPi96tlblU2lDiJ
loceFx+Ks+Y1Kj31D/zKvIKuYDEtQH6VZMzbvDaCgmCDnhoHctXVIfT8hhbSur5V
ubhHAx72xu5BFVzxJ3/0S685hVC1oBWq8fx/1lFsqA4GJILylJI=
=dKU5
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2016-12-28 17:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-28 11:38 sensor-hub: Move the memset to sensor_hub_get_feature() Ritesh Raj Sarraf
2016-12-28 13:23 ` Ritesh Raj Sarraf
2016-12-28 16:48 ` Srinivas Pandruvada
2016-12-28 17:24 ` Ritesh Raj Sarraf
2016-12-28 17:37 ` Ritesh Raj Sarraf [this message]
2016-12-28 17:53 ` Ritesh Raj Sarraf
2016-12-29 17:22 ` Srinivas Pandruvada
2016-12-29 17:31 ` Ritesh Raj Sarraf
2016-12-30 10:47 ` Ritesh Raj Sarraf
2016-12-30 16:50 ` Srinivas Pandruvada
2016-12-31 12:55 ` Ritesh Raj Sarraf
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=1482946633.12558.1.camel@researchut.com \
--to=rrs@researchut.com \
--cc=linux-iio@vger.kernel.org \
--cc=srinivas.pandruvada@linux.intel.com \
/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.