On 03/03/2011 01:47 AM, Jia-Chi Lai wrote:


2011/3/3 Jia-Chi Lai <[email protected] <mailto:[email protected]>>



    2011/3/3 Jia-Chi Lai <[email protected]
    <mailto:[email protected]>>



        2011/3/2 Rusty Lynch <[email protected]
        <mailto:[email protected]>>

            On 03/02/2011 12:50 AM, Jia-Chi Lai wrote:

                hi~
                I build the  qt-mobility package on OBS and install
                the rpm files of the package.
                then I launch the setting application but the screen
                orientation can't work.
                I also build orientation-contextkit-sensor package and
                install it.
                the home screen can't launch....
                Are there any trick of install those rpm?? why the
                screen orientation can not work after I install the
                rpm built by myself??


            I have no idea what hardware you running on, but mobility
            depends on a backend that actually retrieves the sensor
            data (like the sensor framework.)  If that doesn't work
            then mobility doesn't have a chance.

            You __shouldn't__ need orientation-contextkit-sensor since
            the libqtsensors1 package does the translation of
            contextkit to QSensor's for you, but the reason
            orientation-contextkit-sensor exist is because I was
            having issues getting the translation to happen (and up
            till a couple of months ago libqtsensors1 would even
            segfault on initialization.)

        but I use 2011.03.01 release tablet image which include both
        libqtsensors1 rpm and orientation-contextkit-sensor rpm in it
        and the screen is work fine.
        but I just use the both two rpm get from public repo, and
        built with OBS, then use command line "rpm -Uvh
        orientation-contextkit-sensor " "rpm -Uvh qt-mobility
        libqtsensor1 "
        to install those rpm. but the screen can't work.
        It's strange....do you have any idea??
        How could I do to make the screen orientation work again??
        Remove  i/usr/lib/qt4/plugins/sensors/libqtsensor_meego.so and
        install orientation-contextkit-sensor? or any idea??

    I tried to remove the
    /usr/lib/qt4/plugins/sensors/libqtsensor_meego.so and screen
    orientation can work now...seen the qt-mobility works now.
    thanks a lot.^^

        With that said... if you know contextkit values are being
        published for orientation changes, then you can install
        orientation-contextkit-sensor and manually remove
        Note... orientation-contextkit-sensor
        i/usr/lib/qt4/plugins/sensors/libqtsensor_meego.so.s just a
        work around while figuring out why the libqtsensor_meego.so
        sensor plugin is borked on some systems.  Ideally
        orientation-contextkit-sensor would not exist.

           --rusty



hi~
I have a question...
if the orientation-contextkit-sensor would not exit in meego, why the need to store the sensor information into contextkit?? such like Screen.TopEdge, Position.Shaky,Position.Stable.
Which component will use those information??

The plugin you deleted should be doing the conversion from contextkit to QSensor. For some reason it doesn't work on some platforms. This is just a matter of a temporary work around before the root cause for the real bug is worked out.

    --rusty
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to