bluetooth mouse not recognized as input device

Bug #428111 reported by _tom_
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
igor
Karmic
Fix Released
Medium
Leann Ogasawara

Bug Description

System affected: Ubuntu 9.10
Device: Apple Bluetooth Mighty Mouse

What works:
Mouse is recognized as a Bluetooth device
Pairing

What doesn't work:
Mouse is not recognized as a input device

hcitool con reports:
 Connections:
        > ACL 00:23:DF:F5:7C:53 handle 11 state 1 lm MASTER

and sudo hidd --show:
00:23:DF:F5:7C:53 Mighty Mouse [05ac:030c] connected

but dmesg doesn't show the addition of a new input device (unlike jaunty)

Revision history for this message
Dion Blundell (dion) wrote :

I have the same Apple Wireless Bluetooth mouse, it pairs okay, but does not control the mouse after a pair/bond/trust.

It appeared to get broken when trying to fix a wheel mouse issue where horizontal scrolling was inverted, see here:
https://bugs.launchpad.net/linux/+bug/291408

According to
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.31
the commit for this was done on Wed Jun 10 10:25:56 2009 +0200
the problem is that they somehow seem to have removed all reference to the Apple Mighty mouse Wireless now.

According to:
http://bugzilla.kernel.org/show_bug.cgi?id=13935
A patch was applied on 2009-08-26 11:20:50 to kernel 2.6.31 (I'm not sure what release) to re-introduced the Apple mighty mouse wireless. I have no idea when/if this propagates its way to the generic or ubuntu kernel, and indeed there is no mention of this in the changelog here:
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.31
So maybe a patch hasn't been applied as bugzilla 13935 suggests?

Anyway, my mouse is still broken and I am running ubuntu 9.10 alpha 5 with kernel 2.6.31-10.32-generic

If I can test anything for anyone, or provide any more info I am willing to help.

Thanks, Dion

Revision history for this message
_tom_ (tom-gufler) wrote :

I'm not sure that this is a kernel problem as the mighty mouse works fine in jaunty + karmic (2.6.31) kernel.

Working configuration (jaunty + karmic kernel):
uname -a:
Linux tom-laptop 2.6.30-9-generic #10-Ubuntu SMP Fri Jun 12 16:01:02 UTC 2009 i686 GNU/Linux

dmesg:
[ 199.998716] input: Mighty Mouse as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/bluetooth/hci0/hci0:12/input12
[ 199.998821] apple 0005:05AC:030C.0003: input,hidraw1: BLUETOOTH HID v2.00 Mouse [Mighty Mouse] on 00:21:86:E5:50:BE

Revision history for this message
Dion Blundell (dion) wrote :

Hi Tom,
can you confirm what kernel you are using that works on karmic, your output of uname -r
says 2.6.30-9
but you say you are using 2.6.31

I could imagine that karmic would work if downgraded to 2.6.30

Dion

Revision history for this message
Dion Blundell (dion) wrote :

I have a fully updated karmic-alpha5 install
I have just downgraded to kernel 2.6.30-2-386
and I can confirm that
1) the Apple Might Mouse Wireless now works
2) left and right buttons work
3) middle click of scroll wheel works
4) vertical scroll works as intended
5) horizontal scroll works - but is inverted, you go left and scroll goes right ...

dmesg:
[ 119.293530] apple 0005:05AC:030C.0005: input,hidraw3: BLUETOOTH HID v2.00 Mouse [Apple Bluetooth Mouse] on 00:15:83:07:CB:53

Revision history for this message
_tom_ (tom-gufler) wrote :

Sorry, my mistake.
My ubuntu jaunty kernel is 2.6.30. Tried with 2.6.31 and jaunty => doesn't work.

So Dion is absolute right - it is the kernel.

Revision history for this message
don hardaway (don-hardaway) wrote :

I have the same problem with my mighty mouse--using the latest updates for karmic

Changed in udev:
status: Unknown → Confirmed
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

From the kernel bug attached, this appears to be a kernel bug

