Bug 465138
Summary: | Bluetooth mouse doesn't reconnect | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeremy Fitzhardinge <jeremy> |
Component: | bluez | Assignee: | Bastien Nocera <bnocera> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | bnocera, dortlih, dwmw2, marcel, mclasen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-28 14:48:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeremy Fitzhardinge
2008-10-01 19:15:04 UTC
Do you see any relevant messages in /var/log/messages when you turn the mouse back on? What's the output of "dbus-monitor --system" when you're logged in and turn the mouse back on? There are no messages in /var/log/messages or in dmesg when I turn power back on. If I push the "pair" button on the mouse and manually run "hidd --search" it starts working again. BTW, in F9 I had to manually pair by running hidd --search, but it reconnected properly thereafter. Don't use hidd in F10. It will conflict with the input service in bluetoothd. I'm also waiting for the output of "dbus-monitor --system" when you turn the mouse back on. You might want to try, after pairing the mouse, to set it as a trusted device in the bluetooth preferences, and try again, see if it connects again correctly. I get this when I turn the mouse off: signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0/dev_00_0F_F6_6D_32_C6; interface=org.bluez.Device; member=PropertyChanged string "Connected" variant boolean false signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0/dev_00_0F_F6_6D_32_C6; interface=org.bluez.Input; member=Disconnected signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceRemoved string "/org/freedesktop/Hal/devices/bluetooth_acl_ff66d32c6_logicaldev_input" signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceRemoved string "/org/freedesktop/Hal/devices/bluetooth_acl_ff66d32c6" And nothing when I turn it on again. When I remove the device and re-pair, I get: signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0; interface=org.bluez.Adapter; member=PropertyChanged string "Discovering" variant boolean false signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0/dev_00_0F_F6_6D_32_C6; interface=org.bluez.Device; member=PropertyChanged string "Connected" variant boolean true signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded string "/org/freedesktop/Hal/devices/bluetooth_acl_ff66d32c6" signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0/dev_00_0F_F6_6D_32_C6; interface=org.bluez.Device; member=PropertyChanged string "Name" variant string "HP Bluetooth Laser Mobile Mouse" signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0/dev_00_0F_F6_6D_32_C6; interface=org.bluez.Device; member=PropertyChanged string "Alias" variant string "HP Bluetooth Laser Mobile Mouse" signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0/dev_00_0F_F6_6D_32_C6; interface=org.bluez.Device; member=PropertyChanged string "UUIDs" variant array [ string "00001000-0000-1000-8000-00805f9b34fb" string "00001124-0000-1000-8000-00805f9b34fb" string "00001200-0000-1000-8000-00805f9b34fb" ] signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0; interface=org.bluez.Adapter; member=DeviceCreated object path "/org/bluez/hci0/dev_00_0F_F6_6D_32_C6" signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0; interface=org.bluez.Adapter; member=PropertyChanged string "Devices" variant array [ string "/org/bluez/hci0/dev_00_0F_F6_6D_32_C6" ] signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0/dev_00_0F_F6_6D_32_C6; interface=org.bluez.Input; member=Connected signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded string "/org/freedesktop/Hal/devices/bluetooth_acl_ff66d32c6_logicaldev_input" signal sender=:1.5 -> dest=(null destination) path=/org/freedesktop/NetworkManager/AccessPoint/5; interface=org.freedesktop.NetworkManager.AccessPoint; member=PropertiesChanged array [ dict entry( string "Strength" variant byte 100 ) ] signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.104" string ":1.104" string "" signal sender=:1.92 -> dest=(null destination) path=/org/freedesktop/PackageKit; interface=org.freedesktop.PackageKit; member=TransactionListChanged array [ string "/22_eabaedce_data" string "/23_bbeacaee_data" string "/26_dbbaccec_data" string "/27_eeeabeac_data" ] signal sender=:1.8 -> dest=(null destination) path=/org/bluez/hci0/dev_00_0F_F6_6D_32_C6; interface=org.bluez.Device; member=PropertyChanged string "Trusted" variant boolean true Setting it to trusted didn't help. Could you please test with bluez 4.13? My mouse reconnects fine, turning it off and on again, but sometimes doesn't show up as connected in the preferences. You can double-check whether the connection is up using "hidd --show" on the command-line. 4.13 doesn't help. If I do a fresh pairing, hidd --show says: 00:0F:F6:6D:32:C6 HP Bluetooth Laser Mobile Mouse [0d62:0558] connected I turn the mouse off and it disappears from hidd --show after ~10-20 seconds. It does not reappear in hidd --show when I turn the mouse on again. When I explicitly re-pair it, it works again. No change with bluez-4.13-2.fc10.x86_64 Is there any further logging/debugging I can do to help with this? Ah! If I set the visibility setting to "temporarily visible" then the mouse reconnects fine. Presumably if I make it always visible then it would also reconnect consistently. Is it really necessary to make the computer always visible? Thanks for looking into that further. This problem sounds really bad to me, and surely is a bug in the mouse itself. I tested this with my dirt cheap Bluetooth mouse[1], and it re-connected without any manual intervention even with the adapter hidden. What model of mouse is it? Does it behave in a similar way in other operating systems (eg. Windows or MacOS X)? If your Bluetooth mouse is the main mouse on a desktop system, or a docked laptop system, it might work better in the future with: http://bugzilla.gnome.org/show_bug.cgi?id=556301 [1]: http://www.amazon.co.uk/TRUST-MI-5300M-BLUETOOTH-OPTICAL-MINI-MOUSE/dp/B00070GX18/ It's a Hewlett Packard N558 "HP Bluetooth Laser Mouse", bought from the smoking ruins of a collapsing CompUSA store. I use it with my laptop, so fortunately I always have the nub as a spare to navigate while getting the mouse working. I don't dock the laptop, and carry the mouse about with me. The mouse worked perfectly with F9, so this is a pure regression from my perspective. Its possible, however, that my F9 laptop was set to be always discoverable (I'll check when I get home; however I don't think that's true because it doesn't sound like the kind of thing I'd do). I haven't tried it with MacOS. I tried it briefly with Windows, but I don't think I tested reconnection. OK, strange. Having set the computer's visibility setting to "temporarily visible" *once*, the mouse is now happily automatically reconnecting, even with the computer now set to "hidden". I'll see what happens next time I either suspend or reboot the machine... This is now working fine for me, even if I leave the computer as "hidden" in the visibility setting. It seems that having made it visible once, something is now happy. Removing from the F10 Desktop target, I'll document this on the Fedora wiki. Mentioned in the docs now: https://fedoraproject.org/wiki/Documentation/Bluetooth Thanks! I have had the same problem. This topic has helped me so much to solve it, BUT it seems to me that it IS A BUG though. I have a BT mouse Genius Navigator 900 PRO and it works perfectly well on windows xp, and it worked perfectly well on Fedora 8. and on fedora 8 i have NOT made any tricks such as described above to make it reconnect automatically... so.. i think it is a bug. |