- From: Steve Sharples <sds_at_eee.nottingham.ac.uk>
- Date: Fri, 18 Feb 2005 09:14:29 +0000 (GMT)
The modules.conf file (modprobe.conf for 2.6 kernels) tells modprobe how to behave, it doesn't actually load the module, either at boot time or any other. As Emmanuel said: > Now a `modprobe adc` associate comedi0 to card on bus 4 and slot 9 If you want to get the module loaded automatically at boot time, add the `modprobe adc' command to something like /etc/rc.local Cheers, Steve. On Thu, 17 Feb 2005, Eric Hudson wrote: > I have this in my /etc/modules.conf and I've after rebooting if I run ./info > I get "cannot open /dev/comedi0" and I do this as root. In order to get > ./info to work I have to issue comedi_config /dev/comedi0 cb_pcidas64 > > Why is this? Shouldn't this autoload ? > > Thanks, > > Eric > > -----Original Message----- > From: Emmanuel Mayssat [mailto:emmanuel_mayssat_at_lynceantech.com] > Sent: Thursday, February 17, 2005 10:30 AM > To: Eric Hudson > Cc: comedi_at_comedi.org > Subject: Re: comedi_config yields device not configured.. > > You do not seem to configure the comedi module correctly > > On my computer, when I do lspci, I get: > 04:09.0 Class ff00: Computer Boards PCI-DAS6402/16 (rev 02) > > Note the 4 and 9 at the beginning of the line. > > Now in /etc/modules.conf I have > > alias adc cb_pcidas64 > > post-install cb_pcidas64 \ > /usr/local/sbin/comedi_config /dev/comedi0 cb_pcidas64 4,9;\ > /bin/echo "Configured /dev/comedi0 to /dev/comedi0 for cb_pcidas64" > > Now a `modprobe adc` associate comedi0 to card on bus 4 and slot 9 This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Received on 2005-02-18Z09:14:29