From owner-freebsd-current@freebsd.org Fri Aug 26 13:49:25 2016 Return-Path: Delivered-To: freebsd-current@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 E8F46B70779; Fri, 26 Aug 2016 13:49:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 ADC6A9C8; Fri, 26 Aug 2016 13:49:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id BA61F1FE022; Fri, 26 Aug 2016 15:49:23 +0200 (CEST) Subject: Re: Digi Watchport/T temperature sensor as /dev/ttyU To: "O. Hartmann" , Ian Lepore 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> <20160826153842.586a559b@freyja.zeit4.iv.bundesimmobilien.de> Cc: Warner Losh , Kevin Oberman , FreeBSD CURRENT , "\"freebsd-usb@FreeBSD.org\\\" " From: Hans Petter Selasky Message-ID: <36ca2c4c-bf9d-ed12-0b14-a2afc861c5f7@selasky.org> Date: Fri, 26 Aug 2016 15:53:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20160826153842.586a559b@freyja.zeit4.iv.bundesimmobilien.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 13:49:26 -0000 On 08/26/16 15:38, O. Hartmann wrote: > It is a USB interface PCB with an AT90USB162 microcontroler chip. > Attached to a FreeBSD 12-CURRENT system, it reports itself as a UHID device. > there is also a software package available - for Windows and Linux, but it > doesn't work for FreeBSD, the package compiles and produces a cmdline binary, > but it fails reading the sensor data - the uhid driver seems to be unloaded > during the call. I have no skills in writing low-level USB software, so my > explanation is slopy, sorry. But there is hope I can use this one. Hi, Could you send a link to this Linux software? It should work basically! Is your libusb up-to-date? You can trace USB activity using "usbdump -i usbusX -f Y -s 65536 -vvv". Maybe some command failed. Did you try "usbhidaction" to decode the data received? --HPS