Fwd: Raspberry Pi Zero - GPIB

Scott Bouchard via Linux-gpib-general <[email protected]> Mon, 2 Feb 2026 21:33:45 +0000 (GMT)
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <[email protected]>
--===============0888893270633208329==
Content-Type: multipart/alternative; 
	boundary="----=_Part_2204458_1556596641.1770068025239"

------=_Part_2204458_1556596641.1770068025239
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Hello from the UK! I'm new here, and looking for a little help please...
 
Firstly, I'd like to say a big thank-you for the fantastic work on this great project, I'm really looking forward to using it!
 
This is my first experience with GPIB, after just recently purchasing a 1991 dated HP54501A digitizing oscilloscope with HP-IB socket.
 
I laid out my own PCB (attached image), exactly following the circuit in this schematic: https://raw.githubusercontent.com/elektronomikon/raspizero_gpib_shield/master/Documentation/RaspiZero_GPIB_Schematic.pdf
 
This is physically what I've produced so far, version 1, no case yet: https://scottbouch.com/tmp/hp-ib-pi-zero-interface-v1-1.jpg
 
I followed the software installation guidance here for version 4.3.4, but I used the latest version from sourceforge, version 4.3.7: http://elektronomikon.org//install.html
 
https://sourceforge.net/projects/linux-gpib/files/linux-gpib%20for%203.x.x%20and%202.6.x%20kernels/4.3.7/
 
 
Issue 1:
 
I hit one snag following the guide during the install, but I carried on with the rest of the procedure:
 
     install the header files for your linux kernel
      
     $ apt install raspberrypi-kernel-headers
     Error: Unable to locate package raspberrypi-kernel-headers
 
 
Issue 2:
 
When I came to just trying ibterm for the first time (the scope's address is 11 in it's menu), it threw this error:
 
     $ ibterm -d11 -m0
     Attempting to open /dev/gpib0
     pad = 11, sad = 0, timeout = 10, send_eoi = 1, eos_mode = 0x0000
     ibterm error: open failed
     - EDVR 0: OS error
     No such file or directory
 
 
I had a look in /dev and couldn't find gpib0:
     ...
     crw-rw-rw- 1 root root 10, 229 Jan 28 22:26 fuse
     crw-rw---- 1 root gpio 254, 0 Jan 28 22:26 gpiochip0
     lrwxrwxrwx 1 root root 9 Jan 28 22:26 gpiochip4 -> gpiochip0
     crw-rw---- 1 root gpio 242, 0 Jan 28 22:26 gpiomem
     crw------- 1 root root 10, 183 Jan 28 22:26 hwrng
     ...
 
I have a feeling this may be to do with the header installation issue I faced during the install?
 
 
System info:
 
Raspberry Pi Zero W V1.1 (dated 2016)
 
I downloaded the latest Raspbian image from the official website only a week or two ago:
 
     $ cat /etc/os-release
     PRETTY_NAME="Raspbian GNU/Linux 13 (trixie)"
     NAME="Raspbian GNU/Linux"
     VERSION_ID="13"
     VERSION="13 (trixie)"
     VERSION_CODENAME=trixie
     DEBIAN_VERSION_FULL=13.2
     ID=raspbian
     ID_LIKE=debian
     HOME_URL="http://www.raspbian.org/"
     SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
     BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
 
     $ uname -a
     Linux scopi 6.12.62+rpt-rpi-v6 #1 Raspbian 1:6.12.62-1+rpt1 (2025-12-18) armv6l GNU/Linux
 
If anyone can shed any light on what I have done wrong, I'd really appreciate a little help...
 
