[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: firewire bus after waking from sleep



On Mon, Aug 26, 2002 at 04:37:30PM -0700, Nicolas Lopez wrote:
> 
> > > Does anyone have any sugegstions on how to 'restore' the bus after
> > > coming out of sleep so the burner is useable again?
>   As somebody else mentioned, you have to remove the 1394 drivers before you
> sleep. I mean all of them, ieee1394, ohci1394, sbp2, maybe sd_mod for good
> measure.  You can then reload them when you wake or want to use the device
> again.
> 

yep, i have been removing all the firewire drivers in the correct
order each time I tested it.  i don't know what 'sd_mod' refers to.
It's not on my system.  Is this 'SD'?  If so, it is built into the
kernel by default on the woody newpmac kernel.

Here are the modules normally loaded on my machine (I've not loaded
the firewire drivers after the last boot):

nls_iso8859-1           2944   0 (autoclean)
pwcx                   91744   0
ipt_LOG                 3680   7 (autoclean)
ipt_MASQUERADE          1856   2 (autoclean)
ipt_state               1024  16 (autoclean)
iptable_filter          2144   1 (autoclean)
ip_nat_ftp              3664   0 (unused)
iptable_nat            17572   2 [ipt_MASQUERADE ip_nat_ftp]
ip_tables              13968   7 [ipt_LOG ipt_MASQUERADE ipt_state
iptable_filte
r iptable_nat]
ip_conntrack_ftp        4052   0 (unused)
ip_conntrack           17420   3 [ipt_MASQUERADE ipt_state
ip_nat_ftp iptable_na
t ip_conntrack_ftp]
ppp_deflate            44760   0 (autoclean)
bsd_comp                4672   0 (autoclean)
ppp_async               8544   1 (autoclean)
macserial              39332   1 (autoclean)
ppp_generic            24584   3 (autoclean) [ppp_deflate bsd_comp
ppp_async]
slhc                    4768   0 (autoclean) [ppp_generic]
appletalk              24852  12 (autoclean)
hid                    21044   0 (unused)
r128                   91864   1
nfsd                   76560   8 (autoclean)
pwc                    39592   0 [pwcx]
videodev                3856   1 [pwc]
dmasound_pmac          47064   2
i2c-core               14744   0 [dmasound_pmac]
dmasound_core          13624   2 [dmasound_pmac]
soundcore               4776   3 [dmasound_core]
ide-scsi                9728   0
rtc      

The way I see it, even thgouh I remove the drivers and reload them
each time, the second time I load them is not as 'clean' (for want
of a better word) as the first time.  


i don't know what i am talking about ... ;-)


joss

> > i have similar problems with a firewire disk - unload the driver (perhps
> > in the pwctl script) before sending it to sleep works for me. the
> > firewire drivers seem not to clearly reinitalize after suspend....
>   Unless somebody has worked on it the driver(ohci1394) doesn't do anything
> to properly sleep or resume.  It just gets powered off by the PMU then
> clicked back on, thus it's uninitialized when it wakes.
> 
>   I may try to kludge some sleep support into ohci1394, but don't hold your
> breath on me having anything that works for a while.
>  
>   - Nick Lopez
>     kimo_sabe@atdot.org
> --
> "One World, One Web, One Program" - Microsoft Promotional Ad
> "Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 



Reply to: