Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233481 - sys-power/cpufreqd-2.3.4 add support for >=sys-apps/lm_sensors-3*
Summary: sys-power/cpufreqd-2.3.4 add support for >=sys-apps/lm_sensors-3*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: EBUILD
: 240398 289458 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-31 13:52 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2009-10-27 09:08 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cpufreqd-2.3.3 ebuild (cpufreqd-2.3.3.ebuild,2.00 KB, text/plain)
2008-11-04 07:48 UTC, Scott Stubbs
Details
acpitz support patch (01_acpitz_support.patch,1.59 KB, text/plain)
2008-11-04 07:49 UTC, Scott Stubbs
Details
segfault reading class devices patch (02_fix_segfault_reading_class_devices.patch,564 bytes, text/plain)
2008-11-04 07:50 UTC, Scott Stubbs
Details
cpu logic patch from Bug 187581 (03_cpu_all_logic.patch,1.31 KB, patch)
2009-01-07 08:21 UTC, Scott Stubbs
Details | Diff
new init file to have acpid as a use depend (cpufreqd-init.d,1.11 KB, text/plain)
2009-01-07 08:38 UTC, Scott Stubbs
Details
newer ebuild with logic patch (cpufreqd-2.3.3.ebuild,2.00 KB, text/plain)
2009-01-07 08:57 UTC, Scott Stubbs
Details
ebuild for sys-power/cpufreqd-2.3.4 (cpufreqd-2.3.4.ebuild,1.89 KB, text/plain)
2009-04-13 19:28 UTC, Matthew Turnbull
Details
ebuild for cpufreqd-2.3.4 w/ lm_sensors-3.0.3 (cpufreqd-2.3.4.ebuild,1.93 KB, patch)
2009-08-14 13:29 UTC, Søren Færløv
Details | Diff
Patch for lm_sensors-3 support (cpufreqd-2.3.4-lm_sensors-3.patch,5.33 KB, patch)
2009-08-14 13:29 UTC, Søren Færløv
Details | Diff
move nvclock emake to src_compile & make die messages consistent (cpufreqd-2.3.4-r1.ebuild,1.72 KB, text/plain)
2009-10-23 03:22 UTC, Matthew Turnbull
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-07-31 13:52:53 UTC
sys-power/cpufreqd-2.3.0 was released on 2008-07-26.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-08-31 23:24:17 UTC
sys-power/cpufreqd-2.3.3 was released on 2008-08-23.
Comment 2 shade 2008-09-27 14:44:29 UTC
with new ebuild new homepage should be added http://www.linux.it/~malattia/wiki/index.php/Cpufreqd
Comment 3 SpanKY gentoo-dev 2008-10-13 04:53:11 UTC
*** Bug 240398 has been marked as a duplicate of this bug. ***
Comment 4 Scott Stubbs 2008-11-04 07:48:31 UTC
Created attachment 170693 [details]
cpufreqd-2.3.3 ebuild

New to this, but I think it's ready to go, with a couple of patch files I need to upload (same ones that the debian package has). It just required the sysfs interface to acpi since version 2.3.0.

I've been using this ebuild locally for a few days and it seems fine.
Comment 5 Scott Stubbs 2008-11-04 07:49:08 UTC
Created attachment 170694 [details]
acpitz support patch
Comment 6 Scott Stubbs 2008-11-04 07:50:19 UTC
Created attachment 170695 [details]
segfault reading class devices patch
Comment 7 Martin von Gagern 2008-11-04 07:56:54 UTC
While you are at it, you might wish to include the patch from bug 187581 as well.
Comment 8 Matthew Turnbull 2009-01-01 02:33:34 UTC
This ebuild with the patch from Bug 187581 seems to work fine.

My only thought is that the init script could do with the addition of a use depend for acpid.
Comment 9 Scott Stubbs 2009-01-07 08:21:03 UTC
Created attachment 177654 [details, diff]
cpu logic patch from Bug 187581
Comment 10 Scott Stubbs 2009-01-07 08:38:39 UTC
Created attachment 177656 [details]
new init file to have acpid as a use depend
Comment 11 Scott Stubbs 2009-01-07 08:57:32 UTC
Created attachment 177660 [details]
newer ebuild with logic patch

There we go. I'm now running this newer version, not that I had any problems with the last one.

