Re: [DIGImend-devel] KYE MousePen i608x
Brought to you by:
spb_nick
|
From: Vikko O. <tc...@gm...> - 2015-01-07 15:25:30
|
Please try this one. As usual, I can redo the process if necessary. On 6 January 2015 at 18:29, Nikolai Kondrashov <sp...@gm...> wrote: > On 01/06/2015 06:57 AM, Vikko Okviandho wrote: > >> I moved to the directory where I compile them (using cd) and then excecute >> the program using sudo (since the system won't allow me to double click or >> using ./) >> Did I do something wrong? >> >> Here's the history of the commands I did >> sudo apt-get install autotools-dev autoconf automake libtool pkg-config >> libxml2-dev >> ./bootstrap && ./configure && make //this is where I failed to compile >> sudo apt-get install libusb //I did this few times to find out what's >> wrong >> sudo apt-get update //tried to update the archive >> sudo apt-get install libusb //still not finding the libusb package >> ./bootstrap //I executed this command one by one to find out which >> command was messing around >> ./configure //this command is where it went wrong >> sudo apt-get install libusb //tried again >> sudo apt-get install libusb-1.0-0-dev //got it right with this >> ./configure >> make >> log.txt >> > > Everything is fine up to this point. > > usbhid-dump //I executed this from the folder where the src placed using >> 'open terminal here' >> sudo usbhid-dump //I used sudo because the reason I explained above >> lsusb >> sudo usbhid-dump -m 0458:501a -es //this command gave this output >> 'Starting dumping interrupt transfer stream with 1 minute timeout.' >> sudo usbhid-dump -m 0458:501a -es $T | tee pen_coords.txt //I used this >> next 3 times, each for coordinate, button, and pressure >> >> Did I do something wrong? I can redo if I did. >> > > This is almost right with the exception that you were executing the > distribution version of usbhid-dump, not the custom-built one. > > If your current directory is "src" in the source directory, then to run the > custom-built version you need to execute it like this: > > sudo ./usbhid-dump -m 0458:501a -es > > Note the "./" in front, meaning execute the binary in the current > directory. > > Could you please re-run it? > > Thank you. > > Nick > |