Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 87

Thread: Smartcam

  1. #21
    Join Date
    May 2007
    Beans
    16

    Re: Smartcam

    hi
    is there any patch for he kernel 2.6.31-15?

  2. #22
    Join Date
    May 2007
    Beans
    16

    Re: Smartcam

    hi again,
    problem solved. here what i have done:
    1. download the following files.
    (http://sourceforge.net/projects/smar...m-1.4.0.tar.gz)
    smartcam-1.4.0.tar.gz
    smartcam_1.4.0_i386.deb
    2. cd smartcam-1.4.0/driver_src/
    3. patch the smartcam.c file with the patch which is attached
    patch -p0 < karmic.patch smartcam.c
    4.sudo apt-get install linux-headers-$(uname -r)
    5.sudo apt-get install build-essential
    6.sudo apt-get install libgtk2.0-dev
    7.sudo make -C /lib/modules/`uname -r`/build M=`pwd`
    8.gksu gedit /etc/modules add this line
    videodev
    9./sbin/modprobe videodev
    10./sbin/insmod smartcam.ko

    that is all. hope it works.
    (source http://forum.ubuntu-it.org/index.php...984.msg2145165)
    Attached Files Attached Files
    Last edited by fatihsanli58; November 23rd, 2009 at 09:27 AM.

  3. #23
    Join Date
    May 2007
    Beans
    16

    Re: Smartcam

    every time you should repeat the last two steps. could not find a solution yet.

  4. #24
    Join Date
    Jun 2006
    Beans
    20

    Re: Smartcam

    Yes, it works! Now the driver compiles without problems.

  5. #25
    Join Date
    Nov 2009
    Beans
    15

    Re: Smartcam

    I have followed the above instructions and I get this, when compiling the driver,

    : .../driver_src$ sudo make -C /lib/modules/`uname -r`/build M=`pwd`

    make: se ingresa al directorio `/usr/src/linux-headers-2.6.31-14-generic'
    LD .../driver_src/built-in.o
    CC [M] .../driver_src/smartcam.o
    .../driver_src/smartcam.c:554: warning: initialization from incompatible pointer type
    .../driver_src/smartcam.c:555: warning: initialization from incompatible pointer type
    Building modules, stage 2.
    MODPOST 1 modules
    CC .../driver_src/smartcam.mod.o
    LD [M] .../driver_src/smartcam.ko
    make: se sale del directorio `/usr/src/linux-headers-2.6.31-14-generic'

    I continue anyways and I load the driver, open the app in my pc and open the jar app in my mobile. It seems it is going to work because the app in the mobile try to connect via bluetooth, it recognizes the pc, and starts the connection. The screen of the mobile becomes black for a while and the app crashes with the following message:

    javax.microedition.media.MediaException: Encoding is invalid
    Msg: Encoding is invalid SmartCam will now exit !


    Any idea???

    Last edited by FranJPR; November 26th, 2009 at 12:09 PM.

  6. #26
    Join Date
    May 2007
    Beans
    16

    Re: Smartcam

    which kernel you are using?

  7. #27
    Join Date
    Nov 2009
    Beans
    15

    Re: Smartcam

    2.6.31-14-generic

  8. #28
    Join Date
    Nov 2009
    Beans
    15

    Re: Smartcam

    I am running Kubuntu Karmic 9.10, I have upgraded to kernel 2.6.31-15-generic and compiled everything again, with the same warnings when compiling the driver, and the same result with the jar app.



  9. #29
    Join Date
    Jun 2008
    Beans
    2

    Re: Smartcam

    the java mobile (j2me) version of SmartCam is no longer compatible with version 1.4.x of the PC application (windows or linux). It is still compatible with version 1.3 of the PC app, so you could use that version...

  10. #30
    Join Date
    Nov 2009
    Beans
    15

    Re: Smartcam

    hmmm...
    Compiling the app, version 1.3, I get,

    .../src/app$ gcc `pkg-config --cflags --libs gtk+-2.0 gthread-2.0` -lbluetooth smartcam.c -o smartcam
    smartcam.c: In function ‘stop_server’:
    smartcam.c:352: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘struct sdp_record_t *’
    smartcam.c:352: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘struct sdp_session_t *’

    ... and I get the same result as post #16.

    Bad luck!
    Last edited by FranJPR; November 27th, 2009 at 12:36 AM.

Page 3 of 9 FirstFirst 12345 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •