On 01/03/2012 08:48 AM, Jerry Geis wrote:

I have a USB to serial converter attached to my box.

if I login to the box and send/receive serial commands over this unit it works without error EVERY time.

however, if I run the same command set from with-in the extensions.conf with System() I get errors in dmesg like "pl2303 ttyUSB0: pl2303_open - failed submitting read urb, error -22"

On Tue, 3 Jan 2012, Jerry Geis wrote:

So if its not permissions (since its running as root) what else might it be?

(Assuming /home/silentm/bin/ is not an NFS mount that root can't access as root.)

PATH or other environment variables?

Does

        sudo env --ignore /home/silentm/bin/usbserial -start

yield any clues?

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to