[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-04-10 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-raspi - 6.5.0-1014.17

---
linux-raspi (6.5.0-1014.17) mantic; urgency=medium

  * mantic/linux-raspi: 6.5.0-1014.17 -proposed tracker (LP: #2055574)

  * Packaging resync (LP: #1786013)
- [Packaging] drop ABI data
- debian.raspi/dkms-versions -- update from kernel-versions 
(main/2024.03.04)

  * Raspberry Pi5 fan custom curve not working. (LP: #2054921)
- ARM: dts: bcm2712-rpi-5-b: Add fan speed dtparams

  [ Ubuntu: 6.5.0-27.28 ]

  * mantic/linux: 6.5.0-27.28 -proposed tracker (LP: #2055584)
  * Packaging resync (LP: #1786013)
- [Packaging] drop ABI data
- [Packaging] update annotations scripts
- debian.master/dkms-versions -- update from kernel-versions 
(main/2024.03.04)
  * CVE-2024-26597
- net: qualcomm: rmnet: fix global oob in rmnet_policy
  * CVE-2024-26599
- pwm: Fix out-of-bounds access in of_pwm_single_xlate()
  * Drop ABI checks from kernel build (LP: #2055686)
- [Packaging] Remove in-tree abi checks
  * Cranky update-dkms-versions rollout (LP: #2055685)
- [Packaging] remove update-dkms-versions
- Move debian/dkms-versions to debian.master/dkms-versions
- [Packaging] Replace debian/dkms-versions with $(DEBIAN)/dkms-versions
  * linux: please move erofs.ko (CONFIG_EROFS for EROFS support) from linux-
modules-extra to linux-modules (LP: #2054809)
- UBUNTU [Packaging]: Include erofs in linux-modules instead of 
linux-modules-
  extra
  * performance: Scheduler: ratelimit updating of load_avg (LP: #2053251)
- sched/fair: Ratelimit update to tg->load_avg
  * IB peer memory feature regressed in 6.5 (LP: #2055082)
- SAUCE: RDMA/core: Introduce peer memory interface
  * linux-tools-common: man page of usbip[d] is misplaced (LP: #2054094)
- [Packaging] rules: Put usbip manpages in the correct directory
  * CVE-2024-23851
- dm: limit the number of targets and parameter size area
  * CVE-2024-23850
- btrfs: do not ASSERT() if the newly created subvolume already got read
  * x86: performance: tsc: Extend watchdog check exemption to 4-Sockets platform
(LP: #2054699)
- x86/tsc: Extend watchdog check exemption to 4-Sockets platform
  * linux: please move dmi-sysfs.ko (CONFIG_DMI_SYSFS for SMBIOS support) from
linux-modules-extra to linux-modules (LP: #2045561)
- [Packaging] Move dmi-sysfs.ko into linux-modules
  * Fix AMD brightness issue on AUO panel (LP: #2054773)
- drm/amdgpu: make damage clips support configurable
  * Mantic update: upstream stable patchset 2024-02-28 (LP: #2055199)
- f2fs: explicitly null-terminate the xattr list
- pinctrl: lochnagar: Don't build on MIPS
- ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
- mptcp: fix uninit-value in mptcp_incoming_options
- wifi: cfg80211: lock wiphy mutex for rfkill poll
- wifi: avoid offset calculation on NULL pointer
- wifi: mac80211: handle 320 MHz in ieee80211_ht_cap_ie_to_sta_ht_cap
- debugfs: fix automount d_fsdata usage
- nvme-core: fix a memory leak in nvme_ns_info_from_identify()
- drm/amd/display: update dcn315 lpddr pstate latency
- drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer
- smb: client, common: fix fortify warnings
- blk-mq: don't count completed flush data request as inflight in case of
  quiesce
- nvme-core: check for too small lba shift
- hwtracing: hisi_ptt: Handle the interrupt in hardirq context
- hwtracing: hisi_ptt: Don't try to attach a task
- ASoC: wm8974: Correct boost mixer inputs
- arm64: dts: rockchip: fix rk356x pcie msg interrupt name
- ASoC: Intel: Skylake: Fix mem leak in few functions
- ASoC: nau8822: Fix incorrect type in assignment and cast to restricted
  __be16
- ASoC: Intel: Skylake: mem leak in skl register function
- ASoC: cs43130: Fix the position of const qualifier
- ASoC: cs43130: Fix incorrect frame delay configuration
- ASoC: rt5650: add mutex to avoid the jack detection failure
- ASoC: Intel: skl_hda_dsp_generic: Drop HDMI routes when HDMI is not
  available
- nouveau/tu102: flush all pdbs on vmm flush
- ASoC: amd: yc: Add DMI entry to support System76 Pangolin 13
- ASoC: hdac_hda: Conditionally register dais for HDMI and Analog
- net/tg3: fix race condition in tg3_reset_task()
- ASoC: da7219: Support low DC impedance headset
- nvme: introduce helper function to get ctrl state
- nvme: prevent potential spectre v1 gadget
- arm64: dts: rockchip: Fix PCI node addresses on rk3399-gru
- drm/amdgpu: Add NULL checks for function pointers
- drm/exynos: fix a potential error pointer dereference
- drm/exynos: fix a wrong error checking
- hwmon: (corsair-psu) Fix probe when built-in
- LoongArch: Preserve syscall nr across execve()
- clk: rockchip: rk3568: Add PLL rate for 292.5MHz
- clk: rockchip: rk3128: Fix HCLK_OTG gate register
- jbd2: 

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-04-02 Thread Juerg Haefliger
Waving through.

** Tags removed: verification-needed-mantic-linux-raspi
** Tags added: verification-done-mantic-linux-raspi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-03-27 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-raspi/6.5.0-1014.17
kernel in -proposed solves the problem. Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-mantic-linux-raspi' to 'verification-done-
mantic-linux-raspi'. If the problem still exists, change the tag
'verification-needed-mantic-linux-raspi' to 'verification-failed-mantic-
linux-raspi'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-mantic-linux-raspi-v2 
verification-needed-mantic-linux-raspi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-03-13 Thread Juerg Haefliger
** Changed in: linux-raspi (Ubuntu Mantic)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-03-12 Thread Stefan Bader
** Changed in: linux-raspi (Ubuntu Mantic)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-03-12 Thread Juerg Haefliger
** Changed in: linux-raspi (Ubuntu Mantic)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-03-12 Thread Juerg Haefliger
** Also affects: linux-raspi (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Changed in: linux-raspi (Ubuntu)
   Status: New => Confirmed

** Description changed:

+ [Impact]
+ 
  Fan speed control does not work on Ubuntu 23.10 due to they are using an
  old bcm2712-rpi-5-b.dtb file.
  
  That updated file is present in the raspberry repo
  https://github.com/raspberrypi/firmware/blob/master/boot/bcm2712-rpi-5-b.dtb
  
  Will Ubuntu guys ever update that file? Is there a way to submit a bug
  report to try to mitigate this problem as soon as possible?
  
  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: linux-image-6.5.0-1011-raspi 6.5.0-1011.14
  ProcVersionSignature: Ubuntu 6.5.0-1011.14-raspi 6.5.8
  Uname: Linux 6.5.0-1011-raspi aarch64
  ApportVersion: 2.27.0-0ubuntu5
  Architecture: arm64
  CasperMD5CheckResult: unknown
  CloudArchitecture: aarch64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: config-disk (/dev/sda1)
  Date: Sun Feb 25 12:40:51 2024
  ProcEnviron:
-  LANG=C.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm
+  LANG=C.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm
  SourcePackage: linux-raspi
  UpgradeStatus: No upgrade log present (probably fresh install)
+ 
+ [Test case]
+ 
+ See comment #5 below.
+ 
+ [Where Problems Could Occur]
+ 
+ DTB changes, so potential boot issues or some HW pieces might stop
+ working.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-02-26 Thread Davide
please try to customize the fan curve by editing the /boot/firmware/config.txt 
file
you can do it by adding something like this:

```
dtparam=fan_temp0=65000
dtparam=fan_temp0_hyst=2500
dtparam=fan_temp0_speed=75

dtparam=fan_temp1=7
dtparam=fan_temp1_hyst=2500
dtparam=fan_temp1_speed=128

dtparam=fan_temp2=75000
dtparam=fan_temp2_hyst=2500
dtparam=fan_temp2_speed=192

dtparam=fan_temp3=8
dtparam=fan_temp3_hyst=2500
dtparam=fan_temp3_speed=255
```

This tells the system to start the fan once the temp reaches 65°C not before,
at 70°C it increases the fan speed, at 75°C it increases it even more until 
80°C when the fan spins at 100%.

This configuration is completely ignored with the current
bcm2712-rpi-5-b.dtb file, you can see that the fan starts at 50°C and
not at 65°C.


Now try to overwrite that file with this one:
https://github.com/raspberrypi/firmware/blob/master/boot/bcm2712-rpi-5-b.dtb
reboot the system and try again and boom, it now works as expected.

To stress the CPU and monitor the CPU temperature/Fan speed at the same time, 
you can use a tool like s-tui.
https://github.com/amanusk/s-tui

feel free to ask if you need further info :)
thanks
Davide

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-02-26 Thread Juerg Haefliger
Can you provide steps to reproduce/show the problem?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-02-26 Thread Davide
awesome, 
new bcm2712-rpi-5-b.dtb completely fixes the problem.

Thanks!!!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054921] Re: Raspberry Pi5 fan custom curve not working.

2024-02-26 Thread Juerg Haefliger
> Will Ubuntu guys ever update that file?

Now that you reported the issue, yes.


** Tags added: kern-9302

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054921

Title:
  Raspberry Pi5 fan custom curve not working.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs