Post Reply 
libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
12-28-2013, 05:49 PM (This post was last modified: 12-28-2013 06:01 PM by Egan Ford.)
Post: #50
RE: libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
(12-28-2013 11:13 AM)LarsF Wrote:  I'm sorry, but that did not help, got the same error. It seem to be a little random when it stops

hpcalcs DEBUG: Dumping IN packet with size 64
hpcalcs DEBUG: 00 00 55 00 53 00 45 00 29 00 3D 00 22 00 7B 00
hpcalcs DEBUG: 7B 00 7D 00 2C 00 7B 00 7D 00 7D 00 22 00 3B 00
hpcalcs DEBUG: 0A 00 45 00 4E 00 44 00 3B 00 0A 00 0A 00 57 00
hpcalcs DEBUG: 61 00 69 00 74 00 46 00 6F 00 72 00 54 00 61 00
hpcables INFO: cable_prime_hid_recv: read 0bytes
hpcalcs INFO: prime_recv_data: breaking due to short packet (1)
hpcalcs WARN: prime_recv_data: expected 18672 bytes but only got 882 bytes, output corrupted
hpcalcs DEBUG: read_vtl_pkt: command matches returned data
hpcalcs INFO: calc_prime_r_recv_file: embedded=687E computed=A5E3
hpcalcs ERROR: calc_prime_r_recv_file: CRC mismatch

Hi, I am unable to reproduce this error with Prime Build 5447 and OS/X 10.8.5 (HP Cable -> USB extension cable -> ThinkGeek USB 2.0 hub with red switches per port -> USB 2.0 hub (2010 27" Apple Cinema Display) -> USB 3.0 2013 MacBook Air). I've tried several times and I always get the screen shot (colors are off in 16-bit mode and anti aliasing looks like garbage, but its consistent and repeatable (you must disable the clock to get the md5sums to match :-)).

I used the App screen for testing (18K files).

Build notes (12/27/13):

Code:

sudo port install fox

git clone https://github.com/signal11/hidapi.git hidapi
cd hidapi
./bootstrap
./configure --prefix=/usr/local
make
sudo make install
cd ..

git clone https://github.com/debrouxl/hplp
cd hplp/libhpcalcs
autoreconf -i -f
HIDAPI_LIBS="-L/usr/local/lib -lhidapi" HIDAPI_CFLAGS="-I/usr/local/include/hidapi" ./configure --prefix=/usr/local
make

My binaries (http://sense.net/~egan/prime/prime_osx_tools.tgz) if you want to test:

Code:

mkdir primetools
cd primetools
tar zxvf ~/Downloads/prime_osx_tools.tgz
./test_hpcalcs.sh
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library - Egan Ford - 12-28-2013 05:49 PM



User(s) browsing this thread: 6 Guest(s)