Re: php serial communication in linux

2012-04-30 Thread Patrick Kobly
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" wrote: > i haveput SElinux in permissive mode and tried it dint work. > with the code below it worked > echo "hi"; > $fp=fopen("/dev/ttyUSB0","w+"); > if(!$fp)

Re: php serial communication in linux

2012-04-30 Thread prudhvi09
i haveput SElinux in permissive mode and tried it dint work. with the code below it worked 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 ma

Re: php serial communication in linux

2012-04-30 Thread bruce
hey... it appears you're running some sort of php script to access the serial port, for some kind of communication test. it also appears that you want to run the test from the browser. here's my suggestion. forget the browser for time being. get the test running from the cmdline. ensure the app

Re: php serial communication in linux

2012-04-30 Thread Reindl Harald
Am 30.04.2012 06:57, schrieb prudhvi09: > 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 is

Re: php serial communication in linux

2012-04-29 Thread Ed Greshko
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 iss

Re: php serial communication in linux

2012-04-29 Thread prudhvi09
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 ? -- View

Re: php serial communication in linux

2012-04-29 Thread prudhvi09
hey thanks a lot guys ..sorry to bother you again . i was opening the file directly from browser from the location htdocs ...i changed the file location to htdocs/xampp and it has started executing but there are some warnings http://fedora.12.n6.nabble.com/file/n4939982/image.png ... I have

Re: php serial communication in linux

2012-04-29 Thread Edward M
On 04/29/2012 02:22 PM, bruce wrote: hey ed, tell us/me more about what you're trying to accomplish. maybe i can help on this. let me know. Sorry for my harsh reply. i'm suffering from seasonal allergies/fever and that puts me in a bad mood. -- users mailing list users@lists.fedoraproj

Re: php serial communication in linux

2012-04-29 Thread Edward M
On 04/29/2012 03:17 PM, Reindl Harald wrote: basically you should learn to use you mailclient and keyboard for removing useless quotes like mailing-list footer and generally to try make your messages READABLE without force others to search for the nail of your answer yes, your hint that F13 is E

Re: php serial communication in linux

2012-04-29 Thread Reindl Harald
Am 30.04.2012 00:18, schrieb Edward M: >>> -- >>> 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 qu

Re: php serial communication in linux

2012-04-29 Thread Edward M
On 04/29/2012 02:22 PM, bruce wrote: really.. you tell the guy to download a copy of f16... and how the f does that help his issue? rant off... hey ed, tell us/me more about what you're trying to accomplish. maybe i can help on this. let me know. On Sun, Apr 29, 2012 at 5:03 PM, Edward

Re: php serial communication in linux

2012-04-29 Thread bruce
really.. you tell the guy to download a copy of f16... and how the f does that help his issue? rant off... hey ed, tell us/me more about what you're trying to accomplish. maybe i can help on this. let me know. On Sun, Apr 29, 2012 at 5:03 PM, Edward M wrote: > On 04/29/2012 07:35 AM, pr

Re: php serial communication in linux

2012-04-29 Thread Edward M
On 04/29/2012 07:35 AM, prudhvi09 wrote: I have installed xampp in fedora 13.I am trying to communicate with microcontroller through serial port using php serial class. My code is example.php http://fedora.12.n6.nabble.com/file/n4938590/example.php example.php .On opening example.php through fire