Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2097 - XFree86 wheelmouse problems
Summary: XFree86 wheelmouse problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Pieter Van den Abeele (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-25 06:44 UTC by Chris Lee
Modified: 2006-02-04 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lee 2002-04-25 06:44:11 UTC
Basically, the problem is that the scrollwheel to scroll 'up' doesn't work with the out-of-the-box 
ebuild for XFree86 4.2.0-r9. 
 
The 'down' scrolling works fine. (This is with Option "ZAxisMapping" "4 5" in /etc/X11/XF86Config-4) 
 
I recompiled X from the straight 4.2.0 source, and had no problems with it after it was recompiled, 
so I'm fairly sure that this is a bug with the X build setup. Someone in #gentooppc suggested that 
ebuild using make -j2 might be to blame, but I'm not sure. 
 
Other specs: iBook2 DVD, 600MHz, 384MB of RAM. Gentoo/PPC with an ISO from 4/22/2002.
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2002-04-25 07:29:11 UTC
Could you tell me which mouse you're using (MS mouse?) 
I've temporarily commented out emake and replaced it with a plain make in ppc portage. Please 
test it out (I've got no scrollwheel...) and email pvdabeel@gentoo.org / drobbins@gentoo.org if 
this solved the problem



Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2002-04-25 17:35:10 UTC
Fixed...

I'll assign it to drobbins (xfree maintainer?) so that he may add the change to x86 portage

Comment 3 Pieter Van den Abeele (RETIRED) gentoo-dev 2002-04-25 17:36:31 UTC
drobbins: could you add the change to xfree?
Comment 4 Mark Guertin 2002-04-26 16:03:06 UTC
That change of emake World to make World didn't fix the problem.  Both 
myself and DocTomoe in #gentooppc tested and neither of us have a 
functional up scrollwheel as of yet.

The person that did test it out didn't uninstall their vanilla xfree before 
emerging the new build.
Comment 5 Paul Clifford 2002-05-11 18:17:48 UTC
The problem appears to be that some code in XFree86 assumes char's are signed by
default, which requires -fsigned-char on the PPC.  In xc/config/cf/linux.cf
DefaultCCOptions is set to -fsigned-char when PpcArchitecture is defined, but
the ebuild overrides this, setting it to -ansi:

    echo "#define DefaultCCOptions -ansi" >> config/cf/host.def

I've compiled a recent CVS checkout of XFree86 with -fsigned-char and I now have
a working wheel mouse!
Comment 6 Mark Guertin 2002-05-17 10:31:54 UTC
You are correct Paul.  I made some changes in the r9 ebuild and tested
successfully last night.  Happily using my scrollwhell in both directions now. 
I passed the changes along to daybird so we should see this in the ebuild soon
enough :)
Comment 7 Mark Guertin 2002-06-07 11:28:38 UTC
This bug is resolved by the (still masked) xfree-r11 build