- From: Eric Hudson <ehudson_at_midlandhome.net>
- Date: Fri, 18 Feb 2005 11:51:46 -0600
When comedi_config is ran from shell as root it configures successfully and ./info works as well as the other demo programs. Eric -----Original Message----- From: comedi-admin_at_comedi.org [mailto:comedi-admin_at_comedi.org] On Behalf Of Ian Abbott Sent: Friday, February 18, 2005 10:58 AM To: comedi_at_comedi.org Subject: 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 )=- _______________________________________________ comedi mailing list comedi_at_comedi.org https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
Received on 2005-02-18Z17:51:46