Bananian

Missing AC and Battery in /sys/class/power_supply

8 1159
Hi all,

I connected my Banana Pi to a battery and made a little GUI with battery indicator. To get battery capacity an so on, I read "/sys/class/power_supply/battery/uevent". Watching if battery is loading I do with "/sys/class/power_supply/ac/uevent".


I updated my Bananian to 16.04r01 and installed the linux-image-4.4-baniana Kernel 4.4.10. After Installing Kernel 4.4.10 /sys/class/power_supply/ does only have one folder: axp20x-usb. Uevent has the same structure, but I can't get any info about the battery.


Has anyone an idea, how I can get the information like before?


Donwgrading seems not the best option, because kernel 4.4.10 comes with configfs and libcomposite. I need this two modules for my project.


Hoping for good ideas.
Yours,
Martin
igorpec  
Edited by igorpec at Jul 15, 2016 12:43

Our 4.x kernel provide basic power / battery info.
http://forum.armbian.com/index.p ... ine-sysfs-interface
No need to use image / kernel from the thread. It's already build into by default for some time.

Edited by MartinKeppler at Jul 22, 2016 00:25

Hi igorpec,

thanks for the idea. I gave it a try. Seems to be working.
But now I got a new problem. I've installed Jessie 4.6.2 on my Banana Pi. While armbian is booting the first time, it expands the fs to fit the patition size. I need 1 GB for the g_mass_storage, but after expanding I only have 153 MB.
Do you have any expirience in stopping the expand of fs?


Martin

Ok, I got it!
First I used Rufu 2.9 to burn the image of armbian on my SD. After burning I took MiniTool Partition Wizard Free Edition 9.1 to create a separate partition on the SD card.

Rufus from here: https://rufus.akeo.ie
Partition Wizard from here: https://www.partitionwizard.com/free-partition-manager.html

Yours Martin

Note: The author has been banned or deleted.

abc20180506
tory burch outlet
ugg outlet
ugg boots
louboutin shoes
coach outlet
burberry outlet
jordan shoes
harden vol 1
coach outlet
ralph lauren outlet
north face jackets
polo ralph lauren outlet
coach outlet
oakey sunglasses
ecco shoes for men
tiffany and co
coach outlet
polo ralph lauren outlet online
jordan shoes
louboutin shoes
adidas yeezy boost
louis vuitton outlet store
replica watches
air max 2018
timberland boots
coach factory outlet
michael kors outlet
cheap ray ban sunglasses
hermes handbags
nike air max
cheap oakley sunglasses
canada goose outlet
nike outlet online
cheap oakley sunglasses
polo outlet store
michael kors
canada goose jackets
moncler outlet
kate spade outlet
nfl jerseys wholesale
kate spade handbag
nike shoes
nike air max
jordan retro
pandora charms
yeezy boost
timberland boots
adidas
michael kors outlet online
vans shoes
michael kors outlet clearance
michael kors outlet
christian louboutin outlet
supreme new york
fitflops
michael kors handbags
canada goose uk
ugg outlet
coach factorty outlet
ray ban sunglasses
adidas yeezy
north face jackets
cheap oakley sunglasses
christian louboutin
canada goose jackets
coach outlet
ralph lauren outlet
pandora jewelry
nike shoes
fred perry polo
nba jerseys
fitflops sale clearance
hermens bags
ecco shoes
burberry outlet
canada goose uk
tiffany outlet
toms outlet
hollister clothing
mbt
supra shoes
birkenstocks
mcm handbags
burberry outlet store
ugg boots
pandora outlet
cheap jordans
canada goose sale
longchamp outlet online
michael kors outlet online
nike outlet
coach factory outlet
air jordans
pandora charms
pandora charms sale clearance
pandora charms
coach outlet store
polo ralph lauren outlet
coach outlet
pandora charms
coach outlet
moncler jackets
coach factory outlet
oakley sunglasses outlet
michael kors outlet
ralph lauren sale clearance
coach outlet online
ugg boots
coach outlet store
nike outlet
cheap mlb jerseys china
toms outlet
coach factory outlet
cheap mlb jerseys
pandora jewelry
pandora charms sale
adidas shoes
adidas yeezy boost
coach outlet
michael kors outlet
cheap nfl jerseys
nike air max outlet
fitflops sale
red bottoms shoes
birkenstock shoes
yeezy boost
hermes handbags
red bottom shoes
ralph lauren sale clearance
abc20180506

20188.15wengdongdong
ralph lauren
air max 2018
nike sb
christian louboutin outlet
coach outlet
supreme uk
lebron james jersey
north face outlet
alexander mcqueen shoes
tiffany jewelry
coach outlet
michael kors outlet
philipp plein outlet
true religion
air max
wholesale hats
coach outlet online
balenciaga sandals
adidas originals
converse
ferragamo outlet
michael kors outlet online
polo ralph lauren
hermes belt
air jordan
cheap mlb jerseys
versace clothing
michael kors taschen
prada
oakley sunglasses wholesale
ray ban sunglasses
air max 270
christian louboutin shoes
hermes bags
under armour shoes
nike free run
ralph lauren
timberland
jordan
michael kors handbags
adidas outlet
flip-flops
michael kors outlet
longchamp
michael kors outlet clearance
fitflops sale clearance
cartier jewelry
coach factory outlet
ysl handbags
converse shoes
cheap nhl jerseys
ray ban sunglasses
ray ban outlet
coach outlet online
nike shoes
michael kors outlet clearance
ugg outlet
true religion jeans
oakley vault
oakley sunglasses
cheap mlb jerseys
pandora charms
michael kors bags
nike outlet store online
replica watches
prada outlet online
michael kors outlet
baseball jersey
puma outlet
mont blanc pens
giuseppe zanotti shoes
nike blazer
moose knuckles jackets
running shoes
michael kors canada
y-3 shoes
mcm bags
philipp plein outlet
pandora charms
nike factory
nike factory
nike lunarglide
vans shoes
baseball bats
maillot de foot
links of london
spalding basketball
nike outlet
cheap nfl jerseys
air max 95
vendita maglie calcio
fußballtrikots ermäßigung
puma slides
nike blazer
soccer shirts
christian louboutin
supreme clothing
adidas jeremy scott
20188.15wengdongdong

2018.9.10zhouyanhua
10 deep clothing
pandora charms
air force 1
chanel handbags
nike shoes
true religion outlet
tiffany jewelry
insanity workout
lacoste jeans
tory burch outlet
jordan shoes
freshjive clothing
argentina world cup jersey
lululemon outlet
new balance shoes
dyson hair dryer
kd 10 elite
supra
nike outlet
fossil handbags
reebok outlet store
oakley sunglasses
hermes birkin bag
cheap jerseys china
michael kors outlet
abercrombie and fitch
gentle monster sunglasses
salvatore ferragamo shoes
new balance
armani jeans
chaussure nike
wedding dresses
chopard jewelry
ray ban sunglasses
kids jordans
foamposite
basket nike
nike air max plus
ferragamo shoes
michael kors outlet
asics gel
kd shoes
kobe 10
pandora bijoux
links of london
true religion jeans
adidas outlet
orologi rolex
ugg outlet
nike free
chi flat iron
keen sandals
oakley
boy london clothing
jordan shoes
giannis antetokounmpo jersey
iphone case
nike roshe
ralph lauren
balenciaga shoes
lunette oakley
nike roshe run
jordan retro
beats headphones
converse chuck taylor
oakley sunglasses
nike air max
converse shoes
converse all star
vans pas cher
jordan 12
montre pas cher
jordan shoes
ray ban occhiali
vans outlet
jordan 4
aaron rodgers jersey
cartier bracelet
herve leger
ugg boots
nike roshe
gucci bags
new balance shoes
air jordan
nike clothing
armani handbags
fitflops sale
mizuno
replica watches
balmain jeans
ugg boots
hermes bags
nike outlet online
alife clothing
dsquared2 outlet
nike huarache
pandora jewelry
arc'teryx jackets
huf clothing
2018.9.10zhouyanhua

basketball shoes
canada goose outlet
supra shoes
nike outlet
pandora charms
adidas yeezy
true religion outlet
fitflops
hogan shoes
mlb jerseys
jordan 6
michael kors outlet
ray ban
adidas stan smith
pandora jewelry
canada goose jackets
burberry outlet
hermes belt
nike outlet store
polo ralph lauren
marc jacobs handbags
cartier bracelet
michael kors outlet
jordans
maillot de foot
adidas flip flops
camisetas de futbol
puma outlet
longchamp outlet
hermes bags
coach handbags
christian louboutin outlet
tiffany jewelry
moncler outlet
polo outlet
mbt
polo ralph lauren
mikimoto jewelry
oakley sunglasses
timberland
herve leger dresses
air max
nike blazer
hollister clothing
nike air max 2018
adidas superstar
ugg boots
new balance
lebron soldier 9
nfl jerseys
swarovski jewelry
burberry outlet
linda farrow sunglasses
adidas nmd outlet
nike dunks
under armour shoes
hermes kelly bag
jordan
paul george shoes
ralph lauren
jordan 11
new balance
cheap nfl jerseys
superdry
timberland
snapback hats
rolex watches
tory burch shoes
versace bags
michael kors
persol sunglasses
tiffany jewelry
oakley sunglasses
tiffany & co
flipflops
nike kd 8
oakley sunglasses
mont blanc pens
nike epic react
omega watches
jimmy choo
versace clothing
wedding shoes
nicholas kirkwood shoes
ray ban sunglasses
adidas football boots
nike air max
versace sunglasses
oakley sunglasses cheap
vibram fivefingers
ray ban sunglasses
longchamp
nike kyrie 2
malone souliers
michael kors outlet
nfl jerseys
uggs on sale
lebron 13
skechers sandals
ray ban sunglasses
visconti pens
chenyingying20180912

You have to log in before you can reply Login | Sign Up

Points Rules