Linux and PSION 5 !! For Linux & Psion Fans
Results 1 to 11 of 11

Thread: Linux and PSION 5 !! For Linux & Psion Fans

  1. #1
    Join Date
    Jan 2010
    Posts
    147

    Linux and PSION 5 !! For Linux & Psion Fans

    Hello,

    Here is how I connect my new PSION serie 5 with Linux Debian Stable.

    (1) Hardware:
    I bought a regular irda belkin irda
    http://www.misco.co.uk/images/upload...med/133857.jpg

    (2) Get linux and install it with the cdrom
    http://www.debian.org/distrib/
    Nothing complicated
    Try Testing instead of Stable if you need more hardware support

    (3) Next step
    apt-get install irda-utils

    (4) Let's prepare it for boot

    cat /etc/rc2.d/S99psionstart
    Code:
    #!/bin/sh
    killall -e irattach
    modprobe crc_ccitt
    modprobe irda
    modprobe stir4200
    modprobe ircomm
    modprobe ircomm_tty
    irattach irda0 -s
    /etc/init.d/irda-utils restart
    mkdir -p /home/psionbackup
    cd /home/psionbackup
    while [ 1  ]  ; do 
    irpsion5 -v -r  -b  ; beep &
    done
    (Last step)
    Take your PSION and anytime during the day, to send your files to the PC, take the psion serie 5 and put both irda close to each other ie. belkin and psion 5, and send the files you want with SENDING on the psion to the LINUX box.
    Here it is.

    Sending from PSION is working
    Other way around is NOT working, with
    irpsion5 -v -s file.txt


    I have a REVO, and this works too. Both REVO and SERIE 5 PSION can send file to the LINUX MACHINE anytime !! Cool if you are looking for fast sending.

    You know any other LINUX tricks with PSION ? Please post!!

    For LINUX and PSION fans !


    --
    Happy Tux

  2. #2
    Join Date
    Jan 2010
    Posts
    147
    Code:
    chmod +x /etc/rc2.d/S99psionstart
    necessary and reboot too, to work fully.

  3. #3
    Join Date
    Dec 2003
    Location
    Kingston upon Hull, England
    Posts
    432
    Many moons ago, I got the Psion connecting with the standard cable using pppd at the Linux end. So long ago, I've forgotten exactly how - but I remember it wasn't difficult for one used to using pppd to connect to the net in the days when dial-up access was the norm.

    After that the Psion would talk to the Linux machine and the wider world with the usual protocols - SMTP/POP3 using Psion Email, FTP using nFTP, HTTP using Web or Opera and SSH using SyoSSH. There's an LPD printer driver too, but I never managed to get that to work.
    Damian Walker
    Gaming on Psion Handhelds - http://psigamer.cyningstan.org.uk/

  4. #4
    Join Date
    Jan 2010
    Posts
    147
    This script synchronize the pendrive and the PSION 5 classic, and let you send email via Infrared from PSION and using a linux box, with irw.

    Code:
    #!/bin/sh
    mount /mnt/pendrive
    
    if [ -f /mnt/pendrive/pendrivethere ] ; then  
    		echo "Pendrive is there, and getting rsync" | festival --tts
    		SOURCE="/mnt/pendrive/psion"
    		TARGET="$HOME/psion"
    		rsync -auv "$SOURCE" "$TARGET"
    		echo " Rsync: OK" | festival --tts
    	else 
    		echo "Pendrive not there" | festival --tts
    fi
    umount /mnt/pendrive
    
    
    
    		echo "Checking Outbox " | festival --tts
    		mkdir -p /home/psion/image/mutt/outbox
                    mkdir -p /home/psion/image/mutt/sent
    		mv /home/psion/image/email*  /home/psion/image/mutt/outbox		
    		cd /home/psion/image/mutt/outbox
    		STZ="Empty"
    		ls -ltra >> $HOME/.psionlogmutt
    		for each in * ; do 
    			if  [ "`echo $each | cut -c 1-15`" = "muttemailxavier" ] ; then 
    				echo " File $each sent from PSION " | mutt -a "$each" -s "$each"  -- xavier
    				echo "Emailing xavier" | festival --tts
    				STZ="Sent"
    			fi 
    
    			
    		done 
    		mv /home/psion/image/mutt/outbox/*   /home/psion/image/mutt/sent
    		echo " $STZ status  " | festival --tts
    		
    
    beep ; beep

  5. #5
    Join Date
    Jan 2010
    Posts
    147
    Code:
    The observant reader will note that there's one fewer drive measured here than shown in the 'new drives' screenshot above. That's because this is actually a set of measurements taken after I'd figured out how really I wanted to partition up the card (i.e. instead of 4x 512MBish) and formatted accordingly. What's interesting is that once I'd done a few formatting tests with Atelier's EDU (see my 'Lost & Found' collection for a download), I decided to format all the new drives the same way. In my case I opted for FAT16 with 64 Sectors per Cluster for each partitioned drive. This isn't very efficient from a space utility point of view but since I was upgrading from a 1GB card which still had about 200MB free on it to a new 2GB card, I felt that I could fairly extravagant with my space efficiency and blow it all on speed! The interesting bit is that the variances in speed measure above are therefore entirely due to the relative difference in size between the partitioned drives - just goes to show!
    any ideas how to make a 64 sectors partition with LINUX ? How to format the Cf flash disk?

  6. #6
    Join Date
    Jan 2010
    Posts
    147
    Quote Originally Posted by patrick295767 View Post
    Code:
    The observant reader will note that there's one fewer drive measured here than shown in the 'new drives' screenshot above. That's because this is actually a set of measurements taken after I'd figured out how really I wanted to partition up the card (i.e. instead of 4x 512MBish) and formatted accordingly. What's interesting is that once I'd done a few formatting tests with Atelier's EDU (see my 'Lost & Found' collection for a download), I decided to format all the new drives the same way. In my case I opted for FAT16 with 64 Sectors per Cluster for each partitioned drive. This isn't very efficient from a space utility point of view but since I was upgrading from a 1GB card which still had about 200MB free on it to a new 2GB card, I felt that I could fairly extravagant with my space efficiency and blow it all on speed! The interesting bit is that the variances in speed measure above are therefore entirely due to the relative difference in size between the partitioned drives - just goes to show!
    any ideas how to make a 64 sectors partition with LINUX ? How to format the Cf flash disk?



    Code:
     mkfs -t vfat -s 64 -F 16  /dev/sde1
    mkfs.vfat 3.0.7 (24 Dec 2009)
    WARNING: Not enough clusters for a 16 bit FAT! The filesystem will be
    misinterpreted as having a 12 bit FAT without mount option "fat=16".
    mkfs.vfat: Too many clusters for file system - try more sectors per cluster

  7. #7
    Join Date
    Jan 2010
    Posts
    147
    Quote Originally Posted by patrick295767 View Post
    Hello,

    Here is how I connect my new PSION serie 5 with Linux Debian Stable.

    (1) Hardware:
    I bought a regular irda belkin irda
    http://www.misco.co.uk/images/upload...med/133857.jpg

    (2) Get linux and install it with the cdrom
    http://www.debian.org/distrib/
    Nothing complicated
    Try Testing instead of Stable if you need more hardware support

    (3) Next step
    apt-get install irda-utils

    (4) Let's prepare it for boot

    cat /etc/rc2.d/S99psionstart
    Code:
    #!/bin/sh
    killall -e irattach
    modprobe crc_ccitt
    modprobe irda
    modprobe stir4200
    modprobe ircomm
    modprobe ircomm_tty
    irattach irda0 -s
    /etc/init.d/irda-utils restart
    mkdir -p /home/psionbackup
    cd /home/psionbackup
    while [ 1  ]  ; do 
    irpsion5 -v -r  -b  ; beep &
    done
    (Last step)
    Take your PSION and anytime during the day, to send your files to the PC, take the psion serie 5 and put both irda close to each other ie. belkin and psion 5, and send the files you want with SENDING on the psion to the LINUX box.
    Here it is.

    Sending from PSION is working
    Other way around is NOT working, with
    irpsion5 -v -s file.txt


    I have a REVO, and this works too. Both REVO and SERIE 5 PSION can send file to the LINUX MACHINE anytime !! Cool if you are looking for fast sending.

    You know any other LINUX tricks with PSION ? Please post!!

    For LINUX and PSION fans !


    --
    Happy Tux

    #
    from the LINUX box ====> PSION 5 mx , with cbeam for instance , has someone managed to send files in this way : PC to PSION 5mx.

    If yes, which program or method did you employ?

    thanks

  8. #8
    Join Date
    Mar 2011
    Posts
    2

    connection via serial port

    I try to connect my PSION 5 series to my serial port on my laptop. I use Kpsion application but I constantly get error message that:
    RFSV could not connect to ncpd at localhost:7501
    any advise?

    Thanks,

    veki

  9. #9
    Join Date
    Jan 2010
    Posts
    147
    Quote Originally Posted by veki View Post
    I try to connect my PSION 5 series to my serial port on my laptop. I use Kpsion application but I constantly get error message that:
    RFSV could not connect to ncpd at localhost:7501
    any advise?

    Thanks,

    veki

    There is nothing that really works, so you should use my commands that work:

    # at boot, by root
    # irda
    killall -e irattach
    killall -e irpsion5 irattach
    irattach irda0 -s &
    cp -r /opt/psion/usr/ /
    # for making ncpd somewhere in /usr/bin



    ls /opt/psion/usr
    ls /opt/psion/usr
    bin lib sbin share

    Code:
    sudo su
            mkdir /home/root/mypsion -p
            killall -e ncpd plpnfsd ; umount /mnt/psion/ ; sudo  ncpd -s /dev/ttyUSB0 ; sudo plpnfsd  -d /mnt/psion/ -u $(whoami) ; ls /mnt/psion/
    You need an usb to com1 converter hardware.
    I have: HL-340 USB-Serial adapter

  10. #10
    Join Date
    Mar 2011
    Posts
    2

    PSION to serial port connectivity

    I have original PSION to serial port cable so physical connectivity is OK.
    My Linux box informs me that I have ttyS0 serial port. Indeed, I have set my KPsion application to that port but still I get the same error message.
    Any suggestion?

    thanks,

    veki

  11. #11
    Join Date
    Oct 2010
    Posts
    33
    in a terminal run ncpd as root or run kdesu kpsion that will start ncpd which needs root permissions to run i had this problem and fixed it by doing this

Posting Permissions

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



Click Here to Expand Forum to Full Width