WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: thinkpad_acpi  (Read 9596 times)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
thinkpad_acpi
« on: January 04, 2011, 04:51:53 PM »
How can I load this?

# modprobe thinkpad_acpi
modprobe: can't load module thinkpad_acpi (kernel/drivers/platform/x86/thinkpad_acpi.ko.gz): unknown symbol in module, or unknown parameter

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: thinkpad_acpi
« Reply #1 on: January 04, 2011, 05:37:02 PM »
Code: [Select]
modinfo thinkpad_acpi |grep depends
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: thinkpad_acpi
« Reply #2 on: January 04, 2011, 06:47:16 PM »
nil

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: thinkpad_acpi
« Reply #3 on: January 04, 2011, 07:17:17 PM »
It appears to have a param "force_load:Attempts to load the driver even on a mis-identified ThinkPad when true (bool)", but I would think twice before attempting so, better research other options first.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: thinkpad_acpi
« Reply #4 on: January 04, 2011, 07:25:34 PM »
I don't think it is mis-identified, the module doesn't get loaded...

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: thinkpad_acpi
« Reply #5 on: January 05, 2011, 09:40:27 PM »
"unknown symbol in module, or unknown parameter"
I guess I will have to recompile that module. I already had a go once, but forgot the modules and then rebooted.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: thinkpad_acpi
« Reply #6 on: January 06, 2011, 09:18:44 AM »
Edit: Well, it seems to depend on the alsa and hwmon extensions.

Should be moved to an extension.
« Last Edit: January 06, 2011, 09:22:44 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: thinkpad_acpi
« Reply #7 on: January 06, 2011, 10:21:12 AM »
By the way,
there is this sorter.sh script which creates those module extensions.
How do you decide whic one to have in base?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: thinkpad_acpi
« Reply #8 on: January 06, 2011, 11:28:48 AM »
Everything that is considered base functionality (wired networking among other things), or is small and doesn't depend on something big already decided to be an extension (e.g. alsa).

Relatively arbitrary criteria, but we're always listening if you have suggestions.
The only barriers that can stop you are the ones you create yourself.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: thinkpad_acpi
« Reply #9 on: January 06, 2011, 08:50:03 PM »
Wow, this is so stupid, why do these suckers want alsa?
I don't want to blacklist all this stuff, just so that I can control my fans if I modprobe thinkpad_acpi with some experimental option.
Then I'd rather have them running all day, I'll just turn my OSS music a bit louder, so that I won't hear it.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: thinkpad_acpi
« Reply #10 on: January 06, 2011, 09:17:57 PM »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: thinkpad_acpi
« Reply #11 on: January 07, 2011, 02:31:04 AM »
Perhaps we should put soundcore in base. Although I don't like this solution very much.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: thinkpad_acpi
« Reply #12 on: January 07, 2011, 02:42:11 AM »
Instead of blacklisting you might want to consider to unsquash the extensions, delete whatever is redundant to you, and then squash again.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: thinkpad_acpi
« Reply #13 on: January 07, 2011, 03:39:50 AM »
Alsa's soundcore conflicts with OSS IIRC.
The only barriers that can stop you are the ones you create yourself.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: thinkpad_acpi
« Reply #14 on: January 07, 2011, 05:34:21 AM »
I have OSS, snd and soundcore loaded (thinkpad_acpi depends on snd).
Everything is working...
« Last Edit: January 07, 2011, 05:49:05 AM by hiro »