Re: pcm-das08

Le sam 05/02/2005 à 16:13, Frank Mori Hess a écrit :
> On Saturday 05 February 2005 09:44 am, Jean-Charles de Longueville wrote:
> > Feb  5 15:30:12 localhost kernel: pcm-das08: index 0x20: Vcc 5.0, irq 5,
> > io 0x0300-0x030f
> > Feb  5 15:30:12 localhost cardmgr[17258]: executing: './comedi start
> > pcm-das08'
> > Feb  5 15:30:12 localhost kernel: comedi0: das08:
> > Feb  5 15:30:12 localhost kernel:  iobase 0x1c5
> 
> It looks like you hardcoded the /etc/pcmcia/comedi script to call 
> comedi_config with the wrong parameters (das08 0x165).

you are right!
I had done that while trying to use the before-patch driver.
It's now:
/usr/local/sbin/comedi_config /dev/comedi0 das08_cs

and now dmesg says:

Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
ACPI: PCI interrupt 0000:01:03.0[A] -> GSI 11 (level, low) -> IRQ 11
Yenta: CardBus bridge found at 0000:01:03.0 [1071:8089]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:01:03.0, mfunc 0x01111c02, devctl 0x64
Yenta: ISA IRQ mask 0x0070, PCI irq 11
Socket status: 30000059
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa00fffff
comedi: version 0.7.69 - David Schleef <ds_at_schleef.org>
pcm-das08: index 0x20: Vcc 5.0, irq 5, io 0x0300-0x030f
comedi0: das08_cs: 

and comedi_test gives some real info like the range [-5,5] ;-)

and my small test program no longer gives me errors but some data value
;-)

many thanks

Jean-Charles

Received on 2005-02-05Z16:34:20