Many thanks in advance,
Cheers, Scott.
------=_Part_2204458_1556596641.1770068025239
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!doctype html>
<html>
 <head> 
  <meta charset="UTF-8"> 
 </head>
 <body>
  <div class="default-style"> 
   <div class="default-style">
    Hello from the UK! I'm new here, and looking for a little help please...
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    Firstly, I'd like to say a big thank-you for the fantastic work on this great project, I'm really looking forward to using it!
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    This is my first experience with GPIB, after just recently purchasing a 1991 dated HP54501A digitizing oscilloscope with HP-IB socket.
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    I laid out my own PCB (attached image), exactly following the circuit in this schematic: <a href="https://raw.githubusercontent.com/elektronomikon/raspizero_gpib_shield/master/Documentation/RaspiZero_GPIB_Schematic.pdf">https://raw.githubusercontent.com/elektronomikon/raspizero_gpib_shield/master/Documentation/RaspiZero_GPIB_Schematic.pdf</a>
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    This is physically what I've produced so far, version 1, no case yet: <a href="https://scottbouch.com/tmp/hp-ib-pi-zero-interface-v1-1.jpg">https://scottbouch.com/tmp/hp-ib-pi-zero-interface-v1-1.jpg</a>
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    I followed the software installation guidance here for version 4.3.4, but I used the latest version from sourceforge, version 4.3.7: <a href="http://elektronomikon.org//install.html">http://elektronomikon.org//install.html</a>
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    <a href="https://sourceforge.net/projects/linux-gpib/files/linux-gpib%20for%203.x.x%20and%202.6.x%20kernels/4.3.7/">https://sourceforge.net/projects/linux-gpib/files/linux-gpib%20for%203.x.x%20and%202.6.x%20kernels/4.3.7/</a>
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    <strong>Issue 1:</strong>
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    I hit one snag following the guide during the install, but I carried on with the rest of the procedure:
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style" style="padding-left: 40px;">
    install the header files for your linux kernel
   </div> 
   <div class="default-style" style="padding-left: 40px;">
    &nbsp;
   </div> 
   <div class="default-style" style="padding-left: 40px;">
    $ apt install raspberrypi-kernel-headers 
    <br>Error: Unable to locate package raspberrypi-kernel-headers
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    <strong>Issue 2:</strong>
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    When I came to just trying ibterm for the first time (the scope's address is 11 in it's menu), it threw this error:
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style" style="padding-left: 40px;">
    $ ibterm -d11 -m0 
    <br>Attempting to open /dev/gpib0 
    <br>pad = 11, sad = 0, timeout = 10, send_eoi = 1, eos_mode = 0x0000 
    <br>ibterm error: open failed 
    <br>- EDVR 0: OS error 
    <br>No such file or directory
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    I had a look in /dev and couldn't find gpib0:
   </div> 
   <div class="default-style" style="padding-left: 40px;">
    ...
   </div> 
   <div class="default-style" style="padding-left: 40px;">
    crw-rw-rw- 1 root root 10, 229 Jan 28 22:26 fuse 
    <br>crw-rw---- 1 root gpio 254, 0 Jan 28 22:26 gpiochip0 
    <br>lrwxrwxrwx 1 root root 9 Jan 28 22:26 gpiochip4 -&gt; gpiochip0 
    <br>crw-rw---- 1 root gpio 242, 0 Jan 28 22:26 gpiomem 
    <br>crw------- 1 root root 10, 183 Jan 28 22:26 hwrng
   </div> 
   <div class="default-style" style="padding-left: 40px;">
    ...
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    I have a feeling this may be to do with the header installation issue I faced during the install?
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    <strong>System info:</strong>
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    Raspberry Pi Zero W V1.1 (dated 2016)
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    I downloaded the latest Raspbian image from the official website only a week or two ago:
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style" style="padding-left: 40px;">
    $ cat /etc/os-release 
    <br>PRETTY_NAME="Raspbian GNU/Linux 13 (trixie)" 
    <br>NAME="Raspbian GNU/Linux" 
    <br>VERSION_ID="13" 
    <br>VERSION="13 (trixie)" 
    <br>VERSION_CODENAME=trixie 
    <br>DEBIAN_VERSION_FULL=13.2 
    <br>ID=raspbian 
    <br>ID_LIKE=debian 
    <br>HOME_URL="http://www.raspbian.org/" 
    <br>SUPPORT_URL="http://www.raspbian.org/RaspbianForums" 
    <br>BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style" style="padding-left: 40px;">
    $ uname -a 
    <br>Linux scopi 6.12.62+rpt-rpi-v6 #1 Raspbian 1:6.12.62-1+rpt1 (2025-12-18) armv6l GNU/Linux
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    If anyone can shed any light on what I have done wrong, I'd really appreciate a little help...
   </div> 
   <div class="default-style">
    &nbsp;
   </div> 
   <div class="default-style">
    Many thanks in advance,
   </div> 
   <div class="default-style">
    Cheers, Scott.
   </div> 
  </div>
 </body>
</html>
------=_Part_2204458_1556596641.1770068025239--


--===============0888893270633208329==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============0888893270633208329==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general

--===============0888893270633208329==--