Hi,

Richard Owlett wrote:
> # echo level 4 > /proc/acpi/ibm/fan (medium speed)
> which resulted in
> bash: echo: write error: invalid argument

If you added "(medium speed)" to the command line, then this would be wrong.
But i get
  -bash: syntax error near unexpected token `('
when i try to do this with a regular file address after ">".

By googling i found this candidate:

  
http://unix.stackexchange.com/questions/82246/how-to-control-thinkpad-acpi-via-procfs-rhel-6-4

  "# echo 5 >/proc/acpi/ibm/fan
   bash: echo: write error: Invalid argument"

  "Fan control operations are disabled by default for safety reasons.
   To enable fan control, the module parameter fan_control=1 must be given
   to thinkpad-acpi. [... detailed instructions ...]"

  "Thanks, that was it."


> I suspect the error messages I quoted in my original post give the needed
> information.
> ... > "thinkfan post installation script returned error exit status 1".
> ... > "attempted to reinstall E: Internal Error, No file name for 
> thinkfan:i386". 

One should of course try to find out what is supposed to be installed
by package "thinkfan" and why your Debian does not find it on the
attempt to install it explicitely.
There is a package "thinkfan" and it gets built for i386:
  https://buildd.debian.org/status/package.php?p=thinkfan

  https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html
at the end of paragraph 7.6 says that the failed "post installation script"
should be on your machine in
  /var/lib/dpkg/info/thinkfan.postinst

So what do you get from
  ls /var/lib/dpkg/info/thinkfan.*

If there is a thinkfan.postinst : What is its content ?


*.postinst in general riddles me. I can see a file acpi-support-base.postinst
in 
  https://sources.debian.net/src/acpi-support/0.142-8/debian/
but no bc.postinst in
  https://sources.debian.net/src/bc/1.06.95-9/debian/
although both .postinst files exist on my Debian 8.
The ./debian directory of package "thinkfan"
  https://sources.debian.net/src/thinkfan/0.9.3-1/debian/
does not have a file thinkpad.postinst either.
So there seem to be automats which produce .postinst at packaging time.

(I need to read more Debian packager manuals ...)


Have a nice day :)

Thomas

Reply via email to