On 2/23/02 5:51 PM, Stew Benedict wrote:
>
> On Sat, 23 Feb 2002, David Cheng wrote:
>
>> Hi,
>>
>> I've successfully installed the 8.2 Beta on my 7500, but I'm having some odd
>> problems with X/Xpmac. I initially selected XFree86 as the X server, and it
>> installed without a problem. However, when I rebooted, the mouse did not
>> function at all. I checked the XF86Config file, and everything looked fine,
>> except that the mouse was listed as PS/2. I recalled that I had previously
>> used IMPS/2, so I changed that, made sure that /dev/mouse was pointing to
>> /dev/usbmouse (I'm using a generic USB mouse connected to a SIIG PCI USB
>> card; never had any problems prior to this), and restarted. This didn't
>> change anything, so I decided that maybe I should try Xpmac. Installed
>> Xpmac, and restarted, and now the mouse worked, but the keymap was wrong
>> (possibly because it is using the pc layout?). So my question is: what can
>> I do to get one of the X servers working properly? I'm not quite sure how
>> to pass arguments to Xpmac because it doesn't use the XF86Config file, and
>> some of the documentation I've looked at appears to be somewhat dated
>> because it doesn't seem to apply to the setup I can see.
>>
>
> If XFree86 works aside from the mouse, stick with it. Xpmac is really a
> last resort. You say mouse works in console but not X?
OK, I'll stick with XFree now. It was nice to have it install correctly
from the installer; thanks! Actually, what happens is that the mouse does
not work in XFree if I boot directly into it, but when I boot into the
console and run startx, everything appears to work properly. So I can work
around this problem by starting in runlevel 3.
>
>> Some additional info:
>>
>> 1) There do not appear to be any error messages when I boot into runlevel 5.
>> /var/log/XFree86.0.log (or whatever) does not report any errors.
>>
>
> X won't complain about lack of mouse, as the config is now.
>
>> 2) If I boot into runlevel 3 and start XFree86, everything appears to work
>> properly; if I start Xpmac from runlevel 3, the keymaps are still incorrect.
>> The console mouse appears to work properly, and the keymaps appear correct
>> when I boot into runlevel 3.
>>
>> 3) I don't think it's a kernel issue, but I get the same results when I use
>> a self-built 2.4.18-rc2-benh kernel.
>>
>
> Please post the mouse section of you XF86config-4, as well as the contents
> of /etc/sysconfig/mouse. Also what does /dev/mouse point to, and
> /dev/usbmouse?
>
> Normal setup: /dev/mouse --> /dev/usbmouse --> /dev/input/mice
This looks like my setup, with symlinks like you described.
This is the mouse section of my XF86Config-4:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
and this is the contents of /etc/sysconfig/mouse:
MOUSETYPE=ps/2
XMOUSETYPE=PS/2
FULLNAME="USB|Generic"
XEMU3=yes
WHEEL=no
device=usbmouse
Do the mousetypes in /etc/sysconfig/mouse need to match the protocol in
XF86Config? I believe that's the way it was originally, since all I changed
in the mouse section was the protocol (from ps/2 to imps/2). Anyway, as I
said before, I can work around this problem by booting to the console, but
it would be nice to be able to boot directly into X if I want to.
Thanks for your work on this.
>
> This setup noramlly will pickup either an adb or usbmouse, and in the
> case of my Powerbook allows me to use both the trackpad and a mouse with
> no config change.
>
>
> Stew Benedict
dc