From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev and 30 files in /dev/
Date: Fri, 13 May 2005 20:20:28 +0000 [thread overview]
Message-ID: <20050513202027.GA13645@kroah.com> (raw)
In-Reply-To: <Pine.GSO.4.58.0505122149590.26478@adara.cs.pdx.edu>
On Fri, May 13, 2005 at 12:54:36PM -0700, Daniel wrote:
>
>
> On Fri, 13 May 2005, Greg KH wrote:
>
> > On Thu, May 12, 2005 at 09:51:52PM -0700, Daniel wrote:
> > >
> > > I've been working with irda under linux and
> > > one problem that I'm unable to explain is
> > > why udev creates /dev/ircomm0 to /dev/ircomm30
> > >
> > > How do I configure udev to only create 2 such files?
> > > Is this controlled by the udev rule set?
> >
> > No, it's controlled by the kernel. What does
> > /sys/class/whereever_ircomm_is_at show?
> >
> > It's probably the driver that is creating 30 devices.
>
>
> There is no ircomm or irda mentioned in any of the
> subdirectories of /sys/class. Could this be the problem?
Look in /sys/class/tty/ they should be in there. And they have to be
somewhere, otherwise udev will not create the device nodes :)
> If the driver is creating 30 devices through the kernel
> does the kernel have a default setting for this?
In looking at the ircomm driver, it is the one registering 32 different
devices with the tty layer. In order for it to only register the proper
devices (meaning, the ones that are actually present at that moment in
time), it would need to be modified.
So, unless you want to change the kernel, this is the way it is going to
work :)
thanks,
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_id\x16281&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
next prev parent reply other threads:[~2005-05-13 20:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 4:51 udev and 30 files in /dev/ Daniel
2005-05-13 18:53 ` Greg KH
2005-05-13 19:54 ` Daniel
2005-05-13 20:20 ` Greg KH [this message]
2005-05-13 23:16 ` Daniel
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=20050513202027.GA13645@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).