srcpd 2.0 documentation

The configuration file is a XML file. A DTD (or better a schema) is not yet formally defined. A simple tool to generate one such file can be found here.

<?xml version="1.0"?>

Now the main facts

<srcpd version="2.0">

Bus 0 is always the server itself. It will never be real hardware


This entry has to be defined. Most of the settings are covered by default values, it is recommended to define them anyway. The network port number 4303 is offically assigned to the SRCP protocol, so nobody else is allowed to use it.

hardware drivers

Bus 1 and above are real drivers. The should connect to real hardware.


The DDL S88 comes from the DDL project daemon erddcd. A detailed description can be found at the DDL Homepage.


The driver uses always 4 Busses. In the example above are 16 ports at bus 1, the other 3 busses are empty. In this case, a simple layout can be used to connect the S88 bus directly with the parallel port:
PC Pin(SubD25)S88 Pini (pin 6 the most outside)
23 (clock)
34 (load)
45 (reset)
101 (data)
182 (ground)
6 (external +5V)

Details for the 4 S88 lines are developed by Martin Wolf and can be can be found here on the DDL homepage.

Märklin 605x

Since the DDL S88 bus occupies 4 busses, the next bus will be number 5 in this example. It is an Marklin Interface (catalog number 6051) at /dev/ttyS1.


The interface module is connected with two S88 modules. Note, that these modules are completly independet from the S88 busses of the first bus!


This driver supports the intellibox from uhlenbrock/modeltreno.


Since srcpd 2.0B5 there is no need for an additional linux kernel module.


The loopback driver is a special one. It does not connect to any hardware but reflects any commands. You can define any device to simulate there behavior. This bus type was originally developed for off-site development. Together with recent changes of the SRCP protocol it can be used to maintain virtual feedbackers. Every FB device can be assigned any (32bit) integer value.



i2c-dev Kernel-Modul

The i2c-dev driver is based on the i2c-dev-interface of the Linux-kernel.
A detailled description can be found at


end of file

Following the convention for XML files, the last bytes contain the closing tag </srcpd>

© by srcpd team

Hosted by SourceForge