Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2016 12:16:07 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: Digi Watchport/T temperature sensor as /dev/ttyU
Message-ID:  <2e196c65-1de6-3627-9bd8-633763727a55@denninger.net>
In-Reply-To: <1469206374.84197.14.camel@freebsd.org>
References:  <20160722183556.2fc39fd7.ohartman@zedat.fu-berlin.de> <1469206374.84197.14.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 7/22/2016 11:52, Ian Lepore wrote:
> On Fri, 2016-07-22 at 18:35 +0200, O. Hartmann wrote:
>> For temperature monitoring, we have a bunch of Digi Watchport/T
>> sensors: 
>>
>> http://ftp1.digi.com/support/documentation/90000406_H.pdf
>>
>>
> [...]
>
> I think the attached patch will make it show up as a ttyU*/cuaU* device
> for you.  (You should probably use the /dev/cuaU* flavor, to avoid
> problems with tty layer and modem control signals).
>
> I keep wishing we had a mechanism, like a sysctl that could be set or
> something, that would let you supply a vendor/product pair and have the
> ugensa driver attach to that device, for quick testing of this sort of
> thing.
>
> -- Ian
>

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?

-- 
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

[-- Attachment #2 --]
0	*H
010
	`He0	*H
_0[0C)0
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA0
150421022159Z
200419022159Z0Z10	UUS10UFlorida10U
Cuda Systems LLC10UKarl Denninger (OCSP)0"0
	*H
0
X@vkY
Tq/vE]5#֯MX\8LJ/V?5Da+
sJc*/r{ȼnS+w")ąZ^DtdCOZ ~7Q '@a#ijc۴oZdB&!Ӝ-<	?HN5y
5}F|ef゘"Vلio74zn">a1qWuɖbFeGE&3(KhixG3!#e_XƬϜ/,$+;4y'Bz<qT9_?rRUpn5
Jn&Rx/p Jyel*pN8/#9u/YPEC)TY>~/˘N[vyiDKˉ,^" ?$T8v&K%z8C @?K{9f`+@,|Mbia007++0)0'+0http://cudasystems.net:88880	U00	`HB0U0,	`HB
OpenSSL Generated Certificate0U-h\Ff Y0U#0$q}ݽʒm50U0karl@denninger.net0
	*H
Owbabɺx&Uk[(Oj!%pMQ0I!#QH}.>~2&D}<wm_>V6v]f>=Nn+8;q wfΰ/RLyUG#b}n!Dր_up|_ǰc/%ۥ
nN8:d;-UJd/m1~VނיnN I˾$tF1&}|?q?\đXԑ&\4V<lKۮ3%Am_(q-(cAeGX)f}-˥6cv~Kg8m~v;|9:-iAPқ6ېn-.)<[$KJtt/L4ᖣ^Cmu4vb{+BG$M0c\[MR|0FԸP&78"4p#}DZ9;V9#>Sw"[UP7100010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	`HeM0	*H
	1	*H
0	*H
	1
160722171607Z0O	*H
	1B@u	?g#E([i#+skI9
Y
OzEVQ#Ky)e0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0*H
	1010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	*H
o_e9Ğ=%sz*PHʶR02di~c2Mj%{'5q/Q.<ZΏޤsLxuhs͔	Xƃ7m`
t`
x;9J9-?od(}SQkf&<Hi~C6V\ߚAps4ƬhUH|}(
% fFZqsʛt[?aPsC_P_Bmu_Ɯ&&Ƅ62o^*QܤAqAm`,#ގRTɦ0!R,#T2kK#f5WsSՄXԦA;>׾{ooekރԀNf+'bp$ԯFaϯTC5;^7Sg{-xSCJ#Z(|̂rALcj=:kʅv.FB
j٪݉?]

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e196c65-1de6-3627-9bd8-633763727a55>