Bug 13182 - Apple wireless Mighty Mouse has inverted horizontal scrolling
Summary: Apple wireless Mighty Mouse has inverted horizontal scrolling
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jiri Kosina
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-25 20:08 UTC by Martey Dodoo
Modified: 2010-02-23 22:57 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.28
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Modified hid files por apple mighty mouse bluetooth (18.48 KB, application/zip)
2009-05-16 07:39 UTC, Andrés León Álvarez
Details

Description Martey Dodoo 2009-04-25 20:08:56 UTC
When I use my wireless Mighty Mouse to horizontal scroll, it is inverted (moving the ball right scrolls left, and vice versa). I believe this is because the APPLE_INVERT_HWHEEL quirk is added to the wireless Mighty Mouse when it does not need to be.

There is more discussion at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/291408

From /proc/bus/input/devices:

I: Bus=0005 Vendor=05ac Product=030c Version=0200
N: Name="martey’s mouse"
P: Phys=00:22:68:EB:7E:F8
S: Sysfs=/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/bluetooth/hci0/hci0:11/input32
U: Uniq=00:14:51:CC:3B:59
H: Handlers=mouse3 event11 
B: EV=100017
B: KEY=f0000 0 0 0 0 0 0 0 0
B: REL=143
B: MSC=10
Comment 1 Andrés León Álvarez 2009-05-16 07:39:57 UTC
Created attachment 21372 [details]
Modified hid files por apple mighty mouse bluetooth

removes the quirk that inverts horizontal scroll and a small polish to how the product ID is referenced
Comment 2 Andrés León Álvarez 2009-05-16 07:44:38 UTC
How may I propose to fix the mighty mouse with this patched files I just uploaded zipped???

Do I have to make a diff or something?

Maybe submitting the patch somewhere else?

Also, adding another mighty mouse with product ID 0x1000 might be necessary. But I cannot tell for sure cause I don't have such mouse to do some testing. (It appears that the horizontal scroll was inverted to make that OTHER mighty mouse trackball work correctly, with the wrong product ID though)
Comment 3 Jiri Kosina 2009-06-17 13:26:57 UTC
The inverted wheel problem should be fixed by commit fa047e4f6fa63a6e9d0ae4d7749538830d14a343, if not, please reopen.

With 0x1000 the problem is slightly different -- the scrollwheel doesn't seem to be present at all, and a different quirk (yet unknown) will be needed.
Comment 4 Martey Dodoo 2009-07-20 01:26:01 UTC
As reported at http://www.spinics.net/lists/linux-input/msg04037.html, commit fa047e4f6fa63a6e9d0ae4d7749538830d14a343 ended up removing Mighty Mouse support. The patch in that email message has restored it, and fixed the scrolling issue.
Comment 5 Martey Dodoo 2009-10-20 04:46:09 UTC
Fixed by 42960a13001aa6df52ca9952ce996f94a744ea65.

Note You need to log in before you can comment on or make changes to this bug.