alberto, i managed to compile dmx512 but like erich i finally switched to wtf2osc it's rather easy then to receive osc messages inside pd as you probably know tell if you have some difficulties with wtf2osc
best regards v
Erich Berger a écrit :
alberto,
i used http://sourceforge.net/projects/wtf2osc to work with an sub-dmx-pro, as i was not able to get the pd external working.
best
erich
On Tue, 27 Jan 2009, Alberto Santos Bellido wrote:
Hey Vincent, Thanks for the reply.
I tried dmx512 as you suggested but the dmx4linux patched drivers did not compile. I get this:
/dmx4linux-2.6.1$ patch -p1 < dmx4linux2.6.1.patch patching file configure patching file drivers/devices/dgm/Makefile patching file drivers/devices/isa/Makefile patching file drivers/devices/isa/soundlight/Makefile patching file drivers/devices/Makefile patching file drivers/devices/misc/Makefile patching file drivers/devices/parport/Makefile patching file drivers/devices/pci/Makefile patching file drivers/devices/pcmcia/Makefile patching file drivers/devices/usb/Makefile patching file drivers/dmxdev/Makefile patching file examples/htmlexamples/Makefile patching file examples/Makefile patching file tools/Makefile patching file tools/pointer/Makefile
albesan@copituxredux:~/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1$
./configure dmx4linux successfully configured albesan@copituxredux:~/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1$
make make -C libs all make[1]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs'
cc -c -o open.o open.c cc -c -o sleep.o sleep.c ar rcs libdmx4l.a open.o sleep.o cc -fPIC -c -o open.lo open.c cc -fPIC -c -o sleep.lo sleep.c cc -shared -Wl,-soname,libdmx4l.so.2 -o libdmx4l.so.2.5 open.lo sleep.lo -lc ln -sf libdmx4l.so.2.5 libdmx4l.so.2 ln -sf libdmx4l.so.2 libdmx4l.so make[1]: Leaving directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs'
make -C tools all make[1]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/tools'
cc -Ipointer -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o dmxtest.o dmxtest.c dmxtest.c: In function 'Reader': dmxtest.c:65: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result dmxtest.c: In function 'Writer': dmxtest.c:143: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o dmxtest dmxtest.o -ldmx4l cc -Ipointer -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o midi2dmx.o midi2dmx.c midi2dmx.c: In function 'DMXput': midi2dmx.c:246: warning: ignoring return value of 'write', declared with attribute warn_unused_result midi2dmx.c:254: warning: ignoring return value of 'write', declared with attribute warn_unused_result midi2dmx.c: In function 'reset': midi2dmx.c:297: warning: ignoring return value of 'write', declared with attribute warn_unused_result cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o midi2dmx midi2dmx.o -ldmx4l cc -Ipointer -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o uart_dmxd.o uart_dmxd.c cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o uart_dmxd uart_dmxd.o -ldmx4l cc -Ipointer -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o dmxconsole.o dmxconsole.c dmxconsole.c: In function 'load': dmxconsole.c:404: warning: ignoring return value of 'fread', declared with attribute warn_unused_result make -C pointer all make[2]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/tools/pointer'
cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o js.o js.c js.c: In function 'jspoll': js.c:62: warning: ignoring return value of 'fread', declared with attribute warn_unused_result cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o pointer.o pointer.c pointer.c: In function 'flushdevice': pointer.c:63: warning: ignoring return value of 'read', declared with attribute warn_unused_result cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o ps2.o ps2.c ps2.c: In function 'ps2sendcommand': ps2.c:60: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o serial.o serial.c serial.c: In function 'serialinit': serial.c:100: warning: ignoring return value of 'write', declared with attribute warn_unused_result serial.c:206: warning: ignoring return value of 'write', declared with attribute warn_unused_result ar cr pointer.a js.o pointer.o ps2.o serial.o ranlib pointer.a make[2]: Leaving directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/tools/pointer'
cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o dmxconsole dmxconsole.o -lncurses -ldmx4l -Lpointer pointer/pointer.a make[1]: Leaving directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/tools'
make -C examples all make[1]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/examples'
cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o pingdmx.o pingdmx.c pingdmx.c: In function 'main': pingdmx.c:108: warning: ignoring return value of 'write', declared with attribute warn_unused_result cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o pingdmx pingdmx.o -ldmx4l cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o setdmx.o setdmx.c setdmx.c: In function 'set': setdmx.c:38: warning: ignoring return value of 'write', declared with attribute warn_unused_result cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o setdmx setdmx.o -ldmx4l cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o dmxinfo.o dmxinfo.c cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o dmxinfo dmxinfo.o -ldmx4l cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-c -o dmxdump.o dmxdump.c cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o dmxdump dmxdump.o -ldmx4l make -C htmlexamples all make[2]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/examples/htmlexamples'
cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-Wall -c -o nonblockread.o nonblockread.c cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o nonblockread nonblockread.o -ldmx4l cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-Wall -c -o selectread.o selectread.c selectread.c: In function 'main': selectread.c:67: warning: ignoring return value of 'write', declared with attribute warn_unused_result cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o selectread selectread.o -ldmx4l cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-Wall -c -o simpleread.o simpleread.c cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o simpleread simpleread.o -ldmx4l cc -Wall -O2 -I/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/include
-Wall -c -o simplewrite.o simplewrite.c simplewrite.c: In function 'main': simplewrite.c:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result cc -L/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/libs
-o simplewrite simplewrite.o -ldmx4l make[2]: Leaving directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/examples/htmlexamples'
make[1]: Leaving directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/examples'
make -C drivers all make[1]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers'
make -C dmxdev all make[2]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev'
make -C /lib/modules/2.6.27-9-generic/build M=/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev
modules make[3]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic' CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmx_dev.o
CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmx_proc.o
CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmx_props.o
CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmx_family.o
CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmx_driver.o
CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmx_interface.o
CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmx_universe.o
CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmx_fileinfo.o
LD [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmxdev.o
Building modules, stage 2. MODPOST 1 modules CC
/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmxdev.mod.oLD [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev/dmxdev.ko
make[3]: Leaving directory
/usr/src/linux-headers-2.6.27-9-generic' make[2]: Leaving directory
/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/dmxdev'make -C devices all make[2]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices'
make -C misc all make[3]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc'
make -C /lib/modules/2.6.27-9-generic/build M=/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc
modules make[4]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic' CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc/dmxdummy.o
Building modules, stage 2. MODPOST 1 modules WARNING: "dmxprop_user_long" [/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc/dmxdummy.ko]
undefined! WARNING: "dmxproplist_vacreate" [/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc/dmxdummy.ko]
undefined! WARNING: "dmx_find_driver" [/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc/dmxdummy.ko]
undefined! WARNING: "dmx_create_family" [/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc/dmxdummy.ko]
undefined! CC
/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc/dmxdummy.mod.oLD [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc/dmxdummy.ko
make[4]: Leaving directory
/usr/src/linux-headers-2.6.27-9-generic' make[3]: Leaving directory
/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/misc'make -C usb all make[3]: Entering directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/usb'
make -C /lib/modules/2.6.27-9-generic/build M=/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/usb
modules make[4]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic' CC [M] /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/usb/usb2dmx.o
/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/usb/usb2dmx.c:
In function 'usb2dmx_delete_interface': /home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/usb/usb2dmx.c:308:
error: implicit declaration of function 'kill_proc' make[5]: *** [/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/usb/usb2dmx.o]
Error 1 make[4]: *** [_module_/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/usb]
Error 2 make[4]: Leaving directory
/usr/src/linux-headers-2.6.27-9-generic' make[3]: *** [modules] Error 2 make[3]: Leaving directory
/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices/usb'make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers/devices'
make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/albesan/pd-source/pure-data/externals/iem/dmx512/dmx4linux-2.6.1/drivers'
make: *** [all] Error 2
I looked in the README.dmx4linux.txt and other README files and all seems to be in order.
Is it possible that my kernel is the problem? ( 2.6.27-9-generic )
Apologies if I am missing something really obvious
Thanks again
2009/1/26 Vincent Rioux vincent.rioux@no-log.org:
hello Alberto,
in the svn repository for pd externals you'll find this lib iem/dmx512/
it's a bit tricky to compile (see a previous discussion on this list with IOhannes)
cd externals/iem/dmx512 wget ftp://ftp.cubic.org/pub/llg/dmx4linux-2.6.1.tar.gz tar xzf dmx4linux-2.6.1.tar.gz cp dmx4linux2.6.1.patch dmx4linux-2.6.1 cd dmx4linux-2.6.1 patch -p1 < dmx4linux2.6.1.patch and the usual ./configure make sudo make install
then compiling the extension cd externals/iem/dmx512/src ./configure make
you might also want to try http://sourceforge.net/projects/wtf2osc if you know a bit of python it will be easier it worked pretty fine for me on debian/ubuntu systems
good luck, v
Alberto Santos Bellido a écrit :
Hello team.
I've been searching for a way of controlling openDMXpro usb interface from pd-extended. All I've found that seems to be active is dmxusbpro ( http://www.nullmedium.de/dev/dmxusbpro/ )
Has anybody used this successfully on pd-extended on linux (ubuntu 8.10).
Thanks for any feedback
albesan
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Alberto Santos Bellido +44(0)7792941905 +44(0)20 8144 4042
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list