For anyone that is just passing by the, to use this ebuild one still needs to use files from the files directory in the tree.
Comment 12 Matthew Turnbull 2009-04-13 19:28:46 UTC
Created attachment 188262 [details]
ebuild for sys-power/cpufreqd-2.3.4

I updated the ebuild to remove the patches that got included in cpufreqd-2.3.4
Comment 13 Nico Schlömer 2009-07-28 16:13:28 UTC
Hi,

I think cpufreqd>=2.3.0 requires the kernel option

  [*] Future power /sys interface

to be activated. -- Can't we just check in the ebuild that this is the case? I guess that'd be something like

  CONFIG_CHECK="ACPI_SYSFS_POWER"

Cheers,
Nico
Comment 14 Søren Færløv 2009-08-14 13:28:58 UTC
I've been tinkering with an updated ebuild for cpufreqd-2.3.4 that supports lm_sensors-3.0.3.

I found a patch for libsensors4 support here: http://sourceforge.net/tracker/index.php?func=detail&aid=2826341&group_id=58904&atid=489239

It didn't apply without trouble, so I had to make a few adjustments. Please note that I take no responsibilities at all. ;-)
Comment 15 Søren Færløv 2009-08-14 13:29:01 UTC
Created attachment 201239 [details, diff]
ebuild for cpufreqd-2.3.4 w/ lm_sensors-3.0.3
Comment 16 Søren Færløv 2009-08-14 13:29:31 UTC
Created attachment 201241 [details, diff]
Patch for lm_sensors-3 support
Comment 17 Jesse Adelman 2009-09-28 00:53:20 UTC
Hrm. Installed using ebuild from comment #12, and patches, and while it compiles, it segfaults on startup:

Sep 27 17:41:15 fuji cpufreqd: parse_config_general     : Remote control enabled.
Sep 27 17:41:15 fuji cpufreqd: parse_config_general     : Remote controls will be r/w for group root (0).
Sep 27 17:41:15 fuji cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/energy_full (No such file or directory)
Sep 27 17:41:15 fuji cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/energy_now (No such file or directory)
Sep 27 17:41:15 fuji cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/energy_full (No such file or directory)
Sep 27 17:41:15 fuji cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/energy_now (No such file or directory)
Sep 27 17:41:15 fuji cpufreqd: acpi_battery_update      : Re-scanning available batteries
Sep 27 17:41:15 fuji cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/energy_full (No such file or directory)
Sep 27 17:41:15 fuji cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/energy_now (No such file or directory)
Sep 27 17:41:15 fuji cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/energy_full (No such file or directory)
Sep 27 17:41:15 fuji cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/energy_now (No such file or directory)
Sep 27 17:41:15 fuji [32157.078746] cpufreqd[29459]: segfault at 0 ip b7ff10de sp bfab98c0 error 4 in cpufreqd_acpi.so[b7fee000+6000]
Sep 27 17:41:15 fuji rc-scripts: ERROR:  cpufreqd failed to start

