<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 91: Linux kernel 6.12 bugfix</title><link>https://sourceforge.net/p/linux-gpib/bugs/91/</link><description>Recent changes to 91: Linux kernel 6.12 bugfix</description><atom:link href="https://sourceforge.net/p/linux-gpib/bugs/91/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 22 Sep 2025 13:28:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/linux-gpib/bugs/91/feed.rss" rel="self" type="application/rss+xml"/><item><title>#91 Linux kernel 6.12 bugfix</title><link>https://sourceforge.net/p/linux-gpib/bugs/91/?limit=25#a117/caa5</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Wasn't fixed in  SVN trunk (revision 2106), but you can close it, if it is now fixed.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frank Buss</dc:creator><pubDate>Mon, 22 Sep 2025 13:28:58 -0000</pubDate><guid>https://sourceforge.netbdb466a8032dc820affb494153a00dd1ac969650</guid></item><item><title>#91 Linux kernel 6.12 bugfix</title><link>https://sourceforge.net/p/linux-gpib/bugs/91/?limit=25#a117</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is fixed in the git repo, albeit using another approach. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DaveP</dc:creator><pubDate>Mon, 22 Sep 2025 13:18:14 -0000</pubDate><guid>https://sourceforge.net8226a4ac2581ed40b03170a59f236bb2eb8d8327</guid></item><item><title>Linux kernel 6.12 bugfix</title><link>https://sourceforge.net/p/linux-gpib/bugs/91/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The linux-gpib kernel modules fail to build on Linux kernel 6.12+ due to GPIO API changes.&lt;br/&gt;
The GPIOF_DIR_IN flag has been removed from the kernel's GPIO subsystem.&lt;/p&gt;
&lt;p&gt;Error encountered:&lt;br/&gt;
/drivers/gpib/gpio/gpib_bitbang.c:968:68: error: 'GPIOF_DIR_IN' undeclared&lt;/p&gt;
&lt;p&gt;Environment:&lt;br/&gt;
- Kernel version: 6.12.41+deb13-amd64&lt;br/&gt;
- linux-gpib version: SVN trunk (revision 2106)&lt;br/&gt;
- Distribution: Debian&lt;/p&gt;
&lt;p&gt;I fixed it:&lt;br/&gt;
Index: linux-gpib-kernel/drivers/gpib/gpio/gpib_bitbang.c&lt;br/&gt;
===================================================================&lt;br/&gt;
--- linux-gpib-kernel/drivers/gpib/gpio/gpib_bitbang.c  (revision 2106)&lt;br/&gt;
+++ linux-gpib-kernel/drivers/gpib/gpio/gpib_bitbang.c  (working copy)&lt;br/&gt;
@@ -965,7 +965,8 @@&lt;br/&gt;
         int j;&lt;br/&gt;
         int last = sn7516x ? GPIB_PINS + SN7516X_PINS : GPIB_PINS ;&lt;br/&gt;
         for ( j=0 ; j&amp;lt;last ; j++ ) {&lt;br/&gt;
-                if (gpio_request_one (gpios_vector&lt;span&gt;[j]&lt;/span&gt;+gpio_offset, GPIOF_DIR_IN, NULL)) break;&lt;br/&gt;
+                if (gpio_request(gpios_vector&lt;span&gt;[j]&lt;/span&gt;+gpio_offset, NULL)) break;&lt;br/&gt;
+                gpio_direction_input(gpios_vector&lt;span&gt;[j]&lt;/span&gt;+gpio_offset);&lt;br/&gt;
                 all_descriptors&lt;span&gt;[j]&lt;/span&gt; = gpio_to_desc (gpios_vector&lt;span&gt;[j]&lt;/span&gt;+gpio_offset);&lt;br/&gt;
         }&lt;br/&gt;
         if ( j != last) {                    /&lt;em&gt; error - undo what already done &lt;/em&gt;/&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frank Buss</dc:creator><pubDate>Sat, 20 Sep 2025 06:12:26 -0000</pubDate><guid>https://sourceforge.net1033eba97e6c673a319a17bef1d507322e2974a1</guid></item></channel></rss>