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



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • PROBLEM: Unable to add subdirectory: Ooops in sys_add_file, called from kobject_register
    ... I got an Ooops while trying to load a little kernel module I wrote. ... The module's sysfs handling/initialization is based on ... and x86_64 hardware. ... # ACPI Support ...
    (Linux-Kernel)
  • [PATCH] Doc/sysfs-rules typos
    ... Rules on how to access information in the Linux kernel sysfs ... -structures, the sysfs interface can not provide a stable interface eighter, ... system configuration bug you should not try to solve. ...
    (Linux-Kernel)
  • [PATCH 06/11] Fix Doc/sysfs-rules typos
    ... Rules on how to access information in the Linux kernel sysfs ... -structures, the sysfs interface can not provide a stable interface eighter, ... system configuration bug you should not try to solve. ...
    (Linux-Kernel)
  • Rules on how to use sysfs in userspace programs
    ... I'd like to add to the kernel Documentation directory to help userspace ... Rules to access device-information in the Linux kernel sysfs ... system configuration bug you should not try to solve. ... Properties of parent devices never belong into a child device. ...
    (Linux-Kernel)
  • [PATCH 01/61] Rules on how to use sysfs in userspace programs
    ... +The kernel exported sysfs exports internal kernel implementation-details ... o subsystem ... Always look at the parent devices themselves for determining device ...
    (Linux-Kernel)