acerhdf: not enabled by default

Bug #436768 reported by Neil Wilson
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

The acerhdf module is in the karmic kernel, but requires a manual sysctl to enable it.

Can we activate it by default in the sysctl.conf?

ProblemType: Bug
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x58540000 irq 16'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1025015b,00100101'
   Controls : 10
   Simple ctrls : 7
Card1.Amixer.info:
 Card hw:1 'USB'/'M-Audio Transit USB at usb-0000:00:1d.0-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB0763:2006'
   Controls : 4
   Simple ctrls : 2
Date: Fri Sep 25 18:47:46 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=28d7773c-0b36-422d-a851-85da121c0e78
MachineType: Acer AOA110
Package: linux-image-2.6.31-10-generic 2.6.31-10.34
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-10-generic root=UUID=7feb9da0-508f-4dd1-a103-c4c1f981da4f ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-10-generic N/A
 linux-firmware 1.19
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Tags: ubuntu-unr
Uname: Linux 2.6.31-10-generic i686
dmi.bios.date: 05/09/2008
dmi.bios.vendor: Acer
dmi.bios.version: v0.3305
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.vendor: Acer
dmi.board.version: Base Board Version
dmi.chassis.type: 1
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAcer:bvrv0.3305:bd05/09/2008:svnAcer:pnAOA110:pvr1:rvnAcer:rn:rvrBaseBoardVersion:cvnChassisManufacturer:ct1:cvrChassisVersion:
dmi.product.name: AOA110
dmi.product.version: 1
dmi.sys.vendor: Acer

Revision history for this message
Neil Wilson (neil-aldur) wrote :
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Sokraates (sokraates) wrote :

Just so that anyone looking at this bug will be able to make acerhdf work, here's the workaround from the duplicate bug report:

"To make fan control and acerhdf work, I need to do a 'sudo -s' (regular sudo won't work) and then 'echo -n "enabled" > /sys /class/thermal/thermal_zone0/mode' (this command is recommended when doing "dmesg | grep acerhdf)".

However /sys/class/thermal/thermal_zone0/mode is reset to "disabled" after every reboot or shutdown. To make enebled permanent I had to add 'echo -n "enabled" > /sys /class/thermal/thermal_zone0/mode' to /etc/rc.local (before the "exit 0"-line)."

Revision history for this message
Neil Wilson (neil-aldur) wrote : Re: [Bug 436768] Re: acerhdf: not enabled by default

You can do

sudo sh -c 'echo -n "enabled" > /sys/class/thermal/thermal_zone0/mode'

as a single line workaround.

2009/10/12 Sokraates <email address hidden>:
> Just so that anyone looking at this bug will be able to make acerhdf
> work, here's the workaround from the duplicate bug report:
>
> "To make fan control and acerhdf work, I need to do a 'sudo -s' (regular
> sudo won't work) and then 'echo -n "enabled" > /sys
> /class/thermal/thermal_zone0/mode' (this command is recommended when
> doing "dmesg | grep acerhdf)".
>
> However /sys/class/thermal/thermal_zone0/mode is reset to "disabled"
> after every reboot or shutdown. To make enebled permanent I had to add
> 'echo -n "enabled" > /sys /class/thermal/thermal_zone0/mode' to
> /etc/rc.local (before the "exit 0"-line)."
>
> --
> acerhdf: not enabled by default
> https://bugs.launchpad.net/bugs/436768
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Neil Wilson

Revision history for this message
ullix (ullix) wrote :

I am using an Acer Aspire One 110L (8.9" display, 8GB SSD) and have activated acerhdf as default by supplying this file

/etc/modprobe.d/acerhdf.conf

see attachement. Works reliably and smoothly for several weeks now.

content:

# fan control for acer aspire one fan
# according to: http://piie.net/files/acerhdf_README.txt
# check status with: dmesg|grep acerhdf
# read temperatur with: cat /sys/class/thermal/thermal_zone0/temp
options acerhdf interval=5 fanon=60 fanoff=55 kernelmode=1

Revision history for this message
Zimmer (canadianclub) wrote :

Sorry, am a linux newbie here, and have just got Ubuntu netbook version installed on my aspire one from a usb stick, and all working perfect, so I don't wanna mess it up.
To do this fan mod, how exactly do I use the above attachment, in simple steps please, as I know nothing about Linux (yet), but so far I like what I see.

Revision history for this message
Sokraates (sokraates) wrote :

Zimmer: You will need to copy the file (acerhdf.conf) into the folder /etc/modprobe.d

The folder etc/ and its contents can only be edited by a super-user. To do this graphically, you will need to start Nautilus as root (of course, you could also do this through the command line, but this is easier for starters).

Unless Ubuntu provides a link in the application menue, to open Nautilus as super-user/root (I don't know, since I don't use GNOME) you will need to open a terminal (the application) and type "gksu nautilus".

A window will pop-up, asking for your password (your regular user password) and then you will have a nautilus open, wherein you can move and edit all files on your system. So be *VERY* careful, what you do.

Revision history for this message
Dmitry Kann (yktooo) wrote :

I confirm it is disabled by default, although it itself recommends to execute 'echo -n "enabled" > /sys /class/thermal/thermal_zone0/mode', you can see it if you run:
dmesg|grep acerhdf

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Note that in Lucid the temperature is in millidegrees, not degrees, so the 'fanon' and fanoff' thresholds need to be set accordingly.

I just go with the defaults and have

options acerhdf verbose=1 kernelmode=1

in my /etc/modprobe.d/acerhdf.conf file.

(The verbose shows you what the fan controller is doing).

HTH

Neil

Revision history for this message
matt (matthiasgies) wrote :

Bug still present in maverick 10.10 on PackardBell ButterflyTouch / Acer 1825.
Please enable acerhdf by defalut.

Revision history for this message
lianergoist (tj001) wrote :

Yes, please enable acerhdf by defalut.

Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.