Author Topic: Linux finally includes GPIB support  (Read 4332 times)

0 Members and 1 Guest are viewing this topic.

Offline JohanHTopic starter

  • Frequent Contributor
  • **
  • Posts: 845
  • Country: fi
Linux finally includes GPIB support
« on: December 18, 2025, 03:53:06 pm »
Interesting that it happens now and not many years ago.

"stable General Purpose Interface Bus (GPIB) support has finally been merged into the 6.19 Linux kernel"

https://hackaday.com/2025/12/16/after-decades-linux-finally-gains-stable-gpib-support/
 
The following users thanked this post: Geoff-AU

Offline bitwelder

  • Super Contributor
  • ***
  • Posts: 1048
  • Country: fi
Re: Linux finally includes GPIB support
« Reply #1 on: December 19, 2025, 02:18:42 pm »
Is GPIB a tricky protocol to implement, or simply there was not much interest so far (until somebody had really *that* itch to scratrch) ?
 
The following users thanked this post: tooki

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17876
  • Country: fr
Re: Linux finally includes GPIB support
« Reply #2 on: December 19, 2025, 04:33:07 pm »
I haven't had a look at what they implement exactly. There are potentially :
- Hardware drivers to support existing GPIB interfaces (USB to GPIB, PCI/PCIe to GPIB...)
- Hardware drivers to support SCPI over Ethernet, USBTMC class...
- SCPI support itself (which would probably be more in user land).
 

Offline djsb

  • Super Contributor
  • ***
  • Posts: 1133
  • Country: gb
Re: Linux finally includes GPIB support
« Reply #3 on: December 19, 2025, 05:07:31 pm »
Are there any applications that could make use of this support? Or is it early days up to now? Maybe a windows application could be cross compiled for Linux. Or something python based? Just speculating.
David
Hertfordshire, UK
Retired (2026) University Electronics Technician, London, PIC16/18, CCS PCM C, Arduino UNO, NANO,ESP32, KiCad V10+, Altium Designer 21.4.1, Alibre Design Expert 28 & FreeCAD beginner. LPKF S103,S62 Operator, Electronics instructor. Credited KiCad French to English translator.
 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 2592
  • Country: pl
Re: Linux finally includes GPIB support
« Reply #4 on: December 19, 2025, 05:11:29 pm »
Is GPIB a tricky protocol to implement, or simply there was not much interest so far (until somebody had really *that* itch to scratrch) ?
It was implemented for a long time. Just not pulled into the kernel tree.

And it’s not a protocol that would be the implementation obstacle. The modules need to implement support for specific hardware. Only one of the supported devices is an open project (an GPIB-USB adapter from University of Ljubljana) — the rest is hostile stuff that had to be reverse engineered.

You’d need to ask kernel devs about their motivation for inclusion now, and not earlier. I may at most speculate, that old proprietary drivers are unsupported and users seek alternatives to not be forced into buying new devices.
Why 📎 | We live in times when half of people have IQ below 100.
 
The following users thanked this post: TUMEMBER

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17876
  • Country: fr
Re: Linux finally includes GPIB support
« Reply #5 on: December 19, 2025, 05:19:58 pm »
I would guess it would be mostly for some PCI to GPIB cards that are still ubiquitous in older (but perfectly working) test equipment and that are completely undocumented. NI made much of these cards back in the days and I'm not sure they are too open-source friendly.
 

Offline dxl

  • Frequent Contributor
  • **
  • Posts: 264
  • Country: 00
Re: Linux finally includes GPIB support
« Reply #6 on: December 19, 2025, 05:26:18 pm »
I would guess it would be mostly for some PCI to GPIB cards that are still ubiquitous in older (but perfectly working) test equipment and that are completely undocumented. NI made much of these cards back in the days and I'm not sure they are too open-source friendly.

Code: [Select]
gpib git:(master) ✗ $ ls
agilent_82350b  cb7210  common    fmh_gpib  hp_82335  include  Kconfig        Makefile  ni_usb  tms9914  TODO
agilent_82357a  cec     eastwood  gpio      hp_82341  ines     lpvo_usb_gpib  nec7210   pc2     tnt4882

I'm assuming it's just the same set of cards supported in linux-gpib, just merged into the kernel.
 

Offline MiDi

  • Frequent Contributor
  • **
  • Posts: 836
  • Country: de
Re: Linux finally includes GPIB support
« Reply #7 on: January 10, 2026, 08:00:43 pm »
« Last Edit: January 10, 2026, 08:05:57 pm by MiDi »
 

Offline peterbjornx

  • Newbie
  • Posts: 7
  • Country: nl
  • Physicist / Reverse engineer
    • My homepage
Re: Linux finally includes GPIB support
« Reply #8 on: February 11, 2026, 10:31:28 pm »
You’d need to ask kernel devs about their motivation for inclusion now, and not earlier. I may at most speculate, that old proprietary drivers are unsupported and users seek alternatives to not be forced into buying new devices.

After several goes at setting up a laptop with the out of tree modules for the hackerspace, one of the main people running the kernel project (gregkh) happened to visit there and I asked them why GPIB was out of tree at all, considering it has always been open source and under the same license. A few months later he got back to me and said it was being merged into staging. I had hoped to be able to contribute by tidying up some of the code, but life got in the way.

TLDR: user request.
 
The following users thanked this post: JohanH, voltsandjolts, MiDi, golden_labels


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->