Probably because "COM14" is not a valid way to refer to a serial port in a 
Linux environment.


On 2012-05-01, at 12:02 AM, "prudhvi09" <prudhv...@gmail.com> wrote:

> 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@lists.fedoraproject.org
> 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

-- 
users mailing list
users@lists.fedoraproject.org
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

Reply via email to