english:     DMX для LINUX: PC-Interfaceкарты для вывода сигналов DMX512 очень редко возможно использовать под Linux. С этими драйверами Вы без труда составите пользовательские программы. Описание карты Вы можете найти в разделе HARDWARE.   
.
.
...для DOS
...для WINDOWS 3.1, 95, 98
...для LINUX

Jgbcfzbt ghjlerwbb
back
HOME
.

ДРАЙВЕРЫ ДЛЯ LINUX

Наши карты возможно так же использовать под Linux. Далее мы представим Вам различные решения, которые Вы можете использовать для собственных программ.

За полноту и работу предлагаемых программ, примеров и драйверов наша фирма ответственности не несёт. Мы оставляем за собой право на внесение различных изменений и дополнений в связи с техническим прогрессом. Эта страница постоянно обновляется и дополняется.

Последняя актуализация: 28.06.2000.


СОДЕРЖАНИЕ


Новейший LINUX-Драйвер был создан Jacob Schröder. Эта версия драйвера была официально поддержана фирмой SOUNDLIGHT. Этот Tar-Ball - единственный, который стабильно работает для всех PCDMX-карт.

Эти программы лицензированы. Исключением являются операционные системы PC-Interfaceкарт. Права на файлы 'SLHDMX12.BIN','SLHDMX16.BIN' und 'SLHDMX17.BIN' принадлежат фирме SOUNDLIGHT, Hannover.

dmx1512-0.0.7.tar.gz
dmx1512-0.0.8.tar.gz
sldmx.conf


Актуальные LINUX-драйверы Michael Stickel sticke_m@informatik.fh-hamburg.de

Загрузите в свой компьютер DMX4LINUX-драйверhttp://users.informatik.fh-hamburg.de/~sticke_m/dmx4linux/


LINUX Demo-версия D. Richards (USA) dbrichards@lucent.com
Ваши замечания и предложения направляйте по адресу webmaster@pcdmx.com

The SOUNDLIGHT Linux device driver supports the following operations:

open()/close():
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.

read():
The read() system call will return 512 bytes of binary data corresponding to the current 512 DMX-512 channel values.

write():
The write() system call has no meaning for the /dev/slh device and will return EINVAL if called.

ioctl( SLH_IOCPUMP ):
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.

ioctl( SLH_IOCSET ):
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:

Makefile:
This is the makefile that is used to make the kernel module "slh" and the "slh_demo" program.

board.c:
This file contains the "board" software module. It contains constant definitions and C functions that interface directly with the SOUNDLIGHT boards.

channel.c
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.

driver.c:
This file contains the main device driver C functions.

slh.h
This file contains miscellaneous definitions used in the slh device driver.

slh_demo.c
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.

load:
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.

unload:
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.

СПИСОК ФАЙЛОВ

Архив файлов SLH.CPI загрузить

Архив файлов SLH.TAR загрузить