Industrial I/O Subsystem: The Home of Linux Sensors
Daniel Baluta
Intel daniel.baluta@intel.com
October 5, 2015
Daniel Baluta (Intel) Industrial I/O October 5, 2015 1 / 29
Industrial I/O Subsystem: The Home of Linux Sensors Daniel Baluta - - PowerPoint PPT Presentation
Industrial I/O Subsystem: The Home of Linux Sensors Daniel Baluta Intel daniel.baluta@intel.com October 5, 2015 Daniel Baluta (Intel) Industrial I/O October 5, 2015 1 / 29 Why Industrial I/O? past - industrial process control or scientific
Daniel Baluta (Intel) Industrial I/O October 5, 2015 1 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 2 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 3 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 4 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 5 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 6 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 7 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 8 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 9 / 29
1 s t r u c t
2
3
4
5
6 };
Daniel Baluta (Intel) Industrial I/O October 5, 2015 10 / 29
1 s t r u c t
2
3
4
5
6
7
8
9
10 };
Daniel Baluta (Intel) Industrial I/O October 5, 2015 11 / 29
1 const
2
3
4 }; 5 i n t
6 { 7
8
9
10
11
12
13
14
15
16
17 } 18 /∗ on
19 i n d i o d e v −
Daniel Baluta (Intel) Industrial I/O October 5, 2015 12 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 13 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 14 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 15 / 29
1 s t r u c t
2
3
4
5
6
7
8
9
10
11
12
13
14
15 }; Daniel Baluta (Intel) Industrial I/O October 5, 2015 16 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 17 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 18 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 19 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 20 / 29
1 # go
2 $ cd / sys / bus / i i o / d e v i c e s / 3 # l i s t
4 $
5 t r i g g e r 0
6 # s e t
7 $ echo
8 # a c t i v a t e
9 $ echo 1 > i i o : device0 / scan elements / in magn z en 10 $ echo 1 > i i o : device0 / scan elements / in magn y en 11 $ echo 1 > i i o : device0 / scan elements / in magn z en 12 # check
13 $
14 2 15 # f i n a l
16 $ echo 1 > i i o : device0 / b u f f e r / enable Daniel Baluta (Intel) Industrial I/O October 5, 2015 21 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 22 / 29
1 2 s t r u c t
3
4
5
6 }; 7 8 s t r u c t
9
10
11
12 };
Daniel Baluta (Intel) Industrial I/O October 5, 2015 23 / 29
1 2 s t a t i c
3
4
5
6
7
8 }; 9 10 /∗ on
11 i n d i o d e v −
Daniel Baluta (Intel) Industrial I/O October 5, 2015 24 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 25 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 26 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 27 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 28 / 29
Daniel Baluta (Intel) Industrial I/O October 5, 2015 29 / 29