pmud 0.7-3 (powerpc)
Package: pmud 0.7-3 for powerpc
Kernel: linux 2.2.18 from ftp.kernel.org
gcc 2.95.2-20
libc6 2.2.1-1
XFree 4.0.2-1
System: Apple PowerBook G3-400 (Lombard)
Description of bug:
Situation before sleep:
=======================
the system uses
/dev/input/mouse0 as core-pointer, and
/dev/input/mouse1 as external USB pointer.
The relative settings in the /etc/X11/XF86Config-4
file are as follows:
>Section "ServerLayout"
> Identifier "XFree86 Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse1" "CorePointer"
> InputDevice "Mouse2" "SendCoreEvents"
> InputDevice "Keyboard0" "CoreKeyboard"
>EndSection
># ADB Mouse (TrackPad)
>Section "InputDevice"
> Identifier "Mouse1"
> Driver "mouse"
> Option "Protocol" "IMPS/2"
> Option "Device" "/dev/input/mouse0"
>EndSection
># USB Mouse (external)
>Section "InputDevice"
> Identifier "Mouse2"
> Driver "mouse"
> Option "Protocol" "IMPS/2"
> Option "Device" "/dev/input/mouse1"
> Option "Buttons" "5"
> Option "ZAxisMapping" "4 5"
>EndSection
Both devices are active and working at boot time, infact:
>input0: Macintosh mouse button emulation
>ADB mouse at 3, handler set to 4 (trackpad)
>mouse0: PS/2 mouse device for input3
>mouse1: PS/2 mouse device for input0
>mice: PS/2 mouse device common for all mice
and XF4 is able to see them properly.
So far so good.
Situation after sleep:
======================
At wake-up, the core pointer is unable to move.
As root, I stop gdm, then restart it. XF4 is not
able to restart, and /var/log/XFree86.0.log
reports the following error:
> (EE) xf86OpenSerial: Cannot open device /dev/input/mouse0
> No such device.
> (EE) Mouse1: cannot open input device
> (EE) PreInit failed for input device "Mouse1"
>
> (II) UnloadModule: "mouse"
> (**) Option "Protocol" "IMPS/2"
> (**) Mouse2: Protocol: "IMPS/2"
> (**) Option "SendCoreEvents"
> (**) Mouse2: always reports core events
> (**) Option "Device" "/dev/input/mouse1"
> (**) Option "Buttons" "5"
> (**) Mouse2: Buttons: 5
> (**) Option "ZAxisMapping" "4 5"
> (**) Mouse2: ZAxisMapping: buttons 4 and 5
> (II) Keyboard "Keyboard0" handled by legacy driver
> (WW) No core pointer registered
> (II) XINPUT: Adding extended input device "Mouse2" (type: MOUSE)
> No core pointer
>
> Fatal server error:
> failed to initialize core devices
>
I believe pmud does not wake up /dev/mouse0.
It does seem to wake up /dev/mouse1, as from the log.
When using /dev/input/mice I had no such problems.
Additional infos available on request.
Regards.
Sergio
Reply to: