Ok, i figured out why serial stopped working but not how to fix it.
I am calling a startup script in /etc/rc.local to start infinitude (/home/pi/link/infinitude/start_infinitude.sh > /dev/null 2>&1 &).
The script cd's to the dir where infinitude resides and then executes "./infinitude daemon -l http://:81"
If I kill the processes rc.local starts and then cd to the infinitude dir and run the command above i get a perms error on the socket, i know that is expected because of the port number and this doesn't seem to happen when it is chained from rc.local via the script. So if i either run the command with sudo OR i remove the http://:81 then it will work and serial data will flow (though sometimes i still have to run brybus.py to kick the serial stream into life). this proves to me i don't need to sudo the command in the script or the calling of the script from rc.local (i think).
So i removed the -l http://:81 from the script to see if that would help and still no joy the serial will not jump into life.
What i don't know is this because of how i started it via rc.local OR is this the fact that sometimes when starting infinitude one seems to have to kick the serial bus with brybus.py first.
--edit--
I am all most certain this is something to do with how the serial port is initialized, if i use sudo kill to kill the infinitude processes that rc.local and then run the command line separately it only ever seems to pick up serial data once i have run brybus.py and done a ctrl+c
Any ideas?
(PS the SAM shows up nicely when it is working!)