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-tp4938590p4942953.html Sent from the Fedora List mailing list archive at Nabble.com. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org