Perhaps it is a configuration issue locally. Will post emerge --info next.
Comment 18 Jesse Adelman 2009-09-28 00:54:36 UTC
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-tuxonice-r5 i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r5-i686-Intel-R-_Pentium-R-_M_processor_1.20GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 26 Sep 2009 19:45:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/jesse/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/berkano /usr/portage/local/layman/java-overlay /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/voip /usr/portage/local/layman/liquidx /usr/portage/local/layman/jokey /usr/portage/local/layman/sunrise /usr/portage/local/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib abiword accessibility acpi additions adns aften alsa amr ao apache2 aspell ass autoipd avahi avi background bash-completion berkdb bluetooth bolddiag boost branding browserplugin bzip2 cairo calendar cdio cdparanoia cdr cgi chardet cli colordiff console consolekit cpudetection crypt cups curl cxx dbus device-mapper dga dia dirac divx dmi dri dv dvd dvdr dvdread eap-sim eds encode escreen ethereal exif extrafilters faac fam fame fastcgi faxonly fbcon fbcondecor fbsplash festival ffmpeg firefox flac font-server fontconfig foomaticdb fortran freetype frontendonly garmin gd gdbm gecko gif gimp gimpprint gmedia gnutls gpm gps grammar graphviz gs gstreamer gtk gtk2 gtkhtml gutenprint h323 hal hardenedphp hash httpd iconv id3tag ieee1394 ilbc imagemagick imap imlib inkjar irda java java6 jbig jikes jit john joystick jp2 jpeg jpeg2k json kate kerberos kqemu ladspa lame laptop lash lcms ldap libass libgcrypt libgda libnotify libsamplerate libv4l2 live logrotate loop-aes lua lzo lzw-tiff mad madwifi maildir matros
ka mbrola mcal mdb mdnsresponder-compat mhash midi mikmod mime mjpeg mmap mmx mmxext mng modplug motif mozbranding mozdevelop mozilla mozsvg mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mpm-worker mysql mysqli mythtv ncurses net network nls nocd nptl nptlonly nsplugin ntfs odbc offensive ogg oggvorbis old-daemons opengl openstreetmap oss ots pam pam_timestamp pcap pcf pcmcia pcre pda pdf perl php plotutils plugin pmu png pnp policykit posix postgres postproc postscript ppds prediction pvr python qemu-fast qt3 qt3support quicktime readline realmedia reflection reiserfs rtc rtsp ruby samba schroedinger scripting sdl session shout simplexml skins skype slang slit slp sndfile snmp soap sockets socks5 softmmu soundtouch speex spell sqlite sqlite3 sse sse2 ssl status stream suidcheck svg sysfs templates test-programs theora thesaurus threads threadsafe tidy tiff tk tokenizer toolbar truetype truetype-fonts twolame type1-fonts udev umfpack unicode usb utils v4l v4l2 vamp vcd video vidix vim vim-pager vim-syntax vim-with-x vlm vorbis wavpack webdav-neon wifi win32codecs wmf wmp wordperfect wxwindows x264 x86 xchattext xcomposite xext xforms xfs xine xinerama xml xml2 xmlrpc xorg xosd xplanet xscreensaver xulrunner xv xvid xvmc yahoo yv12 zip zlib zrtp zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vga vesa i810 intel fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 19 Jesse Adelman 2009-09-28 01:10:21 UTC
And, for the fun of it, here's a debug run as root of cpufreqd:

