Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2016 15:53:55 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>, Ian Lepore <ian@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, Kevin Oberman <rkoberman@gmail.com>, FreeBSD CURRENT <freebsd-current@freebsd.org>, "\"freebsd-usb@FreeBSD.org\\\" " <freebsd-usb@freebsd.org>
Subject:   Re: Digi Watchport/T temperature sensor as /dev/ttyU
Message-ID:  <36ca2c4c-bf9d-ed12-0b14-a2afc861c5f7@selasky.org>
In-Reply-To: <20160826153842.586a559b@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> <20160826153842.586a559b@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36ca2c4c-bf9d-ed12-0b14-a2afc861c5f7>