Sebastianie
standardowo ten port jest zajęty, aby użyć go przez aplikacje dstarrepeater trzeba zmienić wpisy w dwóch plikach
/boot/cmdline.txt
/etc/inittab
co pięknie jest opisane np:
http://raspberrypihobbyist.blogspot.com/2012/08/raspberry-pi-serial-port.html First, disable the boot up and diagnostic output to the serial port.
sudo vi /boot/cmdline.txtand remove the two options referring to the serial port.
So, thisdwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
becomes thisdwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
Second, disable the login promptsudo vi /etc/inittabfind the line near the end
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
and delete it or comment it out by putting a # at the start of the line.
Reboot and the serial port will now be free for your exclusive use.