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名称。

(阅读全文…)