From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 06 Nov 2007 22:18:53 +0000 Subject: Re: usb_id segfaulting on 2.6.23 Message-Id: <20071106221853.GA8198@kroah.com> List-Id: References: <47135D33.7080805@gentoo.org> In-Reply-To: <47135D33.7080805@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel