Re: [comedi] NI PCI-6120 support

Ian Abbott <[email protected]> Wed, 16 Feb 2022 13:59:11 +0000
Newsgroups gmane.linux.comedi
Organization MEV Ltd.
Message-ID <[email protected]>
Hello Heinrich,

On 16/02/2022 13:26, Heinrich M wrote:
> Hello everybody
> 
> We recently acquired three new PC for using our old but gold NI PCI-6120 
> cards. Two of them will run on Windows with LabVIEW, so no problems 
> there. However one was meant to work under Debian 11.2 with an in house 
> comedi based feedback program. So far this program was used in a 
> slightly older PC with a PCI-6031E and works just fine.
> 
> Now with the PCI-6120 i can not access the device. The error message 
> "/dev/comedi0: No such file or directory" pops up. When looking for 
> solutions it first seemed like the card just needs to be configured 
> manually. I was in the middle of the process as explained at
> relacs.sourceforge.net/doc/api/comedi/index.html
> at step 11, however there is no file called /etc/init.d/boot.local which 
> was referd to in the tutorial. I guess, that I could just create my own 
> script, which is used during the system start up.
> 
> Now I didn't know, that comedi doesn't support all NI cards. The 6120 is 
> unfortunately also not listed. So before I waste more of my work hours 
> for this: Will the card be able to work at all with comedi? If so, what 
> would be the steps I need to take? Does the support list only refer to 
> autoconfigs? If not, is there an alternative?
> 
> Thanks in advance
> 
> Heinrich M
> 
> The system:
> Debian 10 with the real time kernel 4.19.0-17-rt-amd64
> i5-9600k (HTT disabled)
> Some Asus Board with two PCI slots (lspci shows the pci-6120)
> 16 GB of RAM

Unfortunately, you are correct that comedi currently does not support 
the 6120. I think the hardware is similar to 6115 (they share some NI 
manuals), but 6115 is not supported either.  There is a comment in 
comedi's ni_pcimio driver code that reads "The 6115 boards probably need 
their own driver" so I don't think ni_pcimio.c (and ni_mio_common.c) 
could be easily modified to support these cards.  It probably really 
does need a new driver to support the 6115 and 6120 cards.

-- 
-=( Ian Abbott <[email protected]> || MEV Ltd. is a company  )=-
-=( registered in England & Wales.  Regd. number: 02862268.  )=-
-=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
-=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-

-- 
You received this message because you are subscribed to the Google Groups "Comedi: Linux Control and Measurement Device Interface" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/comedi_list/9cedfd2e-6d74-ce7f-4e4b-482082eea17a%40mev.co.uk.