Date: Tue, 9 Aug 2016 08:28:47 -0500 From: Karl Denninger <karl@denninger.net> To: freebsd-usb@freebsd.org Subject: Re: Digi Watchport/T temperature sensor as /dev/ttyU Message-ID: <57A9DA8F.5000603@denninger.net> In-Reply-To: <20160809083654.25d2ac67@freyja.zeit4.iv.bundesimmobilien.de> References: <20160722183556.2fc39fd7.ohartman@zedat.fu-berlin.de> <1469206374.84197.14.camel@freebsd.org> <20160723220430.34ce02fe.ohartman@zedat.fu-berlin.de> <1469306951.84197.31.camel@freebsd.org> <20160724080330.3a27e875.ohartman@zedat.fu-berlin.de> <20160724083859.4c0dd392@ernst.home> <20160724105134.184f0b7f.ohartman@zedat.fu-berlin.de> <1469379334.84197.40.camel@freebsd.org> <CAN6yY1tUg0GeNn6hkO9NPKyKO2z58erzOYT3PkYSQ1yiX0t0Gg@mail.gmail.com> <CANCZdfoVnZHmmvNcrJgaZ2k8o6e150LGFa0svufgodn6jeJu0Q@mail.gmail.com> <1469387555.84197.48.camel@freebsd.org> <20160809083654.25d2ac67@freyja.zeit4.iv.bundesimmobilien.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On 8/9/2016 01:36, O. Hartmann wrote: > On Sun, 24 Jul 2016 13:12:35 -0600 > Ian Lepore <ian@freebsd.org> wrote: > >> On Sun, 2016-07-24 at 12:52 -0600, Warner Losh wrote: >>> On Sun, Jul 24, 2016 at 12:42 PM, Kevin Oberman <rkoberman@gmail.com> >>> wrote: >>>> There are several different USB serial drivers. Off-hand I see >>>> ubser, ubsa, >>>> uchcom, ucom, ucycom, uftdi, ubgensa, umcs, umct, umoscom, uplcom, >>>> usb_serial, uslcom, and uvscom. Whether any of these will support >>>> the TI >>>> chip, I can't say. Most have man pages, but a few, as has been >>>> noted, are >>>> lacking one. >>> I tried to automate discovery of these things. However, the only way >>> you can really know for sure about the TI chip is to read it's >>> datasheet >>> and compare that with extant drivers. It's actually easier than it >>> sounds. >>> >>> I've often thought of unification of the TTY USB drivers, since they >>> are >>> most (but not all) based on the standard plus extra bits. >>> >>> Warner >> To reiterate: we do not have a driver for TI 5052 chips. >> >> It's not much like other usb-serial chips. In fact it's not strictly a >> usb-serial chip, it's a multifunction chip that includes a software >> -controllable usb hub, 2 serial ports, gpio, an i2c bus master, an MCU >> interface, a multichannel DMA controller, and apparently even has the >> ability to download your own 8052-compatible microcontroller code into >> the 5052 and have it take over from the built-in rom code. >> >> It would be reasonable enough to write a driver that initially >> supported only the uart part of the chip. >> >> -- Ian > Now, that I know that I can not use any of our plenty Digi Watchport/T sensors > with FreeBSD, I'm looking for a cheap alternative of sensor, prefereably being > capable of taking temperature and humidity and being accessed as easy as a > serial terminal - as the Digi Watchport/T does with Linux. > > I still have a "resistance" changing the OS of our infrastructure to Linux due > to ZFS, but the very good support of drivers with the Linux OS is tempting ... > _______________________________________________ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" Does hardware platform matter? If not a very inexpensive alternative set is found on Adafruit's site for the Raspberry Pi and FreeBSD can easily talk to either some of the options directly or a cheap ($10) 4-channel 12-bit analog board. I am using this approach with the Pi2 as a pool controller with multiple temperature inputs and drive (through a relay board) to handle both the VFD-controlled pump motor and valves, plus spa heater. -- Karl Denninger karl@denninger.net /The Market Ticker/ [-- Attachment #2 --] 0 *H 010 `He 0 *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ˉ,^" ?$T8 v&K%z8C @?K{9f`+@,|Mbia 007++0)0'+0http://cudasystems.net:88880 U0 0 `HB0U0, `HB OpenSSL Generated Certificate0U-h\Ff Y0U#0$q}ݽʒm50U0karl@denninger.net0 *H Owbabɺx&Uk[(Oj!%p MQ0I!#QH}.>~2&D}<wm_>V6v]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 `He M0 *H 1 *H 0 *H 1 160809132847Z0O *H 1B@4+88>,hҒΜ,]LUpd3eڠey2Ygʢ+0l *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 B0b{jl#/rbb3baD '*_eUcu/2o&lPuY k V>ڴ[ۛdk|R+co4Y0-UKtP* W|]4E`|8e w =L:@#QD/7x5R