- From: <rph_at_inventati.org>
- Date: Tue, 24 Aug 2004 12:50:28 +0200 (CEST)
Well, I'm not a great linux user, but I've encountered some little problems in installing Comedi with Debian and I've fixed them in a very casual way. I work on a Debian-Sarge distribution with precompiled kernel 2.4.26-1-386 and comedi 0.7.68 running on a laptop Acer Travelmate 220 with a NIDAQ-6024E; First I wanted to install Comedi simply apt-getting it (packages comedi-source libcomedi-dev libcomed0) and the result was that without having a configured kernel source tree I couldn't make it work. Ok, but my kernel was precompiled and kernel source packages got with apt weren't exactly the same (package kernel-source-2.4.26). So I copied the config-2.4.26-1-386 file to a .config in the sources directory and compiled them. I linked those sources with 'ln -s /usr/src/kernel-source-2.4.26 linux' and then I compiled again comedi encountering this error just after the ./configure: checking for Linux CFLAGS... ./configure: line 3004: /home/rph/tmp/modules/comedi/tmp-noicrwa/flags: No such file or directory I tried to fix thi manually but I got nothing and that's all with apt-got packages. After this I downloaded the sources from comedi.org and I could compile them without problems but the output of 'comedi_config /dev/comedi0 ni_mio_cs' (as root of course) was: 'comedi.o not loaded'......... So I copied the /lib/modules/2.4.26/comedi/ directory (obtained after compiling the comedi-0.7.68 package) in /lib/modules/2.4.26-1-386/ and the rebooting with the original kernel. And now it works..... I'm not able to understand why, it works but it's frustrating... rph output of dmesg after boot stage with the 2.4.26 kernel.: cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x38f 0x4d0-0x4d7 cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0a00-0x0aff: clean. cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0100000-0xa01fffff output of dmesg after boot stage with the 2.4.26-1-386 kernel.: cs: IO port probe 0x0100-0x04ff: excluding 0x380-0x38f 0x4d0-0x4d7 cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0a00-0x0aff: clean. cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0100000-0xa01fffff comedi: version 0.7.68 - David Schleef <ds_at_schleef.org> comedi0: ni_mio_cs: DAQCard: io 0x0100, irq 3, DAQCard-6024E
Received on 2004-08-24Z09:50:28