Pi 安裝freeSWITCH (1)-編譯 Sofia-sip and SpanDSP

freeSWITCH新版本已經將 Sofia-sipSpanDSP 獨立,安裝freeSWITCH之前需要編譯 Sofia-sipSpanDSP 函數庫才能正確執行,以下操作請在root權限或是sudo

安裝套件

sudo apt install -y git subversion build-essential autoconf automake libtool libncurses5 libncurses5-dev make libjpeg-dev libtool libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libldns-dev libedit-dev yasm libopus-dev cmake autoconf libtool liblua5.2-dev libcurl4-openssl-dev libexpat1-dev libgnutls28-dev libtiff5-dev libx11-dev unixodbc-dev libssl-dev python-dev zlib1g-dev libasound2-dev libogg-dev libvorbis-dev libperl-dev libgdbm-dev libdb-dev uuid-dev libsndfile1-dev
libmariadb-dev python3 pip

(閱讀全文…)

 Linux /etc/skel 目錄

目的

/etc/skel/目錄是用來存放新使用者配置檔案的目錄,當新增新使用者(useradd)的時候,這個目錄下的所有檔案會自動被複制到新新增的使用者的家目錄下。執行下面指令查看/etc/skel

ls -la /etc/skel/

ls所包含的命令:

 列出 USB Plug 資訊

USB Plug資訊可以由udevadm info [device name or path],但往往插入USB後跟本不知道產生週邊對應的資訊,可能知道在/sys/bus/usb/devices/,執行ls -l得到結果如下:

/sys/bus/usb/devices $ ls -la
total 0
drwxr-xr-x 2 root root 0 May 17 13:17 .
drwxr-xr-x 4 root root 0 May 17 13:17 ..
lrwxrwxrwx 1 root root 0 May 17 13:17 1-0:1.0 -> ../../../devices/platform/soc/3f980000.usb/usb1/1-0:1.0
lrwxrwxrwx 1 root root 0 May 17 13:17 1-1 -> ../../../devices/platform/soc/3f980000.usb/usb1/1-1
lrwxrwxrwx 1 root root 0 May 17 13:17 1-1.1 -> ../../../devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1
lrwxrwxrwx 1 root root 0 May 17 13:17 1-1.1:1.0 -> ../../../devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1:1.0
lrwxrwxrwx 1 root root 0 May 17 13:17 1-1:1.0 -> ../../../devices/platform/soc/3f980000.usb/usb1/1-1/1-1:1.0
lrwxrwxrwx 1 root root 0 May 17 13:17 usb1 -> ../../../devices/platform/soc/3f980000.usb/usb1

這個列表比較不直覺,接下來可以利用幾個命令取直接取得真實的位置 (閱讀全文…)

 COM Name Arbiter Tool 刪除 清除 被佔用COM PORT

COM Name Arbiter Tool 刪除 清除 被佔用COM PORT

最近使用USB to Serial的機會變高,但令人困擾的是想要變更指定的COM名稱,卻會看到使用中的字樣,但卻不知道怎麼處理?

此時請教Google大神得到的大都是要自已變更Registry的內容,但主要都是教怎麼釋放所有的COM名稱,卻無法知道有哪些設備使用COM名稱。

(閱讀全文…)