Re: [android-kernel] Re: KEYCODE for headset button press

2010-02-19 Thread Porting beginner
On Fri, Feb 19, 2010 at 1:18 PM, Porting beginner < porting.begin...@gmail.com> wrote: > > > On Fri, Feb 19, 2010 at 1:06 PM, Karthik Kannappan < > kannappan.kart...@gmail.com> wrote: > >> Look at AVRCP.kl in development/emulator/keymap: >> key 164 MEDIA_PLAY_PAUSEWAKE >> key 128 MEDIA_STO

Re: [android-kernel] Re: KEYCODE for headset button press

2010-02-19 Thread Porting beginner
On Fri, Feb 19, 2010 at 1:06 PM, Karthik Kannappan < kannappan.kart...@gmail.com> wrote: > Look at AVRCP.kl in development/emulator/keymap: > key 164 MEDIA_PLAY_PAUSEWAKE > key 128 MEDIA_STOP WAKE > key 163 MEDIA_NEXT WAKE > key 165 MEDIA_PREVIOUS WAKE > key 168

Re: [android-kernel] Re: KEYCODE for headset button press

2010-02-19 Thread Karthik Kannappan
Look at AVRCP.kl in development/emulator/keymap: key 164 MEDIA_PLAY_PAUSEWAKE key 128 MEDIA_STOP WAKE key 163 MEDIA_NEXT WAKE key 165 MEDIA_PREVIOUS WAKE key 168 MEDIA_REWINDWAKE key 159 MEDIA_FAST_FORWARD WAKE On Fri, Feb 19, 2010 at 11:07 AM, Chri

[android-kernel] Re: KEYCODE for headset button press

2010-02-19 Thread Chris Stratton
On Feb 18, 2:39 pm, Porting beginner wrote: > Hi, > > I am trying from few days but don't get any information related to issue as > below. > > Which  KEYCODE to send to input dev ( /dev/input/event2 here ) on headset > button press event from my > headset driver so can answer / hang-up call ? Ple

[android-kernel] KEYCODE from Android phone

2010-02-19 Thread Porting beginner
Hi, As I am struggling to know the KEYCODE for headset button press , I am trying to check any Android phone currently in market to get this KEYCODE. is that possible and helpful to do so ? Please let me know if I am missing something here. -- Thanks -- unsubscribe: android-kernel+unsubscr.

Re: [android-kernel] how to access kernel custom library

2010-02-19 Thread md zafar ziya
Hi all, Write one kernel module that will use Kernel library API. Export Custom defined ioctls from kernel module to access those kernel library API. User space program will access those ioctls exported by your kernel module.(indirectly accessing Kernel Library API) BR ZAFAR ZIYA On Fri, Feb 19