touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #74288
[Bug 1450026] [NEW] upowerd regularly tries to open a number of non-existant sysfs files on the bq Aquaris E4.5
Public bug reported:
current build number: 21
device name: krillin
channel: stable
alias: ubuntu-touch/ubuntu-rtm/14.09
last update: 2015-04-29 08:25:10
version version: 21
version ubuntu: 20150410.1
version device: 20150408-4f14058
version custom: 20150409-665-29-206
I was debugging an upowerd issue with strace and found that the daemon tries to open the following non-existant files every ten seconds:
[pid 2020] 1430314162.277522 open("/sys/devices/platform/battery/power_supply/battery/energy_now", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.283633 open("/sys/devices/platform/battery/power_supply/battery/energy_avg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.288603 open("/sys/devices/platform/battery/power_supply/battery/manufacturer", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.292523 open("/sys/devices/platform/battery/power_supply/battery/model_name", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.293236 open("/sys/devices/platform/battery/power_supply/battery/serial_number", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.295228 open("/sys/devices/platform/battery/power_supply/battery/energy_full", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.295953 open("/sys/devices/platform/battery/power_supply/battery/energy_full_design", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.296704 open("/sys/devices/platform/battery/power_supply/battery/charge_full", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.297415 open("/sys/devices/platform/battery/power_supply/battery/charge_full_design", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.300221 open("/sys/devices/platform/battery/power_supply/battery/power_now", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.301404 open("/sys/devices/platform/battery/power_supply/battery/charge_now", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.302508 open("/sys/devices/platform/battery/power_supply/battery/charge_avg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.304173 open("/sys/devices/platform/battery/power_supply/battery/charge_full", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.305134 open("/sys/devices/platform/battery/power_supply/battery/charge_full_design", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.305820 open("/sys/devices/platform/battery/power_supply/battery/current_now", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
** Affects: upower (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- upowerd regularly tries to open a number of non-existant sysfs files on the bq Aquaris E.45
+ upowerd regularly tries to open a number of non-existant sysfs files on the bq Aquaris E4.5
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1450026
Title:
upowerd regularly tries to open a number of non-existant sysfs files
on the bq Aquaris E4.5
Status in upower package in Ubuntu:
New
Bug description:
current build number: 21
device name: krillin
channel: stable
alias: ubuntu-touch/ubuntu-rtm/14.09
last update: 2015-04-29 08:25:10
version version: 21
version ubuntu: 20150410.1
version device: 20150408-4f14058
version custom: 20150409-665-29-206
I was debugging an upowerd issue with strace and found that the daemon tries to open the following non-existant files every ten seconds:
[pid 2020] 1430314162.277522 open("/sys/devices/platform/battery/power_supply/battery/energy_now", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.283633 open("/sys/devices/platform/battery/power_supply/battery/energy_avg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.288603 open("/sys/devices/platform/battery/power_supply/battery/manufacturer", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.292523 open("/sys/devices/platform/battery/power_supply/battery/model_name", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.293236 open("/sys/devices/platform/battery/power_supply/battery/serial_number", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.295228 open("/sys/devices/platform/battery/power_supply/battery/energy_full", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.295953 open("/sys/devices/platform/battery/power_supply/battery/energy_full_design", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.296704 open("/sys/devices/platform/battery/power_supply/battery/charge_full", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.297415 open("/sys/devices/platform/battery/power_supply/battery/charge_full_design", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.300221 open("/sys/devices/platform/battery/power_supply/battery/power_now", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.301404 open("/sys/devices/platform/battery/power_supply/battery/charge_now", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.302508 open("/sys/devices/platform/battery/power_supply/battery/charge_avg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.304173 open("/sys/devices/platform/battery/power_supply/battery/charge_full", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.305134 open("/sys/devices/platform/battery/power_supply/battery/charge_full_design", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 2020] 1430314162.305820 open("/sys/devices/platform/battery/power_supply/battery/current_now", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1450026/+subscriptions
Follow ups
References