Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iio_channel_get_modifier and iio_channel_get_type seems to work incorrectly. #219

Closed
mikexing2018 opened this issue Nov 7, 2018 · 20 comments

Comments

@mikexing2018
Copy link

mikexing2018 commented Nov 7, 2018

In my driver, I have 6 channels.

3 of the 6 channels have IIO_ANGL_VEL as type and IIO_MOD_X, IIO_MOD_Y, IIO_MOD_Z as channel_2 (modifier) respectively.

The other 3 channels are IIO_ACCEL and have IIO_MOD_X, IIO_MOD_Y, IIO_MOD_Z as channel_2 (modifier) respectively.

Using libiio's iio_channel_get_modifier and iio_channel_get_type, I am not getting the correct results:

For the IIO_ACCEL channels, I am getting 3 as type (which is correct), and 0 for all the modifiers (incorrect).
For the IIO_ANGL_VEL channels, I am getting a 12 for channel type (incorrect), and 0 for all the modifiers (incorrect)

Here are my channels inside the .........../scan_elements folder on linux:
in_accel_x_en in_accel_z_index in_anglvel_y_type
in_accel_x_index in_accel_z_type in_anglvel_z_en
in_accel_x_type in_anglvel_x_en in_anglvel_z_index
in_accel_y_en in_anglvel_x_index in_anglvel_z_type
in_accel_y_index in_anglvel_x_type in_timestamp_en
in_accel_y_type in_anglvel_y_en in_timestamp_index
in_accel_z_en in_anglvel_y_index in_timestamp_type

@commodo
Copy link
Contributor

commodo commented Nov 7, 2018

Which device are you using this with ?
We could try to reproduce it locally and see what happens.

@mikexing2018
Copy link
Author

This is an IMU device. For confidentiality purpose, I cannot disclose the exact device.

I think this issue should not be device specific. Maybe there is some general problem with those APIs for getting the channel type and modifier? Has anyone ever tested?

@commodo
Copy link
Contributor

commodo commented Nov 7, 2018

What version of libiio are you using ?

@pcercuei
Copy link
Contributor

pcercuei commented Nov 7, 2018

What backend do you use? Local?

@mikexing2018
Copy link
Author

@pcercuei Yes. I am using local backend. Here are the sequence that I am doing:
iio_create_local_context()
iio_context_find_device
iio_device_get_channels_count
iio_device_get_channel
iio_device_get_type
iio_device_get_modifier

@mikexing2018
Copy link
Author

@pcercuei
Copy link
Contributor

pcercuei commented Nov 7, 2018

Maybe a filename parsing error. What are the IDs of the channels, as reported by iio_info?

@mikexing2018
Copy link
Author

mikexing2018 commented Nov 7, 2018

I am using iio_channel_get_id() to return the IDs and they are the following values for the 6 channels:
accel_x, accel_y, accel_z, gyro_x, gyro_y, gyro_z

seems correct?

@mikexing2018
Copy link
Author

The issue is in iio_channel_init_finalize(). There is string parsing errors there for both channel type and channel modifier. For modifier, I don't know why there is an assumption that the modifier needs to be followed by an underscore. For channel type. it's suppose to break when it finds the right type rather than keep looping.

@pcercuei
Copy link
Contributor

pcercuei commented Nov 7, 2018

For the modifier, you're right. The check for the underscore is bogus.

For the type, it should break, but that's not the cause of the problem. The condition for the "continue" right above where chn->type is set looks really wrong; the second && should be a || instead (with proper parenthesis set around it).

@mhennerich
Copy link
Contributor

@mikexing2018 you have a test case - do you mind sending a Pull Request?

@mhennerich
Copy link
Contributor

Request for test:
Can you test the fix in the https://github.com/analogdevicesinc/libiio/tree/rft-issue-219 branch?

@mikexing2018
Copy link
Author

Sure

@mhennerich
Copy link
Contributor

Sure

Does it fix it?

@commodo
Copy link
Contributor

commodo commented Nov 19, 2018

@mikexing2018
ping

@mikexing2018
Copy link
Author

I don't have access to the testing environment this week. Will need to delay until the week of Dec 26th.

@commodo
Copy link
Contributor

commodo commented Nov 19, 2018

ok :)
thanks for the feedback;
we can wait

@mhennerich
Copy link
Contributor

Dec 26th? I don't think we can wait that long.
The PACKRF has a ADIS16460 type IMU, we should be able to quickly test it there.
Alex can you take a look?

@commodo
Copy link
Contributor

commodo commented Nov 20, 2018

Yep
Will take a look

Just need to take a look into some build issues first.

@mhennerich
Copy link
Contributor

Ok - i did some test using a ADIS16460.

root@analog:/sys/bus/iio/devices/iio:device4# ls -al
total 0
drwxr-xr-x 6 root root    0 Jan  1  1970 .
drwxr-xr-x 6 root root    0 Jan  1  1970 ..
drwxrwxrwx 2 root root    0 Jan  1  1970 buffer
-rw-rw-rw- 1 root root 4096 Jan  1  1970 dev
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_scale
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_x_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_y_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_z_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_scale
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_x_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_y_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_z_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_temp0_offset
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_temp0_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_temp0_scale
-rw-rw-rw- 1 root root 4096 Jan  1  1970 name
lrwxrwxrwx 1 root root    0 Jan  1  1970 of_node -> ../../../../../../../../firmware/devicetree/base/amba/spi@e0007000/adis16460@0
drwxrwxrwx 2 root root    0 Jan  1  1970 power
-rw-rw-rw- 1 root root 4096 Jan  1  1970 sampling_frequency
drwxrwxrwx 2 root root    0 Jan  1  1970 scan_elements
lrwxrwxrwx 1 root root    0 Jan  1  1970 subsystem -> ../../../../../../../../bus/iio
drwxrwxrwx 2 root root    0 Jan  1  1970 trigger
-rw-rw-rw- 1 root root 4096 Jan  1  1970 uevent
root@analog:/sys/bus/iio/devices/iio:device4# ls -al scan_elements/
total 0
drwxrwxrwx 2 root root    0 Jan  1  1970 .
drwxr-xr-x 6 root root    0 Nov 21 08:12 ..
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_x_en
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_x_index
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_x_type
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_y_en
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_y_index
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_y_type
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_z_en
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_z_index
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_accel_z_type
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_x_en
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_x_index
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_x_type
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_y_en
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_y_index
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_y_type
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_z_en
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_z_index
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_anglvel_z_type
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_temp0_en
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_temp0_index
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_temp0_type
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_timestamp_en
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_timestamp_index
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_timestamp_type

root@analog:/sys/bus/iio/devices/iio:device4/scan_elements# grep "" *
in_accel_x_en:0
in_accel_x_index:3
in_accel_x_type:be:s32/32>>0
in_accel_y_en:0
in_accel_y_index:4
in_accel_y_type:be:s32/32>>0
in_accel_z_en:0
in_accel_z_index:5
in_accel_z_type:be:s32/32>>0
in_anglvel_x_en:0
in_anglvel_x_index:0
in_anglvel_x_type:be:s32/32>>0
in_anglvel_y_en:0
in_anglvel_y_index:1
in_anglvel_y_type:be:s32/32>>0
in_anglvel_z_en:0
in_anglvel_z_index:2
in_anglvel_z_type:be:s32/32>>0
in_temp0_en:0
in_temp0_index:6
in_temp0_type:be:s16/16>>0
in_timestamp_en:0
in_timestamp_index:7
in_timestamp_type:le:s64/64>>0

Using this simple patch to iio_info - which adds the type and modifier for each channel:

diff --git a/tests/iio_info.c b/tests/iio_info.c
index 338ac38..8ba25d5 100644
--- a/tests/iio_info.c
+++ b/tests/iio_info.c
@@ -343,6 +343,8 @@ int main(int argc, char **argv)
                                printf(")\n");
                        }
 
+                       printf("\t\t\t\ttype=%d, modifier=%d\n",iio_channel_get_type(ch), iio_channel_get_modifier(ch));
+
                        unsigned int nb_attrs = iio_channel_get_attrs_count(ch);
                        if (!nb_attrs)
                                continue;

This shows clearly the issue:

	iio:device4: adis16460 (buffer capable)
		8 channels found:
			anglvel_x:  (input, index: 0, format: be:S32/32>>0)
				type=12, modifier=0
			2 channel-specific attributes found:
				attr  0: raw value: 359648
				attr  1: scale value: 0.000000001
			anglvel_y:  (input, index: 1, format: be:S32/32>>0)
				type=12, modifier=0
			2 channel-specific attributes found:
				attr  0: raw value: 241343
				attr  1: scale value: 0.000000001
			anglvel_z:  (input, index: 2, format: be:S32/32>>0)
				type=12, modifier=0
			2 channel-specific attributes found:
				attr  0: raw value: -2014048
				attr  1: scale value: 0.000000001
			accel_x:  (input, index: 3, format: be:S32/32>>0)
				type=3, modifier=0
			2 channel-specific attributes found:
				attr  0: raw value: -67174400
				attr  1: scale value: 0.000000037
			accel_y:  (input, index: 4, format: be:S32/32>>0)
				type=3, modifier=0
			2 channel-specific attributes found:
				attr  0: raw value: 3145727
				attr  1: scale value: 0.000000037
			accel_z:  (input, index: 5, format: be:S32/32>>0)
				type=3, modifier=0
			2 channel-specific attributes found:
				attr  0: raw value: 252182527
				attr  1: scale value: 0.000000037
			temp0:  (input, index: 6, format: be:S16/16>>0)
				type=9, modifier=0
			3 channel-specific attributes found:
				attr  0: offset value: 500
				attr  1: scale value: 50
				attr  2: raw value: 219
			timestamp:  (input, index: 7, format: le:S64/64>>0)
				type=13, modifier=0
		1 device-specific attributes found:
				attr  0: sampling_frequency value: 2048.000000
		1 buffer-specific attributes found:
				attr  0: watermark value: 1
		4 debug attributes found:
				debug attr  0: flash_count value: 157
				debug attr  1: product_id value: 16460
				debug attr  2: serial_number value: 0x09da
				debug attr  3: direct_reg_access value: 0x9D
		Current trigger: trigger0(adis16460-dev4)

The same with the patch applied, validates the fix:
The modifiers are correct ant also all the types:
Given this, I apply the patch and close this issue.

	iio:device4: adis16460 (buffer capable)
		8 channels found:
			anglvel_x:  (input, index: 0, format: be:S32/32>>0)
				type=4, modifier=1
			2 channel-specific attributes found:
				attr  0: raw value: -1014652
				attr  1: scale value: 0.000000001
			anglvel_y:  (input, index: 1, format: be:S32/32>>0)
				type=4, modifier=2
			2 channel-specific attributes found:
				attr  0: raw value: 635955
				attr  1: scale value: 0.000000001
			anglvel_z:  (input, index: 2, format: be:S32/32>>0)
				type=4, modifier=3
			2 channel-specific attributes found:
				attr  0: raw value: -965408
				attr  1: scale value: 0.000000001
			accel_x:  (input, index: 3, format: be:S32/32>>0)
				type=3, modifier=1
			2 channel-specific attributes found:
				attr  0: raw value: -66453504
				attr  1: scale value: 0.000000037
			accel_y:  (input, index: 4, format: be:S32/32>>0)
				type=3, modifier=2
			2 channel-specific attributes found:
				attr  0: raw value: 4390911
				attr  1: scale value: 0.000000037
			accel_z:  (input, index: 5, format: be:S32/32>>0)
				type=3, modifier=3
			2 channel-specific attributes found:
				attr  0: raw value: 255459327
				attr  1: scale value: 0.000000037
			temp0:  (input, index: 6, format: be:S16/16>>0)
				type=9, modifier=0
			3 channel-specific attributes found:
				attr  0: offset value: 500
				attr  1: scale value: 50
				attr  2: raw value: 227
			timestamp:  (input, index: 7, format: le:S64/64>>0)
				type=2147483647, modifier=0
		1 device-specific attributes found:
				attr  0: sampling_frequency value: 2048.000000
		1 buffer-specific attributes found:
				attr  0: watermark value: 1
		4 debug attributes found:
				debug attr  0: flash_count value: 157
				debug attr  1: product_id value: 16460
				debug attr  2: serial_number value: 0x09da
				debug attr  3: direct_reg_access value: 0x9D
		Current trigger: trigger0(adis16460-dev4)		

-Michael

mhennerich added a commit that referenced this issue Nov 21, 2018
channel: Fix #219 get_modifier and get_type seems to work incorrectly
mhennerich added a commit that referenced this issue Nov 21, 2018
Changelog:
20c9079 CI/travis/inside_bionic_docker.sh: re-use the make_linux logic
cd1be7d build,travis: parametrize library name
2b4503d README.md : Update with links to doc
cf87e0a travis-ci: install graphviz
2f3632f doxygen: check if building on a case senstive file system.
a18ff6e doxygen: If dot exists, use it.
cb28721 appveyor: install graphviz and fix doxygen version
550f4b8 README: Update with latest build changes
540c96b deployment : export the LDIST var which is needed in other scripts
de8356b fix snprintf warnings from gcc 8
24c7f00 .travis.yml: Add new Xcode versions to the Travis CI builds.
d65cabb CI/travis/before_install_darwin: Handle brew failures when installing packages.
29c582e .travis.yml: Drop the Travis CI builds for OSX Image xcode 6.4.
6799876 .travis.yml: Drop the Travis CI builds for Ubuntu 12.04 LTS (Precise Pangolin).
f18ed59 .travis.yml: Add support for Ubuntu 18.04 (Bionic) builds.
983657a cmake/LinuxPackaging.cmake: Add libserialport to the list of dependencies that are being handled when creating Linux packages.
25c20d6 channel: Fix #219 get_modifier and get_type seems to work incorrectly
ed6709e sorting: ensure sorting happens after global attributes are added
f05434e travis-ci: don't hard code distributions anymore
9b75895 Revert "sort: Move channel attribute sorting to context creation" fix #215
cf39834 cmake: set the CPACK_DEBIAN_PACKAGE_ARCHITECTURE for old versions of Cmake
76d4ff7 buffer: Fix bug in mask bit tests (continued)
b7407af IIOD: Fix bug in mask bit tests (continued)
37ecd2e Update README.md with newest centos packages
5dd1ff9 add note about triggered buffers in dox source
98d85f6 local: pass errors up the stack
879abfe usb: Increase ctrl pipe timeout
da13ffc usb: add libusb version to context attributes
876db45 usb: be more verbose when unable to claim an interface
686ced9 travis : Add the LDIST for centos
db47744 Ensure iio_info can find a locally installed libiio.so
c5973cf fix whitespace damage from previous commits
67a994c sort: when sorting iio_channels, if the index is the same, use ID
b9008a7 sort: Move channel attribute sorting to context creation
8405704 sort: change function names to be more descriptive/accurate
afd6d69 Update FIR enable function in ML bindings to not force sample rate ahead of filter write.
53bfb03 local: Sort devices, channels and attributes when adding them.
256a80a appveyor.yml: Downgrade curl from 7.61.1-3 to 7.61.1-2
15ddcd6 Fix FIR load function in ML bindings to actually enable the FIR once loaded.
4c9a050 CI/travis/inside_centos_docker.sh: hack/patch CPackRPM.cmake for CentOS 7
f60f957 cmake/LinuxPackaging.cmake: use non-dev packages to .deb dep list
ed6d860 CI/travis/make_linux: install deb package as final test
cfe093a build,CI/travis: setup CentOS testing
4a39cb6 CI/travis: enable errexit & xtrace behavior in scripts
77a1154 CI/travis/before_deploy: move `grep` expression in `find`
a05d607 .gitignore: add vim swap files
0b23cbe spelling fonction->function
ee936e8 Fix bug in mask bit tests
c80412c cmake: Suppress errors when looking up the git repository path
2a76c2e .travis.yml: add host-key algo ssh-dss for xenial deploy
b853fdb appveyor.yml: change versioning to '{branch}.{build}' format
0950037 CI/travis/deploy: extend cleanup to all debian packages
2b1c4b8 README.md: add Xenial artifact links
ea80423 .travis.yml: add Xenial distro to job run


Alexandra Trifan (1):
      appveyor.yml: Downgrade curl from 7.61.1-3 to 7.61.1-2 .

Alexandra.Trifan (6):
      cmake/LinuxPackaging.cmake: Add libserialport to the list of dependencies that are being handled when creating Linux packages.
      .travis.yml: Add support for Ubuntu 18.04 (Bionic) builds.
      .travis.yml: Drop the Travis CI builds for Ubuntu 12.04 LTS (Precise Pangolin).
      .travis.yml: Drop the Travis CI builds for OSX Image xcode 6.4.
      CI/travis/before_install_darwin: Handle brew failures when installing packages.
      .travis.yml: Add new Xcode versions to the Travis CI builds.

Alexandru Ardelean (14):
      .travis.yml: add Xenial distro to job run
      README.md: add Xenial artifact links
      CI/travis/deploy: extend cleanup to all debian packages
      appveyor.yml: change versioning to '{branch}.{build}' format
      .travis.yml: add host-key algo ssh-dss for xenial deploy
      .gitignore: add vim swap files
      CI/travis/before_deploy: move `grep` expression in `find`
      CI/travis: enable errexit & xtrace behavior in scripts
      build,CI/travis: setup CentOS testing
      CI/travis/make_linux: install deb package as final test
      cmake/LinuxPackaging.cmake: use non-dev packages to .deb dep list
      CI/travis/inside_centos_docker.sh: hack/patch CPackRPM.cmake for CentOS 7
      build,travis: parametrize library name
      CI/travis/inside_bionic_docker.sh: re-use the make_linux logic

David Frey (2):
      Fix bug in mask bit tests
      spelling fonction->function

Lars-Peter Clausen (2):
      cmake: Suppress errors when looking up the git repository path
      usb: Increase ctrl pipe timeout

Michael Hennerich (15):
      Merge pull request #175 from analogdevicesinc/sort
      Merge pull request #203 from analogdevicesinc/sort1
      Merge pull request #206 from analogdevicesinc/rgetz-patch-1
      Merge pull request #201 from analogdevicesinc/fix-ml-bindings
      Merge pull request #207 from analogdevicesinc/rgetz-patch-2
      IIOD: Fix bug in mask bit tests (continued)
      buffer: Fix bug in mask bit tests (continued)
      Merge pull request #198 from mangOH/mask_fix_bug
      Merge pull request #211 from analogdevicesinc/iiod-mask-fix-bug
      Merge pull request #212 from analogdevicesinc/rgetz-patch-2
      Merge pull request #213 from analogdevicesinc/rgetz-patch-3
      Merge pull request #214 from analogdevicesinc/rgetz-patch-4
      Revert "sort: Move channel attribute sorting to context creation" fix #215
      channel: Fix #219 get_modifier and get_type seems to work incorrectly
      Merge pull request #224 from analogdevicesinc/rft-issue-219

Robin Getz (23):
      local: Sort devices, channels and attributes when adding them.
      sort: change function names to be more descriptive/accurate
      sort: Move channel attribute sorting to context creation
      sort: when sorting iio_channels, if the index is the same, use ID
      fix whitespace damage from previous commits
      Ensure iio_info can find a locally installed libiio.so
      travis : Add the LDIST for centos
      usb: be more verbose when unable to claim an interface
      usb: add libusb version to context attributes
      local: pass errors up the stack
      add note about triggered buffers in dox source
      Update README.md with newest centos packages
      cmake: set the CPACK_DEBIAN_PACKAGE_ARCHITECTURE for old versions of Cmake
      travis-ci: don't hard code distributions anymore
      sorting: ensure sorting happens after global attributes are added
      fix snprintf warnings from gcc 8
      deployment : export the LDIST var which is needed in other scripts
      README: Update with latest build changes
      appveyor: install graphviz and fix doxygen version
      doxygen: If dot exists, use it.
      doxygen: check if building on a case senstive file system.
      travis-ci: install graphviz
      README.md : Update with links to doc

Travis Collins (2):
      Fix FIR load function in ML bindings to actually enable the FIR once loaded.
      Update FIR enable function in ML bindings to not force sample rate ahead of filter write.

Signed-off-by: Michael Hennerich <[email protected]>
mhennerich added a commit that referenced this issue Nov 21, 2018
Untested attempt to fix issue #219:
iio_channel_get_modifier and
iio_channel_get_type seems to work incorrectly.

Signed-off-by: Michael Hennerich <[email protected]>
mhennerich added a commit that referenced this issue Nov 21, 2018
Changelog:
20c9079 CI/travis/inside_bionic_docker.sh: re-use the make_linux logic
cd1be7d build,travis: parametrize library name
2b4503d README.md : Update with links to doc
cf87e0a travis-ci: install graphviz
2f3632f doxygen: check if building on a case senstive file system.
a18ff6e doxygen: If dot exists, use it.
cb28721 appveyor: install graphviz and fix doxygen version
550f4b8 README: Update with latest build changes
540c96b deployment : export the LDIST var which is needed in other scripts
de8356b fix snprintf warnings from gcc 8
24c7f00 .travis.yml: Add new Xcode versions to the Travis CI builds.
d65cabb CI/travis/before_install_darwin: Handle brew failures when installing packages.
29c582e .travis.yml: Drop the Travis CI builds for OSX Image xcode 6.4.
6799876 .travis.yml: Drop the Travis CI builds for Ubuntu 12.04 LTS (Precise Pangolin).
f18ed59 .travis.yml: Add support for Ubuntu 18.04 (Bionic) builds.
983657a cmake/LinuxPackaging.cmake: Add libserialport to the list of dependencies that are being handled when creating Linux packages.
25c20d6 channel: Fix #219 get_modifier and get_type seems to work incorrectly
ed6709e sorting: ensure sorting happens after global attributes are added
f05434e travis-ci: don't hard code distributions anymore
9b75895 Revert "sort: Move channel attribute sorting to context creation" fix #215
cf39834 cmake: set the CPACK_DEBIAN_PACKAGE_ARCHITECTURE for old versions of Cmake
76d4ff7 buffer: Fix bug in mask bit tests (continued)
b7407af IIOD: Fix bug in mask bit tests (continued)
37ecd2e Update README.md with newest centos packages
5dd1ff9 add note about triggered buffers in dox source
98d85f6 local: pass errors up the stack
879abfe usb: Increase ctrl pipe timeout
da13ffc usb: add libusb version to context attributes
876db45 usb: be more verbose when unable to claim an interface
686ced9 travis : Add the LDIST for centos
db47744 Ensure iio_info can find a locally installed libiio.so
c5973cf fix whitespace damage from previous commits
67a994c sort: when sorting iio_channels, if the index is the same, use ID
b9008a7 sort: Move channel attribute sorting to context creation
8405704 sort: change function names to be more descriptive/accurate
afd6d69 Update FIR enable function in ML bindings to not force sample rate ahead of filter write.
53bfb03 local: Sort devices, channels and attributes when adding them.
256a80a appveyor.yml: Downgrade curl from 7.61.1-3 to 7.61.1-2
15ddcd6 Fix FIR load function in ML bindings to actually enable the FIR once loaded.
4c9a050 CI/travis/inside_centos_docker.sh: hack/patch CPackRPM.cmake for CentOS 7
f60f957 cmake/LinuxPackaging.cmake: use non-dev packages to .deb dep list
ed6d860 CI/travis/make_linux: install deb package as final test
cfe093a build,CI/travis: setup CentOS testing
4a39cb6 CI/travis: enable errexit & xtrace behavior in scripts
77a1154 CI/travis/before_deploy: move `grep` expression in `find`
a05d607 .gitignore: add vim swap files
0b23cbe spelling fonction->function
ee936e8 Fix bug in mask bit tests
c80412c cmake: Suppress errors when looking up the git repository path
2a76c2e .travis.yml: add host-key algo ssh-dss for xenial deploy
b853fdb appveyor.yml: change versioning to '{branch}.{build}' format
0950037 CI/travis/deploy: extend cleanup to all debian packages
2b1c4b8 README.md: add Xenial artifact links
ea80423 .travis.yml: add Xenial distro to job run


Alexandra Trifan (1):
      appveyor.yml: Downgrade curl from 7.61.1-3 to 7.61.1-2 .

Alexandra.Trifan (6):
      cmake/LinuxPackaging.cmake: Add libserialport to the list of dependencies that are being handled when creating Linux packages.
      .travis.yml: Add support for Ubuntu 18.04 (Bionic) builds.
      .travis.yml: Drop the Travis CI builds for Ubuntu 12.04 LTS (Precise Pangolin).
      .travis.yml: Drop the Travis CI builds for OSX Image xcode 6.4.
      CI/travis/before_install_darwin: Handle brew failures when installing packages.
      .travis.yml: Add new Xcode versions to the Travis CI builds.

Alexandru Ardelean (14):
      .travis.yml: add Xenial distro to job run
      README.md: add Xenial artifact links
      CI/travis/deploy: extend cleanup to all debian packages
      appveyor.yml: change versioning to '{branch}.{build}' format
      .travis.yml: add host-key algo ssh-dss for xenial deploy
      .gitignore: add vim swap files
      CI/travis/before_deploy: move `grep` expression in `find`
      CI/travis: enable errexit & xtrace behavior in scripts
      build,CI/travis: setup CentOS testing
      CI/travis/make_linux: install deb package as final test
      cmake/LinuxPackaging.cmake: use non-dev packages to .deb dep list
      CI/travis/inside_centos_docker.sh: hack/patch CPackRPM.cmake for CentOS 7
      build,travis: parametrize library name
      CI/travis/inside_bionic_docker.sh: re-use the make_linux logic

David Frey (2):
      Fix bug in mask bit tests
      spelling fonction->function

Lars-Peter Clausen (2):
      cmake: Suppress errors when looking up the git repository path
      usb: Increase ctrl pipe timeout

Michael Hennerich (15):
      Merge pull request #175 from analogdevicesinc/sort
      Merge pull request #203 from analogdevicesinc/sort1
      Merge pull request #206 from analogdevicesinc/rgetz-patch-1
      Merge pull request #201 from analogdevicesinc/fix-ml-bindings
      Merge pull request #207 from analogdevicesinc/rgetz-patch-2
      IIOD: Fix bug in mask bit tests (continued)
      buffer: Fix bug in mask bit tests (continued)
      Merge pull request #198 from mangOH/mask_fix_bug
      Merge pull request #211 from analogdevicesinc/iiod-mask-fix-bug
      Merge pull request #212 from analogdevicesinc/rgetz-patch-2
      Merge pull request #213 from analogdevicesinc/rgetz-patch-3
      Merge pull request #214 from analogdevicesinc/rgetz-patch-4
      Revert "sort: Move channel attribute sorting to context creation" fix #215
      channel: Fix #219 get_modifier and get_type seems to work incorrectly
      Merge pull request #224 from analogdevicesinc/rft-issue-219

Robin Getz (23):
      local: Sort devices, channels and attributes when adding them.
      sort: change function names to be more descriptive/accurate
      sort: Move channel attribute sorting to context creation
      sort: when sorting iio_channels, if the index is the same, use ID
      fix whitespace damage from previous commits
      Ensure iio_info can find a locally installed libiio.so
      travis : Add the LDIST for centos
      usb: be more verbose when unable to claim an interface
      usb: add libusb version to context attributes
      local: pass errors up the stack
      add note about triggered buffers in dox source
      Update README.md with newest centos packages
      cmake: set the CPACK_DEBIAN_PACKAGE_ARCHITECTURE for old versions of Cmake
      travis-ci: don't hard code distributions anymore
      sorting: ensure sorting happens after global attributes are added
      fix snprintf warnings from gcc 8
      deployment : export the LDIST var which is needed in other scripts
      README: Update with latest build changes
      appveyor: install graphviz and fix doxygen version
      doxygen: If dot exists, use it.
      doxygen: check if building on a case senstive file system.
      travis-ci: install graphviz
      README.md : Update with links to doc

Travis Collins (2):
      Fix FIR load function in ML bindings to actually enable the FIR once loaded.
      Update FIR enable function in ML bindings to not force sample rate ahead of filter write.

Signed-off-by: Michael Hennerich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants