[android-kernel] Accessing power_supply class properties from user space?

2012-04-22 Thread Yogi
Hi, I have a power supply driver and its properties are exposed under*/sys/class/power_supply//.. * It has list like *voltage_now, health* etc etc. If I do a '*cat voltage_now*' I can get the needed data. >From user space I want to call an API which can give me access to reading the battery prope

Re: [android-kernel] Re: How to access system.prop in kernel?

2011-11-29 Thread Yogi
prop file is not for kernel mode, but for user mode > > On 11월29일, 오전3시10분, Yogi wrote: > > Hello, > > > > User space apps has APIs given by framework such as > > getprop()/setprop()/getint/setint. Is there any possible way with whi

[android-kernel] How to access system.prop in kernel?

2011-11-29 Thread Yogi
Hello, User space apps has APIs given by framework such as getprop()/setprop()/getint/setint. Is there any possible way with which we can read system.prop entries in kernel? - - - Android.mk - product_config.mk - *system.prop* - Yogi -- unsubscribe

[android-kernel] File system change

2011-10-20 Thread Yogi
it as FAT32 or mount it as EXT2)? -- Yogi Thite -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

[android-kernel] Using AccessoryChat

2011-09-30 Thread Yogi
. Can anyone please help me to understand how shall I execute AccessoryChat functionality on Ubuntu/Linux machine? Regards, Yogi -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

[android-kernel] Custom function driver doesn't get bound

2011-09-28 Thread Yogi
ropriate f->bind_config() function? What change shall I make in android.c file for this requirement? Thanks, Yogi -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel