RE: comedi config problems with pcmcia device

Hi Eric,
 
   I do not know if this will help.  I have similar problem a few weeks ago about the device not found when i do a comedi_config.  What i did to make the card workable is to add 2 set of definition data into the /etc/pcmcia/config file.  I copied them from some files (describing pcmcia devices) in the comedi directory which gives correct irq and card description and pasted into /etc/pcmcia/config file.  After which, my card was automatically mounted and ni_mio_cs appeared with "lsmod" even without me doing a modprobe ni_mio_cs in advance.  But before you tried to amend the pcmica config file.  Please make a backup of the original just in case.
 
wee

 
 --__--__--
 
 Message: 3
 Date: Tue, 3 Aug 2004 13:35:44 -0400 (EDT)
 To: comedi_at_comedi.org
 Subject: comedi config problems with pcmcia device
 From: "Eric Keller" <eekeller_at_psu.edu>
 
 I have an NI-3036 and I don't seem to be able to get comedi_config to work.  I
 am using the latest cvs comedi, rtlinux 3.2rc1, fedora core 2, kernel
 2.4.24-rtl3.2-pre3.  I can insmod/modprobe comedi, kcomedilib, ni_mio_cs. 
 
 I've done this before, and I remember having to use /etc/pcmcia/comedi start
 ni_mio_cs.  However, now I get:
  ./comedi start ni_mio_cs
 usage: ./comedi [action] [device name]
   actions: start check stop suspend resume
 
 
 
 I have made the devices.  But when I run comedi_config, I get the following:
 
 comedi_config /dev/comedi0 ni_mio_cs
 Configure failed!: Input/output error
 Check kernel log for more information
 Possible reasons for failure:
   Driver not found
 
 When I run dmesg, I get nothing about this.
 
 One thing is that if I look at /proc/comedi I get this:
 
 cat /proc/comedi
 comedi version 0.7.68.1
 format string: "%2d: %-20s %-20s %4d",i,driver_name,board_name,n_subdevices
 no devices
 ni_mio_cs:
  ni_mio_cs
 8255:
  8255
 
 Should the "no devices" be there?
 I guess I could read the source to comedi_config, wherever that is, but is it
 possible to do whatever it is doing by hand?
 
 Thanks,
 Eric
 

Received on 2004-08-04Z16:10:19