Serial port trouble

props
Hi people.

I'm trying to connect to my serial port via Android but I always get an
error. I've recompiled Android kernel to enable serial ports and they are
shown in /dev/ttyS0, /dev/ttyS1 and /dev/ttyS2. Is there anything more to
do, maybe some boot param?

Thanks.