Re: Mess in the /sysfs: class/power_supply/bq2415x

2015-02-25 Thread Pali Rohár
On Wednesday 25 February 2015 22:44:42 Sebastian Reichel wrote: > Hi Pavel, > > On Sat, Jan 31, 2015 at 10:39:19PM +0100, Pavel Machek wrote: > > So we have multiple values in one sysfs file: > > > > root@n900:/sys/class/power_supply# cat bq24150a-0/registers > > 0x00=0x50 > > 0x01=0xc8 > >

Re: Mess in the /sysfs: class/power_supply/bq2415x

2015-02-25 Thread Sebastian Reichel
Hi Pavel, On Sat, Jan 31, 2015 at 10:39:19PM +0100, Pavel Machek wrote: > So we have multiple values in one sysfs file: > > root@n900:/sys/class/power_supply# cat bq24150a-0/registers > 0x00=0x50 > 0x01=0xc8 > 0x02=0x8e > 0x03=0x4b > 0x04=0x99 > > (should this go to debugfs somewhere?) I guess

Re: Mess in the /sysfs: class/power_supply/bq2415x

2015-02-25 Thread Sebastian Reichel
Hi Pavel, On Sat, Jan 31, 2015 at 10:39:19PM +0100, Pavel Machek wrote: So we have multiple values in one sysfs file: root@n900:/sys/class/power_supply# cat bq24150a-0/registers 0x00=0x50 0x01=0xc8 0x02=0x8e 0x03=0x4b 0x04=0x99 (should this go to debugfs somewhere?) I guess this

Re: Mess in the /sysfs: class/power_supply/bq2415x

2015-02-25 Thread Pali Rohár
On Wednesday 25 February 2015 22:44:42 Sebastian Reichel wrote: Hi Pavel, On Sat, Jan 31, 2015 at 10:39:19PM +0100, Pavel Machek wrote: So we have multiple values in one sysfs file: root@n900:/sys/class/power_supply# cat bq24150a-0/registers 0x00=0x50 0x01=0xc8 0x02=0x8e