This message contains the following attachment(s):
information.txt
Hello everybody,
I am trying to get a dell keyboard and mouse working with the
simple-agent.py but after the connection the devices do not work.
Would somebody be able to fix the simple-agent.py so I can connect to my
keyboard and mouse. I am willing to donate some dutch stroopwafels to
the person fixing the simple-agent.py
Please see all the debug information in the attachment.
Kind regard,
Jelle
sudo hciconfig
hci0: Type: USB
BD Address: 00:1B:DC:00:32:71 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING
RX bytes:1386 acl:0 sco:0 events:84 errors:0
TX bytes:891 acl:0 sco:0 commands:84 errors:0
hci1: Type: USB
BD Address: 00:09:DD:50:34:72 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING
RX bytes:22587714 acl:122 sco:0 events:3226229 errors:0
TX bytes:898619176 acl:3232540 sco:0 commands:84 errors:0
hci2: Type: USB
BD Address: 00:15:AF:F4:E9:E0 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:1433 acl:0 sco:0 events:95 errors:0
TX bytes:8112 acl:0 sco:0 commands:95 errors:0
sudo hcitool -i hci0 scan
Scanning ...
00:07:61:8A:42:DF Dell BT Mouse
python .simple-agent.py hci0 00:07:61:8A:42:DF
RequestPinCode (/org/bluez/hci0/dev_00_07_61_8A_42_DF)
Enter PIN Code: 0000
Release
New device (/org/bluez/hci0/dev_00_07_61_8A_42_DF)
# mouse does not work.... indication is that it is not paired
sudo hcitool info 00:07:61:8A:42:DF
Requesting information ...
BD Address: 00:07:61:8A:42:DF
Device Name: Dell BT Mouse
LMP Version: 1.2 (0x2) LMP Subversion: 0x545
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xfc 0xff 0x0f 0x00 0x08 0x08 0x00 0x00
<encryption> <slot offset> <timing accuracy> <role switch>
<hold mode> <sniff mode> <park state> <RSSI> <channel quality>
<SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log>
<CVSD> <paging scheme> <power control> <transparent SCO>
<AFH cap. slave> <AFH cap. master>
------------------------------------------------------------------------
sudo hciconfig
hci0: Type: USB
BD Address: 00:1B:DC:00:32:71 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING
RX bytes:7215 acl:189 sco:0 events:262 errors:0
TX bytes:3950 acl:132 sco:0 commands:103 errors:0
hci1: Type: USB
BD Address: 00:09:DD:50:34:72 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING
RX bytes:22853231 acl:122 sco:0 events:3264160 errors:0
TX bytes:909175320 acl:3270512 sco:0 commands:84 errors:0
hci2: Type: USB
BD Address: 00:15:AF:F4:E9:E0 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:1433 acl:0 sco:0 events:95 errors:0
TX bytes:8112 acl:0 sco:0 commands:95 errors:0
# turn on the keyboard by moving the switch from the 0 to the | sign
# turn off the mouse by moving the switch from the | to the 0 sign
# press the bluetooth connect button on the keybaord for 5 seconds
sudo hcitool -i hci0 scan
Scanning ...
00:07:61:8A:1A:AA Dell BT Keyboard
python .simple-agent.py hci0 00:07:61:8A:1A:AA
RequestPinCode (/org/bluez/hci0/dev_00_07_61_8A_1A_AA)
Enter PIN Code: 0000
Release
New device (/org/bluez/hci0/dev_00_07_61_8A_1A_AA)
# keyboard does not work.... indication is that it is not paired
sudo hcitool info 00:07:61:8A:1A:AA
Requesting information ...
BD Address: 00:07:61:8A:1A:AA
Device Name: Dell BT Keyboard
LMP Version: 1.2 (0x2) LMP Subversion: 0x545
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xfc 0xff 0x0f 0x00 0x08 0x08 0x00 0x00
<encryption> <slot offset> <timing accuracy> <role switch>
<hold mode> <sniff mode> <park state> <RSSI> <channel quality>
<SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log>
<CVSD> <paging scheme> <power control> <transparent SCO>
<AFH cap. slave> <AFH cap. master>
------------------------------------------------------------------------
bluetoothd[3385]: bonding_request_new(00:07:61:8A:42:DF)
bluetoothd[3385]: adapter_get_device(00:07:61:8A:42:DF)
bluetoothd[3385]: adapter_create_device(00:07:61:8A:42:DF)
bluetoothd[3385]: Creating device /org/bluez/hci0/dev_00_07_61_8A_42_DF
bluetoothd[3385]: Temporary agent registered for hci0/00:07:61:8A:42:DF at :1.39:/test/agent
bluetoothd[3385]: adapter_get_device(00:07:61:8A:42:DF)
bluetoothd[3385]: link_key_request (sba=00:1B:DC:00:32:71, dba=00:07:61:8A:42:DF)
bluetoothd[3385]: kernel auth requirements = 0x00
bluetoothd[3385]: pin_code_request (sba=00:1B:DC:00:32:71, dba=00:07:61:8A:42:DF)
bluetoothd[3385]: hcid_dbus_new_auth_request
bluetoothd[3385]: link_key_notify (sba=00:1B:DC:00:32:71, dba=00:07:61:8A:42:DF)
bluetoothd[3385]: hcid_dbus_bonding_process_complete: status=00
bluetoothd[3385]: adapter_get_device(00:07:61:8A:42:DF)
bluetoothd[3385]: Releasing agent :1.39, /test/agent
bluetoothd[3385]: Probe drivers for /org/bluez/hci0/dev_00_07_61_8A_42_DF
bluetoothd[3385]: hid_device_probe: path /org/bluez/hci0/dev_00_07_61_8A_42_DF
bluetoothd[3385]: Registered interface org.bluez.Input on path /org/bluez/hci0/dev_00_07_61_8A_42_DF
bluetoothd[3385]: adapter_get_device(00:07:61:8A:42:DF)
bluetoothd[3385]: bonding_request_new(00:07:61:8A:1A:AA)
bluetoothd[3385]: adapter_get_device(00:07:61:8A:1A:AA)
bluetoothd[3385]: adapter_create_device(00:07:61:8A:1A:AA)
bluetoothd[3385]: Creating device /org/bluez/hci0/dev_00_07_61_8A_1A_AA
bluetoothd[3385]: Temporary agent registered for hci0/00:07:61:8A:1A:AA at :1.42:/test/agent
bluetoothd[3385]: adapter_get_device(00:07:61:8A:1A:AA)
bluetoothd[3385]: link_key_request (sba=00:1B:DC:00:32:71, dba=00:07:61:8A:1A:AA)
bluetoothd[3385]: kernel auth requirements = 0x00
bluetoothd[3385]: pin_code_request (sba=00:1B:DC:00:32:71, dba=00:07:61:8A:1A:AA)
bluetoothd[3385]: hcid_dbus_new_auth_request
bluetoothd[3385]: link_key_notify (sba=00:1B:DC:00:32:71, dba=00:07:61:8A:1A:AA)
bluetoothd[3385]: hcid_dbus_bonding_process_complete: status=00
bluetoothd[3385]: adapter_get_device(00:07:61:8A:1A:AA)
bluetoothd[3385]: Releasing agent :1.42, /test/agent
bluetoothd[3385]: Probe drivers for /org/bluez/hci0/dev_00_07_61_8A_1A_AA
bluetoothd[3385]: hid_device_probe: path /org/bluez/hci0/dev_00_07_61_8A_1A_AA
bluetoothd[3385]: Registered interface org.bluez.Input on path /org/bluez/hci0/dev_00_07_61_8A_1A_AA
bluetoothd[3385]: adapter_get_device(00:07:61:8A:1A:AA)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bluez-devel