altos/chaoskey: Add another USB endpoint to read raw data
authorKeith Packard <keithp@keithp.com>
Wed, 2 Mar 2016 21:54:58 +0000 (13:54 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 2 Mar 2016 21:59:21 +0000 (13:59 -0800)
commit05fcb717bfc44aba3c1cfd43281e323505a46402
treea27b543f7a6f65b87fec29e77ca4151e0c1ee59d
parent05354b8fee6a9af05d66bb7f4761f597da038fdd
altos/chaoskey: Add another USB endpoint to read raw data

This replaces having the single output switch based on a pin value and
allows us to box the device and still fetch raw data.

For now, this will use a special libusb2 program, ao-chaosread, to
pull bits as I haven't figure out how to make linux provide two
/dev entries for one USB device.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/chaoskey-v0.1/ao_pins.h
src/drivers/ao_trng_send.c
src/kernel/ao_product.c
src/kernel/ao_usb.h
src/stmf0/ao_arch_funcs.h
src/stmf0/ao_usb_stm.c