[android-kernel] Re: Problem in suspending Wifi driver due to userspace process freeze during suspend sequence

2011-09-19 Thread Sunil Pillai
he brackets in here!! Regards, Sunil On Sep 20, 12:33 am, Pavan Savoy wrote: > On Mon, Sep 19, 2011 at 10:14 AM, Sunil Pillai > > wrote: > > > Hi Pavan, > > > Usual Linux PM would follow the below steps: > > 1) Freezing Tasks [enter_state() calls suspend_prepar

[android-kernel] Re: Problem in suspending Wifi driver due to userspace process freeze during suspend sequence

2011-09-19 Thread Sunil Pillai
not sure if there is a proper way in which this situation can be handled!! Hope this makes my problem more clear. Regards, Sunil On Sep 19, 4:46 pm, Pavan Savoy wrote: > On Mon, Sep 19, 2011 at 6:42 AM, Sunil Pillai > wrote: > > > Hello All, > > > I have

[android-kernel] Problem in suspending Wifi driver due to userspace process freeze during suspend sequence

2011-09-19 Thread Sunil Pillai
Hello All, I have this situation in my system where the android kernel suspend procedure fails due to below sequence: 1. suspend invoked by the android 2. All user space processses get freezed including my android userspace deamon process-X which has wifi userspace component 3. Wifi suspend driv

[android-kernel] Re: Android LCD Backlight doesn't turn off & it doesn't enter suspend

2011-09-19 Thread Sunil Pillai
rds, Sunil Regards, Sunil On Sep 19, 2:52 pm, 叶祥振 wrote: > if cat /sys/power/state returns a blank means your kernel do not support > suspend/on state. > I wonder do you have the kernel source, and enable the power managerment > switches in kernel config. > > 2011/9/17 Sunil Pi

[android-kernel] Re: Android LCD Backlight doesn't turn off & it doesn't enter suspend

2011-09-17 Thread Sunil Pillai
cat /sys/power/wake_lock just prints a blank line. Also, cat /sys/power/state returns a blank. Something looks to be seriously wrong. Regards, Sunil On Sep 16, 3:55 pm, 叶祥振 wrote: > try to > #cat /sys/power/wake_lock > and see what's holding the wake lock. > Regards > >

[android-kernel] Re: Android LCD Backlight doesn't turn off & it doesn't enter suspend

2011-09-16 Thread Sunil Pillai
ess should freeze and suspend routing must get invoked. Still stuck on getting the suspend sequence working after this :( Regards, Sunil On Sep 16, 10:57 am, Sunil Pillai wrote: > I tried cat /sys/power/state & it outputs > radio-interface. > > Assuming that the RIL is basically h

[android-kernel] Re: Android LCD Backlight doesn't turn off & it doesn't enter suspend

2011-09-15 Thread Sunil Pillai
ope I'm on track unless has a useful comment at this point! Regards, Sunil On Sep 16, 12:31 am, Sunil Pillai wrote: > Hello All, > > I am using android 2.6.35 kernel with a platform using s3c2410 > processor. After android (gingerbread) boots up the screen as expected >

[android-kernel] Android LCD Backlight doesn't turn off & it doesn't enter suspend

2011-09-15 Thread Sunil Pillai
Hello All, I am using android 2.6.35 kernel with a platform using s3c2410 processor. After android (gingerbread) boots up the screen as expected is in the locked state. The screen timeout set is 15 seconds. But even after long inactivity on the system the screen does not go to screen_dim state fol

Re: [android-kernel] compiling a driver

2010-07-26 Thread sunil pillai
where do i get the kernel source code that is required for driver compilation ? >> You can get the source code from android kernel git repository http://android.git.kernel.org/?p=kernel/common.git;a=summary what make file do i use ? >>

Re: [android-kernel] hid_parse_report, what happens next?

2010-06-16 Thread sunil pillai
g KH wrote: > On Wed, Jun 16, 2010 at 3:07 AM, Sunil Pillai > wrote: >> >> Hello All, >> >> Can some one let me know, how does the hid class driver's >> hid_parse_report() work? > > > > Why not ask on the linux-input mailing list where the develop

[android-kernel] hid_parse_report, what happens next?

2010-06-16 Thread Sunil Pillai
Hello All, Can some one let me know, how does the hid class driver's hid_parse_report() work? My understanding is that : 1. It parses the hid report using following dispatchers: hid_parser_main, hid_parser_global, hid_parser_local,

[android-kernel] Re: Parsing HID report using hid class driver

2010-05-19 Thread Sunil Pillai
8, 7:57 pm, Greg KH wrote: > On Tue, May 18, 2010 at 7:19 AM, Pavan Savoy wrote: > > On Tue, May 18, 2010 at 6:35 PM, Greg KH wrote: > >> On Mon, May 17, 2010 at 10:58 PM, sunil pillai > >> wrote: > >>> 1.  So I hope it's clear that userspace is not c

Re: [android-kernel] Parsing HID report using hid class driver

2010-05-17 Thread sunil pillai
f I'm wrong some where [?] On 18 May 2010 05:10, Greg KH wrote: > On Fri, May 14, 2010 at 4:30 AM, Sunil Pillai > wrote: > > > > > > > > Hi All, > > > > I've a typical requirement for presenter hid device. > > That'

[android-kernel] Parsing HID report using hid class driver

2010-05-17 Thread Sunil Pillai
Hi All, I've a typical requirement for presenter hid device. [Diagram below] = User Space | i/p sub system | hid class driver |- * [Pass hid report |

[android-kernel] Registering with the USB HID CLASS Driver

2010-05-17 Thread Sunil Pillai
Hi All, I have a typical scenario to handle here on hid class. 1. I have usb hid class report in userspace. 2. I need to send this usb hid report to the existing 'USB Hid class driver in the kernel for parsing the report. In usual scenarios the 'USB Hid class driver' registers itself with the U