Re: usb_id segfaulting on 2.6.23

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

 



On Tue, Nov 06, 2007 at 05:54:14PM +0000, Daniel Drake wrote:
> Daniel Drake wrote:
>> Alan Stern wrote:
>>> Ah, okay.  This is a known problem, a configuration-related issue.  The 
>>> PM core doesn't create a device's /sys/.../power subdirectory
>>> unless CONFIG_PM_SLEEP is set.  In fact it should be created whenever
>>> CONFIG_PM is set.
>>>
>>> I haven't had time to write a patch for this yet.  Do you want to try?
>> OK. Any comments on this before I sent it to the proper channels?
>
> Missed a hunk where I remove the existing dpm_sysfs_add() call from 
> drivers/base/power/main.c but you get the idea.. although I'm increasingly 
> unsure if this is the right approach.

It looks like a sane fix to me, as long as all of the different config
combinations work properly.

thanks,

greg k-h
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux