Re: comedi_config yields device not configured..

On 18/02/05 16:02, Eric Hudson wrote:
> Steve,
> 
> I can see the module loading on bootup and I verify its presence by doing
> lsmod. But it still says cannot open /dev/comedi0 . Below is what I have in
> /etc/modules.conf
> 
> alias adc  cb_pcidas64
> alias char-major-98 comedi
> alias char-major-98-0 cb_pcidas64
> #post-install cb_pcidas64
> PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH;comedi_config /dev/comedi0
> pci-das6034
> post-install  cb_pcidas64 \
> /usr/local/sbin/comedi_config /dev/comedi0 cb_pcidas64 0,14;\ /bin/echo
> "Configured /dev/comedi0 to /dev/comedi0 for cb_pcidas64"

Note that that echo will be done even if comedi_config failed.  It might 
be better to do

/usr/local/sbin/comedi_config /dev/comedi0 cb_pcidas64 0,14 && /bin/echo 
"Configured /dev/comedi0 to /dev/comedi0 for cb_pcidas64" || /bin/echo 
"Failed to configure /dev/comedi0 for cb_pcidas64"

(but all on one line)

Have a look at the output from "cat /proc/comedi" and see if there's 
anything there.

What happens if you just run the comedi_config command from a shell as root?

-- 
-=( 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 2005-02-18Z16:58:18