Subject: kern/34105: NetBSD 3.0.1 kernel goes back on mousescroll quirk required for Apple's Mighty Mouse
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 07/28/2006 19:30:01
>Synopsis: NetBSD 3.0.1 kernel goes back on mousescroll quirk required for Apple's Mighty Mouse
>Arrival-Date: Fri Jul 28 19:30:00 +0000 2006
>Originator: Gilbert Fernandes
>Release: NetBSD x30 3.0.1
NetBSD x30 3.0.1 NetBSD 3.0.1 (X30) #0: Tue Jul 25 21:57:12 UTC 2006 root@x30:/usr/src/sys/arch/i386/compile/X30 i386
On my computer, I am using GENERIC with APM turned on
(no other change)
When using NetBSD 3.0 kernel, the mousescroll on the mighty mouse
works properly. Going up goes up, going down goes down.
When using the NetBSD 3.0.1 kernel, it no longer works.
The scroll up and down on the mouse is inactive, and using scroll-left and right on the mouse makes it scroll up and down.
That problem comes from the Might Mouse in fact. Apple did very strange mappings for the scrolling ball on that mouse (I did post a message to netbsd-users about this a few monthes ago btw)
here is what xevent says :
scrolling up = no event
scrolling down = no event
scrolling left = button 5
(this does the scroll down)
scrolling right = 4
(this does the scroll up)
Someone has fixed that Mighty Mouse f*cked mapping (thanks Apple) in NetBSD 3.0 but it seems someone removed that quirk on NetBSD 3.0.1 (perhaps while trying to fix a mistake which is not NetBSD's one but Apple's one)
Mighty Mouse scrolls properly on NetBSD 3.0 under X
Under 3.0.1 kernel the scroll up/down events are not even passed from mouse to X and left/right scrolling gives you the up/down scroll.
In kernel, when Mighty Mouse is found,
map button 4 to scroll up button
map button 5 to scroll down button