Re: reloading firewire modules after suspend causes trouble
Hello Florian,
as far as I know, Firewire (ieee1394, ohci1394, sbp2) always needed to
be deactivated (rmmod them) before going to sleep. Actually, this is
kind of annoying, because of the processes using the devices. I wrote
a little script to do this (see below). But still this did not work
properly from /etc/power/pwrctl-local :(
The prompt you get does not look like xmon, though. It is a strange
debug message.
It is a sad thing, that the firewiredrivers don't support sleeping and
that they cannot be compiled into the kernel.
Bye, claas
-----
#!/bin/sh
case "$1" in
start)
echo "Starting firewire harddisk..."
modprobe -k ieee1394
modprobe -k ohci1394
modprobe -k sbp2
modprobe -k sd_mod
modprobe -k sg
./rescan-scsi-bus.sh # change the path / not always needed
mount /firewire
;;
stop)
echo "Shutting down firewire harddisk..."
fuser -m /firewire # or use fuser -mk /firewire ** have a try!
umount /firewire
modprobe -r sbp2
modprobe -r ohci1394
modprobe -r sg
modprobe -r sd_mod
;;
*)
echo "Usage: $0 [start|stop]"
;;
esac
Reply to: