From: W <dat...@gm...> - 2019-06-07 16:00:07
|
Ok, thanks for the info Device is a 0xc801 and vendor is 0x1093. tnt4882.h was already set for that device, so didn't change anything. I built the 2 packages. At the first glance, no compilation error. However, at the very top of the compilation messages, there is an error: "ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing." I checked these 2 files and they are not missing. The GPIB install doc says that the linux kernel should be recompiled. That's something I haven't done. Is that necessary? Thanks On 07.06.2019 11:53, Ansgar Kueckes wrote: > TNT5004 is the full-featured version of NI's GPIB chip which also > includes GPIB controller functions (the TNT5002 just implements > Talker/Listener). > > There is no "official" documentation on the TNT5004, since it is not > intended for separate sale. But you may get back on the documentation > of the TNT5002, which is available here: > http://www.ni.com/pdf/manuals/370595b.pdf > > That manual covers most of the chip functions. GPIB Controller > functions are mostly identical to those of a TNT4882, including the > register programming. > > The TNT5004 is supported in the Linux GPIB package by the current > TNT4882 driver. It *may* happen that not all boards which are using > that chip (especially OEM boards) are properly identified with their > PCI device code. That code is board specific, not chip specific. If > required, add the device code of your board in tnt4882.h and re-build > the package. IIRC the standard PCI device code for the PCI-GPIB boards > is 0xc801. > > -Ansgar > >> I did not see the TNT5004 driver listed. That's why I assume it's not >> supported. >> >> I do have a PCI board, quite old, dated year 2007. Strange enough, I >> can't find any datasheet about this TNT5004 chip. >> >> "pci device id": you mean adding it in file tnt4882.h? >> >> On 06.06.2019 23:53, Frank Mori Hess wrote: >>> On Thu, Jun 6, 2019 at 12:44 PM Frank Mori Hess <fm...@gm...> wrote: >>>> On Thu, Jun 6, 2019 at 11:12 AM W <dat...@gm...> wrote: >>>>> I just got one of these boards. I had a quick look at the Supported Hardware Matrix and cannot find any kernel driver >>>>> that would match the TNT5004 chip. I guess this board is just not supported, right? >>>> You should try just adding your pci device id to the tnt4882 driver. >>>> It will probably just work. In the worst case, they have dropped some >>>> backwards compatibility behavior from the tnt5004, and that will have >>>> to be worked around. >>> Hmm, actually I'm pretty sure your board is already supported. Why do >>> you say it is not in the supported hardware matrix? Is it because it >>> only lists "PCI-GPIB" and not "PCIe-GPIB"? >>> >> >> >> _______________________________________________ >> Linux-gpib-general mailing list >> Lin...@li... >> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > > > > > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general |