Subject: | |
From: | |
Reply To: | Aldo F. Saavedra |
Date: | Tue, 11 Apr 2006 00:38:35 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi Mike,
I just wanted to let you know that I did fixed my problem with the gpib
card.
The driver that I've got working was the linux-gpib card driver 3.1
which is for kernel version 2.4 (http://linux-gpib.sourceforge.net/).
The original problem I was having was that the driver would not compile
with in my linux 2.4.21-37-ELsmp. It complained that something in the
kernel headers was not defined when included
linux-gpib-3.1.101/driver/include/nec7020.h
If you download the src of the kernel (yum -install kernel-source)
you can see lots of drivers which compile without any problems.
(I had to learn how all of that worked)
I figured out that the file linux-gpib-3.1.101/driver/include/nec7020.h
was missing
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
before
#include <linux/types.h>
Once I include them.. the driver compiled and I was able to continue
with the instruction listed in the INSTALL file found in the linux-gpib
tarball and talk to my gpib devices.
I guess since the last time the driver was updated (2004) something
changed in the kernel 2.4. I hope that helps you.
Cheers,
Aldo
>
>> Hi, Aldo. I'm afraid I don't have a solution for you, but one of the
>> research groups here is having the same problem. If we find a
>> solution, I'll let you know.
>>
>> - Mike
>>
>> Aldo F. Saavedra wrote:
>>> Hi,
>>>
>>> Has anybody tried to install a PCI GPIB card from NI in a scientific
>>> linux distribution?
>>>
>>> I have tried the NI linux driver version 2.3 with little sucess..
>>> their
>>> trouble shooting wizard says it can't find the software and the only
>>> solution provided is to reboot the computer.. which does not help.
>>>
>>> I have also tried a linux-gpib card.. 3.1 which I think was for the
>>> kernel version 2.4 (My kernel 2.4.21-37-ELsmp) and the compilation
>>> of the driver fails.. (http://linux-gpib.sourceforge.net/)
>>>
>>> If you have any suggestions I would like to hear them.
>>>
>>> Thanks,
>>> Aldo
>>>
>>
>> --
>> Michael Hannon mailto:[log in to unmask]
>> Dept. of Physics 530.752.4966
>> University of California 530.752.4717 FAX
>> Davis, CA 95616-8677
>
>
--
Aldo F. Saavedra
Phone: (+44) 141 339 8855 ext 0893
Fax: (+44) 141 330 5881
Email: [log in to unmask]
Mail: School of Physics and Astronomy,
Glasgow University,
Glasgow G12 8QQ
UK
|
|
|