Re: Measurement Computing PCI-DAS1602/16 card ?

It looks like the failing driver is cb_pcidas and not cb_pcidda?. I noticed 
cb_pcidas uses to fail when you expect it to find the card. Get the PCI slot 
with lspci and use it as arguments of comedi_config. For example:

$ lspci

...
00:0a.0 Class ff00: Computer Boards PCI-DAS1200
...

$ comedi_config /dev/comedi1 cb_pcidas 0,10

Greetings,
Ivan Martinez

On Monday 03 November 2003 14:36, Mark Hounschell wrote:
> I have 2 of the above cards installed. I also have one each
> Advantech-PCI-1756 Digital I/O card and Measurement Computing PCI-DDA08/12
> cards. I'm using the comedi-0.7.66 drivers for all but the 1765 card. For
> that one I'm using the driver from the comedi-0.7.60 package as I don't
> find support for it in the newer drivers. All these cards are physically
> located in a 13-slot pci expansion bucket. I've set up the following
> entries in my /etc/modules.conf file.
>
>
> #
> # Advantech PCI-1756 Digital I/O card
> #
> alias char-major-98 comedi
> alias char-major-98-0 pci175x
> post-install pci175x /usr/sbin/comedi_config /dev/comedi0 pci1756
>
> #
> # Measurement Computing PCI-DAS1602/16 card
> #
> alias char-major-98-1 cb_pcidas
> post-install cb_pcidas /usr/sbin/comedi_config /dev/comedi1 cb_pcidas
>
> #
> # Measurement Computing PCI-DDA08/12 card
> #
> alias char-major-98-2 cb_pcidda
> post-install cb_pcidda /usr/sbin/comedi_config /dev/comedi2 cb_pcidda
>
>
> I've also set-up my boot.local file to load everything at boot time
>
> modprobe pci175x
> modprobe cb_pcidda
> modprobe cb_pcidas
>
>
>
> All seems to load ok but the cb_pcidda driver. My system messages are as
> follows:
>
> Nov  3 09:08:06 pc244 kernel: comedi: version 0.7.66 - David Schleef
> <ds_at_schleef.org>
> Nov  3 09:08:06 pc244 kernel: comedi0: adv_pci1752_4_6: board=pci1756,
> b:s:f=6:7:0, io=0x9400, irq=19.
> Nov  3 09:08:06 pc244 kernel: comedi2: cb_pcidda:
> Nov  3 09:08:06 pc244 kernel: Found pci-dda08/12 at requested position
> Nov  3 09:08:06 pc244 kernel:  eeprom: 0:0xffa9  1:0xffa1  2:0xbfd5 
> 3:0xbfd1 4:0x9fee  5:0x9fec  6:0x8
> 004  7:0x8599  8:0x7999  9:0x8589  10:0x7d8b  11:0x8573  12:0x7f4f 
> 13:0x8189 14:0x7f51  15:0x819f  16:
> 0x81a1  17:0x8359  18:0x8361  19:0x8179  20:0x7b81  21:0x8173  22:0x7f61
> 23:0x8171  24:0x8133  25:0x7d8
> f  26:0x813f  27:0x7f59  28:0x8379  29:0x804f  30:0x839f  31:0x8969 
> 32:0x7995 33:0x895d  34:0x7d81  35
>
> :0x879f  36:0x7f4f  37:0x8585  38:0x7f59  39:0x858f  40:0x819d  41:0x8599
>
> 42:0x836d  43:0x818f  44:0x7b
> 51  45:0x8187  46:0x7d99  47:0x8179  48:0x810f  49:0x7d8f  50:0x7f61 
> 51:0x7f50 52:0x81a5  53:0x7f63  5
> 4:0x8367  55:0x8581  56:0x7b73  57:0x857d  58:0x7f67  59:0x8575  60:0x8138
> 61:0x8195  62:0x8133  63:0x8
> 361  64:0x8381  65:0x8379  66:0x839f  67:0x8583  68:0x7b71  69:0x8571
> 70:0x7f53  71:0x854f  72:0x8119
> 73:0x817f  74:0x8131  75:0x8181  76:0x8369  77:0x8183  78:0x8381  79:0x856d
> 80:0x7b9f  81:0x856f  82:0x
> 812d  83:0x856f  84:0x8139  85:0x818f  86:0x8151  87:0x835d  88:0x838d
> 89:0x8381  90:0x8
>
> Nov  3 09:08:06 pc244 kernel: comedi1: cb_pcidas:
> Nov  3 09:08:06 pc244 kernel: No supported
> ComputerBoards/MeasurementComputing card found on requested position
> Nov  3 09:08:06 pc244 kernel: comedi1: cb_pcidas: remove
>
> When I execute the boot.local file "sh /etc/init.d/boot.local" I get
>
> Configure failed!: Input/output error
> Check kernel log for more information
> Possible reasons for failure:
>   Driver not found
> /lib/modules/2.4.20-ert/comedi/comedi/drivers/cb_pcidas.o: post-install
> cb_pcidas failed
> /lib/modules/2.4.20-ert/comedi/comedi/drivers/cb_pcidas.o: insmod cb_pcidas
> failed
>
> Can anyone tell me what I'm doing wrong or what my problem might be?
>
> Thanks in advance
> Mark
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2003-11-03Z13:53:18