taoso

Results 46 comments of taoso

代码里是 `kb.read_loop()` 吧,你是最新代码吗?还是自己改过了? ```python def RequestPasskey(self, device): print("RequestPasskey (%s)" % (device)) passkey = "" kb = ev.InputDevice(glob.glob('/dev/input/by-path/*event-kbd')[0]) print(kb) for event in kb.read_loop(): data = ev.categorize(event) ``` 另外 PyGObject 需要使用系统包管理器安装,pip 是装不了的,不同的发行版名字也各不相同,可以参考[这里](https://pygobject.readthedocs.io/en/latest/getting_started.html)。...

http://www.bluez.org/bluez-5-api-introduction-and-porting-guide/ . Most material on the internet is about bluez 4 api. And, http://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc

tried but failed

这个东西我好久没动了呀~

@tknapstad sorry for trouble. pydbus has been added a new `register_object` method which overflow the one the **gi.repository** offered, and made this error. I can not fix this issue now,...

@tknapstad @hh pydbus dependence version has been reverted to 0.3 at 9fba2c67cf68e7b28e0b4210d64a92dc64acda67, please make test.

@tknapstad this error is not caused by pydbus, but pygobject. Because the `bus` of `bus.register_object` is offered by pygobject at https://github.com/lvht/btk/blob/master/btk.py#L164 please offer you pygobject version.

@hh there is no need to downgrade the version of pydbus.