Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1299715

Bug#1140762: linux: please enable CONFIG_GPIO_SIM as a module

From Christopher Obbard <obbardc@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1140762: linux: please enable CONFIG_GPIO_SIM as a module
Date 2026-06-26 02:10 +0200
Message-ID <Na2iS-Se9-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Source: linux
Severity: wishlist
X-Debbugs-Cc: obbardc@debian.org

Dear Maintainer,

Please consider enabling CONFIG_GPIO_SIM=m in the Debian kernel.

gpio-sim is the modern GPIO simulator (the configfs-based successor to the
deprecated gpio-mockup, which is also currently disabled in the Debian kernel).

It allows creating virtual GPIO chips and driving/reading line values entirely
in software, which is the standard mechanism libgpiod and related tools use for
testing without hardware.

Concretely it would let the gpiod-sysfs-proxy package run a real functional
autopkgtest. It is also generally useful for testing libgpiod, gpiod CLI tools
and any software consuming the GPIO character device.

It is a small, self-contained module (drivers/gpio/gpio-sim.c) with no runtime
cost unless manually loaded and depends only on CONFIG_CONFIGFS_FS (already =m)
and the GPIO chardev (already enabled).

Thanks for considering.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.12+deb14.1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1140762: linux: please enable CONFIG_GPIO_SIM as a module Christopher Obbard <obbardc@debian.org> - 2026-06-26 02:10 +0200

csiph-web