- From: Jordi Vendrell <tigel50_at_gmail.com>
- Date: Wed, 16 Aug 2006 18:40:32 +0200
> I am not sure of just what you have tried & what output you got, but it > sounds > as if you have already confirmed that comedi has identified the presence > of > your card. > To summarize, with any new card, you must: > > (1) Run isapnp if the card happens to be an ISA card with isapnp. > (2) Run modprobe to load the kernel module for your card. I used insmod, which does the same (or so I hope :S) > (3) Run comedi_config for your card. Now starts the fun . ./comedi_config -v /dev/comedi0 das08 0x300 just says configuring driver=das08 768,0,0,0,0,0 .... (lots of 0s).....,0,0, comedi0: das08: 0x0300 This would look normal if it wasn't for the fact that the card is NOT plugged. :( Just have it on the table. /proc/comedi also happily states that a das08 board (with 5 subdevices) are in their place. so do you have an idea of what das08 is comedi_config (and friends) talking about? kind regards Jordi Vendrell > When comedi_config is run, comedi actually tries to make contact with your > card for the first time. If there is no such card present, or if the card > is > electronically dead, then comedi_config should return an error message. If > comedi_config gives no error message, then comedi has found it & the card > has > at least some minimal functionality that comedi can identify its presence. > > You can then run: > cat /proc/comedi > This should report all hardware on your computer that comedi has > identified & > configured. Again, if your card is listed here, it must have some minimal > level of functionality. It cannot be totally dead or it will not be > listed. > > I think you have already done all these steps & have been successful. > > I don't know of any comedi program to test various functions of your card > other than the demo programs. The first demo program in the comedi > handbook > is tut1. If tut1 runs, then your card has some analog input functionality. > But you will have to wire the card to supply some known voltage to be sure > the card gives the right answer. For some cards, it might also be > necessary > to calibrate the card to be sure you can measure a voltage accurately. > > walt > > On Wednesday 16 August 2006 08:45, you wrote: > > Thank you for your help. Another question then :) > > I am not sure if the card really works. Do you know of any function or > > example that just checks if there is a card connected? > > I have tried ./inpn and others that take measures but have had no luck > so > > far :( > > > > kind regards > > > > Jordi Vendrell > > > > 2006/8/16, walt <sartory_at_comcast.net>: > > > Jordi, > > > > > > I think comedi info reports only the capabilities of the comedi driver > > > for your card. Once comedi identifies your card, it can make that > report. > > > > > > I don't think comedi info probes your card to see what capabilities it > > > might > > > have. > > > > > > It is not unusual for a card to have capabilities that are supported > by > > > its > > > hardware, but are not supported by the comedi driver. > > > > > > walt >
Received on 2006-08-16Z15:40:32