INHALT
Der aktuellste LINUX-Treiber wurde von Jacob Schröder programmiert. Diese Treiberversion wird offiziell von SOUNDLIGHT supported.
Dieser Tar-Ball ist der einzige, der derzeit ein stabil laufendes Kernelmodul für alle
PCDMX-Karten enthält.
Die Software ist unter der GPL lizensiert. Ausgenommen hiervon sind die Betriebssysteme der
PC-Interfacekarten. Die Rechte an den Dateien 'SLHDMX12.BIN','SLHDMX16.BIN' und 'SLHDMX17.BIN' verbleiben bei SOUNDLIGHT. Hannover.
dmx1512-0.0.7.tar.gz
Aktuelle LINUX Treiber von Michael Stickel sticke_m@informatik.fh-hamburg.de
Laden Sie die DMX4LINUX Treiber unter http://users.informatik.fh-hamburg.de/~sticke_m/dmx4linux/
LINUX Demo von D. Richards (USA) dbrichards@lucent.com
The SOUNDLIGHT Linux device driver supports the following operations:
open()/close():
read():
write():
ioctl( SLH_IOCPUMP ):
ioctl( SLH_IOCSET ):
Makefile:
board.c:
channel.c
driver.c:
slh.h
slh_demo.c
load:
unload:
dmx1512-0.0.8.tar.gz
sldmx.conf
Der Code wurde nicht verifiziert und wird daher wie eingegangen reproduziert.
Kritiken, Anregungen oder Ergänzungen erbitten wir an webmaster@pcdmx.com
These operations allow an application to initiate/terminate the use
of a SOUNDLIGHT DMX-512 board. Any process can open the /dev/slh device
read only (O_RDONLY) and read the device to obtain the current DMX-512
channel values. The first process to open the device read/write (O_RDWR)
is considered the device owner and can set and retrieve DMX-512 channel
values. Only the device owner can set DMX-512 channel values.
The read() system call will return 512 bytes of binary data corresponding
to the current 512 DMX-512 channel values.
The write() system call has no meaning for the /dev/slh device and
will return EINVAL if called.
The SLH_IOCPUMP ioctl() operation is used to pump the SOUNDLIGHT board
with firmware. The application must read the firmware from a file, place
it in a buffer, and pass the buffer address to ioctl(). When
the board is pumped, the board parameters are loaded, the DMX-512
channels initialized to zero, and the board started. At this point
the driver will instruct the board to transmit DMX-512 channel data
every 50ms.
The SLH_IOCSET ioctl() operation is used to change the DMX-512 channel
values. Any number of channels (1 - 512) can be changed in one operation.
For each channel to be changed, both the new channel value and transition
time are specified. The transition time is the number of milliseconds to
transition (or dim) a channel from the current value to the new value.
A description of each file associated with the SOUNDLIGHT Linux
device driver is given below:
This is the makefile that is used to make the kernel module "slh" and
the "slh_demo" program.
This file contains the "board" software module. It contains constant
definitions and C functions that interface directly with the
SOUNDLIGHT boards.
This file contains the "channel" software module. It contains the
data structures and C functions that maintain and modify the DMX-512
channel values. This module uses a repetitive timer to update the
DMX-512 channels every 50ms. This module also performs dimming
operations.
This file contains the main device driver C functions.
This file contains miscellaneous definitions used in the slh device driver.
This file contains a demo program that demonstrates how to use the device
driver to initialize and use a SOUNDLIGHT DMX-512 board in a Linux system.
The "load" shell script is used to load the SOUNDLIGHT device driver
module into the Linux kernel and create the /dev/slh device file. The
kernel dynamically assigns a major number to the driver and can be
determined by looking at /proc/devices. The file /proc/slh is also
created and can be used to determine which process owns the driver
when it is in use and which DMX-512 channels are non-zero.
The "unload" shell script is used to unload the SOUNDLIGHT device driver
module from the Linux kernel and remove /dev/slh and /proc/slh. The
major number dynamically assigned to the slh driver will also be freed.