Public bug reported:

After upgrading to 23.10 the gpio-fan overlay no longer seems to work on
my Pi 4 B.

dtoverlay=gpio-fan,gpiopin=3,temp=70000

With 22.04 und 23.04 the fan was off until 70 degree were reached. But
with 23.10 the fan is always on now.

Here's the full /boot/firmware/config.txt:

[pi4]
max_framebuffers=2
arm_boost=1

[all]
arm_64bit=1
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel

# Enable the audio output, I2C and SPI interfaces on the GPIO header
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on

# Enable the serial pins
enable_uart=1

# Comment out the following line if the edges of the desktop appear outside
# the edges of your display
disable_overscan=1

# If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output)
#hdmi_drive=2

# If you have a CM4, uncomment the following line to enable the USB2 outputs
# on the IO board (assuming your CM4 is plugged into such a board)
#dtoverlay=dwc2,dr_mode=host
dtoverlay=gpio-fan,gpiopin=3,temp=70000

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: linux-raspi 6.5.0.1006.7
ProcVersionSignature: Ubuntu 6.5.0-1006.8-raspi 6.5.3
Uname: Linux 6.5.0-1006-raspi aarch64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k6.5.0-1006-raspi.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.27.0-0ubuntu5
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] 
failed with exit code 1:
CRDA: N/A
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
CasperMD5CheckResult: unknown
CloudArchitecture: aarch64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial:
 
CloudSubPlatform: config-disk (/dev/mmcblk0p1)
Date: Sun Oct 29 16:34:49 2023
ImageMediaBuild: 20201022
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci-vt: -[0000:00]---00.0-[01]----00.0  VIA Technologies, Inc. VL805/806 xHCI 
USB 3.0 Controller
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
 /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
     |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
PciMultimedia:
 
ProcEnviron:
 LANG=en_US.UTF-8
 LC_CTYPE=UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
ProcFB:
 
ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 
snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 
snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 
bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:FE:2D:4A 
vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 
console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 
elevator=deadline rootwait fixrtc quiet splash
RelatedPackageVersions:
 linux-restricted-modules-6.5.0-1006-raspi N/A
 linux-backports-modules-6.5.0-1006-raspi  N/A
 linux-firmware                            20230919.git3672ccab-0ubuntu2.1
SourcePackage: linux-raspi
StagingDrivers: bcm2835_mmal_vchiq bcm2835_isp rpivid_hevc bcm2835_codec 
vc_sm_cma snd_bcm2835 bcm2835_v4l2
UpgradeStatus: Upgraded to mantic on 2023-10-29 (0 days ago)
acpidump:

** Affects: linux-raspi (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug arm64 arm64-image cloud-image mantic raspi-image staging

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi in Ubuntu.
https://bugs.launchpad.net/bugs/2041748

Title:
  gpio-fan overlay no longer working after upgrade to 23.10 (fan always
  on)

Status in linux-raspi package in Ubuntu:
  New

Bug description:
  After upgrading to 23.10 the gpio-fan overlay no longer seems to work
  on my Pi 4 B.

  dtoverlay=gpio-fan,gpiopin=3,temp=70000

  With 22.04 und 23.04 the fan was off until 70 degree were reached. But
  with 23.10 the fan is always on now.

  Here's the full /boot/firmware/config.txt:

  [pi4]
  max_framebuffers=2
  arm_boost=1

  [all]
  arm_64bit=1
  kernel=vmlinuz
  cmdline=cmdline.txt
  initramfs initrd.img followkernel

  # Enable the audio output, I2C and SPI interfaces on the GPIO header
  dtparam=audio=on
  dtparam=i2c_arm=on
  dtparam=spi=on

  # Enable the serial pins
  enable_uart=1

  # Comment out the following line if the edges of the desktop appear outside
  # the edges of your display
  disable_overscan=1

  # If you have issues with audio, you may try uncommenting the following line
  # which forces the HDMI output into HDMI mode instead of DVI (which doesn't
  # support audio output)
  #hdmi_drive=2

  # If you have a CM4, uncomment the following line to enable the USB2 outputs
  # on the IO board (assuming your CM4 is plugged into such a board)
  #dtoverlay=dwc2,dr_mode=host
  dtoverlay=gpio-fan,gpiopin=3,temp=70000

  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: linux-raspi 6.5.0.1006.7
  ProcVersionSignature: Ubuntu 6.5.0-1006.8-raspi 6.5.3
  Uname: Linux 6.5.0-1006-raspi aarch64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k6.5.0-1006-raspi.
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.27.0-0ubuntu5
  Architecture: arm64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] 
failed with exit code 1:
  CRDA: N/A
  Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
  Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
  CasperMD5CheckResult: unknown
  CloudArchitecture: aarch64
  CloudBuildName: server
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSerial:
   
  CloudSubPlatform: config-disk (/dev/mmcblk0p1)
  Date: Sun Oct 29 16:34:49 2023
  ImageMediaBuild: 20201022
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lspci-vt: -[0000:00]---00.0-[01]----00.0  VIA Technologies, Inc. VL805/806 
xHCI USB 3.0 Controller
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Lsusb-t:
   /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
   /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
       |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
  PciMultimedia:
   
  ProcEnviron:
   LANG=en_US.UTF-8
   LC_CTYPE=UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
  ProcFB:
   
  ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 
snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 
snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 
bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:FE:2D:4A 
vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 
console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 
elevator=deadline rootwait fixrtc quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-6.5.0-1006-raspi N/A
   linux-backports-modules-6.5.0-1006-raspi  N/A
   linux-firmware                            20230919.git3672ccab-0ubuntu2.1
  SourcePackage: linux-raspi
  StagingDrivers: bcm2835_mmal_vchiq bcm2835_isp rpivid_hevc bcm2835_codec 
vc_sm_cma snd_bcm2835 bcm2835_v4l2
  UpgradeStatus: Upgraded to mantic on 2023-10-29 (0 days ago)
  acpidump:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2041748/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to