Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Missing some sysfs battery files with kernel 3.8.3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Lotherien
n00b
n00b


Joined: 06 Apr 2013
Posts: 3

PostPosted: Fri Apr 19, 2013 8:56 am    Post subject: [SOLVED] Missing some sysfs battery files with kernel 3.8.3 Reply with quote

Hi Everyone!

I'm running gentoo with hardened source (selinux in permissive mode):
Code:
$ uname -a
Linux dbXPSg 3.8.3-hardened #1 SMP Sun Apr 14 18:30:52 CEST 2013 x86_64 Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz GenuineIntel GNU/Linux

I have recently updated the kernel from version 3.7.5-r1 and I noticed that some files from /sys/class/power_supply/BAT0 disappeared.
Code:
$ ls /sys/class/power_supply/BAT0
alarm  device  power  subsystem  uevent

For instance: status, charge_now, charge_full, power_now, current_now, which are used by my GUI battery widget.

If I boot with kernel 3.7.5-r1, the files reappear.

Before compiling the kernel, I have launched make menuconfig loading the old 3.7.5 kernel configuration.

Any idea?


Last edited by Lotherien on Fri Apr 19, 2013 12:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Fri Apr 19, 2013 10:38 am    Post subject: Reply with quote

IIRC it is a known bug. 3.8.2 or 3.8.4 and later do not show this behavior.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
Lotherien
n00b
n00b


Joined: 06 Apr 2013
Posts: 3

PostPosted: Fri Apr 19, 2013 12:46 pm    Post subject: Reply with quote

Thanks. Upgrading to 3.8.6 solved the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum