Skip to content

Instantly share code, notes, and snippets.

@fenrir-naru
fenrir-naru / How to use NinjaScan-Light with your Raspberry Pi
Last active August 29, 2015 14:00
How to use NinjaScan-Light with your Raspberry Pi
sudo apt-get update && sudo apt-get install subversion # as you need, anything else such as gmake, g++
svn co https://ninja-scan-light.googlecode.com/svn/trunk ninja-scan-light
cd ninja-scan-light/tool
make
# insert your NinjaScan-Light to RasPi USB port
sudo ./build_GCC/log_CSV.out /dev/ttyACM0 --direct_sylphide=on --page=A --page=G --page=M --page=P
# if you want to run log_CSV.out without sudo, then
# $ sudo usermod -a -G dialout <your username, default is "pi">
# and restart your Pi.
Linux version 3.1.9+ (grayg@dc4-arm-01) (gcc version 4.5.1 (Broadcom-2708) ) #90 Wed Apr 18 18:23:05 BST 2012
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: BCM2708
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 49152
free_area_init_node: node 0, pgdat c03b5660, node_mem_map c0402000
Normal zone: 384 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 48768 pages, LIFO batch:15
Bus 001 Device 005: ID 10c4:8912 Cygnal Integrated Products, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x10c4 Cygnal Integrated Products, Inc.