### 之前购买了一个杂牌的蓝牙鼠标,凑或着在HP的笔记本上用,悲剧的发现在ubuntu上竟然无法正常工作
蓝牙查找,配对都没有问题,但就是无法移动或者点击,使用blueman-manager看到有链接,有速率,但不能动就一切白费了。
系统是ubuntu 14.04的,以为这个版本太老了,就更新到15.10吧,结果发现15.10竟然也不可以。这人品也太差了。
刚装完系统,趁着下载android sdk的时间,随便浏览查找下吧。
不过,在15.10上,通过dmesg可以查看到有一个和蓝牙相关的异常
[ 2621.659748] hid-generic 0005:0A5C:0001.000B: unknown main item tag 0x0 [ 2621.659869] input: Bluetooth 3.0 Mouse as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0/hci0:256/0005:0A5C:0001.000B/input/input24 [ 2621.660094] hid-generic 0005:0A5C:0001.000B: input,hidraw3: BLUETOOTH HID v1.29 Mouse [Bluetooth 3.0 Mouse] on 34:e6:ad:d1:c5:bc
和蓝牙相关,就使用google搜索下看看有没有解决方案吧,结果在stackexchange[http://unix.stackexchange.com/questions/177998/bluetooth-mouse-disconnects] 看到有人问相同的问题,这里直接给答案吧:
# /etc/bluetooth/input.conf 设置如下项 [General] IdleTimeout=0 # 我的还必须打开下面的选项 UserspaceHID=true
然后
sudo service bluetooth restart
蓝牙鼠标再次重连竟然能用了