this post was submitted on 20 Aug 2026
16 points (100.0% liked)
technology
24455 readers
162 users here now
On the road to fully automated luxury gay space communism.
Spreading Linux propaganda since 2020
- Ways to run Microsoft/Adobe and more on Linux
- The Ultimate FOSS Guide For Android
- Great libre software on Windows
- Hey you, the lib still using Chrome. Read this post!
Rules:
- 1. Obviously abide by the sitewide code of conduct. Bigotry will be met with an immediate ban
- 2. This community is about technology. Offtopic is permitted as long as it is kept in the comment sections
- 3. Although this is not /c/libre, FOSS related posting is tolerated, and even welcome in the case of effort posts
- 4. We believe technology should be liberating. As such, avoid promoting proprietary and/or bourgeois technology
- 5. Explanatory posts to correct the potential mistakes a comrade made in a post of their own are allowed, as long as they remain respectful
- 6. No crypto (Bitcoin, NFT, etc.) speculation, unless it is purely informative and not too cringe
- 7. Absolutely no tech bro shit. If you have a good opinion of Silicon Valley billionaires please manifest yourself so we can ban you.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Envy 2 in 1 I have which runs Endeavour OS is one of those Ryzen machines that uses the Sensor Fusion Hub [1022:15e4] to rotate. This sensor fusion hub has been around since the first mobile Ryzen gen and is still used in the Ryzen 5000 mobile machines, mostly convertibles. But it don't rotate.
Oh I didn't realise
holy shit it's actually building, ty for your help.
bcwas a packageHave you done it yet or did you explode your computer
Okay so a Ryzen 4500U took one hour thirty five minutes to compile but:
And despite that:
The output of
lspci -knnis exactly the same. Y'know fuck AMD, Lisa Su is my greatest foe.Well it was a fun journey to get here lmao.
You wanna sudo modprobe to start it idk if it makes a difference without sudo by probably.
sudo modprobe amd_sfh
dmesg | grep -i sfh
Dmesg output is important for debugging if the module loaded correctly or had errors
Apparently some need a parameter to work so you could try
sudo modprobe -r amd_sfh # to remove the loaded module
sudo modprobe amd_sfh sensor_mask=1 # Load with the mask
Also imagine not letting me see your lan ip, how am i supposed to ping your computer when im in your walls
There's much going on in my walls already, I'd never let you ping me
Check this fuckin' shit out:
>Module amd_sfh is builtin.
>Missing kernel drivers for the sensors.
<3 u AMD!
sudo dmesg | grep -i amd_sfh
sudo dmesg | grep -i "sfh|sensor"
lspci -nn | grep -i amd
Sudo ur dmesg silly I wanna see what the output is. Modprobe doesnt really print anything useful
Holy shit grep -i amd output a lot of stuff
ash@x360 ~> sudo dmesg | grep -i amd_sfh[sudo] password for ash:
ash@x360 ~ [0|1]> sudo dmesg | grep -i
Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help' for more information.
ash@x360 ~ [SIGPIPE|2]> sudo dmesg | grep -i "sfh|sensor"
ash@x360 ~ [0|1]> sudo dmesg | grep -i amd
[ 0.010609] RAMDISK: [mem 0x8a855000-0x9f966fff]
[ 0.077773] AMD-Vi: ivrs, add hid:AMDI0020, uid:_SB.FUR0, rdevid:0xa0
[ 0.077775] AMD-Vi: ivrs, add hid:AMDI0020, uid:_SB.FUR1, rdevid:0xa0
[ 0.077776] AMD-Vi: ivrs, add hid:AMDI0020, uid:_SB.FUR2, rdevid:0xa0
[ 0.077777] AMD-Vi: ivrs, add hid:AMDI0020, uid:_SB.FUR3, rdevid:0xa0
[ 0.077778] AMD-Vi: Using global IVHD EFR:0x206d73ef22254ade, EFR2:0x0
[ 0.207566] smpboot: CPU0: AMD Ryzen 5 4500U with Radeon Graphics (family: 0x17, model: 0x60, stepping: 0x1)
[ 0.207761] Performance Events: Fam17h+ core perfctr, AMD PMU driver.
[ 0.518125] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.519435] AMD-Vi: Extended features (0x206d73ef22254ade, 0x0): PPR X2APIC NX GT IA GA PC GA_vAPIC
[ 0.519445] AMD-Vi: Interrupt remapping enabled
[ 0.519446] AMD-Vi: X2APIC enabled
[ 0.593077] AMD-Vi: Virtual APIC enabled
[ 0.595674] perf: AMD IBS detected (0x000003ff)
[ 0.595677] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[ 1.130355] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
[ 1.144670] pcie_mp2_amd 0000:04:00.7: enabling device (0000 -> 0002)
[ 12.420565] amdgpu: Virtual CRAT table created for CPU
[ 12.420601] amdgpu: Topology: Add CPU node
[ 12.420872] amdgpu 0000:04:00.0: enabling device (0006 -> 0007)
[ 12.420929] amdgpu 0000:04:00.0: initializing kernel modesetting (RENOIR 0x1002:0x1636 0x103C:0x876E 0xC3).
[ 12.421169] amdgpu 0000:04:00.0: register mmio base: 0xD0400000
[ 12.421172] amdgpu 0000:04:00.0: register mmio size: 524288
[ 12.425309] amdgpu 0000:04:00.0: detected ip block number 0 <common_v2_0_0> (soc15_common)
[ 12.425314] amdgpu 0000:04:00.0: detected ip block number 1 <gmc_v9_0_0> (gmc_v9_0)
[ 12.425318] amdgpu 0000:04:00.0: detected ip block number 2 <ih_v4_0_0> (vega10_ih)
[ 12.425320] amdgpu 0000:04:00.0: detected ip block number 3 <psp_v12_0_0> (psp)
[ 12.425323] amdgpu 0000:04:00.0: detected ip block number 4 <smu_v12_0_0> (smu)
[ 12.425325] amdgpu 0000:04:00.0: detected ip block number 5 <dce_v1_0_0> (dm)
[ 12.425327] amdgpu 0000:04:00.0: detected ip block number 6 <gfx_v9_0_0> (gfx_v9_0)
[ 12.425330] amdgpu 0000:04:00.0: detected ip block number 7 <sdma_v4_0_0> (sdma_v4_0)
[ 12.425333] amdgpu 0000:04:00.0: detected ip block number 8 <vcn_v2_0_0> (vcn_v2_0)
[ 12.425335] amdgpu 0000:04:00.0: detected ip block number 9 <jpeg_v2_0_0> (jpeg_v2_0)
[ 12.425360] amdgpu 0000:04:00.0: Fetched VBIOS from VFCT
[ 12.425365] amdgpu 0000:04:00.0: [drm] ATOM BIOS: 113-RENOIR-037, build: 603187 , ver: 017.010.000.031.000000, 2022/02/23
[ 12.443502] amdgpu 0000:04:00.0: vgaarb: deactivate vga console
[ 12.443506] amdgpu 0000:04:00.0: Trusted Memory Zone (TMZ) feature enabled
[ 12.443543] amdgpu 0000:04:00.0: vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[ 12.443553] amdgpu 0000:04:00.0: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[ 12.443556] amdgpu 0000:04:00.0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[ 12.443563] amdgpu 0000:04:00.0: [drm] Detected VRAM RAM=512M, BAR=512M
[ 12.443565] amdgpu 0000:04:00.0: [drm] RAM width 128bits DDR4
[ 12.445260] amdgpu 0000:04:00.0: 512M of VRAM memory ready
[ 12.445264] amdgpu 0000:04:00.0: 3656M of GTT memory ready.
[ 12.445289] amdgpu 0000:04:00.0: [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 12.445636] amdgpu 0000:04:00.0: [drm] PCIE GART of 1024M enabled.
[ 12.445638] amdgpu 0000:04:00.0: [drm] PTB located at 0x000000F41FC00000
[ 12.446616] amdgpu 0000:04:00.0: [drm] Loading DMUB firmware via PSP: version=0x0101002B
[ 12.447408] amdgpu 0000:04:00.0: [VCN instance 0] Found VCN firmware Version ENC: 1.24 DEC: 8 VEP: 0 Revision: 9
[ 12.448744] amdgpu 0000:04:00.0: reserve 0x400000 from 0xf41f800000 for PSP TMR
[ 12.556760] amdgpu 0000:04:00.0: RAS: optional ras ta ucode is not available
[ 12.571184] amdgpu 0000:04:00.0: RAP: optional rap ta ucode is not available
[ 12.578917] amdgpu 0000:04:00.0: psp gfx command LOAD_TA(0x1) failed and response status is (0x7)
[ 12.579248] amdgpu 0000:04:00.0: smu driver if version = 0x0000000e, smu fw if version = 0x0000000e, smu fw program = 0, smu fw version = 0x00375c00 (55.92.0)
[ 12.580313] amdgpu 0000:04:00.0: SMU is initialized successfully!
[ 12.581564] amdgpu 0000:04:00.0: [drm] Display Core v3.2.384 initialized on DCN 2.1
[ 12.581571] amdgpu 0000:04:00.0: [drm] DP-HDMI FRL PCON supported
[ 12.582371] amdgpu 0000:04:00.0: [drm] DMUB hardware initialized: version=0x0101002B
[ 12.935962] amdgpu 0000:04:00.0: [drm] Alt mode has timed out after 202 ms
[ 12.938244] amdgpu 0000:04:00.0: kiq ring mec 2 pipe 1 q 0
[ 12.944871] amdgpu: Virtual CRAT table created for GPU
[ 12.944979] amdgpu: Topology: Add GPU node [0x1002:0x1636]
[ 12.944996] amdgpu 0000:04:00.0: SE 1, SH per SE 1, CU per SH 8, active_cu_number 6
[ 12.945003] amdgpu 0000:04:00.0: ring gfx uses VM inv eng 0 on hub 0
[ 12.945005] amdgpu 0000:04:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 12.945007] amdgpu 0000:04:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 12.945009] amdgpu 0000:04:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 12.945011] amdgpu 0000:04:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 12.945012] amdgpu 0000:04:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 12.945014] amdgpu 0000:04:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 12.945015] amdgpu 0000:04:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 12.945017] amdgpu 0000:04:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 12.945019] amdgpu 0000:04:00.0: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[ 12.945020] amdgpu 0000:04:00.0: ring sdma0 uses VM inv eng 0 on hub 8
[ 12.945022] amdgpu 0000:04:00.0: ring vcn_dec uses VM inv eng 1 on hub 8
[ 12.945024] amdgpu 0000:04:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 8
[ 12.945025] amdgpu 0000:04:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 8
[ 12.945027] amdgpu 0000:04:00.0: ring jpeg_dec uses VM inv eng 6 on hub 8
[ 12.946355] amdgpu 0000:04:00.0: Runtime PM not available
[ 12.946690] amdgpu 0000:04:00.0: [drm] Using custom brightness curve
[ 12.947154] amdgpu 0000:04:00.0: [drm] Registered 4 planes with drm panic
[ 12.966455] [drm] Initialized amdgpu 3.64.0 for 0000:04:00.0 on minor 1
[ 12.975893] fbcon: amdgpudrmfb (fb0) is primary device
[ 13.709414] amdgpu 0000:04:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 14.142410] input: ELAN2514:00 04F3:2AF2 Touchscreen as /devices/platform/AMDI0010:02/i2c-0/i2c-ELAN2514:00/0018:04F3:2AF2.0001/input/input5
[ 14.142596] input: ELAN2514:00 04F3:2AF2 as /devices/platform/AMDI0010:02/i2c-0/i2c-ELAN2514:00/0018:04F3:2AF2.0001/input/input6
[ 14.142652] input: ELAN2514:00 04F3:2AF2 as /devices/platform/AMDI0010:02/i2c-0/i2c-ELAN2514:00/0018:04F3:2AF2.0001/input/input7
[ 14.142733] input: ELAN2514:00 04F3:2AF2 Stylus as /devices/platform/AMDI0010:02/i2c-0/i2c-ELAN2514:00/0018:04F3:2AF2.0001/input/input8
[ 14.209456] input: SYNA32A0:00 06CB:CE14 Mouse as /devices/platform/AMDI0010:03/i2c-1/i2c-SYNA32A0:00/0018:06CB:CE14.0002/input/input11
[ 14.209640] input: SYNA32A0:00 06CB:CE14 Touchpad as /devices/platform/AMDI0010:03/i2c-1/i2c-SYNA32A0:00/0018:06CB:CE14.0002/input/input12
[ 14.215781] input: ELAN2514:00 04F3:2AF2 as /devices/platform/AMDI0010:02/i2c-0/i2c-ELAN2514:00/0018:04F3:2AF2.0001/input/input14
[ 14.215944] input: ELAN2514:00 04F3:2AF2 UNKNOWN as /devices/platform/AMDI0010:02/i2c-0/i2c-ELAN2514:00/0018:04F3:2AF2.0001/input/input15
[ 14.216543] input: ELAN2514:00 04F3:2AF2 UNKNOWN as /devices/platform/AMDI0010:02/i2c-0/i2c-ELAN2514:00/0018:04F3:2AF2.0001/input/input16
[ 14.216659] input: ELAN2514:00 04F3:2AF2 Stylus as /devices/platform/AMDI0010:02/i2c-0/i2c-ELAN2514:00/0018:04F3:2AF2.0001/input/input17
[ 16.841411] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 17.013699] kvm_amd: TSC scaling supported
[ 17.013705] kvm_amd: Nested Virtualization enabled
[ 17.013707] kvm_amd: Nested Paging enabled
[ 17.013709] kvm_amd: LBR virtualization supported
[ 17.013714] kvm_amd: Virtual VMLOAD VMSAVE supported
[ 17.013715] kvm_amd: Virtual GIF supported
[ 17.184697] amd_atl: AMD Address Translation Library initialized
[ 41.148934] pcie_mp2_amd 0000:04:00.7: Failed to discover, sensors not enabled is 0
ash@x360 ~>
Real gamers run as root 24/7
Ok so device as you know exists:
[ 1.144670] pcie_mp2_amd 0000:04:00.7: enabling device (0000 -> 0002)
Fails to communicate with device says its not enabled?:
[ 41.148934] pcie_mp2_amd 0000:04:00.7: Failed to discover, sensors not enabled is 0
Don't see anything from amd_sfh itself so it fails at the lower level call maybe amd_sfh doesnt run until pcie_mp2_amd is working
Last things I can think of is maybe it needs to be enabled at boot to initialise? Could try writing it to the boot config
echo "options amd_sfh_hid sensor_mask=1" | sudo tee /etc/modprobe.d/amd_sfh.conf
Then I guess could try
Otherwise im fresh out of ideas
Shit looks like its broken on windows as well I wouldn't be surprised if the firmware itself is wank. Does it need to be flipped over to the other side to enable the sensor? https://h30434.www3.hp.com/t5/Notebook-Hardware-and-Upgrade-Questions/Accelerometer-stuck-in-tablet-mode-HP-envy-x360/m-p/9568251/highlight/true#M800826#1
Whelp this has been fun, hope you learned some stuff about compiling kernels
now I leave you with a shitpost as I go back to EverQuest
Sweaty the problem is ur trying to install linux on an xbox360, it only runs windows!
Sensor has no toggle in bios, I did check. I think I'm running the newest bios but I can check that too.
Writing that echo stuff to boot is done by editing the startup options at systemd-boot or whatever, right? (Edit: I see now those are terminal commands) Fwiw the tablet stuff did work in Windows 10 once upon a time.
I fuckin love the HP forums lmao.
Thank you for walking through this with me, it's actually the first time I've ever built a kernel and it rocks. Much appreciated, enjoy Everquesting lol.
Also https://consolemods.org/wiki/Xbox_360:Linux
gottem
If the command is prefixed with
#instead of$it means root.Woah, and the Arch wiki displays these too!
Today I learned, ty!
The two problems of compiling is either missing thing or need undocumented arcane combinations of make flags