On Tue, 2009-06-09 at 23:26 +0200, Jiri Slaby wrote: > On 04/14/2009 11:09 PM, Jiri Kosina wrote: > > On Tue, 14 Apr 2009, Jiri Slaby wrote: > > > >>> I have an Apple bluetooth mouse (info below) and have noticed that the > >>> horizontal scrolling is inverted. I've noticed some bug reports from > >>> others getting the same behavior. I looked at drivers/hid/hid-apple.c > >>> , and around line 444 I see that APPLE_INVERT_HWHEEL gets ORed in. I > >>> tried to trace the origins of the code, but I lost track of it before > >>> 8c19a515, where you moved Apple quirks to their own file. Is this > >>> quirk definitely correct? > >>> Mouse's entry in /proc/bus/input/devices > >>> I: Bus=0005 Vendor=05ac Product=030c Version=0200 > >>> I'm running Gentoo, vanilla 2.6.29 with no patches. > >> I have no idea whether the inversion is correct or not. Or where the > >> information comes from :). > >> It was added in > >> cb3fecc2f29056e89658e7eb371e7f9be66cda6d > >> by Jiri Kosina, maybe he may shed some light on it? > > > > I created this patch based solely on a bugreport, I didn't physically own > > the hardware at that time. > > > > I think I have it somewhere. I will try to find it tomorrow or the day > > after tomorrow and verify whether the quirk is really needed. Maybe the > > original bug reporter messed up, or he had different hardware revision. > > Any news here? > > I think this is what you hit too, Andres? > > > Interesting part from the Andres' email follows: > > I have an Apple Mighty Mouse. This is how it looks with 'cat > /proc/bus/input/devices' > > I: Bus=0005 Vendor=05ac Product=030c Version=0200 > N: Name="Mighty Mouse" > > And the trackball on it has it x axis inverted. Same here, this is the info: I: Bus=0005 Vendor=05ac Product=030c Version=0200 N: Name="Mighty Mouse" P: Phys=00:13:EF:F1:42:B7 S: Sysfs=/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/bluetooth/hci0/hci0:46/input11 U: Uniq=00:14:51:D1:69:ED H: Handlers=mouse2 event7 B: EV=100017 B: KEY=f0000 0 0 0 0 B: REL=143 B: MSC=10 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html