lkml.org 
[lkml]   [2012]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: loading firmware while usermodehelper disabled.
Date
> On Sun, 1 Jan 2012 20:39:45 +0000
>
> Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > When you suspend the power gets killed so the device loses its firmware
> > and goes back to being a firmware requesting thing on resume.
> >
> > Worse still - you don't easily know if the device is in fact new and was
> > added while suspended, or was always there.
> >
> > So for those devices you do need to load the firmware into them
> > automatically after the resume to work out what they are and get the MAC
> > to see if its the same wireless card or not.
>
> Well, that does not prevent you from caching the firmware once you
> got it from userspace and keep it until module unload (or probably device
> close), so that it is already available on resume.

That's actually wrong. If you cached every single firmware, the kernel would
gulp down a lot of space that can't be swapped out!

M


\
 
 \ /
  Last update: 2012-01-02 04:27    [W:0.186 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site