Join Today
+ Reply to Thread
Results 1 to 9 of 9
  1. #1

    Default bluetooth + OPIE

    to get the bluetooth app (ezx_bt) to work when running OPIE is a bit tricky, as when you kill off the main windowsserver to run OPIE you also kill the ezx_bt processes.

    you can get around this by first making sure that bluetooth is turned on before you kill the windowsserver, then after you kill the windowsserver and start OPIE (w/ qpe -qws &) you can then start /usr/SYSqtapp/windowsserver/misc1 &.

    This starts an application in the background that checks some database and because bluetooth was activated when windowsserver was shut down, this misc1 application will restart all of the ezx_bt processes (you should see 6 of them). You can then initiate a BT connection from a host PC, and start btppp_start.lin on the phone (to make the ppp connection). When the host PC tries to make the serial port BT connection you will get the familiar confirmation screen, only now overlayed on top of OPIE:



    As an example, with this you can now make a VNC conection wirelessly to the PC:


    Also, the leomsg pop-ups seem to work just fine on top of OPIE.

    I am still hoping to get keypebble (OPIE's VNC) to run in standalone so we don't have to kill off the native windowsserver, but now you can browse your PC desktop from the next room (e.g. the toilet...)

  2. #2
    Join Date
    May 2005
    Location
    Germany, Hannover
    Posts
    289

    Default Re: bluetooth + OPIE

    wow its a step forward

    I think I must me install a windows to flash my E680...

  3. #3

    Default Re: bluetooth + OPIE

    So... what's the current OPIE status?

    Thanks,
    Rick

  4. #4
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: bluetooth + OPIE

    I get this error when trying to do that: Cannot find font definition file /usr/local/qt-embedded/lib/fonts/fontdir - is $QTDIR set correctly?
    Any ideas?
    Yes, but does it run Linux?

  5. #5

    Default Re: bluetooth + OPIE

    Do you get this error when starting qpe (opie)? I have the following in a file called "profile_opie" that sets up the environment variables for me:
    Code:
    export OPIEDIR=/ezxlocal/download/opie
    export QTDIR=$OPIEDIR
    export LD_LIBRARY_PATH=/lib:/usr/lib:$QTDIR/lib
    export PATH=$PATH:$OPIEDIR/bin:/diska/bin
    export HOME=/mmc/mmca1/opie
    If the error comes when trying to start the misc1 application, then you need to set the default phone environment variables with ". /home/native/.profile"

  6. #6
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: bluetooth + OPIE

    No i dont get that error when starting opie, will try to start it with running .profile first.
    Yes, but does it run Linux?

  7. #7
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: bluetooth + OPIE

    Okay so that didnt work. The prog launched when i ran /home/native/.profile first, but then opie crashed and i got these errors from the misc1 prog:
    {2} BT_Server.c:709 !!!!!!!!!!!!!! The return value of selece<> is -1 !!!!!!!!!!!!!!!!
    And this error:
    {2} BT_Server.c:710 !!!!!!!!!!!!!!! The errno is 4 !!!!!!!!!!!!!
    Any ideas? Did you do anything special to your opie source?
    Yes, but does it run Linux?

  8. #8

    Default Re: bluetooth + OPIE

    Quote Originally Posted by maxx_730
    Did you do anything special to your opie source?
    I have modified the qt-2.3.10 source to force it to use the qtembedded-ezx directory for the QtEmbedded-0 socket, but this should only affect things for running stand-alone opie applications (i.e. w/o running qpe), and I do not offhand see how it might affect misc1 and/or BT access.

    Later today I will double check my qt-2.3.10 source modifications as well as make my scripts for starting opie and misc1 available. I will also double check the output when I run misc1, I know there is a lot of crap dumped but I haven't looked at it very carefully (I was just watching to see if the ezx_bt processes came up okay).

    update:
    @maxx_730: when I start the misc1 application I too get the errors you reported above, but it seems to get the 6 ezx_bt processes started and you can then make the BT connection and the ppp link works, so for now I am ignoring these errors.

    I also found that if you start /usr/SYSqtapp/phone/phone (after starting OPIE) the phone will respond and ring when it receives a call, but I haven't figured out how to get it to initiate either the "answer call" screen or the "phone activated" screen so I am stuck w/ a rigning phone.

  9. #9

    Default Re: bluetooth + OPIE

    if anybody is still interested in BT+opie, check out cyph's EZX+opie solution at http://www.motorolafans.com/forums/viewtopic.php?t=1148 , it lets you run all of opie without having to kill off the native qws, whcih means that all BT processes are still operational. Both VNC and ubrowser (opie's html browser) have been tested w/ cyph's solution and work great (although slow) over the BT ppp connection.


 
+ Reply to Thread

Similar Threads

  1. OPIE 1.21
    By ciklee66 in forum E680i General Chat
    Replies: 0
    Last Post: 08-31-2007, 07:49 AM
  2. Opie-Sheet -> opie-sheetezx
    By madhurvyas in forum Development
    Replies: 32
    Last Post: 02-05-2007, 04:06 PM
  3. Wi fi sd opie
    By varo82 in forum E680i General Chat
    Replies: 1
    Last Post: 09-23-2006, 01:55 AM
  4. MY OPIE
    By melnsee in forum E680i General Chat
    Replies: 32
    Last Post: 09-01-2006, 03:27 AM
  5. Why OPIE?
    By Yuretz in forum E680 General Chat
    Replies: 1
    Last Post: 05-05-2005, 12:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1