Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2017 18:34:02 +0100
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Tom <bifrost@minions.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB TRNG - Moonbase Otago - OneRNG
Message-ID:  <20170329173402.GB32477@in-addr.com>
In-Reply-To: <Pine.BSF.4.64.1703281557170.83252@evil.minions.com>
References:  <Pine.BSF.4.64.1703281557170.83252@evil.minions.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 28, 2017 at 04:11:47PM -0700, Tom wrote:
> Howdy,
> I've got one of these (a v3.0 to be exact) and I'm trying to get data out 
> of it. I found some info on one of their mailing lists but it doesn't 
> really get me anywhere:
> http://lists.onerng.info/groups/onerng-talk/messages/topic/KFurGvvNZPq5dh7XQyX14/
> 
> If I attempt to open the device with tip, the device detaches.
> 
> dmesg output:
> Mar 28 15:50:13 xyz kernel: umodem0 on uhub1
> Mar 28 15:50:13 xyz kernel: umodem0: <Moonbase Otago 
> httpwww.moonbaseotago.comrandom 00, class 2/0, rev 2.00/0.09, addr 3> on 
> usbus0
> Mar 28 15:50:13 xyz kernel: umodem0: data interface 1, has no CM over 
> data, has break
> 
> Its been a while since I've debugged something like this so I'm hoping I'm 
> missing something simple. I'm in the SFBA if someone wants to borrow this 
> thing to figure it out.

I suggest you download the Linux scripts from

https://github.com/OneRNG/onerng.github.io/blob/master/sw/onerng_3.5.orig.tar.gz?raw=true

and see if the commands in files/onerng.sh make any difference.
A FreeBSD version of the stty command and then using the "echo" and "dd"
commands to set up the device and pull data

Not sure it will make a difference, but the best way to test it is by
doing what is expected in Linux

Regards,

Gary




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170329173402.GB32477>