From owner-freebsd-usb@freebsd.org Tue Aug 9 06:37:03 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A419BB3EE3; Tue, 9 Aug 2016 06:37:03 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ECBEB1CE8; Tue, 9 Aug 2016 06:37:02 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1bX0eq-001ejG-8P>; Tue, 09 Aug 2016 08:37:00 +0200 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (envelope-from ) id <1bX0ep-001Rub-VE>; Tue, 09 Aug 2016 08:37:00 +0200 Date: Tue, 9 Aug 2016 08:36:54 +0200 From: "O. Hartmann" To: Ian Lepore Cc: Warner Losh , Kevin Oberman , FreeBSD CURRENT , "freebsd-usb@FreeBSD.org\" Subject: Re: Digi Watchport/T temperature sensor as /dev/ttyU Message-ID: <20160809083654.25d2ac67@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <1469387555.84197.48.camel@freebsd.org> 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> <1469387555.84197.48.camel@freebsd.org> Organization: FU Berlin X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 06:37:03 -0000 On Sun, 24 Jul 2016 13:12:35 -0600 Ian Lepore wrote: > On Sun, 2016-07-24 at 12:52 -0600, Warner Losh wrote: > > On Sun, Jul 24, 2016 at 12:42 PM, Kevin Oberman > > 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 ...