php serial communication in linux

Ed Greshko Ed.Greshko at greshko.com
Mon Apr 30 05:03:32 UTC 2012


On 04/30/2012 12:57 PM, prudhvi09 wrote:
> When I send a command directly from the terminal using the command : echo 1 >
> /dev/ttyUSB0 it works and '1' is transmitted to the serial port . But using
> php I get the above warnings . I dont understand where the problem is .  Is
> it a permissions issue ? If not what could be the problem ?

I've no experience with php    But, the error message....

Warning: Specified serial port is not valid in
/opt/lampp/htdocs/xampp/php_serial.class on line 147

would have me looking to see if what I think should be defined on line 147 is really
what is being defined.


-- 
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage


More information about the users mailing list