fuji ~ # cpufreqd -D -V7 2>&1 cpufreq.out
get_kversion             : read kernel version 2.6.30-tuxonice-r5.
get_kversion             : kernel version is 2.6.
get_cpu_num              : found 1 CPUs
main                     : Limits for cpu0: MIN=600000 - MAX=1200000
init_configuration       : reading configuration file /etc/cpufreqd.conf
discover_plugins         : found plugin: acpi
discover_plugins         : found plugin: cpu
discover_plugins         : found plugin: exec
discover_plugins         : found plugin: programs
discover_plugins         : found plugin: governor_parameters
discover_plugins         : found plugin: tau
discover_plugins         : found plugin: pmu
load_plugin              : Loading "/usr/lib/cpufreqd_acpi.so" for plugin "acpi".
get_cpufreqd_object      : Getting plugin object for "acpi".
initialize_plugin        : Initializing plugin "acpi-acpi".
load_plugin_list         : plugin loaded: acpi
load_plugin              : Loading "/usr/lib/cpufreqd_cpu.so" for plugin "cpu".
get_cpufreqd_object      : Getting plugin object for "cpu".
initialize_plugin        : Initializing plugin "cpu-cpu_plugin".
cpufreqd_cpu_init        : called
load_plugin_list         : plugin loaded: cpu_plugin
load_plugin              : Loading "/usr/lib/cpufreqd_exec.so" for plugin "exec".
get_cpufreqd_object      : Getting plugin object for "exec".
initialize_plugin        : Initializing plugin "exec-exec".
load_plugin_list         : plugin loaded: exec
load_plugin              : Loading "/usr/lib/cpufreqd_programs.so" for plugin "programs".
get_cpufreqd_object      : Getting plugin object for "programs".
initialize_plugin        : Initializing plugin "programs-programs_plugin".
load_plugin_list         : plugin loaded: programs_plugin
load_plugin              : Loading "/usr/lib/cpufreqd_governor_parameters.so" for plugin "governor_parameters".
get_cpufreqd_object      : Getting plugin object for "governor_parameters".
initialize_plugin        : Initializing plugin "governor_parameters-governor_parameters".
gov_parameter_init       : called
gov_parameter_init       : sysfs mount path = /sys
gov_parameter_init       : sysfs path cpu device  = /sys/devices/system/cpu
load_plugin_list         : plugin loaded: governor_parameters
load_plugin              : Loading "/usr/lib/cpufreqd_tau.so" for plugin "tau".
get_cpufreqd_object      : Getting plugin object for "tau".
initialize_plugin        : Initializing plugin "tau-tau_plugin".
tau_init                 : /proc/cpuinfo file found
load_plugin_list         : plugin loaded: tau_plugin
load_plugin              : Loading "/usr/lib/cpufreqd_pmu.so" for plugin "pmu".
get_cpufreqd_object      : Getting plugin object for "pmu".
initialize_plugin        : Initializing plugin "pmu-pmu_plugin".
pmu_init                 : /proc/pmu/info: No such file or directory
load_plugin_list         : plugin failed to load: pmu
load_plugin_list         : discarded plugin pmu
parse_config_general     : poll_interval is 2.0 seconds
parse_config_general     : skipping "verbosity", overridden in the command line.
parse_config_general     : Remote control enabled.
parse_config_general     : Remote controls will be r/w for group root (0).
plugin_handle_section    : Found Section for "acpi".
acpi_conf                : acpid_socket is /var/run/acpid.socket.
acpi_post_conf           : Initializing AC
find_class_device        : found /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
find_class_device        : AC is of type Mains
get_class_device_attribute: found online - path /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC/online
find_class_device        : found /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1
find_class_device        : CMB1 is of type Battery
find_class_device        : found /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2
find_class_device        : CMB2 is of type Battery
acpi_post_conf           : Initializing BATTERY
find_class_device        : found /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
find_class_device        : AC is of type Mains
find_class_device        : found /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1
find_class_device        : CMB1 is of type Battery
clsdev_callback          : Got device CMB1
find_class_device        : found /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2
find_class_device        : CMB2 is of type Battery
clsdev_callback          : Got device CMB2
acpi_battery_init        : Opening CMB1 attributes
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/energy_full (No such file or directory)
get_class_device_attribute: found charge_full - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/charge_full
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/energy_now (No such file or directory)
get_class_device_attribute: found charge_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/charge_now
get_class_device_attribute: found present - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/present
get_class_device_attribute: found status - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/status
get_class_device_attribute: found current_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/current_now
acpi_battery_init        : Opening CMB2 attributes
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/energy_full (No such file or directory)
get_class_device_attribute: found charge_full - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/charge_full
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/energy_now (No such file or directory)
get_class_device_attribute: found charge_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/charge_now
get_class_device_attribute: found present - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/present
get_class_device_attribute: found status - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/status
get_class_device_attribute: found current_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/current_now
acpi_battery_init        : found 2 Batteries
acpi_post_conf           : Initializing TEMPERATURE
find_class_device        : found /sys/devices/virtual/thermal/cooling_device0
find_class_device        : cooling_device0 is of type Processor
find_class_device        : found /sys/devices/virtual/thermal/cooling_device1
find_class_device        : cooling_device1 is of type LCD
find_class_device        : found /sys/devices/virtual/thermal/cooling_device0
find_class_device        : cooling_device0 is of type Processor
find_class_device        : found /sys/devices/virtual/thermal/cooling_device1
find_class_device        : cooling_device1 is of type LCD
acpi_temperature_init    : No thermal zones found
acpi_post_conf           : Initializing EVENT
event_wait               : event thread running.
parse_config_profile     : [Profile] "On Demand High" MAX is 1200000, MIN is 600000
parse_config_profile     : [Profile] "On Demand Low" MAX is 1000000, MIN is 600000
plugin_handle_keyword    : Plugin exec handles keyword exec_post (value=echo 8 > /proc/acpi/video/GFX0/LCD/brightness)
parse_config_profile     : [Profile] "Performance High" MAX is 1200000, MIN is 1200000
parse_config_profile     : [Profile] "Performance Low" MAX is 1000000, MIN is 1000000
parse_config_profile     : [Profile] "Powersave High" MAX is 800000, MIN is 800000
parse_config_profile     : [Profile] "Powersave Low" MAX is 600000, MIN is 600000
plugin_handle_keyword    : Plugin acpi handles keyword ac (value=on)
acpi_ac_parse            : called with: on
acpi_ac_parse            : parsed: on
plugin_handle_keyword    : Plugin acpi handles keyword ac (value=off)
acpi_ac_parse            : called with: off
acpi_ac_parse            : parsed: off
plugin_handle_keyword    : Plugin acpi handles keyword battery_interval (value=0-30)
acpi_battery_parse       : called with: 0-30
acpi_battery_parse       : parsed 0-30
plugin_handle_keyword    : Plugin exec handles keyword exec_post (value=echo 4 > /proc/acpi/video/GFX0/LCD/brightness)
plugin_handle_keyword    : Plugin acpi handles keyword ac (value=off)
acpi_ac_parse            : called with: off
acpi_ac_parse            : parsed: off
plugin_handle_keyword    : Plugin acpi handles keyword battery_interval (value=30-70)
acpi_battery_parse       : called with: 30-70
acpi_battery_parse       : parsed 30-70
plugin_handle_keyword    : Plugin exec handles keyword exec_post (value=echo 5 > /proc/acpi/video/GFX0/LCD/brightness)
plugin_handle_keyword    : Plugin acpi handles keyword ac (value=off)
acpi_ac_parse            : called with: off
acpi_ac_parse            : parsed: off
plugin_handle_keyword    : Plugin acpi handles keyword battery_interval (value=70-100)
acpi_battery_parse       : called with: 70-100
acpi_battery_parse       : parsed 70-100
plugin_handle_keyword    : Plugin exec handles keyword exec_post (value=echo 8 > /proc/acpi/video/GFX0/LCD/brightness)
plugin_handle_keyword    : Plugin acpi handles keyword acpi_temperature (value=55-100)
acpi_temperature_parse   : called with: 55-100
acpi_temperature_parse   : parsed 55-100
plugin_handle_keyword    : Plugin cpu_plugin handles keyword cpu_interval (value=50-100)
cpu_parse                : cpu interval: 50-100
cpu_parse                : read CPU:1 MIN:50 MAX:100 SCALE:3.00
plugin_handle_keyword    : Plugin programs_plugin handles keyword programs (value=emerge,equery,eix)
programs_parse           : called with entries emerge,equery,eix.
insert_tnode             : new node (emerge)
programs_parse           : read program emerge
insert_tnode             : new node (equery)
programs_parse           : read program equery
insert_tnode             : new node (eix)
programs_parse           : read program eix
plugin_handle_keyword    : Plugin acpi handles keyword battery_interval (value=0-100)
acpi_battery_parse       : called with: 0-100
acpi_battery_parse       : parsed 0-100
plugin_handle_keyword    : Plugin acpi handles keyword acpi_temperature (value=0-60)
acpi_temperature_parse   : called with: 0-60
acpi_temperature_parse   : parsed 0-60
plugin_handle_keyword    : Plugin cpu_plugin handles keyword cpu_interval (value=0-100)
cpu_parse                : cpu interval: 0-100
cpu_parse                : read CPU:1 MIN:0 MAX:100 SCALE:3.00
init_configuration       : Rule "AC Rule" has Profiles CPU0:Performance High 
init_configuration       : Rule "AC Off - Low Battery" has Profiles CPU0:Powersave Low 
init_configuration       : Rule "AC Off - Medium Battery" has Profiles CPU0:On Demand Low 
init_configuration       : Rule "AC Off - High Power" has Profiles CPU0:On Demand High 
init_configuration       : Rule "CPU Too Hot" has Profiles CPU0:Performance Low 
init_configuration       : Rule "emerge" has Profiles CPU0:Performance High 
create_temp_dir          : Created temporary dir: '/tmp/cpufreqd-98n7uj'.
main                     : Remote controls enabled
validate_plugins         : tau plugin is unused.
close_plugin             : tau plugin closed.
cpufreqd_loop            : Current time is: 1254099971::501646
acpi_ac_update           : called
acpi_ac_update           : read /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC/online:1
acpi_ac_update           : ac_adapter is on-line
acpi_battery_update      : Re-scanning available batteries
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/charge_full.
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/charge_now.
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/present.
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/status.
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/current_now.
put_class_device         : Closing device 'CMB2'
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/charge_full.
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/charge_now.
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/present.
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/status.
put_attribute            : closing /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/current_now.
put_class_device         : Closing device 'CMB1'
acpi_battery_exit        : exited.
find_class_device        : found /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
find_class_device        : AC is of type Mains
find_class_device        : found /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1
find_class_device        : CMB1 is of type Battery
clsdev_callback          : Got device CMB1
find_class_device        : found /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2
find_class_device        : CMB2 is of type Battery
clsdev_callback          : Got device CMB2
acpi_battery_init        : Opening CMB1 attributes
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/energy_full (No such file or directory)
get_class_device_attribute: found charge_full - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/charge_full
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/energy_now (No such file or directory)
get_class_device_attribute: found charge_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/charge_now
get_class_device_attribute: found present - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/present
get_class_device_attribute: found status - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/status
get_class_device_attribute: found current_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1/current_now
acpi_battery_init        : Opening CMB2 attributes
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/energy_full (No such file or directory)
get_class_device_attribute: found charge_full - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/charge_full
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/energy_now (No such file or directory)
get_class_device_attribute: found charge_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/charge_now
get_class_device_attribute: found present - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/present
get_class_device_attribute: found status - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/status
get_class_device_attribute: found current_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/CMB2/current_now
acpi_battery_init        : found 2 Batteries
acpi_battery_update      : CMB1 - present
read_battery             : CMB1 - reading battery levels
read_battery             : CMB1 - remaining capacity: 4520000
acpi_battery_update      : battery life for CMB1 is 100%
acpi_battery_update      : CMB2 - present
acpi_battery_update      : CMB2 - estimating battery life (timeout: 30.00 - status: (null))
Segmentation fault
Comment 20 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-20 10:43:49 UTC
the init.d acpid use depend should probably only be enabled if the acpi use flag is enabled, agreed?

