Jump to content
funtoo forums

Search the Community

Showing results for tags 'upower'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Funtoo Discussion Forums
    • News and Announcements
    • General Discussion
    • Dev Central
    • Funtoo Hosting
    • Funtoo Infrastructure
  • Help Central
    • General Help
    • Installation Help
    • Portage Help
    • Desktop Help
    • Server Help
  • Funtoo Services

Blogs

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


freenode


github


web


First Name


Last Name


Location


Interests

Found 3 results

  1. Hi, I have strange issue with kde-plasma that I cannot suspend using standard KDE way (buttons in app launcher). Main problem for me is that it does not suspend after closing laptop lid... Using pm-suspend it works, but I need standard KDE way in order to suspend after closing the lid. I'm not sure if current problem is permission related or not. If I try dbus-send to debug suspend, I get: dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend method return sender=:1.7 -> dest=:1.39 reply_serial=2 but it don't suspend computer. It only disconnects and reconnects network, it looks like it tries to suspend and wakes up again immediatelly. I looked into .xsession-errors, but I don't see anything really suspicious (maybe except powerdevil: systemd powersave events handling inhibited, descriptor: 32, this is strange, I don't use systemd): powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true) ) ( "Type" , QVariant(uint, 1) ) ) powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true) ) ( "SkipFade" , QVariant(bool, true) ) ( "Type" , QVariant(uint, 1) ) ) powerdevil: Starting UPower suspend job lock called kscreen.kded: System is going to suspend, won't be changing config (waited for 1001 ms) Lock window Id: 31457307 CreateNotify: 31457307 CreateNotify: 58720258 CreateNotify: 58720260 CreateNotify: 58720264 CreateNotify: 58720266 Skipped method "moduleDeleted" : Pointers are not supported: KDEDModule* kcm_keyboard: Fetched layout groups from X server: layouts: ("cz", "us") variants: ("", "") kcm_keyboard: Fetched layout groups from X server: layouts: ("cz", "us") variants: ("", "") CreateNotify: 58720267 MapNotify: 58720267 MapNotify: 31457307 CreateNotify: 58720271 Time engine Clock skew signaled powerdevil: fd passing available: true powerdevil: systemd powersave events handling inhibited, descriptor: 32 kscreen.kded: Resumed from suspend, checking for screen changes kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "eDP1" ) ( "eDP1" ) to KScreen::Output(Id: 67 , Name: "eDP1" ) ( "eDP1" ) Currrent active notifications: QHash() Guessing partOf as: 0 New Notification: "DHCP" "Connection 'DHCP' deactivated." -1 & Part of: 0 CreateNotify: 40035819 MapNotify: 40035819 UnmapNotify: 41943088 Unknown toplevel for MapNotify UnmapNotify: 40035819 Currrent active notifications: QHash() Guessing partOf as: 0 New Notification: "DHCP" "Connection 'DHCP' activated." -1 & Part of: 0 CreateNotify: 40036339 MapNotify: 40036339 UnmapNotify: 58720267 UnmapNotify: 58720267 CreateNotify: 58720273 QXcbConnection: XCB error: 3 (BadWindow), sequence: 53270, resource id: 58720273, major code: 18 (ChangeProperty), minor code: 0 Grab Released I'm even not sure, if that isn't permission issue, because in output of ck-session-list I have active=FALSE, but I cannot figure how to change it to TRUE. I use sddm-0.11.0 (I removed nox11 from /etc/pam.d/system-login to be registered by consolekit). sddm is started with xdm (DISPLAYMANAGER="sddm" in /etc/conf.d/xdm). Session1: unix-user = '1000' realname = '(null)' seat = 'Seat1' session-type = '' active = FALSE x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '' remote-host-name = '' is-local = FALSE on-since = '2015-09-29T13:36:12.785523Z' login-session-id = '1' In order to be override polkit, I created polkit rule: # cat /etc/polkit-1/rules.d/51-upower.rules polkit.addRule(function(action, subject) { var YES = polkit.Result.YES; var permission = { "org.freedesktop.UPower.Suspend": YES, "org.freedesktop.UPower.SuspendAllowed": YES, "org.freedesktop.UPower.AboutToSleep": YES, "org.freedesktop.UPower.Hibernate": YES, "org.freedesktop.UPower.HibernateAllowed": YES, }; return permission[action.id]; });Something works with that, I couldn't even use dbus-send... to debug suspend (I got Error org.freedesktop.UPower.GeneralError: not authorized), but suspend still don't work. Thanks for any help.
  2. I'm installing Funtoo on my laptop, but I'm facing a strange error during the emerge of networkmanager: checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes ./configure: line 3103: syntax error near unexpected token `0.9.9' ./configure: line 3103: `GOBJECT_INTROSPECTION_CHECK(0.9.9)' * Messages for package sys-power/upower-20140423: * ERROR: sys-power/upower-20140423 failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 2768: Called die * The specific snippet of code: * ./autogen.sh || die; * * If you need support, post the output of `emerge --info '=sys-power/upower-20140423'`, * the complete build log and the output of `emerge -pqv '=sys-power/upower-20140423'`. * The complete build log is located at '/var/tmp/portage/sys-power/upower-20140423/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/upower-20140423/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/upower-20140423/work/upower-20140423' * S: '/var/tmp/portage/sys-power/upower-20140423/work/upower-20140423' Introspection USE flag is disabled: [ebuild N ] sys-power/upower-20140423 USE="deprecated -introspection -ios" but the configure script seem to look for this GOBJECT_INTROSPECTION_CHECK function :wacko: I've already tried adding the USE flag "deprecated" to the /etc/portage/package.use (as suggested here http://forums.funtoo.org/index.php?/topic/120-upower-wants-an-xml-parser/) Any suggestion? emerge_upower.info.txt
  3. I get a compile problem when I try to update upower as part of my @world update. I removed the upower package to try and install it. I tried upower-pm-utils because of what I found in this forum that was recommended for a different upower problem. Didn't help this. I want to show that I read the eselect news. There was the recent issue with in the news, but I can't read it now. My issue with upower is recent. I did a successful @world update one or two weeks ago. The news item is a month old, and I can't read it now for reasons I don't know. Computer me # eselect news list News items: [1] 2009-04-18 (2009-04-18-java-config-wrapper-0.16 - removed?) [2] 2010-08-01 (2010-08-01-as-needed-default - removed?) [3] 2012-03-16 (2012-03-16-udev-181-unmasking - removed?) [4] 2012-05-21 (2012-05-21-portage-config-protect-if-modified - removed?) [5] 2012-09-01 Funtoo 1.0 Profiles [6] 2012-09-09 (2012-09-09-make.conf-and-make.profile-move - removed?) [7] 2012-11-06 (2012-11-06-PYTHON_TARGETS-deployment - removed?) [8] 2012-12-01 Funtoo stable branch toolchain update [9] 2013-01-23 (2013-01-23-udev-upgrade - removed?) [10] 2013-03-29 (2013-03-29-udev-upgrade - removed?) [11] 2013-04-22 Funtoo kmod migration [12] 2013-06-07 (2013-06-07-portage-preserve-libs-default - removed?) [13] 2013-06-30 (2013-06-30-cups16 - removed?) [14] 2013-08-07 (2013-08-07-vanilla-sources-stablization-policy - removed?) [15] 2013-08-23 (2013-08-23-emerge-language - removed?) [16] 2013-09-27 (2013-09-27-initramfs-required - removed?) [17] 2013-11-07 (2013-11-07-python-exec-package-move - removed?) [18] 2014-02-25 (2014-02-25-udev-upgrade - removed?) [19] 2014-06-03 (2014-06-03-upower-loses-hibernate-suspend-to-systemd - removed?) Computer me # See how it asks 'removed?' I don't remember removing any news, but then I might have neurotic alheimers from too much screen radiation. BTW, I just used the BBCode for \[code\]. Where the heck is it with this new format? Does not show in the list for Special BBCode. Having to remove the double spacing that got added when I pasted outputs was a pain in the ass. Anyone know why I got double spacing? I manually removed it, at least I hope so. Anyway, if the upower compile fail relates to upower loses hibernate, sorry for my lack of prior planning. I seem to need upower for my xfce desktop: Computer me # equery d upower * These packages depend on upower: xfce-base/xfce4-session-4.11.0-r2 (udev ? >=sys-power/upower-0.9.23) xfce-base/xfce4-settings-4.11.2-r1 (udev ? >=sys-power/upower-0.9.23) xfce-extra/xfce4-power-manager-1.3.0 (>=sys-power/upower-0.9.23) Computer me # This is my emerge update issue (originally I was updating my @world with all the bells and whistles, 'emerge -uDN --with-bdeps=y --autounmask-write @world --ask'): Computer me # emerge -1 upower ... checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.18.2 checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool * ERROR: sys-power/upower-20140423 failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 2793: Called die * The specific snippet of code: * ./autogen.sh || die; * * If you need support, post the output of `emerge --info '=sys-power/upower-20140423'`, * the complete build log and the output of `emerge -pqv '=sys-power/upower-20140423'`. * The complete build log is located at '/var/tmp/portage/sys-power/upower-20140423/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/upower-20140423/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/upower-20140423/work/upower-20140423' * S: '/var/tmp/portage/sys-power/upower-20140423/work/upower-20140423' >>> Failed to emerge sys-power/upower-20140423, Log file: >>> '/var/tmp/portage/sys-power/upower-20140423/temp/build.log' * Messages for package sys-power/upower-20140423: * ERROR: sys-power/upower-20140423 failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 2793: Called die * The specific snippet of code: * ./autogen.sh || die; * * If you need support, post the output of `emerge --info '=sys-power/upower-20140423'`, * the complete build log and the output of `emerge -pqv '=sys-power/upower-20140423'`. * The complete build log is located at '/var/tmp/portage/sys-power/upower-20140423/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/upower-20140423/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/upower-20140423/work/upower-20140423' * S: '/var/tmp/portage/sys-power/upower-20140423/work/upower-20140423' Computer me # Computer me # emerge --info '=sys-power/upower-20140423' Portage 2.3.6-r8 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.8.2, glibc-2.18-r1, 3.15.6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.15.6-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2.0 KiB Mem: 3966984 total, 1782424 free KiB Swap: 2097148 total, 2097148 free Timestamp of tree: Unknown ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45-r1 dev-java/java-config: 2.2.0-r1000 dev-lang/python: 2.7.8-r1000, 3.3.5-r1000 dev-util/cmake: 2.8.12.2-r1 sys-apps/baselayout: 2.2.0-r6 sys-apps/openrc: 0.12.3-r3 sys-apps/sandbox: 2.6-r2 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.8.2-r2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.18-r1 Repositories: gentoo java ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j5" KGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/java" SYNC="git://github.com/funtoo/ports-2012.git" SYNC_USER="root" USE="X acl alsa amd64 apng berkdb bzip2 cdr consolekit cracklib crypt cups cxx dbus dri dvd dvdr dvdread flac gcj gdbm gif gpm gtk iconv icu ipv6 java jpeg lame libnotify lock mad mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre png policykit pppd python readline resolvconf sasl session sse sse2 ssl startup-notification svg tcpd thunar tiff truetype udev unicode vorbis wavpack win32codecs xml zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK Computer me # Computer me # emerge -pqv '=sys-power/upower-20140423' [ebuild N ] sys-power/upower-20140423 USE="-deprecated -introspection -ios" Computer me # Computer me # emerge -1 upower-pm-utils ... checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.18.2 checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/work/upower-0.9.23/config.log * ERROR: sys-power/upower-pm-utils-0.9.23-r2 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 1942: Called econf '--libexecdir=/usr/lib/upower' '--localstatedir=/var' '--disable-introspection' '--disable-static' '--enable-deprecated' '--enable-man-pages' '--disable-tests' '--with-html-dir=/usr/share/doc/upower-pm-utils-0.9.23-r2/html' '--with-backend=linux' '--without-idevice' '--with-systemdutildir=/usr/lib/systemd' '--with-systemdsystemunitdir=/usr/lib/systemd/system' * phase-helpers.sh, line 521: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=sys-power/upower-pm-utils-0.9.23-r2'`, * the complete build log and the output of `emerge -pqv '=sys-power/upower-pm-utils-0.9.23-r2'`. * The complete build log is located at '/var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/work/upower-0.9.23' * S: '/var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/work/upower-0.9.23' >>> Failed to emerge sys-power/upower-pm-utils-0.9.23-r2, Log file: >>> '/var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/temp/build.log' * Messages for package sys-power/upower-pm-utils-0.9.23-r2: * ERROR: sys-power/upower-pm-utils-0.9.23-r2 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 1942: Called econf '--libexecdir=/usr/lib/upower' '--localstatedir=/var' '--disable-introspection' '--disable-static' '--enable-deprecated' '--enable-man-pages' '--disable-tests' '--with-html-dir=/usr/share/doc/upower-pm-utils-0.9.23-r2/html' '--with-backend=linux' '--without-idevice' '--with-systemdutildir=/usr/lib/systemd' '--with-systemdsystemunitdir=/usr/lib/systemd/system' * phase-helpers.sh, line 521: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=sys-power/upower-pm-utils-0.9.23-r2'`, * the complete build log and the output of `emerge -pqv '=sys-power/upower-pm-utils-0.9.23-r2'`. * The complete build log is located at '/var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/work/upower-0.9.23' * S: '/var/tmp/portage/sys-power/upower-pm-utils-0.9.23-r2/work/upower-0.9.23' Computer me # Maybe I need libxml-perl? Other possible solutions? Computer me # esearch "XML.*perl" [ Results for search key : XML.*perl ] [ Applications found : 1 ] * dev-perl/libxml-perl Latest version available: 0.80.0 Latest version installed: [ Not Installed ] Size of downloaded files: 62 kB Homepage: http://search.cpan.org/dist/libxml-perl/ Description: Collection of Perl modules for working with XML License: || ( Artistic GPL-1 GPL-2 GPL-3 ) Computer me # Does it look like there is a missing dependency in an ebuild? I am not familiar with them. Anything I attempt to learn is days of frustration. My latest bouts with masochism are with snort. I really envy you 140+ IQ guys.
×
×
  • Create New...