Bug 5044 - После resume не поднимается pcmcia
: После resume не поднимается pcmcia
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/pcmcia-cs)
: unstable
: all Linux
: P2 critical
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2004-08-21 17:50 by
Modified: 2005-10-31 21:58 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-08-21 17:50:05
После resume не поднимается pcmcia.

shrek@ предложил следующее:
/etc/apm/scripts.d/pcmcia
--------------------------------------------------------------------------
#!/bin/sh -e
# Restart pcmcia around suspend/resume.
# suspend,resume: 70,20

[ -x /etc/init.d/pcmcia ] || exit 0

lock=/var/run/apm/pcmcia

case "$1,$2" in
        suspend,*)
                if [ -f /var/lock/subsys/pcmcia ]; then
                        service pcmcia stop
                        touch "$lock"
                else
                        rm -f "$lock"
                fi
                ;;
        resume,suspend)
                if [ -f "$lock" ]; then
                        rm -f "$lock"
                        service pcmcia start
                fi
                ;;
esac

exit 0
-------------------------------------------------------------------------

/etc/apm/suspend.d/70pcmcia -> ../scripts.d/pcmcia
/etc/apm/resume.d/20pcmcia -> ../scripts.d/pcmcia
------- Comment #1 From 2004-08-25 20:16:41 -------
Это должно быть в соответствующем пакете.
------- Comment #2 From 2004-08-25 20:17:19 -------
Reassigned to maintainer.
------- Comment #3 From 2005-06-20 20:28:05 -------
reassign to mantainer
------- Comment #4 From 2005-06-20 20:56:46 -------
исправлено в pcmcia-cs-3.2.8-alt5