debugfs-moxtet (976e3645923bdd2fe7893aae33fd7a21098bfb28) debugfs-moxtet (002a9c2f99c77677635d2ab2e906fc6ba3f7ab67)
1What: /sys/kernel/debug/moxtet/input
2Date: March 2019
3KernelVersion: 5.3
4Contact: Marek Behún <marek.behun@nic.cz>
5Description: (R) Read input from the shift registers, in hexadecimal.
6 Returns N+1 bytes, where N is the number of Moxtet connected
7 modules. The first byte is from the CPU board itself.
1What: /sys/kernel/debug/moxtet/input
2Date: March 2019
3KernelVersion: 5.3
4Contact: Marek Behún <marek.behun@nic.cz>
5Description: (R) Read input from the shift registers, in hexadecimal.
6 Returns N+1 bytes, where N is the number of Moxtet connected
7 modules. The first byte is from the CPU board itself.
8 Example: 101214
9 10: CPU board with SD card
10 12: 2 = PCIe module, 1 = IRQ not active
11 14: 4 = Peridot module, 1 = IRQ not active
12
8
9 Example::
10
11 101214
12
13 == =======================================
14 10 CPU board with SD card
15 12 2 = PCIe module, 1 = IRQ not active
16 14 4 = Peridot module, 1 = IRQ not active
17 == =======================================
18
13What: /sys/kernel/debug/moxtet/output
14Date: March 2019
15KernelVersion: 5.3
16Contact: Marek Behún <marek.behun@nic.cz>
17Description: (RW) Read last written value to the shift registers, in
18 hexadecimal, or write values to the shift registers, also
19 in hexadecimal.
19What: /sys/kernel/debug/moxtet/output
20Date: March 2019
21KernelVersion: 5.3
22Contact: Marek Behún <marek.behun@nic.cz>
23Description: (RW) Read last written value to the shift registers, in
24 hexadecimal, or write values to the shift registers, also
25 in hexadecimal.
20 Example: 0102
21 01: 01 was last written, or is to be written, to the
22 first module's shift register
23 02: the same for second module
26
27 Example::
28
29 0102
30
31 == ================================================
32 01 01 was last written, or is to be written, to the
33 first module's shift register
34 02 the same for second module
35 == ================================================