From: Ritesh Raj Sarraf <rrs@researchut.com>
To: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
Bastien Nocera <hadess@hadess.net>,
Jonathan Cameron <jic23@kernel.org>,
linux-iio@vger.kernel.org
Subject: Re: possible odd acceleration scaling
Date: Fri, 16 Sep 2016 23:56:31 +0530 [thread overview]
Message-ID: <1474050391.18741.3.camel@researchut.com> (raw)
In-Reply-To: <1474047781.32019.1.camel@linux.intel.com>
[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]
On Fri, 2016-09-16 at 10:43 -0700, Srinivas Pandruvada wrote:
> Hi Ritesh,
>
>
> On Wed, 2016-09-14 at 21:30 +0530, Ritesh Raj Sarraf wrote:
> > Hello Bastien,
> >
> > On Wed, 2016-09-14 at 17:44 +0200, Bastien Nocera wrote:
> > >
> > >
> > > My guess:
> > > - return (int) (info_1->index - info_2->index);
> > > + return ((int) info_1->index - (int) info_2->index);
> > >
> Can you try attached patch for both 4.7 and 4.8 kernel?
Thank you Srini. With this patch, it works perfect on 4.8-rc6 kernel.
Log is attached for your reference.
I'll also confirm for 4.7 soon.
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
[-- Attachment #1.2: fix-sorting.txt --]
[-- Type: text/plain, Size: 36864 bytes --]
** (process:8290): DEBUG: Found als at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0002/HID-SENSOR-200041.9.auto/iio:device3
** (process:8290): DEBUG: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0002/HID-SENSOR-200041.9.auto/iio:device3 of type ambient light sensor at IIO Buffer Light sensor
** (process:8290): DEBUG: Found accel_3d at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0002/HID-SENSOR-200073.4.auto/iio:device1
** (process:8290): DEBUG: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0002/HID-SENSOR-200073.4.auto/iio:device1 of type accelerometer at IIO Buffer accelerometer
** (process:8290): DEBUG: Found magn_3d at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0002/HID-SENSOR-200083.6.auto/iio:device2
** (process:8290): DEBUG: Found device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0002/HID-SENSOR-200083.6.auto/iio:device2 of type compass at IIO Buffer Compass
** (process:8290): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0002/HID-SENSOR-200073.4.auto/trigger1
** (process:8290): DEBUG: Got type for in_accel_y: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:8290): DEBUG: Got type for in_accel_x: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:8290): DEBUG: Got type for in_accel_z: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:8290): DEBUG: Built channel array for in_accel_x: index: 0, is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:8290): DEBUG: Built channel array for in_accel_y: index: 1, is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:8290): DEBUG: Built channel array for in_accel_z: index: 2, is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:8290): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0002/HID-SENSOR-200041.9.auto/trigger3
** (process:8290): DEBUG: Got type for in_intensity_both: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:8290): DEBUG: Built channel array for in_intensity_both: index: 0, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:8290): DEBUG: Found associated trigger at /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/0003:048D:8350.0002/HID-SENSOR-200083.6.auto/trigger2
** (process:8290): DEBUG: Got type for in_magn_z: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:8290): DEBUG: Got type for in_magn_y: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:8290): DEBUG: Got type for in_rot_from_north_magnetic_tilt_comp: is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:8290): DEBUG: Got type for in_magn_x: is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:8290): DEBUG: Built channel array for in_magn_x: index: 0, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:8290): DEBUG: Built channel array for in_magn_y: index: 1, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:8290): DEBUG: Built channel array for in_magn_z: index: 2, is signed: 1, bytes: 4, bits_used: 32, shift: 0, mask: 0x0, be: 0
** (process:8290): DEBUG: Built channel array for in_rot_from_north_magnetic_tilt_comp: index: 3, is signed: 1, bytes: 4, bits_used: 16, shift: 0, mask: 0x65535, be: 0
** (process:8290): DEBUG: Handling driver refcounting method 'ClaimLight' for ambient light sensor device
** (process:8290): DEBUG: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device
** (process:8290): DEBUG: Handling driver refcounting method 'ClaimAccelerometer' for accelerometer device
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: No new data available on 'iio:device1'
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: No new data available on 'iio:device1'
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: No new data available on 'iio:device1'
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: No new data available on 'iio:device1'
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: No new data available on 'iio:device1'
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 19, -910, -363
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -19, 910, -363 (scale: 0.009806)
** (process:8290): DEBUG: Emitted orientation changed: from undefined to normal
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 78, -671, -195
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -78, 671, -195 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 58, -1101, -480
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -58, 1101, -480 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -679, -296, -222
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 679, 296, -222 (scale: 0.009806)
** (process:8290): DEBUG: Emitted orientation changed: from normal to right-up
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -871, -39, -183
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 871, 39, -183 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -914, 7, -226
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 914, -7, -226 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -898, 39, -191
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 898, -39, -191 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -902, 58, -167
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 902, -58, -167 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -140, -695, -281
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 140, 695, -281 (scale: 0.009806)
** (process:8290): DEBUG: Emitted orientation changed: from right-up to normal
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 3, -1054, -144
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -3, 1054, -144 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 82, -980, -289
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -82, 980, -289 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 54, -960, -300
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -54, 960, -300 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -50, -976, -312
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 50, 976, -312 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 1050, 7, -140
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -1050, -7, -140 (scale: 0.009806)
** (process:8290): DEBUG: Emitted orientation changed: from normal to left-up
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 1003, 46, -136
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -1003, -46, -136 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 1011, -35, -109
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -1011, 35, -109 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 996, -15, -132
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -996, 15, -132 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 875, 42, -343
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -875, -42, -343 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 277, 722, -11
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -277, -722, -11 (scale: 0.009806)
** (process:8290): DEBUG: Emitted orientation changed: from left-up to bottom-up
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 85, 910, 113
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -85, -910, 113 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 125, 992, 132
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -125, -992, 132 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 85, 906, 132
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -85, -906, 132 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 894, 1007, 460
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -894, -1007, 460 (scale: 0.009806)
** (process:8290): DEBUG: Emitted orientation changed: from bottom-up to left-up
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -281, -1140, -117
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 281, 1140, -117 (scale: 0.009806)
** (process:8290): DEBUG: Emitted orientation changed: from left-up to normal
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 11, -945, -464
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -11, 945, -464 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -3, -910, -292
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 3, 910, -292 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -15, -925, -355
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 15, 925, -355 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -27, -929, -335
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 27, 929, -335 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 304, -1203, -546
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -304, 1203, -546 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -1039, -89, 160
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 1039, 89, 160 (scale: 0.009806)
** (process:8290): DEBUG: Emitted orientation changed: from normal to right-up
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -925, -128, -62
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 925, 128, -62 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: No new data available on 'iio:device1'
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 269, -929, 11
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -269, 929, 11 (scale: 0.009806)
** (process:8290): DEBUG: Emitted orientation changed: from right-up to normal
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -7, -992, -679
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 7, 992, -679 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -19, -914, -445
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 19, 914, -445 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -7, -914, -378
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 7, 914, -378 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: No new data available on 'iio:device1'
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 0, -937, -468
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 0, 937, -468 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -19, -925, -347
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 19, 925, -347 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -11, -902, -410
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 11, 902, -410 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -11, -910, -441
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 11, 910, -441 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -19, -960, -218
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 19, 960, -218 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 85, -960, -113
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -85, 960, -113 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -3, -988, -128
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 3, 988, -128 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 58, -1015, -203
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -58, 1015, -203 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -105, -1183, -355
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 105, 1183, -355 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -11, -832, 54
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 11, 832, 54 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': -35, -906, -246
** (process:8290): DEBUG: Accel sent by driver (quirk applied): 35, 906, -246 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 11, -882, -328
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -11, 882, -328 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 19, -898, -457
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -19, 898, -457 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 23, -902, -785
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -23, 902, -785 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 11, -941, -277
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -11, 941, -277 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 19, -953, -332
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -19, 953, -332 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 15, -953, -292
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -15, 953, -292 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (process:8290): DEBUG: process_scan_1: channel_index: 1, chan_name: in_accel_y, channel_data_index: 1 location: 4
** (process:8290): DEBUG: process_scan_1: channel_index: 2, chan_name: in_accel_z, channel_data_index: 2 location: 8
** (process:8290): DEBUG: Read from IIO on 'iio:device1': 15, -953, -273
** (process:8290): DEBUG: Accel sent by driver (quirk applied): -15, 953, -273 (scale: 0.009806)
** (process:8290): DEBUG: No new data available on 'iio:device3'
** (process:8290): DEBUG: process_scan_1: channel_index: 0, chan_name: in_accel_x, channel_data_index: 0 location: 0
** (pr
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2016-09-16 18:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-13 17:30 possible odd acceleration scaling Ritesh Raj Sarraf
2016-09-13 17:50 ` Jonathan Cameron
2016-09-13 18:01 ` Jonathan Cameron
2016-09-13 19:06 ` Srinivas Pandruvada
2016-09-14 9:05 ` Ritesh Raj Sarraf
2016-09-14 9:28 ` Ritesh Raj Sarraf
2016-09-14 13:50 ` Ritesh Raj Sarraf
2016-09-14 15:28 ` Srinivas Pandruvada
2016-09-14 15:44 ` Bastien Nocera
2016-09-14 16:00 ` Ritesh Raj Sarraf
2016-09-16 17:43 ` Srinivas Pandruvada
2016-09-16 18:26 ` Ritesh Raj Sarraf [this message]
2016-09-16 18:35 ` Ritesh Raj Sarraf
2016-09-16 19:31 ` Srinivas Pandruvada
2016-09-16 19:40 ` Pandruvada, Srinivas
2016-09-16 21:19 ` Bastien Nocera
2016-09-16 22:30 ` Pandruvada, Srinivas
2016-09-16 22:51 ` Bastien Nocera
2016-09-14 11:34 ` Bastien Nocera
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=1474050391.18741.3.camel@researchut.com \
--to=rrs@researchut.com \
--cc=hadess@hadess.net \
--cc=jic23@kernel.org \
--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.