National Instruments PCI-6503

8 views
Skip to first unread message

Ala'a Mohammad

unread,
Nov 12, 2010, 7:53:37 AM11/12/10
to Comedi: Linux Control and Measurement Device Interface
I've PCI-6503, on my Ubuntu box (9.10 Karmic, 32bit, x86, no real-time
patches).

The lspci command shows the card, and say that ni_pcidio is the driver
of the card.

comedi_get_n_subdevices returns 1,

then using comedi_get_n_channels with 0 as its subdev, I get 0 (zero).

now I can not access any channel (supposdly from 0 upto 23), since all
comedi_dio_config returns -1 whith comedi_perror saying "Invalid
channel"

why do I get zero (0) channels? any hint ? clue ?

Regards,

Ala'a Mohammad.

Ian Abbott

unread,
Nov 12, 2010, 8:55:13 AM11/12/10
to comed...@googlegroups.com

It's due to the supplied "staging" drivers not linking to the 8255
module when they should, so they end up using a dummy subdevice instead
of a DIO subdevice.

There are two different solutions:

1. Upgrade the kernel to 2.6.32.18 or later (e.g. Ubuntu 10.04 with
updates), 2.6.34.3 or later, or 2.6.35 or later (e.g. Ubuntu 10.10).

2. Use the comedi CVS drivers instead of the supplied "staging" drivers.

Hope this helps!

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

Reply all
Reply to author
Forward
0 new messages