Messages in this thread | | | Date | Mon, 20 Feb 2006 22:18:23 +0100 | From | Stefan Richter <> | Subject | Re: ieee1394 failed to work after S3 resume. |
| |
Matthias Bläsing wrote: >>Subodh Shrivastava wrote: >>>Suspend to Ram works fine here with 2.6.16-rc3 kernel except ieee1394 >>>fails to resume properly. ... > A workaround till then is the usage of a script (I use hibernate and > have blacklisted ohci1394), that unloads ohci1394 prior to suspending > and reloading the module after resume.
Note, -mm contains a patch which lets sbp2 raise ohci1394's use count while it is logged in to a target. http://www.kernel.org/git/?p=linux/kernel/git/scjody/ieee1394.git;a=commitdiff;h=d415a9a9685578058800f2677bfeb8090fc212a1
If you run -mm or once this patch is merged, you have to adapt your script to either unload sbp2 before ohci1394, or you have to detach sbp2 via sysfs before attempting to unload ohci1394: # echo 1 > /sys/bus/ieee1394/drivers/sbp2/${guid}-${ud}/ignore_driver (for each device) The corresponding sequence after reloading ohci1394 would be # echo 0 > /sys/bus/ieee1394/devices/${guid}-${ud}/ignore_driver (for each device) # echo 1 > /sys/bus/ieee1394/rescan (once) -- Stefan Richter -=====-=-==- --=- =-=-- http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |