All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: usb stick is not found under /udev
Date: Sat, 07 Feb 2004 19:27:58 +0000	[thread overview]
Message-ID: <20040207192757.GA5003@kroah.com> (raw)
In-Reply-To: <1076158298.29585.29.camel@moen.bioinf.mdc-berlin.de>

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

      parent reply	other threads:[~2004-02-07 19:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-07 12:51 usb stick is not found under /udev Juergen Rose
2004-02-07 13:21 ` Kay Sievers
2004-02-07 14:58 ` Juergen Rose
2004-02-07 15:08 ` Kay Sievers
2004-02-07 15:37 ` Juergen Rose
2004-02-07 16:12 ` Kay Sievers
2004-02-07 19:14 ` Juergen Rose
2004-02-07 19:27 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040207192757.GA5003@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.