Re: Driver not found

On 22/02/05 15:05, Stefano Gafforelli wrote:
> 
>> From: Ian Abbott <abbotti_at_mev.co.uk>
>> To: comedi_at_comedi.org
>> Subject: Re: Driver not found
>> Date: Tue, 22 Feb 2005 14:21:53 +0000
>>
>> On 22/02/05 13:34, Stefano Gafforelli wrote:
>>
>>> we try to configure our DAQ NI-6062E using "arm-linux-comedi_config 
>>> /dev/comedi0 ni_mio_cs" but:
>>>
>>> root_at_triton1:/dev# arm-linux-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
>>>
>>> How can we fix it?
>>> We use a kernel 2.6.7 for arm pxa255.
>>
>>
>> Are there any error messages in the kernel log?  Run 'dmesg' to list 
>> the last few entries in the kernel log (or maybe it's 
>> 'arm-linux-dmesg'???).
> 
> Our last few entries in the kernel log are:
> 
> comedi: version 0.7.67.1 - David Schleef <ds_at_schleef.org>
> NET: Registered protocol family 2
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 1024 bind 2048)
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> VFS: Mounted root (jffs2 filesystem).
> Mounted devfs on /dev
> Freeing init memory: 104K
> Linux Kernel Card Services
>  options:  [pm]
> IRQ103 (GPIO80): no edges
> IRQ103 (GPIO80): rising edges
> IRQ103 (GPIO80): rising falling edges
> IRQ27 (GPIO4): rising edges
> eth0: using half-duplex 10Base-T (RJ-45)

There aren't many clues there, but based on the error you reported 
earlier (Configure failed!: Input/output error), it looks like the card 
was not detected for some reason.

You could try loading the comedi module with the debug=1 option to get 
more debugging information when you run 'dmesg'.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2005-02-22Z16:03:30