Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517920 - x11-misc/xmobar-0.20.1-r1 - CoreTemp monitor plugin does not work with recent kernels
Summary: x11-misc/xmobar-0.20.1-r1 - CoreTemp monitor plugin does not work with recent...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 03:57 UTC by Adam Stylinski
Modified: 2014-07-26 01:22 UTC (History)
0 users

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


Attachments
coretemp fix (coretemp-patch.patch,563 bytes, patch)
2014-07-24 03:57 UTC, Adam Stylinski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Stylinski 2014-07-24 03:57:33 UTC
Created attachment 381476 [details, diff]
coretemp fix

At some point the path in sysfs must have changed.  I wrote a patch in my local overlay, forgive me if I'm doing something terribly wrong for constructing the pathname as Haskell is not a familiar language to me.  Perhaps hwmon0 should be generalized to go higher than 0?
Comment 1 Adam Stylinski 2014-07-24 03:58:09 UTC
Also it may be good to check both paths in the event that you want to support an older kernel.
Comment 2 Adam Stylinski 2014-07-24 04:36:56 UTC
It looks like upstream has a better fix in their github repo.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2014-07-24 22:14:58 UTC
Please check if 0.21 works better for you:

>*xmobar-0.21 (24 Jul 2014)
>
>  24 Jul 2014; Sergei Trofimovich <slyfox@gentoo.org> +xmobar-0.21.ebuild,
>  -files/xmobar-0.19-ghc-7.8.patch, -xmobar-0.19.ebuild, -xmobar-0.20.1.ebuild:
>  Version bump.

Thanks!
Comment 4 Adam Stylinski 2014-07-26 01:22:21 UTC
Yep, seems to be working.  Thanks.