i haveput SElinux in permissive mode and tried it dint work.
with the code below it worked
<?php
echo "hi";
$fp=fopen("/dev/ttyUSB0","w+");
if(!$fp)
echo "Port could not be opened";
else
{ sleep(3);
echo "port has been opened";
$txt="*s";
fputs($fp,$txt);
fputs($fp,$txt);
fputs($fp,$txt);
Can u tell me why is it not working with serial class?
--
View this message in context:
http://fedora.12.n6.nabble.com/php-serial-communication-in-linux-tp493859...
Sent from the Fedora List mailing list archive at
Nabble.com.