Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2009 21:52:30 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Justin Hibbits <jrh29@alumni.cwru.edu>
Cc:        current@freebsd.org
Subject:   Re: Creating /dev links to dynamic devices
Message-ID:  <alpine.BSF.2.00.0910242134540.24264@wonkity.com>
In-Reply-To: <fd9cd3450910242026p6f9d84cap274b03deee6534ee@mail.gmail.com>
References:  <alpine.BSF.2.00.0910241934310.23784@wonkity.com> <fd9cd3450910241907k5661e1b3jfdcf6f59d73a4e5f@mail.gmail.com> <alpine.BSF.2.00.0910242102400.24135@wonkity.com> <fd9cd3450910242026p6f9d84cap274b03deee6534ee@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---902635197-712873081-1256442751=:24264
Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15
Content-Transfer-Encoding: 8BIT

On Sat, 24 Oct 2009, Justin Hibbits wrote:
> On Sat, Oct 24, 2009 at 11:19 PM, Warren Block <wblock@wonkity.com> wrote:
> On Sat, 24 Oct 2009, Justin Hibbits wrote:
> 
> On Sat, Oct 24, 2009 at 10:00 PM, Warren Block <wblock@wonkity.com> wrote:
>
>       devfs.conf allows creating static device links:
>
>       link    acd0    cdrom
>
>       This only runs on devfs startup, so it's useless for creating a link to a
>       dynamic device.
> 
> I guess I misread your original post.  Why do you want to add actions based on the creation of the uscanner node? 

In this case, so I can run scanbuttond on creation of uscanner0.  Yes, 
that could be done on detection of the vendor and product IDs and using 
the ugen device for this example.

But it seems to show that either the ability to dynamically create 
"static device links" isn't there, or I just haven't found it yet.

-Warren Block * Rapid City, South Dakota USA
---902635197-712873081-1256442751=:24264--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0910242134540.24264>