Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running the program #5

Open
marifante opened this issue Jun 15, 2018 · 5 comments
Open

Issue running the program #5

marifante opened this issue Jun 15, 2018 · 5 comments

Comments

@marifante
Copy link

Hi, I tried to run the program un Ubuntu 16.04 and i got this error:

Entering program
hpfiles INFO: hpfiles library version 0.0.1
hpfiles INFO: hpfiles_init: init succeeded
hpcables INFO: hpcables library version 0.0.1
hpcables INFO: hpcables_init: init succeeded
hpcalcs INFO: hpcalcs library version 0.0.1
hpcalcs INFO: hpcalcs_init: init succeeded
hpopers INFO: hpopers library version 0.0.1
hpopers INFO: hpopers_init: init succeeded
Supported cables: 0x3
Supported calcs: 0x3
hpcables INFO: hpcables_handle_new: handle allocation for model 0 succeeded
hpcables INFO: hpcables_cable_probe: probe succeeded
hpcables INFO: hpcables_probe_cables: probing cable succeeded
hpcables INFO: hpcables_handle_del: handle deletion succeeded
hpcables INFO: hpcables_probe_cables: destroy handle for model success
hpcables INFO: hpcables_handle_new: handle allocation for model 1 succeeded
hpcables ERROR: cable_prime_hid_probe: cable probe failed
hpcables ERROR: hpcables_cable_probe: probe failed
hpcables ERROR: hpcables_probe_cables: probing cable Prime (HID) failed
hpcables INFO: hpcables_handle_del: handle deletion succeeded
hpcables INFO: hpcables_probe_cables: destroy handle for model Prime (HID) success
NOTE: null cable selected, the program won't do much in the way of useful things !
Initialized libraries
hpcables INFO: hpcables_handle_new: handle allocation for model 0 succeeded
hpcalcs ERROR: hpcalcs_probe_calc: calc probe failed
hpcalcs_probe_calc failed
hpcables INFO: hpcables_handle_del: handle deletion succeeded
Exiting program
hpopers INFO: hpopers_exit: exit succeeded
hpcalcs INFO: hpcalcs_exit: exit succeeded
hpcables INFO: hpcables_exit: exit succeeded
hpfiles INFO: hpfiles_exit: exit succeeded
Goodbye world!

I do not have much experience in Linux, I followed its installation guide to the letter. But surely I'm failing something.

@debrouxl
Copy link
Owner

debrouxl commented Jul 1, 2018

Sorry, I completely forgot about this issue after the e-mail, despite being marked important, fell out of the window of recent e-mails :(

So far, I'm not convinced that you're failing something - it may just be that libhpcalcs supports modern Prime versions even less than I knew about :)
Maybe integrating #4 would help, down the road.

What's the output of lsusb when your calculator is plugged into the computer and powered on ? HP changed the USB PID at some point, but the master branch is supposed to contain support for both PIDs that I know about.

@metawops
Copy link

metawops commented Mar 1, 2020

Just in case: my G2 HP Prime is listed as
Bus 020 Device 001: ID 03f0:2441 Hewlett Packard HP Prime
in lsusb. 😉
Oh, and it's got the latest firmware from January 21, 2020 (2.1.14433).

@debrouxl
Copy link
Owner

Thanks for the information :)
I've submitted this PID at https://usb-ids.gowdy.us/read/UD/03F0 , like I submitted a bunch of PIDs for TI graphing calculators and related devices earlier.

@parkerlreed
Copy link

So do we just need to manually update the PID in the code and it should work?

@parkerlreed
Copy link

Ok so I tried this. Works! But not all of the commands are the same. Some work fine but others like screenshot and the like fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants