srcpd.conf(5)

๐Ÿ“ฆ
version 2.1.7 ยท 2 versions
  • 2.1.7 ยท debian trixie, epel 10, epel 9, fedora 43, fedora 44, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 2.1.6 ยท ubuntu noble
, in debian trixie, epel 10, epel 9, fedora 43, fedora 44, ubuntu questing, ubuntu resolute, ubuntu stonking

๐ŸŒธ srcpd.conf ๐ŸŒธ

okay bestie, welcome to srcpd.conf(5) โ€” that's the File Formats Manual section, so you know this is the real deal. it's the config file for the srcpd daemon and we're gonna go through every single thing in it, no skips, no "eh you'll figure it out". grab a snack. ๐Ÿ“


โœจ NAME โœจ

srcpd.conf โ€” the configuration file for the srcpd daemon. that's it, that's the name, she's simple and she's iconic. ๐Ÿ‘‘


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so the file /etc/srcpd.conf is what srcpd (8) reads. it holds the runtime configuration for the daemon and its connection(s) to your model railroad system. if you wanna know how to actually run the daemon, go read srcpd (8), because this page is about the file, not the vibes of launching it. ๐Ÿ’…


๐Ÿ’– DEFAULT CONFIGURATION FILE ๐Ÿ’–

the default file ships right along with srcpd and it's giving both default settings and an example bus configuration. look at her:

<?xml version="1.0"?>
<srcpd version="2.0">
  <bus>
    <server>
      <tcp-port>4303</tcp-port>
      <pid-file>/var/run/srcpd.pid</pid-file>
      <username>nobody</username>
      <groupname>nogroup</groupname>
    </server>
    <verbosity>5</verbosity>
  </bus>
  <bus>
    <loopback>
      <number_fb>3</number_fb>
    </loopback>
    <use_watchdog>no</use_watchdog>
    <verbosity>5</verbosity>
    <auto_power_on>yes</auto_power_on>
  </bus>
</srcpd>

like. she's cute. she's functional. we love her. ๐ŸŽ€


๐ŸŒˆ FILE FORMAT ๐ŸŒˆ

the config lives in XML format, periodt. and because XML is just plain text, experienced users can absolutely just open it in a text editor and go to town. less experienced users? bestie, please grab an external configuration tool so your file stays syntactically correct, i'm begging. ๐Ÿ™ˆ

if errors happen while reading the config file, the daemon sends notifications to the syslog daemon. you can watch those messages using the syslog facility user.info. that facility usually lands in /var/log/messages (or /var/log/syslog). on some systems you might need to edit /etc/syslog.conf to get at the user.info facility:

user.info     /var/adm/user-info.log
heads up: currently there is no document type definition (DTD) available to validate the format of a user created configuration file. so no safety net, bestie, you're on your own. ๐Ÿ˜ญ

every config file has to provide this base structure:

<?xml version="1.0"?>
<srcpd>
...
</srcpd>

inside that structure (...) you configure the buses you need, each one in its own separate substructure:

<bus>
...
</bus>
<bus>
...
</bus>

๐Ÿงš General hints ๐Ÿงš

the first configured bus should always be the server-bus. after that? sequence and number of the following buses are whatever you want, any desired, go off. โœจ

numbering of each single bus follows the sequence in this configuration file. the server bus itself gets number 0, and all following buses get numbered continuously starting with 1 up to a maximum limit of 20.

only file the buses you're actually using with the daemon. not using a bus? comment it out, queen:

<!--
<bus>
...
</bus>
-->
careful though!! if you comment a bus out, the numbering of the following buses will change accordingly. don't say i didn't warn you. ๐Ÿ’€

๐ŸŒŸ Universal options ๐ŸŒŸ

these options work for all used bus sections. and important: universal options must be specified after the bus specific options. order matters, bestie, don't fight it. ๐Ÿซถ

  • verbosity โ€” depending on this number (valid range: 0..5) the bus tells you less or more about what's happening. the 0 value gives a minimum output. this option is mainly used for debugging reasons. you can watch these messages using the syslog daemon file /var/log/messages (or /var/log/messages); see srcpd(8) for more info. the default value is 4.
  • use_watchdog โ€” some buses provide a watchdog feature to cancel a blocked bus thread. valid input values are yes or no. the default value is no.
  • restore_device_settings โ€” some buses provide a feature to restore serial device settings. valid input values are yes or no. the default value is no.
  • device โ€” this is the name of the connected device (like /dev/ttyS0). if the bus is server or loopback, no assignment is necessary. the default value is /dev/null.
  • auto_power_on โ€” this option enables/disables automatical power on for a bus on server daemon start. this option is not necessary for server and loopback buses. the default value is no.
  • speed โ€” buses using serial devices with a not fixed transfer speed allow one to adjust this parameter. possible values are 2400, 4800, 9600, 19200, 38400, 57600 and 115200 baud. for buses with variable interface speed the default value is 2400.

๐Ÿ‘‘ server ๐Ÿ‘‘

this bus is needed every time, non-negotiable, she's the main character. ๐ŸŽ€ these options are here for your individual setup:

  • tcp-port โ€” this is the TCP/IP port for communication between srcpd and his clients. default is 4303 (and yes, this port number is assigned to SRCP by IANA, so it's official official).
  • pid-file โ€” file where srcpd is storing it's process-id. according to FHS the default is /var/run/srcpd.pid.
  • username โ€” srcpd runs under this user. default is nobody.
  • groupname โ€” srcpd runs under this group. default is nogroup.

๐Ÿš— dccar ๐Ÿš—

this driver supports DC-Car Infrared Remote Control. this mode supports remote control of cars (e.g. Faller Car-System) with a DC-Car decoder or Infracar decoder. a sender must be connected to your PC's seriall port. some USB/Serial Adapter also work, e.g. Prolifi PL 2303 based adapter. (yep, adapters are lowkey invited to the party too. ๐Ÿฆ‹)

a description of the sender is available at http://www.dc-car.de/pc-sender.html

  • mode โ€” this option specifies whether DC-Car or Infracar decoders are controlled. currently it is not possible to combine both modes. possile values are dccar and infracar.
  • number_gl โ€” this value specifies the address range of the used vehicles (GL). up to 1024 DC-Cars or 4096 Infracars can be controlled. default values are 1024 (dccar) and 4096 (infracar).
  • pause_between_commands โ€” this value specifies the time between two commands. the default value is 10 ms.

๐Ÿ“ Example

<bus>
     <dccar>
          <mode>dccar</mode>
          <number_gl>1024</number_gl>
          <pause_between_commands>10</pause_between_commands>
     </dccar>
     <auto_power_on>yes</auto_power_on>
     <verbosity>4</verbosity>
     <device>/dev/ttyUSB0</device>
</bus>

โšก ddl โšก

Digital Direct for Linux (DDL) via serial line (RS232). with this module the PC is enabled to generate a digital control voltage for Maerklin/Motorola (MM) and/or NMRA/DCC using the serial interface (RS232) hardware. output lines TxD and GND are used by this feature and must be connected to booster inputs properly. no vibes-based wiring, bestie. ๐Ÿ”Œ

this module exposes optimal signal performance if special user rights for the srcpd are applied. it is recommended especially for Maerklin/Motorola users to configure a system user srcpd and a group srcpd with these command lines:

$ addgroup --system srcpd
$ adduser --system --no-create-home --ingroup srcpd srcpd

in order to increase the realtime priority for this user the system file /etc/security/limits.conf must be edited to add following line:

srcpd  -       rtprio  99

additionally check if the pam_limits parameters in configuration file

/etc/pam.d/su

are activated, so user limits set in /etc/security/limits.conf are effective.

according to these measures the configuration file must be adapted as follows:

<server>
  ...
  <username>srcpd</username>
  <groupname>srcpd</groupname>
  ...
</server>
  • number_ga โ€” maximum usable decoder address number for generic accessory devices (GA). the default value is 324.
please note that there is an offset of 4 between the DDL addresses and the addresses according to the documentation from maerklin. the equation ddl-address = maerklin docu address + 4 is used. this is due to some interpretation differences what the trits mean. details can be found at http://vogt-it.com/OpenSource/DDL/Addrestable.html
  • number_gl โ€” maximum usable decoder address number for generic locomotive devices (GL). the default value is 81.
  • enable_ringindicator_checking โ€” the ring indicator (RI) is a line of the serial interface RS232. this line can be used to switch off digital signal power, e.g. by pushing a connected emergency stop button. signal power is switched off if RI line input voltage changes from -12V (-5V) to +12V (+5V). if this feature is used, the parameter must be set to yes, if not used, it must be set to no. the default value is no.
  • enable_checkshort_checking โ€” the DSR line of the serial interface RS232 can be used to switch off digital power as response to shortcut detection. the connected booster must provide support for this kind of feature and must be wired to this line accordingly. if used the parameter must be set to yes, if not used, it must be set to no. the default value is no.
  • inverse_dsr_handling โ€” some boosters provide inverted output voltage for shortcut detection. if such a booster is used this parameter must be set to yes. the default value is no.
  • enable_maerklin โ€” this parameter must be set to yes if decoders for the old (not mfx) Maerklin/Motorola (MM) format are used. if not used, it should be set to no. the default value is yes.
  • enable_nmradcc โ€” this parameter must be set to yes if decoders for NMRA/DCC format are used. if not used, it should be set to no. the default value is yes.

it is also possible to enable both digital protocol formats, to drive decoders of both digital systems attached to the same power line. in order to minimize CPU load, the not used protocol should always be disabled. (your CPU will thank you, she's sensitive. ๐Ÿ’…)

  • improve_nmradcc_timing โ€” the default baudrate of DDL is 19200 baud, which is slightly higher than allowed by NMRA DCC standard. with a UART 16550A you can change the baudrate to 16457 baud, which is within the specification. this is only needed if you have timing problems with the default. valid input values are yes or no. the default value is no, which corresponds to 19200 baud.
  • nmra_ga_offset โ€” okay so this one is for backward compatibility to erddcd and for when you're using different central units, because bestie there are literally two ways to handle NMRA/DCC decoder addresses ๐Ÿ˜ญ. This parameter lets you add an offset to all used address values. E.g., if all GA decoder addresses are shifted by 4 (i.e. you want to change switch 1, and you have to change switch 5 to do this), then this parameter should be set to 1. Valid values are 0 and 1. Default value is 0. ๐Ÿ’…
  • shortcut_failure_delay โ€” the number of micro seconds srcpd waits to switch off digital power, after a shortcut is detected. The default value is 0. yes that's the whole thing, short and sweet โœจ
  • nmradcc_translation_routine โ€” there are 3 implementations for converting the logical command bits into serial line commands, considering the start and stop bits of the serial line. Valid values are 1, 2 and 3. Default value is 3. ๐ŸŽ€
  • enable_usleep_patch โ€” so due to certain issues of the MM protocol, its usage results in a significant amount of CPU load for srcpd, caused by busy waiting ๐Ÿ’€. This parameter gives the possibility to improve this situation by introducing a process wait state for a certain amount of time. Normally this does not result in any trouble controlling the attached decoders, so the parameter should be set to yes. Valid values are yes and no. The default value is yes. ๐ŸŒธ
  • usleep_usec โ€” number of micro seconds the signal generating process pauses. This value should be as small as possible; a bigger value can result in improper digital signal generation. There have been good results using values between 100 and 250 usecs. This parameter is only used if enable_usleep_patch is set to yes. The default value is 100. ๐Ÿฆ‹
  • program_track โ€” this parameter allows you to suppress commands which are issued for a program track. This parameter should only be used on your main. Valid input values are yes or no. The default value is yes, i.e. all program track commands will be executed by default. ๐Ÿ‘‘

Example Maerklin/Motorola

<bus>
    <ddl>
       <number_ga>200</number_ga>
       <number_gl>81</number_gl>
       <enable_maerklin>yes</enable_maerklin>
       <enable_nmradcc>no</enable_nmradcc>
       <enable_usleep_patch>yes</enable_usleep_patch>
       <usleep_usec>200</usleep_usec>
    </ddl>
    <auto_power_on>no</auto_power_on>
    <verbosity>4</verbosity>
    <device>/dev/ttyS0</device>
</bus>

Example NMRA/DCC

<bus>
    <ddl>
       <number_ga>160</number_ga>
       <number_gl>60</number_gl>
       <enable_maerklin>no</enable_maerklin>
       <enable_nmradcc>yes</enable_nmradcc>
       <nmradcc_translation_routine>3</nmradcc_translation_routine>
    </ddl>
    <auto_power_on>no</auto_power_on>
    <verbosity>4</verbosity>
    <device>/dev/ttyS0</device>
</bus>

โœจ ddl-s88 โœจ

Digital Direct for Linux S88 via parport (IEEE 1284). This bus provides up to four S88 data links attached to the parallel port to connect S88-feedback modules. Usage of one S88 line is possible by simply wiring modules to the parallel port connectors; for advanced applications involving more than one line the wiring scheme is equivalent to the one from the DDL daemon erddcd (http://www.vogt-it.com/OpenSource/DDL) as shown in the circuit of Martin Wolf. The four S88 data links are managed as separate buses. ๐ŸšŒ

The maximum count of modules (with 16 contacts) which can be connected to a data link is 31; so maximal 496 contacts are supported per link. When using modules with 8 contacts two modules count as one. ๐Ÿงฎ

For each data link a separate bus is initialized where the sequence of the feedback contacts of the modules is increasing as the modules are connected to the data link. If there are no modules connected to a data link the respective value of number_fb_x must be set to 0. Nevertheless this bus is initialized, that means also if only one bus is used, all four buses are initialized. โœจ

  • ioport โ€” input/output address of the printer port. The default value is 0x0378. The value for ioport must be given in hexadecimal format (starting with 0x). Valid values for a typical Linux system are 0x0378, 0x0278 and 0x03BC. The right value can easily be detected searching through the kernel start-up messages:
dmesg | grep parport
  • clockscale โ€” parameter to adjust the clock rate for reading the modules. In the case of the default value 35 the original S88 clock rate of approximately 8 KHz would be achieved. Smaller values increasing the clock rate but not each module can work with this. In maximum there is approximately 125 KHz possible. ๐Ÿ”ฅ
  • refresh โ€” delay time in milliseconds after witch the feedback modules are read again. In case of the default value 100 the data is refreshed each 100 ms. The higher this value the less often the attached modules are read and the less is the resulting system load. Useful values are between 100 and 250. ๐Ÿ’œ
  • fb_delay_time_0 โ€” this value in milliseconds determines how long the signal on a feedback contact must be on zero level before it is accepted as valid and will be forwarded to all clients. With this parameter it is in a limited range possible to debounce bad feedback contacts (bouncing contacts). The default value is 0. ๐ŸŽ€
  • number_fb_1 โ€” this statement defines the count of feedback modules connected to the data link number 1. 1๏ธโƒฃ
  • number_fb_2 โ€” this statement defines the count of to data link number 2 connected feedback modules. 2๏ธโƒฃ
  • number_fb_3 โ€” this statement defines the count of to data link number 3 connected feedback modules. 3๏ธโƒฃ
  • number_fb_4 โ€” this statement defines the count of to the data link number 4 connected feedback modules. 4๏ธโƒฃ

Inside of the configuration the common values should be arranged before the bus specific values. ๐Ÿ“

Example

<bus>
    <auto_power_on>yes</auto_power_on>
    <verbosity>5</verbosity>
    <ddl-s88>
        <ioport>0x378</ioport>
        <number_fb_1>9</number_fb_1>
        <number_fb_2>0</number_fb_2>
        <number_fb_3>0</number_fb_3>
        <number_fb_4>0</number_fb_4>
    </ddl-s88>
</bus>

โœจ hsi-88 โœจ

This driver supports the HSI-88 device from Littfinski connected via serial line. An USB2Serial converter should work fine. The serial line speed setting is fixed to 9600 baud and cannot be changed. ๐Ÿ˜ค

The HSI-88 device provides three lines for feedback modules. To each line a maximum of 31 modules (each with 16 inputs) can be attached. If modules with 8 inputs are used, two modules count as one. ๐Ÿงš

  • number_fb_left โ€” this value is the number of feedback-modules (with 16 inputs) connected to the line called left. โฌ…๏ธ
  • number_fb_center โ€” this value is number of feedback-modules (with 16 inputs) connected to the line called center. โบ๏ธ
  • number_fb_right โ€” this value is number of feedback-modules (with 16 inputs) connected to the line called right. โžก๏ธ
  • fb_delay_time_0 โ€” this is the time in milliseconds a feedback input must be zero, before zero is delivered to the attaches SRCP clients. With this feature it is possible to compensate bad feedback bounces in a certain range. The default value is 0. ๐ŸŒธ
  • refresh โ€” the time in microseconds (us) after srcpd will read feedback again from HSI-88. The default value is 10000 us. The lower this value the higher the resulting CPU load. ๐Ÿ’…

Example

<bus>
    <hsi-88>
        <number_fb_left>8</number_fb_left>
        <number_fb_center>5</number_fb_center>
        <number_fb_right>0</number_fb_right>
        <refresh>10000</refresh>
    </hsi-88>
    <auto_power_on>yes</auto_power_on>
    <verbosity>4</verbosity>
    <device>/dev/ttyS0</device>
</bus>

โœจ i2c-dev โœจ

Bus driver for i2c-dev interface of the Linux kernel, can be used to access hardware found on http://www.matronix.de/. ๐Ÿ”Œ

  • multiplex_buses โ€” TODO ๐Ÿ“Œ
  • ga_hardware_inverters โ€” TODO ๐Ÿ“Œ
  • ga_reset_device โ€” TODO ๐Ÿ“Œ

โœจ intellibox โœจ

This driver supports the Intellibox device from Uhlenbrock (IB) connected via the serial port. Only extended mode commands are used (P50X binary protocol); this should be taken into account if protocol compatible devices (e.g. OpenDCC, DiCoStation, EasyControl) are used. Programming decoders is currently implemented for DCC only. Possible values for speed of serial port are depending from device and interface type 2400 baud, 4800 baud, 9600 baud, 19200 baud, 38400 bau and 57600 baud. ๐ŸŒˆ

  • fb_delay_time_0 โ€” this is the time in milliseconds a feedback input must be zero, before this value is delivered to clients. With this feature you can compensate bad feedback in a specific range. The default value is 0 ms. ๐ŸŽ€
  • pause_between_commands โ€” this is the time in milliseconds between two commands the driver must wait. The exact value should be hand tuned. If the system does not respond or drops commands try to increase this value. Default is 250 ms. โฑ๏ธ
  • number_ga โ€” this is the maximal address number of Generic Accessory decoders (GA). Supported range is 0..1024. A value of 0 means no GA available. Default is 256. ๐Ÿ‘‘
  • number_gl โ€” like the number of GA this number limits the maximum address of the Generic Locomotive decoders (GL). Supported range is 0..10239. A value of 0 means no GL available. Default is 80. ๐Ÿš‚
  • number_fb โ€” this is the number of S88 modules attached to the Intellibox device. The maximum valid number is 31. The default is 0 (no modules are attached). Please note that Loconet is currently not supported. ๐Ÿ˜ญ
  • auto_speed_detection โ€” flip this on and srcpd runs an automatical baudrate detection on the Intellibox it's plugged into (that's BABI bestie โ€” Break and Automatic Baud-rate Identification ๐Ÿ’…). It eats a couple of seconds, but the payoff is chef's kiss: you don't have to hand it a speed value at all. Turn it off and the connection initialization is much faster, but then the speed you gave it must line up with what your Intellibox is actually set to, no cap. Valid values are yes and no. Default value is yes. ๐Ÿซถ

Example ๐ŸŒˆ

<bus>
    <intellibox>
        <number_ga>250</number_ga>
        <number_gl>100</number_gl>
        <number_fb>4</number_fb>
        <fb_delay_time_0>0</fb_delay_time_0>
        <pause_between_commands>0</pause_between_commands>
    </intellibox>
    <speed>19200</speed>
    <auto_speed_detection>no</auto_speed_detection>
    <auto_power_on>no</auto_power_on>
    <verbosity>4</verbosity>
    <device>/dev/ttyUSB0</device>
</bus>

๐Ÿ’ซ li100, li100usb ๐Ÿ’ซ

This driver is the one that talks to the LI100, LI100F, LI101F or LI-USB devices from Lenz over the serial port / USB interface. Real talk: an USB2Serial converter should not be used here ๐Ÿ™ˆ. The serial line settings depend on which type of interface you've got. For LI-USB it's locked to 57600 baud with no chance to change it. Autodetection of the serial port interface speed is currently under construction ๐Ÿšง. If the connection fails, just try restarting srcpd with a different speed. Possible values are 9600 baud, 19200 baud, 38400 baud, 57600 baud and 115200 baud, depending on your interface.

  • fb_delay_time_0 โ€” the time in milliseconds that a feedback input has to sit at zero before that value actually gets delivered to clients. Use it to paper over bad feedback in a specific range. Default value is 0 ms.
  • number_ga โ€” the number of GA. Supported range is 0..1024. A value of 0 means no GA available. Default is 99 (for LI-USB it's 9999).
  • number_gl โ€” same energy as number of GA, except this one gives the maximum address. Supported range is 0..9999. A value of 0 means no GL available. Default is 99 (for LI-USB it's 9999).
  • number_fb โ€” the number of RS modules attached to the Lenz device. It can be as large as 512. It's assumed that one module has 8 inputs. A value of 0 means no FB available. Default is 256 (for LI-USB it's 512).

For Lenz USB interfaces it is very important to have the kernel module ftdi_sio available. And because of the Lenz concept, the interface unit hands back different values after start ๐Ÿ‘€:

  • 0 โ€” everything is OK โœจ
  • -1 โ€” Central Unit not found. Unable to read version of central unit.
  • -2 โ€” Central Unit not found. Unable to read version of central unit.
  • -3 โ€” Interface not found. Unable to read version of interface. This can also happen, if no central unit is connected to interface.
  • -4 โ€” device not found

๐ŸŒ loconet ๐ŸŒ

This bus gives you a driver for the Loconet system by Digitrax. The device settings can be either serial connections (e.g. MS100, LocoBuffer) or TCP/IP network links (e.g. LbServer, http://loconetovertcp.sourceforge.net/). Pick your fighter ๐Ÿ’…

  • sync-time-from-loconet โ€” decode time messages from the loconet and set the SRCP TIME device. Valid values are yes or no. Default is no.
  • loconet-id โ€” Default is 0x50.
  • ms100 โ€” support for the MS100/RS232 device of Digitrax. Valid values are yes and no. Default is no.

Example ๐ŸŽ€

<bus>
    <loconet>
        <loconet-id>80</loconet-id>
        <sync-time-from-loconet>no</sync-time-from-loconet>
        <ms100>no</ms100>
    </loconet>
    <device type="network" port="1234">127.0.0.1</device>
    <!--
    <device type="file">/dev/ttyS0</device>
    -->

</bus>

๐Ÿ” loopback ๐Ÿ”

Okay so this bus connects to absolutely no real hardware ๐Ÿฆ‹. It's mainly a development-tasks girly but honestly it can be useful for real installations too. Every command on this bus only has an echo effect on the INFO sessions. You can also use it as a virtual device for communication tasks. It's giving sandbox โœจ

  • number_ga โ€” the maximal address number of Generic Accessory (GA) devices. Default is 256.
  • number_gl โ€” this number gives the maximum valid address number of the Generic Locomotive (GL) devices. Default is 80.
  • number_fb โ€” different to other buses, this parameter takes the number of feedback contacts, not modules. So simulating two feedback modules, each providing 16 contacts, needs a parameter value of 32. Default is 0 (no contact).

Example ๐ŸŒธ

<bus>
    <loopback>
        <number_ga>120</number_fb>
        <number_gl>100</number_fb>
        <number_fb>64</number_fb>
    </loopback>
    <verbosity>2</verbosity>
    <auto_power_on>no</auto_power_on>
</bus>

๐Ÿš‚ m605x ๐Ÿš‚

This supports communication with the 6051 or 6050 devices from Maerklin connected via the serial port. An USB2Serial converter should work fine here (unlike some other buses, iykyk). The serial line settings are fixed to 2400 baud 8N2 and cannot be changed, periodt.

  • m6020mode โ€” in this mode the srcpd does not sent the 4 functions. This is a feature of the 6021 only. Valid values are yes and no. Default value is no.
  • fb_delay_time_0 โ€” this is the time the driver code waits until it recognized the input change, in milliseconds. This feature may support a debounce found in the hardware. The default value is 0 ms.
  • ga_min_activetime โ€” the time in milliseconds a GA device needs to be in active state. The absolute minimum is 75 ms and is needed for stable communication with the 6051. The default value is 75 ms.
  • pause_between_commands โ€” the time between two commands the drivers must wait. The exact values should be hand tuned. If the system does not respond or drops commands, try to increase this value. Default is 200 ms.
  • pause_between_bytes โ€” the time the driver waits between 2 bytes in multi-byte commands. The hardware handshake does not work with all devices, so this parameter was introduced to support it. The default is 2 ms.
  • number_ga โ€” the number of GA. This parameter does not have a real effect since the interface supports the addresses 1..256 only. Keep the default value 256 untouched.
  • number_gl โ€” like the number of GA, this number gives the maximum GL address. Since this number is limited to 80, keep the default value 80 untouched.
  • number_fb โ€” the number of 6088 modules attached to the 6051/6050 device. The valid range is from 0..31. The default value is 0 (no modules are attached). Please note that 6088 modules attached to other devices (memory) cannot be accessed.

Example ๐Ÿ’œ

<bus>
    <m605x>
        <number_ga>120</number_fb>
        <number_gl>60</number_fb>
        <number_fb>8</number_fb>
        <ga_min_activetime>150</ga_min_activetime>
        <pause_between_bytes>2</pause_between_bytes>
        <pause_between_commands>50</pause_between_commands>
    </m605x>
    <auto_power_on>no</auto_power_on>
    <verbosity>4</verbosity>
    <device>/dev/ttyS0</device>
</bus>

๐ŸŽ›๏ธ selectrix ๐ŸŽ›๏ธ

Selectrix CC-2000 and Rautenhaus SLX852. That's it, that's the description bestie ๐Ÿ˜ญ

  • number_ga โ€” TODO
  • number_gl โ€” TODO
  • number_fb โ€” TODO
  • controller โ€” TODO

๐Ÿš„ zimo ๐Ÿš„

This bus provides support for the old ASCII based Zimo MX1 interface protocol. The baud rate can not be changed and has an internal preset of 9600 Baud. Locked in, no notes ๐Ÿ’…

  • number_ga โ€” this value sets the maximum number for the GA address range. For protocol M (Maerklin/Motorola) the upper limit is 63, for protocol N (NMRA/DCC) the upper limit is 2044 (according to Lenz-DCC address scheme). The Z (Zimo) protocol is not supported yet. The default value is 256.
  • number_gl โ€” this value sets the maximum number for the GL address range. The default value is 80.
  • number_fb โ€” Not supported. The default value is 0.
  • fb_delay_time_0 โ€” Not supported.

๐Ÿ“ FILES ๐Ÿ“

  • /etc/srcpd.conf

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

  • srcpd (8)

๐Ÿ’– AUTHORS ๐Ÿ’–

This man page was written by Matthias Trute (mtrute@users.sourceforge.net), Frank Schmischke (schmischi@users.sourceforge.net) and Guido Scholz (gscholz@users.sourceforge.net). Legends only, fr fr ๐Ÿซถ๐Ÿ‘‘


And that's the whole page bestie!! ๐ŸŽ‰ This one's from the srcpd.conf(5) manual, dated December 19, 2009 โ€” go build something iconic with it โœจ๐ŸŒธ๐Ÿ’