https://bugzilla.novell.com/show_bug.cgi?id=726894 https://bugzilla.novell.com/show_bug.cgi?id=726894#c0 Summary: bluedevil-1.2.1-1.1 Add Device reports "Scanning..." on GUI even after it stopped scanning Classification: openSUSE Product: openSUSE 12.1 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: KDE4 Applications AssignedTo: kde-maintainers@suse.de ReportedBy: howard.bryan.webb@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 See steps to reproduce below. hcidump output was: t4:/home/webbb # hcidump -t -a -x HCI sniffer - Bluetooth packet analyzer ver 2.0 device: hci0 snap_len: 1028 filter: 0xffffffff 2011-10-27 09:30:01.781264 < HCI Command: Inquiry (0x01|0x0001) plen 5 lap 0x9e8b33 len 8 num 0 2011-10-27 09:30:01.783339 > HCI Event: Command Status (0x0f) plen 4 Inquiry (0x01|0x0001) status 0x00 ncmd 1 2011-10-27 09:30:12.011624 > HCI Event: Inquiry Complete (0x01) plen 1 status 0x00 2011-10-27 09:30:42.003935 < HCI Command: Inquiry (0x01|0x0001) plen 5 lap 0x9e8b33 len 8 num 0 2011-10-27 09:30:42.007616 > HCI Event: Command Status (0x0f) plen 4 Inquiry (0x01|0x0001) status 0x00 ncmd 1 2011-10-27 09:30:52.234917 > HCI Event: Inquiry Complete (0x01) plen 1 status 0x00 2011-10-27 09:31:23.003234 < HCI Command: Inquiry (0x01|0x0001) plen 5 lap 0x9e8b33 len 8 num 0 2011-10-27 09:31:23.006777 > HCI Event: Command Status (0x0f) plen 4 Inquiry (0x01|0x0001) status 0x00 ncmd 1 2011-10-27 09:31:33.234081 > HCI Event: Inquiry Complete (0x01) plen 1 status 0x00 2011-10-27 09:32:04.002392 < HCI Command: Inquiry (0x01|0x0001) plen 5 lap 0x9e8b33 len 8 num 0 2011-10-27 09:32:04.005938 > HCI Event: Command Status (0x0f) plen 4 Inquiry (0x01|0x0001) status 0x00 ncmd 1 2011-10-27 09:32:04.016939 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -55 2011-10-27 09:32:04.080548 < HCI Command: Create Connection (0x01|0x0005) plen 13 bdaddr 00:16:53:01:D5:43 ptype 0xcc18 rswitch 0x01 clkoffset 0x72b5 (valid) Packet type: DM1 DM3 DM5 DH1 DH3 DH5 2011-10-27 09:32:04.082936 > HCI Event: Command Status (0x0f) plen 4 Create Connection (0x01|0x0005) status 0x00 ncmd 1 2011-10-27 09:32:04.657826 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -54 2011-10-27 09:32:05.188737 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b4 class 0x000804 rssi -69 2011-10-27 09:32:05.499684 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -53 2011-10-27 09:32:05.640661 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -54 2011-10-27 09:32:05.670657 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b4 class 0x000804 rssi -69 2011-10-27 09:32:05.731646 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -56 2011-10-27 09:32:06.012599 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b4 class 0x000804 rssi -72 2011-10-27 09:32:06.303551 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -54 2011-10-27 09:32:06.343544 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b4 class 0x000804 rssi -57 2011-10-27 09:32:09.476021 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b4 class 0x000804 rssi -61 2011-10-27 09:32:10.466855 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -54 2011-10-27 09:32:12.018600 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b4 class 0x000804 rssi -58 2011-10-27 09:32:12.409535 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -55 2011-10-27 09:32:12.999434 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b4 class 0x000804 rssi -57 2011-10-27 09:32:13.040437 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -56 2011-10-27 09:32:13.391368 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -54 2011-10-27 09:32:13.552342 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b4 class 0x000804 rssi -60 2011-10-27 09:32:13.993268 > HCI Event: Inquiry Result with RSSI (0x22) plen 15 bdaddr 00:16:53:01:D5:43 mode 1 clkoffset 0x72b5 class 0x000804 rssi -54 2011-10-27 09:32:14.233239 > HCI Event: Inquiry Complete (0x01) plen 1 status 0x00 2011-10-27 09:32:14.233446 < HCI Command: Remote Name Request (0x01|0x0019) plen 10 bdaddr 00:16:53:01:D5:43 mode 2 clkoffset 0x0000 2011-10-27 09:32:14.236232 > HCI Event: Command Status (0x0f) plen 4 Remote Name Request (0x01|0x0019) status 0x00 ncmd 1 2011-10-27 09:32:14.392209 > HCI Event: Link Key Request (0x17) plen 6 bdaddr 00:16:53:01:D5:43 2011-10-27 09:32:14.392413 < HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6 bdaddr 00:16:53:01:D5:43 2011-10-27 09:32:14.395205 > HCI Event: Command Complete (0x0e) plen 10 Link Key Request Negative Reply (0x01|0x000c) ncmd 1 status 0x00 bdaddr 00:16:53:01:D5:43 2011-10-27 09:32:44.177443 < HCI Command: Create Connection Cancel (0x01|0x0008) plen 6 bdaddr 00:16:53:01:D5:43 2011-10-27 09:32:44.180237 > HCI Event: Command Complete (0x0e) plen 10 Create Connection Cancel (0x01|0x0008) ncmd 1 status 0x00 bdaddr 00:16:53:01:D5:43 2011-10-27 09:32:44.323219 > HCI Event: Connect Complete (0x03) plen 11 status 0x16 handle 11 bdaddr 00:16:53:01:D5:43 type ACL encrypt 0x00 Error: Connection Terminated by Local Host Reproducible: Always Steps to Reproduce: 1. make sure that bluedevil system tray menu says "not discoverable" 2. make sure there are no bluetooth devices in the vicinity 3. turn off your target bluetooth device 4. run hcidump -t -a -x in a separate shell 5. click on the bluedevil system tray icon to expose the bluedevil menu 6. verify that the hcidump pgm has no output yet 7. click on bluedevil menu item Add Device 8. verify that a Bluetooth Device Wizard popup is displayed 9. verify that the popup has a "Scanning..." indicator displayed 10. verify that hcidump reports ~40 second scan cycle (10 secs scan, 30 secs sleep) 11. during a sleep cycle, turn on your bluetooth device so it can be discovered 12. verify that the hcidump output communicates with the device during the next scan cycle 13. verify that the device is identified on the popup with an icon and its MAC addr (and/or maybe its name) 14. verify the popup continues to report "Scanning..." (instead of "Device found" or "Scan complete" 15. verify that hcidump reports no more output (i.e. the 40 second scan cycle is no longer operating) Actual Results: bluedevil popup reports it is scanning when it isn't Expected Results: Either of a couple of possibilities: 1) bluedevil popup reports something like "Scan complete" (which suggests that maybe a rescan button should also be present on the popup), or 2) the scan cycle continues There are many types of bluetooth devices, some of which have multiple modes/configurations. The user may want to reconfigure the device after its discovered, and have it rediscovered under its new configuration. The Scanning... would be misleading under this circumstance. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.