2011/2/16 Rongas Timo <[email protected]> > >From: [email protected] [mailto:meego-dev- > >[email protected]] On Behalf Of Jia-Chi Lai > >Sent: Wednesday, February 16, 2011 11:47 AM > >To: [email protected] > >Subject: [MeeGo-dev] how to log message from screen orientation to > >sensorfw? > > > >hi~ > > > >I open a setting application and change the orientation of device.The > screen > >will change the orientation. > > > >I would like to log message from application screen orientation to > sensorfw to > >see what happen when I install a qt-mobility rpm. > >the rpm which I build with qt-mobility-1.2.0~beta0+git922-2.11.src.rpm and > >after I install it, then the screen can not change the orientation when I > change > >device orientation. > > > >anyone know how to log the message from application screen orientation to > >sensorfw?? > >Or any idea about this question?? > > If I understood correctly, you wish to get log entries whenever sensord > detect a change in orientation, right? > > You can adjust sensord logging level by sending it SIGUSR1. The modes are > test, debug, warning, critical. Each received signal notches the level up by > one. By default the level is 'warning', so send it two signals to get 'test' > level messages. Look for line saying "new orientation value". Expect a lot > of noise to the log. > > You can also start sensord manually and give it the logging level and > target file as parameters. By default syslog is used. See sensord --help > > yes, I use --log-level=debug --log-target=1 and the log message is shown in the console, but the last message show: Dbus abort. So, I kill the sensord and manually start the sensord and the log of sensord are shown on console. But I would like to get more log message, from qt-mobility to sensorfw. Do you know how to get the log message of "orientation-contextkit-sensor" ,"sensorfw" , "qt-mobility sensor" when the screen orientation is started at the same time?
thanks. > Depends on what you really are after, you can also try looking at > Screen.TopEdge context property. (context-listen Screen.TopEdge). > > // Timo > >
_______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines
