[android-porting] Re: after referring the group,to uch screen can only respond at top bar

2010-04-09 Thread Weber
god,nobody reply? Thanks --Weber On 4月4日, 下午11时21分, Weber qvbs...@gmail.com wrote: I found a strange thing: if I do not change the owner of /sys/android_power/ acquire_partial_wake_lock ,to radio system ,then the libhardware.so complain that permission denied,and the touch screen can respond

[android-porting] Re: after referring the group,to uch screen can only respond at top bar

2010-03-22 Thread Weber
when i add some LOG in EventHub.cpp,I found that:when open acquire_partial_wake_lock ,it return permission denied I/power ( 679): *** set_screen_state 1 I/power ( 679): go_to_sleep now=44106449000 g_error=Permission denied so I changed the mod in init.rc chmod 0666

[android-porting] Re: after referring the group,to uch screen can only respond at top bar

2010-03-11 Thread Weber
Hi,guys Following Achim's advice (Thank you ,Achim ),I added some LOGI in EventHub.cpp,and the output of logcat is as follows: E/EventHub( 679): could not get driver version for /dev/input/ts0, Invalid argument I/EventHub( 679): New device: path=/dev/input/event1 name=S3C TouchScreen id=0x1

[android-porting] Re: after referring the group,to uch screen can only respond at top bar

2010-03-03 Thread Weber
Thank you,Achim Could you be more specific? I can get the info(such as posted above) with getevent tool,does this means that poll can get the ts? On Mar 1, 10:18 pm, AchimNohl achim.n...@coware.com wrote: Hi, have you tried to debug EventHub::getEvent in frameworks/bas/libs/ui/ EventHub.cpp?

[android-porting] Re: after referring the group,to uch screen can only respond at top bar

2010-03-02 Thread Weber
Thank you here are get event in on my board: # getevent could not get driver version for /dev/input/ts0, Invalid argument add device 1: /dev/input/event1 name: S3C TouchScreen add device 2: /dev/input/event0 name: s3c-keypad tap-- /dev/input/event1: 0001 014a

[android-porting] Re: after referring the group,to uch screen can only respond at top bar

2010-03-02 Thread Weber
Thank you here are get event in on my board: # getevent could not get driver version for /dev/input/ts0, Invalid argument add device 1: /dev/input/event1 name: S3C TouchScreen add device 2: /dev/input/event0 name: s3c-keypad tap-- /dev/input/event1: 0001 014a

[android-porting] Re: after referring the group,to uch screen can only respond at top bar

2010-03-01 Thread AchimNohl
Hi, have you tried to debug EventHub::getEvent in frameworks/bas/libs/ui/ EventHub.cpp? I once had problems with my touchscreen after waking up from suspend as the device was destroyed and got a new file descriptor. I finally ended up in debugging this method. It does a poll system call to wait