[asterisk-users] Question on system command 1.4.43

Steve Edwards asterisk.org at sedwards.com
Tue Jan 3 12:27:26 CST 2012


> 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       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list