Excellent, thanks Claire, this works for me too. My card now works reliably after startup (unlike issues I was having in comment 43), and running echo enabled > /proc/acpi/ibm/wan brings the card back reliably too as far as I can tell.
I was able to automate this by creating a script at /usr/lib/pm-utils/sleep.d/30wwan containing:
#!/bin/sh
#
# Bring WWAN card back up after suspend / hibernate.
#
. "${PM_FUNCTIONS}"
# Record the current operation to allow failure detection.
case "$1" in thaw|resume) echo enabled > /proc/acpi/ibm/wan
;;
esac
This may well be a horrible implementation, I just used one of the existing scripts as a guide. Corrections welcome, but it does work for me.
Excellent, thanks Claire, this works for me too. My card now works reliably after startup (unlike issues I was having in comment 43), and running echo enabled > /proc/acpi/ibm/wan brings the card back reliably too as far as I can tell.
I was able to automate this by creating a script at /usr/lib/ pm-utils/ sleep.d/ 30wwan containing:
#!/bin/sh
#
# Bring WWAN card back up after suspend / hibernate.
#
. "${PM_FUNCTIONS}"
# Record the current operation to allow failure detection.
thaw|resume)
echo enabled > /proc/acpi/ibm/wan
case "$1" in
;;
esac
This may well be a horrible implementation, I just used one of the existing scripts as a guide. Corrections welcome, but it does work for me.