could someone post the lm_sensors-3.patch upstream? it would be great to have it included there. have the 01_acpitz_support.patch and 02_fix_segfault_reading_class_devices.patch been applied upstream and included in 2.3.4?

thanks
Comment 21 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-20 13:12:26 UTC
2.3.4 is now in the tree. it does not carry any patches. will work on that...
the 03_cpu_all_logic.patch progress is tracked at bug #187581
thanks for the work you guys have put in.
Comment 22 Matthew Turnbull 2009-10-23 03:09:48 UTC
(In reply to comment #20)
> the init.d acpid use depend should probably only be enabled if the acpi use
> flag is enabled, agreed?
I thought 'use' dependencies were only taken in to account if the requested dependency was provided on the system. So it shouldn't matter, right?

> ... have the 01_acpitz_support.patch and
> 02_fix_segfault_reading_class_devices.patch been applied upstream and included
> in 2.3.4?
Yes. That's why I didn't include them in the previous ebuild I posted.

(In reply to comment #21)
> 2.3.4 is now in the tree...

...
emake -j1 || die "emake nvclock failed"
...

Shouldn't this be in src_compile, instead of src_prepare?
Comment 23 Matthew Turnbull 2009-10-23 03:22:47 UTC
Created attachment 207955 [details]
move nvclock emake to src_compile & make die messages consistent
Comment 24 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-23 06:22:59 UTC
(In reply to comment #22)
> (In reply to comment #20)
> > the init.d acpid use depend should probably only be enabled if the acpi use
> > flag is enabled, agreed?
> I thought 'use' dependencies were only taken in to account if the requested
> dependency was provided on the system. So it shouldn't matter, right?

yep...

> 
> > ... have the 01_acpitz_support.patch and
> > 02_fix_segfault_reading_class_devices.patch been applied upstream and included
> > in 2.3.4?
> Yes. That's why I didn't include them in the previous ebuild I posted.

yeah - saw the comment now too.

> 
> (In reply to comment #21)
> > 2.3.4 is now in the tree...
> 
> ...
> emake -j1 || die "emake nvclock failed"
> ...
> 
> Shouldn't this be in src_compile, instead of src_prepare?
> 

have you tried it? you need to build nvclock in order in src_configure for the cpufreqd econf to find it. The whole nvclock thing a fiendishly ugly hack...

kind regards
Thilo
Comment 25 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-27 08:55:37 UTC
*** Bug 289458 has been marked as a duplicate of this bug. ***
Comment 26 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-27 09:08:53 UTC
cpufreqd-2.3.4-r1 has the lm_sensors-3 patch as well as the 2.2.1-cpu_all.patch from #187581.

please test and open new bugs for issue you find.
thanks for the good work.