This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
technical_information [2025/02/24 10:02] giometti [Generators] |
technical_information [2025/02/24 10:02] (current) giometti [Parallel port generator] |
||
---|---|---|---|
Line 175: | Line 175: | ||
===== Generators SYSFS support ===== | ===== Generators SYSFS support ===== | ||
- | If the SYSFS filesystem is enabled in the kernel it provides a new class:: | + | If the SYSFS filesystem is enabled in the kernel it provides a new class: |
$ ls /sys/class/pps-gen/ | $ ls /sys/class/pps-gen/ | ||
Line 181: | Line 181: | ||
Every directory is the ID of a PPS generator defined in the system and | Every directory is the ID of a PPS generator defined in the system and | ||
- | inside of it you find several files:: | + | inside of it you find several files: |
$ ls -F /sys/class/pps-gen/pps-gen0/ | $ ls -F /sys/class/pps-gen/pps-gen0/ | ||
dev enable name power/ subsystem@ system time uevent | dev enable name power/ subsystem@ system time uevent | ||
- | To enable the PPS signal generation you can use the command below:: | + | To enable the PPS signal generation you can use the command below: |
$ echo 1 > /sys/class/pps-gen/pps-gen0/enable | $ echo 1 > /sys/class/pps-gen/pps-gen0/enable | ||
Line 198: | Line 198: | ||
ports, for example. | ports, for example. | ||
- | Parallel port cable pinout:: | + | Parallel port cable pinout: |
pin name master slave | pin name master slave |