RE: comedi_config yields device not configured..

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


Eric Hudson wrote:
> Hello all,
> 
>  
> 
> I think I may have finally installed comedi. I have a Measurement 
> Computing PCI-DAS6034 so I issued the following command: comedi_config 
> /dev/comedi0 cb_pcidas64 and it returns device not configured. I only 
> have 1 pci slot on my motherboard and that slot contains the daq card. 
> I've also tried appending 0,0 at the end of the comedi_config line and 
> it yield same results.
> 
>  
> 
> What am I doing wrong?
> 
>  
> 
> Thanks in advance,
> 
>  
> 
> Eric
> 
>  
> 

-- 
Emmanuel Mayssat
Lyncean Technologies, Inc.
Direct: 650/320-8300 x409
Cell: 650/793-0626

Received on 2005-02-18Z05:43:49