LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (http://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   N900 - Linux Syncing? (http://www.linuxquestions.org/questions/linux-mobile-81/n900-linux-syncing-4175435773/)

NotAComputerGuy 11-05-2012 03:44 PM

N900 - Linux Syncing?
 
Hi all,

I'd like to be able to sync my contacts and calendar with my computer (Linux Mint Debian). Anyone know how I can do this? Google brings up nothing of any use, just stuff relating to syncevolution which relies on a service that doesn't exist.

Would be grateful for a simple how to.

Thanks

FredGSanford 11-08-2012 12:31 AM

If you're using google default Contact Manager & Calendar, it will sync with the online apps. Of course you will have to have wifi or 3G for them to sync.

NotAComputerGuy 11-08-2012 06:57 AM

Not sure what you mean by the Online Apps? I can't see any reference to them within the application manager.

Thanks for the reply though :)

FredGSanford 11-10-2012 06:52 PM

If you're using google contact manager & gmail on your phone, it should sync the contacts & mail online using any devices. You would have to make sure sync is active on the phone also.

So if you add a new contact to the phone, it should show up if you access it from your computer.

af7567 11-29-2012 02:26 PM

On my N900 I use syncevolution for syncing contacts with google, and erminig for syncing calendar with google. Syncevolution can also sync with google calendar but it would never sync the alarm times - nor does erminig really but at least it sets an alarm "0 minutes before" :).

If you go to add new service in syncevolution there are templates for google calendar and google contacts. You will need a gmail account already set up to do this though, and you will obviously have to get your PC to sync with google too.

Before doing anything you should probably make a backup of your current contacts and calendar on whatever devices you are going to be playing around with.

NotAComputerGuy 12-04-2012 01:17 AM

Hi,

Ermining works fantastically! Took a little while to get working for a newbie like me, but now it works! Just need to work out synevolution. If you've got an easy to follow guide it'd be much appreciated. ;) All I've seen don't seem to work, so I'm guessing there's bits missing, or that go without saying, and I'm not doing something right.

Thanks

af7567 12-04-2012 09:43 AM

Quote:

Originally Posted by NotAComputerGuy (Post 4842218)
Just need to work out synevolution. If you've got an easy to follow guide it'd be much appreciated.

I don't know the url for any guide, there must be one somewhere though :) but to add contacts syncing with syncevolution all you should have to do is:

Start up syncevolution
Sync services menu > Add new service
Press Next and type in "contacts" as the service name. (you can actually put anything you like in here)
Choose Google Contacts as the template, press Next
Put your gmail email address in Account, and gmail password in Password, press Next
Leave Contacts database as 'contacts', press Next
Then Finish. You should now be able to click the contacts on the list of services and press Synchronize.


edit: I have syncevolution version 1.3+20120925 from extras-devel, if you are having problems it may be because you have an older version. You can check your version by running syncevolution --version in a terminal.

af7567 12-26-2012 12:51 PM

Quote:

Originally Posted by vinitaceo (Post 4856946)
I can't see any reference to them within the application manager.

I have just had a look at the maemo.org repositories and erminig seems to be in extras-devel only.

If you want to enable extras-devel then the information for activating it can be found at http://wiki.maemo.org/Extras#Extras-devel along with the warnings about using devel :)

patrick295767 01-01-2013 04:11 AM

If you daily like to use crontab to sync your EPOC, please find this useful script (no manpage :( )

It could eventually help.

/usr/sbin/usbpsion
Code:

#!/bin/sh



FILELISTC=` ls -1 /media/psion | grep "C" `


if [ "$1" = "--mount" ] ; then
  [ ! -d /media/psion ] && mkdir /media/psion
  chmod a+x /media/psion/
  [ "$2" = "" ] && exit
  if [ "$FILELISTC" = ""  ]  ; then
    pkill ncpd
    pkill nfsd
    pkill plpnfsd
    [ ! -d /media/psion ] && mkdir -p /media/psion 
    ncpd -s /dev/ttyUSB0
    echo "user: $2"
    plpnfsd  -d /media/psion/  -u "$2"
  ls /media/psion
  fi
  exit
fi



if [ "$1" = "--umount" ] ; then
  if [ "$FILELISTC" != ""  ]  ; then
    umount /media/psion/ 
    pkill ncpd
    pkill nfsd
    pkill plpnfsd
  fi
  ls /media/psion
fi

psionsync.sh
Code:

#/bin/sh

# Requires:
#  plptools_0.18-1_i386.deb
#  for i386




if [  "$1" = "--sync" ] ||  [  "$1" = "" ] ; then

  # check if usb serial is present
  CHECKIFUSB0=` ls -1 /dev/ttyUSB0 `
  if [ "$CHECKIFUSB0" = ""  ]  ; then
    echo "** Warning: no USB cable for the psion detected. **"
    exit
  fi

  CHECKSUDOUS=` sudo -l | grep usbpsion `
  if [ "$CHECKSUDOUS" != ""  ]  ; then
    # prepare
    WOHOME=` whoami `
    echo "** mount"
    sudo usbpsion --mount  $WOHOME

    # Check mount
    FILELISTC=` ls -1 /media/psion | grep "C" `
    if [ "$FILELISTC" = ""  ]  ; then
      echo "** Not Mounted **"
      exit
    else
      echo "** Mounted **"
    fi

    echo "** LIST **"
    ls /media/psion
    echo

    # check few dirs
    [ ! -d ~/Documents/mydevices/psion/pc2psion/ ] && mkdir -p ~/Documents/mydevices/psion/pc2psion
    ls ~/Documents/mydevices/psion

    # operation of sync if possible
    CHECKIFMOUNT=`ls '/media/psion/C:' | grep System`
    if [ "$CHECKIFMOUNT" != "" ] ; then
      echo "  > Status: mounted"
      echo "** Sync"

      # ******* PC => PSION
      echo
      printf "\033[32m%10s\n\033[0m" "PC => Psion"
      cd ~/Documents/mydevices/psion/
      bash ~/.fvwm/scripts/cp.sh  pc2psion/  '/media/psion/C:'


      # ******* PSION => PC
      echo
      printf "\033[32m%10s\n\033[0m" "Psion => PC"
      [ ! -d  '/media/psion/C:/psion2pc/emails/'  ] && mkdir -p  '/media/psion/C:/psion2pc/emails/'
      ls  '/media/psion/C:/psion2pc/' 
      cp -r -v '/media/psion/C:/psion2pc/'  ~/Documents/mydevices/psion/


      # ******* BACKUP
      echo
      printf "\033[32m%10s\n\033[0m" "Backup: Psion => Psion (D:)"
      [ ! -d  '/media/psion/D:/backup/psion2pc/'  ] && mkdir -p  '/media/psion/D:/backup/psion2pc/'
      ls  '/media/psion/C:/psion2pc/' 
      cp -r -v '/media/psion/C:/psion2pc/' '/media/psion/D:/backup/psion2pc/'
    fi


    echo "** Umount"
    sudo usbpsion --umount
    exit
  fi
fi


patrick295767 12-15-2013 06:08 AM

Hi

Still up to date, since there is not many users of N900 or PSION 5 MX, this is still of interests for some.

plptools of 1.0.9 in Debian stable has now plpfuse, instead of the older plp executable.

You may run this script that will backups your SD and C: drive of Psion/Nokia to the /backups/psion directory.

usbpsiondebian.sh :
Code:

#!/bin/sh
    ## usbpsiondebian.sh
    pkill ncpd
    pkill nfsd
    pkill plpnfsd
    ncpd -s /dev/ttyUSB0
    mkdir  /mnt/psion/ 
    plpfuse  -d /mnt/psion/ 
    mkdir /backups
    cp  -u -r -v -d "/mnt/psion/" /backups

or this one:
Code:


#!/bin/sh


if [ "$1" == "umount" ] ; then
    echo Unmounting
    pkill ncpd
    pkill nfsd
    pkill plpnfsd
    umount /mnt/psion
    umount /mnt/psion
    umount /mnt/psion
    umount /mnt/psion
    exit
fi

    ## usbpsiondebian.sh
    pkill ncpd
    pkill nfsd
    pkill plpnfsd
    umount /mnt/psion
    umount /mnt/psion
    umount /mnt/psion
    umount /mnt/psion
    rm -rf /mnt/psion
    mkdir  /mnt/psion/ 
    chmod 777  /mnt/psion/ 
    chmod 777 -R /mnt/psion/ 
    ncpd -s /dev/ttyUSB0
    plpfuse  -d /mnt/psion/


Greetings
Pat


All times are GMT -5. The time now is 05:43 PM.