Re: PCI-DAS 6014, comedi_calibrate / eeprom_dump [Sorry if this is 3rd message...]

On 31/10/05 11:42, Maz The Northener wrote:
> Hi again all!
> 
> I am terribly sorry for sending this message once again to the list. 
> This is the 3rd time, I do send this. Reason is that I do not know if 
> the first 2 attempts did reach the list, since those messages were not 
> sent to me, regardless the fact that I was subscribed on the list... I 
> do not know if the messageserver I used blocked the answers, or if they 
> were never sent properly, so I did subscribe with this other 
> emailaccount too.

AFAICT the other two attempts haven't made it to the list yet.

> Once again, I am terribly sorry for spamming your emails :(
> 
> If anybody hears me screaming, could you please send mail to me at 
> mavaitti(at)paju.oulu.fi or at Mazziesaccount_at_gmail.com 
> <mailto:Mazziesaccount_at_gmail.com> so I know the messages come through... :(
> 
> Original message was as follows:
> 
> 
> Hi dee Ho list.
> 
> Firstly I do apologise if I am asking a stupid questions, but I am new to
> comedi... I have compiled comedi & comedilib, and almost everything is
> working just well with my PCI-DAS6014 card. (using module cb_pcidas64)
> Except comedi_calibrate, and eeprom_dump demo. eeprom_dump results:
> 
> linux:/home/matti/Envir_measure/comedi/comedilib-0.7.22/demo #
> ../eeprom_dump
> Memory subdevice has strange maxdata, aborting
> 0000: 7907000200ff00000000ff0000010000  y...............
> 0010: 00000000000000c10000000000000000  ................
> 0020: 00000000ff0000010040000000000000  ........._at_......
> 0030: 5e1f4b9f00200080e2ed0080cdcc1f45  ^.K.. .........E
> 0040: 6f03ffffffffffffffffffffffffffff  o...............
> 0050: 84a8847e80808080808480808080819c  ...~............
> 0060: 8080808080808080808080808080ffff  ................
> 0070: 8080808080808080ffffffffffffffff  ................
> 
> 
> and aborts.

It seems to expect maxdata == 0xff, but looking at the driver source it 
actually gets maxdata == 0xffff.  The program doesn't actually abort, as 
you can see, but it only outputs the lower half of each 16-bit word.

> comedi_calibrate results:
> 
> linux:/home/matti/Envir_measure/cardsoft/softa #
> /usr/local/bin/comedi_calibrate --calibrate /dev/comedi0
> init_setup() failed for pci-das6014
> 
> and aborts.

Looking at comedi_calibrate/cb64.c, it doesn't seem to have an entry for 
pci-das6014 in its 'boards' array.  You could try adding this line and 
see how well it works:

	{ "pci-das6014",	STATUS_GUESS,	setup_cb_pci_60xx },

I've no idea how well the above will work, if at all!  I've never used 
any of the PCI-DAS cards, so I'm just guessing.  Frank or David may know 
more.

> Is this a bug, or am I doing something wrong? Any advieces?
> I have comedi installed on computer running suse 9.2 Linux, kernel
> 2.6.8-24, and loaded modules
> 
> cb_pcidas64
> comedi_fc
> comedi_parport
> comedi
> comedi_test
> 
> and used comedi_config as follows:
> /usr/local/sbin/comedi_config /dev/comedi0 cb_pcidas64

You're not doing anything wrong.

-- 
-=( 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-10-31Z16:30:08