[android-kernel] Re: accesing a sys/class

2011-01-17 Thread ajay
thanks chris, but if i am creating a phone(that is i am the vendor) which i make it unrooted then how should i go about On Jan 18, 8:27 am, Chris Stratton wrote: > On Jan 17, 12:35 pm, ajay wrote: > > > thanks Chris, > > getting to the point > > I was trying to write a program which

[android-kernel] Re: accesing a sys/class

2011-01-17 Thread Chris Stratton
On Jan 17, 12:35 pm, ajay wrote: > thanks Chris, > getting to the point > I was trying to write a program which uses the framework library > libharware_legacy.so used for > vibration. You aren't supposed to do that. Go through the public interface to the vibrator from java > we cant do the same

Re: [android-kernel] Re: accesing a sys/class

2011-01-17 Thread ajay
thanks Chris, getting to the point I was trying to write a program which uses the framework library libharware_legacy.so used for vibration. this library tries to open a the vibrator device file -"/sys/class/ timed_output/vibrator/enable" and write to the file when api - vibrator_on is called. t

Re: [android-kernel] Re: accesing a sys/class

2011-01-17 Thread ajay
thanks chris, On 15 January 2011 21:09, Chris Stratton wrote: > I think you mean not possible to chmod the file on a phone which is > not rooted. > > And the answer is that you cannot solve this problem on a secured > device. > > Nor can you load custom kernel drivers on a secured device to beg

[android-kernel] build error

2011-01-17 Thread peeyush varshney
dear All, i am getting below error while building gingerbread code. please help me. build/core/base_rules.mk:74: *** Module name: native-audio-jni build/core/base_rules.mk:75: *** Makefile location: Downloads/android-ndk-r5/samples/native-audio/jni build/core/base_rules.mk:76: * build/core/base_r

[android-kernel] USB OTG driver

2011-01-17 Thread stanly
hi all, does newest kernel version support for usb OTG driver? I found that it works before, but now fail, how can I build for OTG driver? thanks -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

Re: [android-kernel] Re: interface with the radio processor

2011-01-17 Thread Arun K. Singh
Hi Earlence, > I guess the voice stream from the cellular network at no point is > accessible by the OS. Yes, I would mostly agree to it with the exception of OS in question being on the Modem DSP[which may know]. for example qDSP that runs on Qualcomm modems dsp's. Best Regards, Arun K. Singh ww

[android-kernel] Re: interface with the radio processor

2011-01-17 Thread Earlence
> Did I misunderstand your question ..? No. I guess the voice stream from the cellular network at no point is accessible by the OS. -E On Jan 17, 9:05 am, "Arun K. Singh" wrote: > I am not sure in which part of the mobile platform you need access to > this stream .. in most of mobile platforms,

Re: [android-kernel] Re: interface with the radio processor

2011-01-17 Thread Arun K. Singh
I am not sure in which part of the mobile platform you need access to this stream .. in most of mobile platforms, voice stream is handled in the firmware of dsp which supplements the proc hosting the modem baseband .. if you are referring to the kernel on the modem hosting proc-generally ARM's, I d