Saturday, May 4, 2024
28
rated 0 times [  28] [ 0]  / answers: 1 / hits: 39635  / 2 Years ago, fri, july 8, 2022, 2:37:58

As the question says it all, I would just like to elaborate with an example:



i915.i915_enable_rc6=1



This is an option for i915 module or intel video driver. So is there any way to know or list something like i915_enable_rc6 is an option for i915 from linux commandline ?



I hope I am clear with the question ?



Edit: I was referring to i915 just for example and nothing else. modinfo seems to be the command I was looking for.


More From » command-line

 Answers
2

modinfo does it:



modinfo i915 | grep '^parm:'


For open source modules the most reliable way is to look at the source. You don't need to be a kernel developer.



See source for i915.


[#43686] Sunday, July 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ionodest

Total Points: 252
Total Questions: 122
Total Answers: 100

Location: Liechtenstein
Member since Tue, Apr 27, 2021
3 Years ago
;