TuX as LLG logo
Software
DMX4Linux
Driver Suite for Linux
csv2iif.pl suite
convert PayPal transactions to IIF, OFX, QIF
Hardware
DMX30 Interface
128Ch SPP
DMX43 Interface
2out 2in EPP
LED Hardware
for Linux and Windows
EPROM Sampler
for 8 bits of sound
Misc
CatWeasel
Linux drivers for MK3/4 PCI
pg_trompe
PostgreSQL replication
trycatch
C exception/signal handling lib
Patches
to various software
Tools
and small scripts
Docs
misc documents
Links
to lighting stuff
DMX4Linux 2.6 - A DMX device driver package for Linux
Home Installation Documentation Interfaces Coding

DMX4Linux - FAQ

Today I investigated a little further, and I found that the kernel-sources were not installed. After I installed them, and after I made the configurations suggested in that version.h file, I recomiled. Now I get an error that modversions.h is not found (referenced by dmx_dev.c). I can't find such a file. Any hints were I could find it ?
The file modversions.h is an automaticly generated file and does not exist after the kernel is unpacked and configured. Just enter "make update-modverfile" in the linux source directory to generate it.

Im looking at the Non-Blocking read and it takes two parameters. What would I pass into it?
All examples use the DMXdev and DMXINdev functions to get the name of the device to use.
DMXdev is used to get the name of the output-device and looks if the option --dmx is given and if so it returns the devicename. Otherwise it checks if the environment variable DMX is set and if so returns the value of it. If it had no success until now it tries the names /dev/dmx and /dev/dmx /dev/misc/dmx and returns the one that exists. If all of these fails it returns NULL to signal an error.

The same is done by DMXINdev but with --dmxin , DMXIN, /dev/dmxin and /dev/misc/dmxin. If you are intested how it works you can take a look at libs/open.c in the dmx4linux folder.

If it fails for you, check if the special files /dev/dmx and /dev/dmxin or /dev/misc/dmx and /dev/misc/dmxin do exists.

[michael@starbase htmlexamples]$ ls -l /dev/dmx*
crw-rw-rw-    1 root     root      10, 223 Oct 28 11:42 /dev/dmx
crw-rw-rw-    1 root     root      10, 224 Oct 28 11:42 /dev/dmxin

If they exist but it fails anyway try to set the access rights: chmod +rw /dev/dmx*


Search:
https://llg.cubic.org/dmx4linux © 2001-2024 by Dirk Jagdmann and Michael Stickel