Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #176118 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2016-12-30 18:20 +0100 |
| Last post | 2016-12-31 15:40 +0100 |
| Articles | 13 — 6 participants |
Back to article view | Back to linux.debian.user
Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad Richard Owlett <rowlett@cloud85.net> - 2016-12-30 18:20 +0100
Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-12-31 04:10 +0100
Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad Richard Owlett <rowlett@cloud85.net> - 2016-12-31 10:20 +0100
Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad "Thomas Schmitt" <scdbackup@gmx.net> - 2016-12-31 11:30 +0100
Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad Richard Owlett <rowlett@cloud85.net> - 2016-12-31 14:00 +0100
Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad "Thomas Schmitt" <scdbackup@gmx.net> - 2016-12-31 15:10 +0100
Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad Richard Owlett <rowlett@cloud85.net> - 2016-12-31 16:00 +0100
Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad Richard Owlett <rowlett@cloud85.net> - 2017-01-01 17:00 +0100
INTERIM Resolution - was [Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad] Richard Owlett <rowlett@cloud85.net> - 2017-01-02 03:20 +0100
Re: INTERIM Resolution - was [Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad] Curt <curty@free.fr> - 2017-01-02 13:50 +0100
Re: INTERIM Resolution - was [Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad] Lisi Reisz <lisi.reisz@gmail.com> - 2017-01-02 14:00 +0100
Re: INTERIM Resolution - was [Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad] Anthony Baldwin <baldwinlinguas@gmx.com> - 2017-01-02 14:30 +0100
**MY INTERIM NOTES** Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad Richard Owlett <rowlett@cloud85.net> - 2016-12-31 15:40 +0100
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2016-12-30 18:20 +0100 |
| Subject | Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad |
| Message-ID | <sU90u-7ha-9@gated-at.bofh.it> |
I just purchased a used T430 to replace a R61 which had died to a fan failure. I've installed a minimal Jessie including what installer considers standard utilities and a very basic MATE DE. I used Synaptic to install "mate-system-tools". An error message said "thinkfan post installation script returned error exit status 1". I checked for airflow - there was NONE. Booted into Windows 7. There was warm airflow whose temperature decreased with time. I returned to Debian and attempted to reinstall "thinkfan. Error message stated "attempted to reinstall E: Internal Error, No file name for thinkfan:i386". Two questions: 1. How may I force the fan to run continuously at maximum speed. Noise &/or power consumption is not important. 2. What/where is this "missing file"? Any diagnostic suggestions? TIA
[toc] | [next] | [standalone]
| From | Charlie Kravetz <cjk@teamcharliesangels.com> |
|---|---|
| Date | 2016-12-31 04:10 +0100 |
| Message-ID | <sUids-5Ie-5@gated-at.bofh.it> |
| In reply to | #176118 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Fri, 30 Dec 2016 11:14:06 -0600 Richard Owlett <rowlett@cloud85.net> wrote: >I just purchased a used T430 to replace a R61 which had died to a >fan failure. >I've installed a minimal Jessie including what installer >considers standard utilities and a very basic MATE DE. > >I used Synaptic to install "mate-system-tools". >An error message said "thinkfan post installation script returned >error exit status 1". >I checked for airflow - there was NONE. >Booted into Windows 7. There was warm airflow whose temperature >decreased with time. >I returned to Debian and attempted to reinstall "thinkfan. >Error message stated "attempted to reinstall E: Internal Error, >No file name for thinkfan:i386". > >Two questions: > >1. How may I force the fan to run continuously at maximum speed. >Noise &/or power consumption is not important. > >2. What/where is this "missing file"? Any diagnostic suggestions? > >TIA > ThinkWiki has been a great resource for me and my T520. It has sources for special drivers as well as directions on making things work. http://www.thinkwiki.org/wiki/Category:T_Series - -- Charlie Kravetz Linux Registered User Number 425914 [http://linuxcounter.net/user/425914.html] Never let anyone steal your DREAM. [http://keepingdreams.com] -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEG5QK93YKrQMH22ZTiq6LjqbJ0IAFAlhnISAACgkQiq6LjqbJ 0IDLsQf+J2e/SsqZNUGs/LjAinzTQ/uirpmqRp5x+N0CuSZhiJ6ZvgcLQlPsTxyK PNygtMdCO8jRZp1FULnUs9iSL0DdhH/xDyCItktPx6g5xoLeEEcJ2tX3CRowzaft eA+DBzTKCoptrTioWZhY1EN7B1PyTcpKGO9rHfRbnre38EY3fEDq19XI4NXCdZGi JY0re48E7v+QItO/BBoHMYeHq+7sjCF7JI9HDy6ulsHznvwr0/p8LywF4RJQBnT2 DfTlNJpZ5s4BEWyBFepDBE1/2oAdvxBFGfWwgVzcMltmwqQFbDMRzA66S7n+memn 8zdBX19uIuEhkxp0DSyUIA2og/ONvg== =HgXz -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2016-12-31 10:20 +0100 |
| Message-ID | <sUnZv-12i-1@gated-at.bofh.it> |
| In reply to | #176134 |
On 12/30/2016 9:08 PM, Charlie Kravetz wrote: > > On Fri, 30 Dec 2016 11:14:06 -0600 > Richard Owlett <rowlett@cloud85.net> wrote: > >> I just purchased a used T430 to replace a R61 which had died to a >> fan failure. >> I've installed a minimal Jessie including what installer >> considers standard utilities and a very basic MATE DE. >> >> I used Synaptic to install "mate-system-tools". >> An error message said "thinkfan post installation script returned >> error exit status 1". >> I checked for airflow - there was NONE. >> Booted into Windows 7. There was warm airflow whose temperature >> decreased with time. >> I returned to Debian and attempted to reinstall "thinkfan. >> Error message stated "attempted to reinstall E: Internal Error, >> No file name for thinkfan:i386". >> >> Two questions: >> >> 1. How may I force the fan to run continuously at maximum speed. >> Noise &/or power consumption is not important. >> >> 2. What/where is this "missing file"? Any diagnostic suggestions? >> >> TIA >> > > > ThinkWiki has been a great resource for me and my T520. It has sources > for special drivers as well as directions on making things work. > > http://www.thinkwiki.org/wiki/Category:T_Series > There is lots of information there. Whether I can understand it well enough to use is another question. http://www.thinkwiki.org/wiki/How_to_control_fan_speed had said: # echo level 4 > /proc/acpi/ibm/fan (medium speed) which resulted in bash: echo: write error: invalid argument I suspect the error messages I quoted in my original post give the needed information. I don't have a clue what they mean.
[toc] | [prev] | [next] | [standalone]
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Date | 2016-12-31 11:30 +0100 |
| Message-ID | <sUp5f-1EU-1@gated-at.bofh.it> |
| In reply to | #176143 |
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
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2016-12-31 14:00 +0100 |
| Message-ID | <sUrqp-32Y-5@gated-at.bofh.it> |
| In reply to | #176149 |
On 12/31/2016 4:26 AM, Thomas Schmitt wrote:
> 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
>
>
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.*
I get:
root@debian:~# ls /var/lib/dpkg/info/thinkfan.*
/var/lib/dpkg/info/thinkfan.conffiles
/var/lib/dpkg/info/thinkfan.postinst
/var/lib/dpkg/info/thinkfan.list
/var/lib/dpkg/info/thinkfan.postrm
/var/lib/dpkg/info/thinkfan.md5sums
/var/lib/dpkg/info/thinkfan.prerm
root@debian:~#
If there is a thinkfan.postinst : What is its content ?
It exists and the content is:
<begin quote>
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/thinkfan" ]; then
update-rc.d thinkfan defaults >/dev/null
invoke-rc.d thinkfan start || exit $?
fi
# End automatically added section
</end quote>
Now to read the links you gave.
Thank you.
[toc] | [prev] | [next] | [standalone]
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Date | 2016-12-31 15:10 +0100 |
| Message-ID | <sUsw9-3XJ-9@gated-at.bofh.it> |
| In reply to | #176151 |
Hi, > /var/lib/dpkg/info/thinkfan.postinst > ... > if [ -x "/etc/init.d/thinkfan" ]; then > update-rc.d thinkfan defaults >/dev/null > invoke-rc.d thinkfan start || exit $? > fi Looks like an attempt to register and start thinkfan with the old init system. Is this appropriate for your system ? If you really use sysV init rather than systemd, you should check whether there are links /etc/rc*.d/*thinkfan pointing to file /etc/init.d/thinkfan If you use systemd, then there is the riddle why there is an executable file /etc/init.d/thinkfan. ------------------------------------------------------------------------ The script https://sources.debian.net/src/thinkfan/0.9.3-1/rcscripts/thinkfan.init when run with argument "start" executes start-stop-daemon --start --quiet --pidfile /var/run/thinkfan.pid --exec /usr/sbin/thinkfan So ps -ef | grep thinkfan should tell whether the daemon is running or whether you have to start it on your own (most probably as superuser). Have a nice day :) Thomas
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2016-12-31 16:00 +0100 |
| Message-ID | <sUtix-4fP-17@gated-at.bofh.it> |
| In reply to | #176155 |
On 12/31/2016 8:08 AM, Thomas Schmitt wrote: > Hi, > >> /var/lib/dpkg/info/thinkfan.postinst >> ... >> if [ -x "/etc/init.d/thinkfan" ]; then >> update-rc.d thinkfan defaults >/dev/null >> invoke-rc.d thinkfan start || exit $? >> fi > > Looks like an attempt to register and start thinkfan with the old init > system. Is this appropriate for your system ? > > If you really use sysV init rather than systemd, you should check whether > there are links > /etc/rc*.d/*thinkfan > pointing to file > /etc/init.d/thinkfan > > If you use systemd, then there is the riddle why there is an executable > file /etc/init.d/thinkfan. > > ------------------------------------------------------------------------ > > The script > https://sources.debian.net/src/thinkfan/0.9.3-1/rcscripts/thinkfan.init > when run with argument "start" executes > > start-stop-daemon --start --quiet --pidfile /var/run/thinkfan.pid --exec /usr/sbin/thinkfan > > So > > ps -ef | grep thinkfan > > should tell whether the daemon is running or whether you have to start > it on your own (most probably as superuser). > > > Have a nice day :) > > Thomas One of your links lead to https://sources.debian.net/src/thinkfan/0.9.3-1/debian/README.Debian/ which I think agrees with you. One thing that continues to bother me is that thinkfan is disabled by default because an improper parameter could damage the computer. If that is true, why isn't the fan always on? The documentation I've found indicates it's original motivation was to reduce power consumption and acoustic noise. ??? ;/ More later.
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-01-01 17:00 +0100 |
| Message-ID | <sUQI9-2cy-7@gated-at.bofh.it> |
| In reply to | #176159 |
On 12/31/2016 8:50 AM, Richard Owlett wrote: > > One thing that continues to bother me is that thinkfan is > disabled by default because an improper parameter could damage > the computer. If that is true, why isn't the fan always on? The > documentation I've found indicates it's original motivation was > to reduce power consumption and acoustic noise. ??? ;/ > A comment on another forum prompted me to run a Live Jesse MATE on my T43 (a dedicated Windows box). The fan speed actually increased. That gave me confidence to run some additional test on the T430. Caught the fan running once. Ran my existing install for about an hour without catching fan running. Quit and immediately booted Windows. Fan ran and exhaust air seemed safely cool. I'll do a complete reload after chasing down appropriate monitoring apps. Thinkfan may be having problems. But something seems to be keeping me in safe territory. More later.
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-01-02 03:20 +0100 |
| Subject | INTERIM Resolution - was [Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad] |
| Message-ID | <sV0o9-8uW-5@gated-at.bofh.it> |
| In reply to | #176203 |
On 1/1/2017 9:55 AM, Richard Owlett wrote:
> On 12/31/2016 8:50 AM, Richard Owlett wrote:
>>
>> One thing that continues to bother me is that thinkfan is
>> disabled by default because an improper parameter could damage
>> the computer. If that is true, why isn't the fan always on? The
>> documentation I've found indicates it's original motivation was
>> to reduce power consumption and acoustic noise. ??? ;/
>>
>
> A comment on another forum prompted me to run a Live Jesse MATE
> on my T43 (a dedicated Windows box). The fan speed actually
> increased. That gave me confidence to run some additional test on
> the T430. Caught the fan running once. Ran my existing install
> for about an hour without catching fan running. Quit and
> immediately booted Windows. Fan ran and exhaust air seemed safely
> cool. I'll do a complete reload after chasing down appropriate
> monitoring apps.
>
> Thinkfan may be having problems. But something seems to be
> keeping me in safe territory.
>
> More later.
>
Wiped existing installs. Did standard full install with MATE
desktop without print server or activation of networking. Added
mate-system-tools and mate-sensors-applet (which is now
displaying core temperatures). This sequence did *NOT* install
thinkfan. However it is obvious that something is triggering the
fan when a core temperature hits ~40 deg C.
I'll not pursue the installation of thinkfan as I see no benefit
and do see the possibility of breaking something. I'll continue
to investigate the various display and logging apps available.
Gkrellm {http://gkrellm.srcbox.net/} has been recommended and is
in the repositories. I'll try it out.
Thanks to all.
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2017-01-02 13:50 +0100 |
| Subject | Re: INTERIM Resolution - was [Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad] |
| Message-ID | <sVadP-6RD-11@gated-at.bofh.it> |
| In reply to | #176243 |
On 2017-01-02, Richard Owlett <rowlett@cloud85.net> wrote:
>
> I'll not pursue the installation of thinkfan as I see no benefit
> and do see the possibility of breaking something. I'll continue
> to investigate the various display and logging apps available.
Please note that to us serious man page writers the difference between trouble shooting
a thinkfan and troubleshooting a thinkfan can be of mortal import.
> Gkrellm {http://gkrellm.srcbox.net/} has been recommended and is
> in the repositories. I'll try it out.
>
> Thanks to all.
>
>
--
“It is enough that the arrows fit exactly in the wounds that they have made.”
Franz Kafka
[toc] | [prev] | [next] | [standalone]
| From | Lisi Reisz <lisi.reisz@gmail.com> |
|---|---|
| Date | 2017-01-02 14:00 +0100 |
| Subject | Re: INTERIM Resolution - was [Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad] |
| Message-ID | <sVanw-6UV-35@gated-at.bofh.it> |
| In reply to | #176250 |
On Monday 02 January 2017 12:43:15 Curt wrote:
> On 2017-01-02, Richard Owlett <rowlett@cloud85.net> wrote:
> > I'll not pursue the installation of thinkfan as I see no benefit
> > and do see the possibility of breaking something. I'll continue
> > to investigate the various display and logging apps available.
>
> Please note that to us serious man page writers the difference between
> trouble shooting a thinkfan and troubleshooting a thinkfan can be of mortal
> import.
LOL! :-))
>
> > Gkrellm {http://gkrellm.srcbox.net/} has been recommended and is
> > in the repositories. I'll try it out.
> >
> > Thanks to all.
[toc] | [prev] | [next] | [standalone]
| From | Anthony Baldwin <baldwinlinguas@gmx.com> |
|---|---|
| Date | 2017-01-02 14:30 +0100 |
| Subject | Re: INTERIM Resolution - was [Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad] |
| Message-ID | <sVaQy-7mn-17@gated-at.bofh.it> |
| In reply to | #176250 |
On 01/02/2017 07:43 AM, Curt wrote:
> On 2017-01-02, Richard Owlett <rowlett@cloud85.net> wrote:
>>
>> I'll not pursue the installation of thinkfan as I see no benefit
>> and do see the possibility of breaking something. I'll continue
>> to investigate the various display and logging apps available.
>
> Please note that to us serious man page writers the difference between trouble shooting
> a thinkfan and troubleshooting a thinkfan can be of mortal import.
<Lol>I'm having trouble shooting my landlord... If only he'd stand still
when he comes looking for the rent, same problem with ex-wife who won't
stand still...</Lol>
>
>> Gkrellm {http://gkrellm.srcbox.net/} has been recommended and is
>> in the repositories. I'll try it out.
>>
>> Thanks to all.
>>
>>
>
>
--
http://www.baldwinlinguas.com
translations, localization,
multilingual web development
EN, ES, FR, PT
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2016-12-31 15:40 +0100 |
| Subject | **MY INTERIM NOTES** Re: Trouble shooting a "thinkfan" problem on a Lenovo T430 Thinkpad |
| Message-ID | <sUsZb-49f-13@gated-at.bofh.it> |
| In reply to | #176151 |
On 12/31/2016 6:50 AM, Richard Owlett wrote:
> On 12/31/2016 4:26 AM, Thomas Schmitt wrote:
>> 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
>>
>>
>
>
>
> 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.*
>
> I get:
> root@debian:~# ls /var/lib/dpkg/info/thinkfan.*
> /var/lib/dpkg/info/thinkfan.conffiles
> /var/lib/dpkg/info/thinkfan.postinst
> /var/lib/dpkg/info/thinkfan.list /var/lib/dpkg/info/thinkfan.postrm
> /var/lib/dpkg/info/thinkfan.md5sums
> /var/lib/dpkg/info/thinkfan.prerm
> root@debian:~#
>
>
> If there is a thinkfan.postinst : What is its content ?
>
> It exists and the content is:
> <begin quote>
> #!/bin/sh
> set -e
> # Automatically added by dh_installinit
> if [ -x "/etc/init.d/thinkfan" ]; then
> update-rc.d thinkfan defaults >/dev/null
> invoke-rc.d thinkfan start || exit $?
> fi
> # End automatically added section
> </end quote>
>
> Now to read the links you gave.
> Thank you.
>
>
>
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web