From: Michael T. <Mic...@s3...> - 2002-03-13 14:32:30
|
Hi,=20 I have compiled the latest cource from CVS and successfully loaded the=20 module. I have edited /etc/gpib.conf but when I run ibtest I get this err= or enter primary address for device [0-30]: 0 trying to open pad =3D 0 on /dev/gpib0 ... ibBoardOpen :[Wed Mar 13 13:49:12 2002](-)< ERR> EDVR <OS Error> -- errno=3D2 (No such file or directory) ibBdChrConfig :[Wed Mar 13 13:49:12 2002](r=C9@5@=E4=B1@Pb@)< ERR> E= DVR=20 <OS Error> -- errno=3D2 (No such file or directory) failed to get descriptor How do I track doen this error? I am running Redhat 7.1 Kernel version 2.4.7-10 and using a National=20 Intruments PCII/PCIIa GPIB card. Thanks, Michael |
From: frank m. h. <fm...@st...> - 2002-03-13 16:50:00
|
When it asks for a primary address, it wants the address of the device you want to talk to as opposed to the address you gave to your interface board (which I am assuming is 0). Could you send me your /etc/gpib.conf file and the output of your kernel log after your try to run ibtest (use the 'dmesg' command). Frank On Wed, 13 Mar 2002, Michael Thompson wrote: > Hi, > > =09I have compiled the latest cource from CVS and successfully loaded the > module. I have edited /etc/gpib.conf but when I run ibtest I get this err= or > > enter primary address for device [0-30]: 0 > trying to open pad =3D 0 on /dev/gpib0 ... > > ibBoardOpen :[Wed Mar 13 13:49:12 2002](-)< ERR> EDVR <OS Error> > -- errno=3D2 (No such file or directory) > > ibBdChrConfig :[Wed Mar 13 13:49:12 2002](r=C9@5@=E4=B1@Pb@)< ERR> E= DVR > <OS Error> > -- errno=3D2 (No such file or directory) > failed to get descriptor > > > How do I track doen this error? > > I am running Redhat 7.1 Kernel version 2.4.7-10 and using a National > Intruments PCII/PCIIa GPIB card. > > Thanks, Michael > > > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > |
From: Michael T. <Mic...@s3...> - 2002-03-14 16:00:34
Attachments:
gpib.conf
|
Hi, I have attached my gpib.conf. I haven't got the board working under=20 windows yet either so I may have it incorrectly configured. The output=20 from dmesg is <snip> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,EPP,ECP] parport0: irq 7 detected parport0: cpp_daisy: aa5500ff(08) parport0: assign_addrs: aa5500ff(08) parport0: cpp_daisy: aa5500ff(08) parport0: assign_addrs: aa5500ff(08) PCI: Found IRQ 11 for device 00:11.0 PCI: Sharing IRQ 11 with 00:07.2 PCI: Sharing IRQ 11 with 01:00.0 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html 00:11.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xdc00. Vers LK1.1.16 ide-floppy driver 0.97 hdc: ATAPI 32X CD-ROM drive, 256kB Cache, DMA Uniform CD-ROM driver Revision: 3.12 Linux-GPIB Driver -- Kernel Release 2.4.7-10custom gpib: registered pcII interface gpib: registered pcIIa interface frank mori hess wrote: > When it asks for a primary address, it wants the address of the device = you > want to talk to as opposed to the address you gave to your interface bo= ard > (which I am assuming is 0). Could you send me your /etc/gpib.conf file > and the output of your kernel log after your try to run ibtest (use the > 'dmesg' command). >=20 > Frank >=20 > On Wed, 13 Mar 2002, Michael Thompson wrote: >=20 >=20 >>Hi, >> >> I have compiled the latest cource from CVS and successfully loaded the >>module. I have edited /etc/gpib.conf but when I run ibtest I get this e= rror >> >>enter primary address for device [0-30]: 0 >>trying to open pad =3D 0 on /dev/gpib0 ... >> >> ibBoardOpen :[Wed Mar 13 13:49:12 2002](-)< ERR> EDVR <OS Error> >> -- errno=3D2 (No such file or directory) >> >> ibBdChrConfig :[Wed Mar 13 13:49:12 2002](r=C9@5@=E4=B1@Pb@)< ERR> = EDVR >><OS Error> >> -- errno=3D2 (No such file or directory) >>failed to get descriptor >> >> >>How do I track doen this error? >> >>I am running Redhat 7.1 Kernel version 2.4.7-10 and using a National >>Intruments PCII/PCIIa GPIB card. >> >>Thanks, Michael >> >> >>_______________________________________________ >>Linux-gpib-general mailing list >>Lin...@li... >>https://lists.sourceforge.net/lists/listinfo/linux-gpib-general >> >> >=20 >=20 > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general >=20 --=20 Michael Thompson +353 1 291 1710 RF IC Design Engineer +353 1 676 3199 Silicon & Software Systems |
From: frank m. h. <fm...@st...> - 2002-03-14 16:38:14
|
Michael, Note the interface{} section describing your board in your /etc/gpib.conf is entirely commented out (the config file respects c-style comments /**/ ). Frank |
From: Michael T. <Mic...@s3...> - 2002-03-14 16:48:02
|
Thanks that has helped but now I get minor 0 ioctl 200 minor 0 ioctl 201 minor 0 ioctl 202 minor 0 ioctl 5 gpib: ioports are already in useGPIB Hardware Error! (Chip type not found or wrong Base Address?) Can I set the base address by changing the jumbers on the board to any address? If not how do I find a suitable address? Thanks for your help, Michael frank mori hess wrote: > > Michael, > > Note the interface{} section describing your board in your /etc/gpib.conf > is entirely commented out (the config file respects c-style comments /**/ > ). > > Frank > > > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > -- Michael Thompson +353 1 291 1710 RF IC Design Engineer +353 1 676 3199 Silicon & Software Systems |
From: frank m. h. <fm...@st...> - 2002-03-14 16:57:31
|
Your pcII/IIa board has switchers or jumpers for setting the base address, irq, dma channel, and whether it is in pcII or pcIIa mode. See your owner's manual (you can probably find a manual for it on NI's website). You can see what ioports/irq/dma are in use already by looking in the /proc directory. For example, 'cat /proc/ioports'. By the way, I am going to release a version 3.1.2 today which doesn't really have any changes except to turn off some debugging messages I accidentally left on for 3.1.1 so the package doesn't spam everyone's kernel logs. Frank On Thu, 14 Mar 2002, Michael Thompson wrote: > Thanks that has helped but now I get > > minor 0 ioctl 200 > minor 0 ioctl 201 > minor 0 ioctl 202 > minor 0 ioctl 5 > gpib: ioports are already in useGPIB Hardware Error! (Chip type not > found or wrong Base Address?) > > Can I set the base address by changing the jumbers on the board to any > address? If not how do I find a suitable address? > > Thanks for your help, > > Michael > > frank mori hess wrote: > > > > > Michael, > > > > Note the interface{} section describing your board in your /etc/gpib.conf > > is entirely commented out (the config file respects c-style comments /**/ > > ). > > > > Frank > > > > > > _______________________________________________ > > Linux-gpib-general mailing list > > Lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > > > > > > -- > Michael Thompson +353 1 291 1710 > RF IC Design Engineer +353 1 676 3199 > Silicon & Software Systems > |