Something that I find useful when dealing with ttys, is looking in /dev/tty is full of virtual terminals which most folks never use (anyone used /dev/tty60 to /dev/tty64).
One thing you can do which makes it easier to look at this directory for debugging is create a file called
/etc/udev/rules.d/99-my-tty-rules.rules
Put this one line in
Code: Select all
KERNEL=="tty[1-9][0-9]", RUN="/bin/rm /dev/%k" OPTIONS+="ignore_devices"
then at start up you have only /dev/tty0 to /dev/tty9 the list is so much easier to look through.
This is a variation of
this page
Next to no performance enhancement just a nicety when searching through lists. No extra hassle done at every boot, if you dont like delete the file and reboot.
Simples

Just another techie on the net - For GPIO boards see http:///www.facebook.com/pcservicesreading
or http://www.pcserviceselectronics.co.uk/pi/