Re: [linux-pm] [RFC] USB device persistence across suspend-to-disk

Greg KH
2006-09-06T15:09:57Z

On Wed, Sep 06, 2006 at 05:36:38AM +0000, Pavel Machek wrote:
> Hi!
>
> > > > +main kernel instead of as a separate module, you can put
> > > > +"usbcore.persist=1" on the boot command line. You can also change the
> > > > +kernel's behavior on the fly using sysfs: Type
> > > > +
> > > > + echo y >/sys/module/usbcore/parameters/persist
> > >
> > > Does sysfs treat 'y' as '1'?
> > > Anyway, it would be Good to be consistent.
> >
> > Yes; I'll change everything to 'y'.
>
> Actually I'd prefer 0/1... that's what other parts of kernel use IIRC.

The module paramater parsing code in the kernel will accept either, so
it really isn't a big deal.

thanks,

greg k-h