Hi!

The new apm scripts are very buggy...

I'm not sure how to solve the following from resume.d/10usb:

[[ -n "$USBMOUSE_RESTART" ]] && {
modprobe mousedev usbmouse
if [[ -f /var/lock/subsys/gpm ]];then
service gpm start
fi

The problem is simply: there is no /var/lock/subsys/gpm, because
suspend.d/7usb uses "service gpm stop" to stop gpm which removes the gpm
flag... (btw: "service gpm start" doesn't touch the flag on my system -
there is no /var/lock/subsys/gpm, but I can use the mouse on my text
console?!)

The resume.d/10usb and suspend.d/7usb scripts should also not test if
$USBMOUSE_RESTART and $USB_RESTART do exist/do not exist, but if they are
set to "yes" like (most) others do. Currently the usb restart is turned on
and not off (USB_RESTART="no" is in /etc/sysconfig/apmd).

-- 
  Michael Reinsch <[EMAIL PROTECTED]>                       http://mr.uue.org
------------------------------------------------------------------------

Reply via email to