Hi, 2008/10/14 Nicola Mfb <[EMAIL PROTECTED]>
> HI! > ReMoko works quote nice on my freerunner with fso (some times i have to > restart it many times before it runs well), but I have problems on the PC > side. > If I use hidd --connect <bt neo address> it runs fine, but if I use dbus > CreateConnection method it fails. > As hidd is deprecated and provided only for compatibility I'd like to know > if the problems is in bluez or in ReMoko hid profile emulation. > > If someone has a bt keyboard may try if this simple python script works > (from wiki.bluez.org)? > This script doesn't work in my systems, all my systems have the input service activated by default, so fails on the service activation, and if I disable the input plugin the script fails again in this line: bus_id = bmgr.ActivateService('input') The script runs in your system without problems ? which BlueZ version do you have ? Best regards, -- Valério Valério http://www.valeriovalerio.org > > > import dbus > bus = dbus.SystemBus() > # service activation > bmgr = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), > 'org.bluez.Manager') > bus_id = bmgr.ActivateService('input') > imgr = dbus.Interface(bus.get_object(bus_id, '/org/bluez/input'), > 'org.bluez.input.Manager') > > # device creation > path = imgr.CreateDevice('xx:xx:xx:xx:xx:xx') > idev = dbus.Interface (bus.get_object(bus_id, path), > 'org.bluez.input.Device') > > # host initiated connection > idev.Connect() > > > replace xx... with your keyboard bt address, and with neo bt address after > having remoko launched. > > Thanks > > Nicola > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > >
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community