Re: comedi_config yields device not configured..

On 18/02/05 17:51, Eric Hudson wrote:
> When comedi_config is ran from shell as root it configures successfully and
> ../info works as well as the other demo programs.

Then I guess it's a problem with the post-install command in 
/etc/modules.conf.  Actually, if you're using a 2.6.x kernel, you need 
to change /etc/modprobe.conf  not /etc/modules.conf and the format is 
different.

alias adc  cb_pcidas64
alias char-major-98 comedi
alias char-major-98-0 cb_pcidas64
install cb_pcidas64 modprobe cb_pcidas64 \
/usr/local/sbin/comedi_config /dev/comedi0 cb_pcidas64 0,14 && \
/bin/echo "Configured /dev/comedi0 for cb_pcidas64" || \
/bin/echo "Failed to configure /dev/comedi0 for cb_pcidas64" || \


You might be better off using PCI hotplug/coldplug scripts instead of 
the 'install' lines in /etc/modules.conf or the 'post-install' lines in 
/etc/modprobe.conf.

-- 
-=( 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-18Z18:20:44