Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] lm_sensor missing with ryzen cpu
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sun May 16, 2021 11:11 am    Post subject: Reply with quote

Thanks ipic,
there seems to be several solutions.
Maybe we should try with the gentoo-dist kernel first. There is the solution automatically.
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 377
Location: UK

PostPosted: Sun May 16, 2021 11:21 am    Post subject: Reply with quote

Thanks, but I'm using gentoo-sources and don't want to move.
So, if the dist kernel does it, there must be kernel config options it uses? Or boot commands?

Just for reference:
Code:
ian2 ~ # modprobe nct6775
modprobe: ERROR: could not insert 'nct6775': No such device

ian2 ~ # modinfo nct6775
filename:       /lib/modules/5.12.4-gentoo/kernel/drivers/hwmon/nct6775.ko
license:        GPL
description:    Driver for NCT6775F and compatible chips
author:         Guenter Roeck <linux@roeck-us.net>
srcversion:     6A2450AC2B674DB39C45313
depends:        hwmon-vid
retpoline:      Y
intree:         Y
name:           nct6775
vermagic:       5.12.4-gentoo SMP preempt mod_unload modversions
sig_id:         PKCS#7
signer:         
sig_key:       
sig_hashalgo:   unknown
signature:     
parm:           force_id:Override the detected device ID (ushort)
parm:           fan_debounce:Enable debouncing for fan RPM signal (ushort)
ian2 ~ #


And in my kernel config:
Code:
Symbol: SENSORS_NCT6775 [=m]                                            │ 
  │ Type  : tristate                                                        │ 
  │ Defined at drivers/hwmon/Kconfig:1433                                   │ 
  │   Prompt: Nuvoton NCT6775F and compatibles                              │ 
  │   Depends on: HWMON [=y] && !PPC                                        │ 
  │   Location:                                                             │ 
  │     -> Device Drivers                                                   │ 
  │ (1)   -> Hardware Monitoring support (HWMON [=y])                       │ 
  │ Selects: HWMON_VID [=m]             


I think that means I need to force the module to use the ITE IT8665E chip somehow. Not sure how a dist kernel would do that for me.
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sun May 16, 2021 11:44 am    Post subject: Reply with quote

ipic wrote:

Code:
ian2 ~ # modprobe nct6775
...
sig_id:         PKCS#7
signer:         
sig_key:       
sig_hashalgo:   unknown
signature:     
...




According to this, the module signature does not seem correct.
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 377
Location: UK

PostPosted: Sun May 16, 2021 11:53 am    Post subject: Reply with quote

Sorry, beyond my expertise.
What's wrong with it?
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sun May 16, 2021 11:57 am    Post subject: Reply with quote

ipic wrote:
What's wrong with it?


I don't know.
Maybe see them here https://unix.stackexchange.com/questions/493170/how-to-verify-a-kernel-module-signature
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 377
Location: UK

PostPosted: Sun May 16, 2021 11:59 am    Post subject: Reply with quote

Well that is simply that I have chosen not to sign my modules.
It isn't a pre-requisite for them working as far as I know - so red herring in this context I think.
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sun May 16, 2021 12:03 pm    Post subject: Reply with quote

Okay, I'm out of the game.
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Chris1969
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2017
Posts: 86
Location: switzerland

PostPosted: Sun May 16, 2021 12:12 pm    Post subject: Reply with quote

okay thanks all.

It still does not work for me. I just tried the asus_wmi_sensors and this gives me

Code:
dmesg | grep asus
[   11.299356] asus_wmi_sensors: loading out-of-tree module taints kernel.
[   11.299736] asuswmisensors: Vendor: ASUSTeK COMPUTER INC. Board: PRIME B350-PLUS BIOS version: 4207 WMI version: 0
[   11.299736] asuswmisensors: Unsupported board


So maybe in the future....
Back to top
View user's profile Send private message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 377
Location: UK

PostPosted: Thu Jul 13, 2023 5:16 pm    Post subject: Reply with quote

Hu wrote:
ipic wrote:
And finally, what do people think are the chances that this will make it to the mainstream kernel tree?
No comment.


Its been a while, and I'd not bothered to check - however, asus_wmi_sensors has been included in the kernel tree since 5.17

So, just set CONFIG_SENSORS_ASUS_WMI in that or any later kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum