From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sat, 14 May 2005 06:04:11 +0000 Subject: Re: Need persistent node to USB port naming Message-Id: <20050514060410.GB19188@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, May 13, 2005 at 06:29:16PM -0500, Stephen Morgan wrote: >On Fri, May 13, 2005 at 12:55 PM, Greg KH wrote: >> On Fri, May 13, 2005 at 11:55:05AM -0500, Stephen Morgan wrote: >>> One problem I've run into is trying to create a dummy node that allows me to >>> communicate with the driver thru ioctl's even when no device is plugged in. >>> In 2.4, I just created a node with a minor I knew would never be used, and >>> in the driver, I filtered for that minor. > > Any thoughts on how to create this dummy device node? Um, I can't recommend _ever_ doing this kind of thing. That being said, what do you want to get to and from the driver? Why not just use sysfs files that you put in your driver's directory? That is what they are there for :) Hope this helps, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ 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