- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Fri, 29 Nov 2002 17:44:57 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 28 November 2002 12:00 pm, Fredrik Lingvall wrote: > > I get these error messages in the kernel log for the DAQCARD-1200 using > channel 0 only: > > daqcard-1200: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x011f > comedi0: ni_labpc: daqcard-1200, io 0x100, irq 3 > bad chanlist[0]=0x00b00000 n_chan=2 range length=2 > bad chanlist[0]=0x00b00001 n_chan=2 range length=2 Are you checking the return value from comedi_command() for an error? If you have a bad chanlist it should produce an error. These kernel messages seem to be from a bad chanlist in a analog output insn that has an invalid range (0xb0), not from an analog input command. > > Which instruction in the driver code prints the kernel error messages ( > I guess > it should be somewhere in the labpc_ai_cmd function)? > It is in the check_chanlist() function defined in comedi/range.c - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE95+3p5vihyNWuA4URAoaDAKDfhOWSMZTz+qmn3IMftJIehh+kIgCdGf9C AO8fRuufRWA0NeXtyvAxgrg= =HHa2 -----END PGP SIGNATURE-----
Received on 2002-11-29Z22:44:57