AdnanHodzic / AdnanHodzic/auto-cpufreq

Requesting request that device be supported for Battery charging thresholds

Đang mở
#956 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
7.8k
Fork
357
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

### Fill out information requested in this template, without doing so issue will be ignored & closed!

#### Before submitting an issue, it is strongly recommended to use the **[auto-cpufreq-genAI-chatbot](https://foolcontrol.org/?p=4903)** to get an immediate answer to your question.

### Have you tried?

- [Searching through existing/closed issues](https://github.com/AdnanHodzic/auto-cpufreq/issues) to see if your bug has already been already submitted?
Yes
- If installation failed with [auto-cpufreq-installer](https://github.com/AdnanHodzic/auto-cpufreq/#auto-cpufreq-installer),have you tried installing auto-cpufreq using [Snap package](https://github.com/AdnanHodzic/auto-cpufreq/#snap-store)?
- Have you tried [configuring auto-cpufreq](https://github.com/AdnanHodzic/auto-cpufreq/#configuring-auto-cpufreq)? Yes
- Have you tried suggestions in [troubleshooting section](https://github.com/AdnanHodzic/auto-cpufreq#troubleshooting)?Yes

### Error output:
```text
Add/paste error output in case of failed installation or other failing component
```
---

### System information:

Add/paste output of:

```
auto-cpufreq --debug
```

Also please be descriptive about the issue you're reporting, i.e: what you tried & what's the expected behaviour.

HP OMEN 16 8CBD motherboard
Module Size Used by
snd_usb_audio 659456 0
snd_usbmidi_lib 57344 1 snd_usb_audio
snd_ump 40960 1 snd_usb_audio
snd_rawmidi 53248 2 snd_usbmidi_lib,snd_ump
rfcomm 114688 18
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 143360 7 snd_seq_dummy
snd_seq_device 16384 3 snd_seq,snd_ump,snd_rawmidi
ccm 20480 1
algif_hash 16384 1
algif_skcipher 12288 1
af_alg 36864 6 algif_hash,algif_skcipher
bnep 36864 2
uvcvideo 180224 0
btusb 81920 0
uvc 12288 1 uvcvideo
videobuf2_vmalloc 20480 1 uvcvideo
btmtk 40960 1 btusb
videobuf2_memops 16384 1 videobuf2_vmalloc
btbcm 24576 1 btusb
videobuf2_v4l2 45056 1 uvcvideo
btintel 77824 1 btusb
videobuf2_common 98304 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
btrtl 32768 1 btusb
videodev 438272 2 videobuf2_v4l2,uvcvideo
bluetooth 1187840 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
mc 94208 5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_soc_dmic 12288 1
snd_ps_pdm_dma 16384 1
snd_soc_ps_mach 12288 5
snd_sof_amd_acp70 16384 0
snd_sof_amd_acp63 16384 0
snd_sof_amd_vangogh 16384 0
snd_sof_amd_rembrandt 16384 0
snd_sof_amd_renoir 16384 0
snd_sof_amd_acp 73728 5 snd_sof_amd_acp70,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_pci 24576 5 snd_sof_amd_acp70,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_xtensa_dsp 16384 1 snd_sof_amd_acp
snd_sof 516096 2 snd_sof_amd_acp,snd_sof_pci
snd_sof_utils 16384 1 snd_sof
snd_pci_ps 36864 0
snd_soc_acpi_amd_match 28672 3 snd_sof_amd_acp70,snd_sof_amd_acp63,snd_pci_ps
soundwire_amd 49152 2 snd_sof_amd_acp,snd_pci_ps
soundwire_generic_allocation 20480 1 soundwire_amd
snd_amd_sdw_acpi 16384 2 snd_sof_amd_acp,snd_pci_ps
soundwire_bus 1220608 2 soundwire_generic_allocation,soundwire_amd
snd_soc_sdca 143360 2 snd_soc_acpi_amd_match,soundwire_bus
snd_soc_core 458752 6 snd_sof,snd_soc_ps_mach,snd_soc_sdca,snd_ps_pdm_dma,soundwire_amd,snd_soc_dmic
vfat 24576 1
fat 114688 1 vfat
ac97_bus 12288 1 snd_soc_core
snd_pcm_dmaengine 20480 1 snd_soc_core
snd_compress 32768 1 snd_soc_core
snd_acp_pci 12288 0
snd_amd_acpi_mach 12288 1 snd_acp_pci
snd_acp_legacy_common 24576 1 snd_acp_pci
snd_pci_acp6x 20480 0
snd_pci_acp5x 20480 0
snd_rn_pci_acp3x 24576 0
snd_acp_config 24576 10 snd_rn_pci_acp3x,snd_sof_amd_acp70,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_acp_pci,snd_pci_ps,snd_sof_amd_renoir
snd_soc_acpi 16384 5 snd_sof_amd_acp,snd_acp_legacy_common,snd_acp_config,snd_amd_acpi_mach,snd_pci_ps
snd_pci_acp3x 20480 0
hp_bioscfg 94208 0
firmware_attributes_class 12288 1 hp_bioscfg
amd_atl 65536 1
intel_rapl_msr 24576 0
intel_rapl_common 53248 1 intel_rapl_msr
mt7921e 28672 0
mt7921_common 122880 1 mt7921e
snd_ctl_led 24576 0
mt792x_lib 81920 2 mt7921e,mt7921_common
snd_hda_codec_alc269 167936 1
mt76_connac_lib 110592 3 mt792x_lib,mt7921e,mt7921_common
snd_hda_codec_realtek_lib 73728 1 snd_hda_codec_alc269
mt76 180224 4 mt792x_lib,mt7921e,mt7921_common,mt76_connac_lib
snd_hda_codec_atihdmi 20480 1
snd_hda_codec_nvhdmi 16384 1
snd_hda_scodec_component 20480 1 snd_hda_codec_alc269
snd_hda_codec_generic 126976 2 snd_hda_codec_realtek_lib,snd_hda_codec_alc269
snd_hda_codec_hdmi 61440 2 snd_hda_codec_nvhdmi,snd_hda_codec_atihdmi
snd_hda_intel 69632 18
snd_hda_codec 245760 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_nvhdmi,snd_hda_codec_realtek_lib,snd_hda_codec_alc269,snd_hda_codec_atihdmi
mac80211 1867776 4 mt792x_lib,mt76,mt7921_common,mt76_connac_lib
kvm_amd 262144 0
snd_hda_core 167936 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek_lib,snd_hda_codec_alc269,snd_hda_codec_atihdmi
amdxdna 225280 0
joydev 28672 0
mousedev 28672 0
snd_intel_dspcfg 49152 2 snd_hda_intel,snd_sof
amd_pmf 86016 1 amdxdna
snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg
kvm 1560576 1 kvm_amd
snd_hwdep 24576 2 snd_usb_audio,snd_hda_codec
ucsi_acpi 16384 0
amdtee 32768 0
r8169 180224 0
cfg80211 1605632 4 mt76,mac80211,mt7921_common,mt76_connac_lib
typec_ucsi 94208 1 ucsi_acpi
irqbypass 16384 1 kvm
snd_pcm 237568 17 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_acp_legacy_common,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_sof,snd_soc_sdca,snd_ps_pdm_dma,snd_compress,snd_soc_core,snd_sof_utils,soundwire_amd,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
realtek 65536 1
roles 16384 1 typec_ucsi
aesni_intel 106496 2
spd5118 16384 0
phy_package 16384 1 realtek
ccp 233472 2 kvm_amd,amdtee
typec 135168 1 typec_ucsi
snd_timer 57344 3 snd_seq,snd_hrtimer,snd_pcm
hp_wmi 49152 0
gf128mul 16384 1 aesni_intel
mdio_devres 12288 1 r8169
hid_multitouch 36864 0
rapl 20480 0
pcspkr 12288 0
wmi_bmof 12288 0
sparse_keymap 12288 1 hp_wmi
i2c_piix4 36864 0
amd_sfh 61440 1 amd_pmf
i2c_hid_acpi 12288 0
rfkill 45056 11 hp_wmi,mt7921e,bluetooth,cfg80211
libphy 237568 4 r8169,mdio_devres,realtek,phy_package
snd 159744 68 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_sof,snd_soc_sdca,snd_timer,snd_hda_codec_realtek_lib,snd_compress,snd_hda_codec_alc269,snd_soc_core,snd_ump,snd_pcm,snd_rawmidi
i2c_smbus 20480 1 i2c_piix4
tee 61440 2 amd_pmf,amdtee
thunderbolt 614400 1 typec
k10temp 12288 0
mdio_bus 32768 4 r8169,libphy,realtek,phy_package
soundcore 16384 2 snd_ctl_led,snd
i2c_hid 49152 1 i2c_hid_acpi
libarc4 12288 1 mac80211
acpi_tad 24576 0
amd_pmc 61440 0
mac_hid 12288 0
ip6t_REJECT 12288 1
nf_reject_ipv6 20480 1 ip6t_REJECT
xt_hl 12288 22
ip6t_rt 16384 3
ipt_REJECT 12288 1
nf_reject_ipv4 16384 1 ipt_REJECT
xt_LOG 16384 10
nf_log_syslog 28672 10
xt_comment 12288 4
xt_multiport 16384 4
nft_limit 16384 13
xt_limit 12288 0
xt_addrtype 12288 4
xt_tcpudp 20480 60
xt_conntrack 12288 16
nf_conntrack 212992 1 xt_conntrack
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 12288 1 nf_conntrack
nft_compat 20480 125
x_tables 69632 12 xt_conntrack,nft_compat,xt_LOG,xt_multiport,xt_tcpudp,xt_addrtype,ip6t_rt,xt_comment,ipt_REJECT,xt_limit,xt_hl,ip6t_REJECT
nf_tables 405504 610 nft_compat,nft_limit
nfnetlink 20480 2 nft_compat,nf_tables
dm_mod 237568 0
crypto_user 12288 0
pkcs8_key_parser 12288 0
i2c_dev 24576 0
ntsync 20480 0
zram 77824 1
842_decompress 16384 1 zram
842_compress 24576 1 zram
lz4hc_compress 24576 1 zram
lz4_compress 28672 1 zram
amdgpu 18440192 69
nvidia_drm 176128 9
nvidia_uvm 2359296 0
drm_panel_backlight_quirks 12288 1 amdgpu
nvidia_modeset 1843200 3 nvidia_drm
drm_buddy 12288 1 amdgpu
drm_suballoc_helper 24576 1 amdgpu
i2c_algo_bit 20480 1 amdgpu
drm_exec 12288 1 amdgpu
gpu_sched 73728 2 amdxdna,amdgpu
nvme 77824 2
amdxcp 12288 1 amdgpu
nvme_core 286720 3 nvme
drm_display_helper 307200 1 amdgpu
nvme_keyring 20480 1 nvme_core
nvme_auth 36864 1 nvme_core
cec 106496 2 drm_display_helper,amdgpu
serio_raw 20480 0
nvidia 17186816 184 nvidia_uvm,nvidia_modeset
drm_ttm_helper 20480 3 amdgpu,nvidia_drm
video 81920 2 amdgpu,nvidia_modeset
ttm 159744 2 amdgpu,drm_ttm_helper
wmi 45056 4 hp_wmi,video,hp_bioscfg,wmi_bmof
aead 16384 4 ccm,nvidia,mac80211,aesni_intel

---
.-------------------------: omen@omen
.+=========================. ---------
:++===++==================- :++- OS: CachyOS x86_64
:*++====+++++=============- .==: Host: OMEN by HP Gaming Laptop 16-xd0xxx
-*+++=====+***++==========: Kernel: Linux 7.1.8-1-cachyos
=*++++========------------: Uptime: 9 hours, 54 mins
=*+++++=====- ... Packages: 6 (flatpak), 1485 (pacman)
.+*+++++=-===: .=+++=: Shell: fish 4.8.1
:++++=====-==: -*****+ Display (CMN1629): 1920x1080 @ 1.09x in 16", 60 Hz [Built-in]
:++========-=. .=+**+. DE: KDE Plasma 6.7.4
.+==========-. . WM: KWin (Wayland)
:+++++++====- .--==-. WM Theme: Darkly
:++==========. :+++++++: Theme: Darkly (Darkly) [Qt], Breeze-Dark [GTK2], Breeze [GTK3/4]
.-===========. =*****+*+ Icons: candy-icons [Qt], candy-icons [GTK2/3/4]
.-===========: .+*****+: Font: Inter (10pt) [Qt], Inter (10pt) [GTK2/3/4]
-=======++++:::::::::::::::::::::::::-: .---: Cursor: capitaine (24px)
:======++++====+++******************=. Terminal: konsole 26.4.3
:=====+++==========++++++++++++++*- Terminal Font: Liberation Mono (11pt)
.====++==============++++++++++*- CPU: AMD Ryzen 7 7840HS (16) @ 3.80 GHz
.===+==================+++++++: GPU 1: NVIDIA GeForce RTX 4060 Max-Q / Mobile [Discrete]
.-=======================+++: GPU 2: AMD Radeon 780M Graphics [Integrated]
.......................... Memory: 10.55 GiB / 14.90 GiB (71%)
Swap: 933.73 MiB / 14.90 GiB (6%)
Disk (/): 46.91 GiB / 241.33 GiB (19%) - btrfs

Battery (PABAS0241231): 100% [AC Connected]

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

The issue only references `auto-cpufreq --debug` as the intended diagnostic flow, but does not include a relevant failing debug section. Start by re-running `auto-cpufreq --debug` on the cited HP OMEN model and identify where battery-threshold-capable devices are detected in the code path. Then add the model support in that hardware-detection logic and re-run the same command to confirm the OMEN machine now appears as supported for charging thresholds.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
linux, python
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
50/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.