Thinkspad T400连接缤特力M1100蓝牙耳机

搞了一个蓝牙耳机,这样我的大手机打电话就方便很多了,有一天想把它连在笔记本上,这样Skype打个电话也方便,这耳机本来就支持连接两个手机的。

于是按说明书上写的,按住通话键直到红绿灯闪烁,然后从电脑上点添加蓝牙设备,找到之后成功添加,可是,为啥没声音呢。。。于是网上找答案。

开始以为是电脑不支持A2DP,后来看应该是支持的,据说是驱动有问题,需要Broadcom的蓝牙驱动。最后从联想官网找到这个: ThinkPad Bluetooth with Enhanced Data Rate II 软件(Windows 7/Vista),下载下来一看,结果我早就安装了。。。汗,那就是设置问题了。

于是开始查找,先看蓝牙设备里头的PLT_M1100属性,Services里头有一个Audio Sink没选,直接勾上。还是没声音,再右键一点右下角的声音图标,出来一个Playback devices,应该就是这个了,驱动没问题,只是没选择用;进去之后直接把Bluetooth Hands-free audio设成默认的设备就可以了。Recording设备也选择蓝牙,这样就可以了。

CentOS 6.5安装Freeswitch 1.5小记

Windows下的Freeswitch没有VP8编码,源码里头也没有相应的工程,于是最后决定还是搞台单独的linux服务器。

系统CentOS 6.5 64位,运维的同事装的,应该是个标准版,没有装那些开发包。

Freeswitch的安装过程参考官网wiki,下载的就是git里头最新的版本。

安装过程中遇到一个sqlite的错误。

checking for sqlite3 >= 3.6.20… Package sqlite3 was not found in the pkg-config search path. Perhaps you should add the directory containing `sqlite3.pc’ to the PKG_CONFIG_PATH environment variable No package ‘sqlite3’ found
configure: error: Library requirements (sqlite3 >= 3.6.20) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

试了一下:[root@localhost freeswitch]# sqlite3
SQLite version 3.6.20
Enter “.help” for instructions

想想应该是少开发包了:[root@localhost freeswitch]# yum install sqlite-devel

后边碰到缺libcurl也照样解决

[root@localhost freeswitch]# yum install libcurl-devel

后面又缺了libpcre:

[root@localhost freeswitch]# yum install pcre
[root@localhost freeswitch]# yum install pcre-devel

speex :

[root@localhost freeswitch]# yum install speex
[root@localhost freeswitch]# yum install speex-devel

最后报了一个mod_xml_rpc.c的错,说参数个数不符,这个就有点麻烦了,也不知道是哪里不匹配,看看这模块似乎也暂时用不上,直接注释掉就可以了。

服务器有公网IP,而且只有一块网卡,所以直接启动就可以了。记得在防火墙里头打开端口,或者直接关掉防火墙(不建议)。