From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sat, 07 Feb 2004 19:27:58 +0000 Subject: Re: usb stick is not found under /udev Message-Id: <20040207192757.GA5003@kroah.com> List-Id: References: <1076158298.29585.29.camel@moen.bioinf.mdc-berlin.de> In-Reply-To: <1076158298.29585.29.camel@moen.bioinf.mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Feb 07, 2004 at 08:14:11PM +0100, Juergen Rose wrote: > > I really don't have a /etc/hotplug/block.agent or > /etc/hotplug/scsi_device.agent. Should I have? No, that has nothing to do with udev. > Line 27 of /etc/udev/udev.rules is: > > BUS="usb", PLACE="2.4", NAME="mouse2" > > Now I can mount and access my usb stick with > > mount /udev/mouse2 /mnt/hd , Heh. I suggest getting rid of a rule that does not work, like this one :) > that's nice. This is not, what I expect my hardware recognition. If I > comment line 27 of /etc/udev/udev.rules and restart udev I find finally > the /udev/stick* entries. But, is this commenting of line 27, the best > way to do it? Um, why would you want that rule? It's incorrect for your system it seems. > There is still something interesting. If I try to redirct the output of > /etc/init.d/udev start to a file by: > > /etc/init.d/udev start 2>&1 | tee -a /var/log/hotplug/hotplug_debug.log > > using udev, compiled with 'make DEBUG=true', it needs very long time or > it even not finishes. Without redirection there is no problem. With DEBUG=true, and adding all devices in your system, udev takes a long time. There's a lot of messages getting spit out to the system log. Go away and it will eventually finish... thanks, greg k-h ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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