Re: Ask for help

On 24/06/07 22:03, Jayson Ding wrote:
> Hi all
> 
> Just finish compiling comedi 0.7.73. in ubuntu (kernel 2.6.20-16-generic)
> I follow http://www.linux-usb-daq.co.uk/drivers2/2.6/ instruction. 
> 
> (Did not use Ubuntu feisty packages, that package install automatically. make me confused)
> 1. During make comedi period, there still have one error. But I can still pass the compiling procedure. 
> //-----------------------------------------------------------------------
> 
> make[4]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
> test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            \
>         echo;                                                           \
> 
>         echo "  ERROR: Kernel configuration is invalid.";               \
>         echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
>         echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
> 
>         echo;                                                           \
>         /bin/false)
> //----------------------------------------------------------------------

That's not an error, but it is confusing.  It's in the kernel Makefile.
 (It would be better if they stuck a minus sign in front of it to stop
it being echoed.)

> 2. When I try to forward configuration step, I meet a problem.
> 
> I input command to my Measurement Computing PCI-DAS6014 card. 
> 
> $/usr/sbin/comedi_config /dev/comedi0 cb_pcidas64 0x260,3(do not know run-time parameters, so just use default)
> 
> But each time print "device not configured"

The parameters should be the PCI bus and slot numbers which you can find
by running 'lspci'.  It looks like you are trying to pass it an I/O base
address and IRQ.

The parameters are optional.  They are there in case you have more than
one supported card installed and need to specify which one you are
configuring.  Try configuring it without the parameters.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2007-06-27Z10:07:08