affects: udev (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: regression-potential
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Looks like the following will fix this issue. I'll build a test kernel and post back with a call for testing shortly. Thanks!

ogasawara@emiko:~/linux-2.6$ git show 42960a13001aa6df52ca9952ce996f94a744ea65
commit 42960a13001aa6df52ca9952ce996f94a744ea65
Author: Jan Scholz <email address hidden>
Date: Wed Aug 26 13:18:51 2009 +0200

    HID: completely remove apple mightymouse from blacklist

    Commit fa047e4f6fa63a6e9d0ae4d7749538830d14a343 "HID: fix inverted
    wheel for bluetooth version of apple mighty mouse" is incomplete. If
    we remove Apple MightyMouse (bluetooth version) from the list of
    apple_devices in drivers/hid/hid-apple.c we have to remove it from
    hid_blacklist in drivers/hid/hid-core.c as well.

    Signed-off-by: Jan Scholz <email address hidden>
    Signed-off-by: Jiri Kosina <email address hidden>

Changed in linux (Ubuntu):
assignee: nobody → Leann Ogasawara (leannogasawara)
status: Triaged → In Progress
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Guys,

I've built a test kernel with the above patch applied. If you can, please test and let me know your results. Thanks.

http://people.canonical.com/~ogasawara/lp428111/

Revision history for this message
_tom_ (tom-gufler) wrote :

I would gladly test this kernel, however my ubuntu installation is x64. Could you provide a 64-bit kernel for testing?

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi _tom_,

I just kicked off a 64bit build. I'll post here when it's ready. Thanks!

Revision history for this message
nick parlante (nick-parlante) wrote :

Hey Leann -- I was testing karmic and I have that mouse, so I downloaded the 3 debs you have above http://people.canonical.com/~ogasawara/lp428111/

Installed them on a eeepc 1005ha that was running karmic alpha 6, and the apple wireless mighty mouse began working. All the buttons and horizontal and vertical scroll -- cool!

I had to fiddle around a bit to get it to boot the right kernel.

In installed the kernel essentially with "dpkg -i *.deb". Just rebooting at that point gave uname -a of 2.6.21.10-generic #34 which I think is the alpha 6 one, and in any case the mouse continued to connect but not work in any way.

However, if at boot I manually 2.6.31-10-386 then uname -a is 2.6.31-10-386 #35+lp428111v1 which is what you supplied, and the mouse then works. I thought that dpkg -i would make it boot that kernel, but obviously there's some detail of kernel selection that I'm not understanding. Anyway, thanks it looks perfect on this machine.

Cheers,

Nick

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Sweet, thanks for testing and the feedback Nick.

_tom_, as promised, I've posted 64bit images for testing as well. They can be found in the same directory location posted earlier, http://people.canonical.com/~ogasawara/lp428111/ . Definitely also let me know your results. Thanks!

affects: udev → linux
Revision history for this message
_tom_ (tom-gufler) wrote :

Hi Leann,

your provided 64bit kernel fixed the apple bluetooth mouse problem. Nothing special needed - booting, pairing, using.

So thanks a lot.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

_tom_, thanks for testing. I've submitted the patch to the Ubuntu kernel team mailing list for consideration to be included in Karmic.

https://lists.ubuntu.com/archives/kernel-team/2009-September/007278.html

Revision history for this message
Dion Blundell (dion) wrote :

This kernel works as expected for my Apple Wireless mouse, it now works, thanks Leann.

In summary:
1) bluetooth moue works and controls pointer
2) horozontial scrolling works as expected
3) vertical scrolling works as expected
4) middle button works

Revision history for this message
Tim Gardner (timg-tpi) wrote :
Changed in linux (Ubuntu Karmic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.31-11.37

---------------
linux (2.6.31-11.37) karmic; urgency=low

  [ Tim Gardner ]

  * [Config] Increase kernel log buffer to 256K for amd64 flavours
    - LP: #424810
  * [Config] Set HZ=100 for amd64 flavours
    - LP: #438234
  * [Upstream] e1000e: Emit notice instead of an error when
    pci_enable_pcie_error_reporting() fails
    - LP: #436370

  [ Upstream Kernel Changes ]

  * n_tty: honor opost flag for echoes
  * n_tty: move echoctl check and clean up logic
    - LP: #438310

  * Revert "[Upstream] drm/i915: Check that the relocation points to within
    the target" - Use upstream cherry-pick.
  * drm/i915: Check that the relocation points to within the target
    - LP: #429241

  * drm/i915: fix tiling on IGDNG
  * drm/i915: add B43 chipset support
  * agp/intel: Add B43 chipset support
    Intel request from kernel team mailing list.

  * HID: completely remove apple mightymouse from blacklist
    - LP: #428111

 -- Tim Gardner <email address hidden> Mon, 28 Sep 2009 11:47:29 -0600

Changed in linux (Ubuntu Karmic):
status: Fix Committed → Fix Released
Changed in linux:
status: Confirmed → Fix Released
Revision history for this message
Dion Blundell (dion) wrote :

I can confirm that my Apple Mighty Mouse s now works.

I'm using Ubuntu 9.10 Beta, with kernel 2.6.31-11.38 and my mouse works.

Thanks:
- Leann Ogasawara - for a test kernel with the patch, and submitting the patch to the Kernel team
- Tim Gardner - for the committ

Revision history for this message
mklemm (mirko-cm-klemm) wrote :

Hmmm, I'm using Karmic beta with 2.6.31.14.27, and both mouse and wireless bluetooth keyboard are paired and controlled OK, but the Migthy Mous doesn't generate any input events when you click one of the buttons. It does, however, move the cursor, and the track ball is also working.

Revision history for this message
powpow (mazelman) wrote :

Hi,

just installed ubuntu 9.10 on my macbook 2.1. Tryed to get my mighty mouse to work. Did not connect right. My solution.

1. synaptic install bluez-compact to get the hidd search thing working
2. terminal sudo hidd --search you should get an error like this:

Searching ...
 Connecting to device 00:14:51:C4:EE:41
Can't create HID control channel: Connection refused
you need your device number! That's the number above.

3. terminal sudo gedit /etc/bluetooth/hcid.conf
4. put that in with your device number!

device 00:14:51:C4:EE:41 {
    name "Mighty Mouse"
    auth enable;
    encrypt enable;
}

5. terminal sudo hidd --search that's it mouse connected hope it works for you too!

igor (riiwwukraine)
Changed in linux (Ubuntu):
assignee: Leann Ogasawara (leannogasawara) → igor (riiwwukraine)
Changed in linux:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.