Author Topic: Xfer9860 With Libusb-1.0  (Read 1882 times)

0 Members and 1 Guest are viewing this topic.

Offline brleoal

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Xfer9860 With Libusb-1.0
« on: March 13, 2014, 05:05:48 pm »
My name is Bruno Leon, I bought a fx-9750gII Casio calculator and I want to connect to my computer (Linux).
 
 I read the comments about how xfer9860 works on 9750gII calcs and I heard that code need to upgrade from libusb-0.1 to new version libusb-1.0.
 I do this work for the original code of xfer9860, because calcs with OS 2.0 don't allow this protocol.
 I want to send you my work, my email is: [email protected]
 
The changes I made are:

- I changed the variable types (struct, pointer).
- I changed the functions for libusb-1.0 (libusb_bulk_transfer () libusb_init () libusb_open (), etc).
- I changed some functions (changed and added 1 or 2) according to http://hhacker.com/wp-content/uploads/2013/04/OneClickInstall.zip (9860gii project in Chinese, works on Windows)

I have some problems with the program xfer9860.
First, I'm not working with the code of 9860 gii (in Chinese).
What I did was download the original source xfer9860 (from http://sourceforge.net/projects/xfer9860/?source=navbar) code and did an upgrade to the new library libusb-1.0 basing on the source of the program gii 9860 (in Chinese) code.

I see that chinese program works well on all calculators. (see screenshot)
https://drive.google.com/file/d/0BydGt5Su7L46LVVGR0otd3R1NFE/edit?usp=sharing
I need help on how I can rewrite the code of project gii 9860 (in Chinese) which works on Windows, in a code so that I could compile it on Linux.

I send my advance upgrade for the original program xfer9860 (from http://sourceforge.net/projects/xfer9860/?source=navbar). The source have a makefile, so you can compile the program and run the binary.

This is my advance:
https://drive.google.com/file/d/0BydGt5Su7L46eldQelpQZ3c1ZFU/edit?usp=sharing