Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2016 20:04:54 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Karl Denninger <karl@denninger.net>, freebsd-usb@freebsd.org
Subject:   Re: Digi Watchport/T temperature sensor as /dev/ttyU
Message-ID:  <58fa3f8a-cb10-7757-b5a8-862ae76770de@selasky.org>
In-Reply-To: <2e196c65-1de6-3627-9bd8-633763727a55@denninger.net>
References:  <20160722183556.2fc39fd7.ohartman@zedat.fu-berlin.de> <1469206374.84197.14.camel@freebsd.org> <2e196c65-1de6-3627-9bd8-633763727a55@denninger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/22/16 19:16, Karl Denninger wrote:
> What do you think about my screwing with the driver to provide a
> modest-sized dynamic stack that would use the sysctl interface to
> add/delete vendor/product pairs for this purpose?  With a modest but
> reasonable limit this then becomes something that can be used in a
> production environment since you probably would have a modest number of
> these devices on USB for any particular individual system and now you
> don't have to futz with the kernel to add/remove them.
>
> I implemented an application read/write piece to a ugen-attached device
> but it would have been nice to be able to poke this instead via such a
> "hook"; if I write it and submit it as a PR what do people think about
> its odds of being committed?

Hi,

It has been suggested to extend the quirks subsystem, to be able to add 
custom attach / detach rules to central USB device drivers.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58fa3f8a-cb10-7757-b5a8-862ae76770de>