From: carla <ca...@fi...> - 2015-10-20 07:36:51
|
Very likely your board is a Measurement Computing (alias ComputerBoards) model PCI-488.2 (code 1307:0006, check with lspci -n), not a National Instruments. It should be "board_type = cbi_pci" instead of "ni_pci". Good luck. Marcello On 10/19/2015 03:42 PM, Andreas Schütz wrote: > Thx for the reply. I found the gpib_config executable in the diretory. I > could run it with "sudo ./gpib_config" and I get this: > failed to configure boardtype : ni_pci > failed to configure baord > main: Invalid argument > > So far i did not edit the gpib.conf in /etc/. After editing gpib.conf > into this: > > interface { > minor = 0 > board_type = "ni_pci" > pad = 0 > sad = 0 > master = yes > } > > > device { > minor = 0 > name = "FRA5087" > pad = 2 > sad = 0 > } > > I tried to run gpib_config as above and i get : > failed to bring board online. > failed to configure board. > main:operation not permitted. > > I tried to search for my gpib card with "lspci" and i think it lists as > this: > 03:02.0 Unassigned class [ff00]: Measurment Computing Device 0006 > > I think the problem is somewhere in the gpib.conf or the wrong module. > Do i need to specify the I/O port address of the gprib card in the > gpib.conf ? They range from 0xcca0-00xcccf. > > Thanks > Andreas > > > Am 2015-10-16 14:32, schrieb dave penkler: >> Hallo Andreas, >> A couple of tips: >> >> You need to run gpib_config as root and by default it will have been >> installed in /usr/local/sbin/gpib_config. >> >> As root you can run the lspci command to see what cards are installed >> which should give you a clue as to which module to use. >> >> /d >> >> On Fri, Oct 16, 2015 at 1:54 PM, Andreas Schütz >> <And...@ru...> wrote: >> >>> Hello, i am trying to install the gpib drivers on openSUSE 13.2 >>> (kernel >>> 13.16.7-24). It seems that the complete installation was successful. >>> I >>> loaded the gpib_common module and tried to run the gpib_config >>> command. >>> I get an error that this command was not found. I have no idea what >>> the >>> problem is, because the installation showed no errors. After reading >>> the >>> config.log i noticed some erros like this : >>> >>> configure:13320: checking sys/mkdev.h usability >>> configure:13320: gcc -c -g -O2 conftest.c >&5 >>> conftest.c:61:23: fatal error: sys/mkdev.h: No such file or >>> directory >>> #include <sys/mkdev.h> >>> ^ >>> compilation terminated. >>> configure:13320: $? = 1 >>> configure: failed program was: >>> | /* confdefs.h */ >>> >>> I thought maybe another problem is my gpib card. It is not clear who >>> manufactured the card (on the chipset is only written AMCC). I tried >>> loading different modules but still couldnt use the gpib_config >>> command. >>> After reinstalling and changing board type and name in gpib.conf i >>> still >>> dont know what the problem might be. Any suggestions or ideas? >>> Thanks in >>> advance. >>> >>> >> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Linux-gpib-general mailing list >>> Lin...@li... >>> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general [1] >> >> >> >> Links: >> ------ >> [1] 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 > |