Re: php serial communication in linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 has the correct privs, as well as the correct user
 (i have no idea what that should be)
ensure that selinux isn't interfering
once this works as you expect it to, then you can modify whatever you need to,
 then you can get it running from the browser.



On Mon, Apr 30, 2012 at 12:44 AM, prudhvi09 <prudhvi09@xxxxxxxxx> wrote:
> 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 used the command : chmod 0777 /dev/ttyUSB0  to give permissions
> .  I have also tried to add the apache user "prudhvi" to the dialout group
> by using command : $ usermod -a -G dialout prudhvi .
>
> But it doesnt work  . I have used the "$whoami" to check name of user  and
> added that user "prudhvi" to the dialout group . It still doesnt work .
> Please help me guys.
>
> --
> View this message in context: http://fedora.12.n6.nabble.com/php-serial-communication-in-linux-tp4938590p4939982.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
-- 
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux