Jump to content



Photo
- - - - -

Gnu/linux File Transfer Programs


  • Please log in to reply
20 replies to this topic

#1 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 28 December 2011 - 02:11 PM

Are there any 3rd party linkers out there that support <{GNULINUX}>? I would like to transfer programs to my calc (an fx-9860GII) from time to time, but I'm not sure if there are any linkers that would work on <{GNULINUX}>. Currently, I can transfer programs using my windows computer, but it's inconvenient, as then I have to transfer the files from my windows box to my laptop (Which has <{GNULINUX}>, and is the one that I use for day-to-day things).

EDIT:

After shopping around a bit, I found Fx-interface. Unfortunately, I can't read French, and I'm not very sure what it does. Considering that "software-transfert" is in the url, I'm pretty sure it's a linker. It also seems to be a windows program, so I would need a linux version for it to be useful.

Edited by Forty-Two, 28 December 2011 - 02:18 PM.


#2 PierrotLL

PierrotLL

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Location:France

  • Calculators:
    fx9860
    Classpad 330

Posted 29 December 2011 - 10:21 PM

On a <{GNULINUX}> system, you can use xfer9860, a fast command-line utility.

#3 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 30 December 2011 - 01:08 AM

On a <{GNULINUX}> system, you can use xfer9860, a fast command-line utility.


Thanks for the link. I downloaded and built xfer successfully. I'm currently having troubles connecting to my calc. At first I tried:

[sean@Hactar xfer9860]$ xfer -i
--- xfer9860 v0.2.1  Copyright (C) 2007 Andreas Bertheussen and Manuel Naranjo.
[>] Setting up USB connection.. 
[E] A listening device could not be found.
	Make sure it is receiving; press [ON], [MENU], [sin], [F2]

But then I saw a tutorial for screenstreamer in which the user had to become root to transfer files. Doing that, I was able to connect, but something went wrong with the verification:

[root@Hactar src]# xfer -i
--- xfer9860 v0.2.1  Copyright (C) 2007 Andreas Bertheussen and Manuel Naranjo.
[>] Setting up USB connection.. Connected!
[>] Verifying device.. Failed.

I'm not sure what it's trying to do there, do you know what may be going wrong? EDIT: I found a user using ubuntu who had the same problems.

Edited by Forty-Two, 30 December 2011 - 01:18 AM.


#4 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 06 January 2012 - 10:16 PM

*Bump*

I cross-posted this on cemetech.

#5 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 06 January 2012 - 10:24 PM

You may want to try XI_interface if this isnt working.
http://xizard.free.f..._interface.html

And if you can figure out how to install it successfully, tell me how you did it cuz i get errors. :/


EDIT:
I just installed xfer9860 and am having the same problem:

sudo src/xfer9860 -i
[sudo] password for flyingfisch: 
--- xfer9860 v0.2.1  Copyright (C) 2007 Andreas Bertheussen and Manuel Naranjo.
[>] Setting up USB connection.. 
ERR: usb_set_configuration(): -110

[E] A listening device could not be found.
	Make sure it is receiving; press [ON], [MENU], [sin], [F2]


#6 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 07 January 2012 - 03:16 AM

You may want to try XI_interface if this isnt working.
http://xizard.free.f..._interface.html

And if you can figure out how to install it successfully, tell me how you did it cuz i get errors. :/


EDIT:
I just installed xfer9860 and am having the same problem:

sudo src/xfer9860 -i
[sudo] password for flyingfisch: 
--- xfer9860 v0.2.1  Copyright (C) 2007 Andreas Bertheussen and Manuel Naranjo.
[>] Setting up USB connection.. 
ERR: usb_set_configuration(): -110

[E] A listening device could not be found.
	Make sure it is receiving; press [ON], [MENU], [sin], [F2]


What link cable are you using? I'm using the USB cable, but the software you linked to says it uses the serial cable.

EDIT: I retried this, and it seems that I am getting the same error.

[root@Hactar src]# ./xfer9860 -i
--- xfer9860 v0.2.1  Copyright (C) 2007 Andreas Bertheussen and Manuel Naranjo.
[>] Setting up USB connection.. 
ERR: usb_set_configuration(): -110

[E] A listening device could not be found.
	Make sure it is receiving; press [ON], [MENU], [sin], [F2]

When I tried increasing the packet delay with i, I got the same as before:

[root@Hactar src]# ./xfer9860 -it 1
--- xfer9860 v0.2.1  Copyright (C) 2007 Andreas Bertheussen and Manuel Naranjo.
[>] Setting up USB connection.. Connected!
[>] Verifying device.. Failed.

After digging through the code a bit, I have found what seems to be the source:

printf("Connected!\n");
		printf("[>] Verifying device.. ");
		if (fx_doConnVer(usb_handle) != 0) { printf("Failed.\n"); goto exit_release; }
		else { printf("Done!\n"); }

However, I wasn't able to look over it carefully. It was from the file "getinfo.c"

Edited by Forty-Two, 07 January 2012 - 03:43 AM.


#7 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 07 January 2012 - 05:47 PM

So whats wrong with the code?

#8 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 13 January 2012 - 03:07 PM

have you figured out how to get the linker to work yet?

#9 afxi

afxi

    Newbie

  • Members
  • Pip
  • 1 posts

  • Calculators:
    AFX 2.0 Rom 1.05
    fx9860G OS 02.00.0300

Posted 16 January 2012 - 04:40 PM

I was able to successfully transfer files from my computer to the calculator and vice versa, so basically the program works.
My calculator is a fx9860G and xfer9860 was developed before your calculator-version was released, so there could be a difference in some part of the communication protocol of your calculator which leads to the error while verifying. Maybe, if you skip the verifying in the source code, the rest would work. If not, you could ask someone like Simon Lothar, if he has an link-protocol documentation of your calculator-version to adjust the code.
Greetings,
afxi

#10 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 17 January 2012 - 09:24 PM

Thank you afxi, I was just thinking the same thing that the fx9860G and GII versions may transmit differently. Unfortunately, I dont know enough computer programming to do it myself. :/

#11 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 12 February 2012 - 01:33 PM

Thank you afxi, I was just thinking the same thing that the fx9860G and GII versions may transmit differently. Unfortunately, I dont know enough computer programming to do it myself. :/


I found out what was wrong with it. I'm in the process of learning C to convert the usb code from libusb-0.1 to 1.0. This may fix the problem, but even if it doesn't, it'll have a reliability increase. I do know enough about the protocol, to know that in response to the verify request, the calc is explicitly sending nothing, which tells me that the protocol has changed, at least for the verify. I may have to investigate the protocol after I update it to libusb-1.0.

Edited by Forty-Two, 12 February 2012 - 01:33 PM.


#12 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 12 February 2012 - 11:39 PM

OK, cool! :D

#13 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 23 August 2012 - 02:12 PM

@Forty-Two: Did you ever get this to work?

#14 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 24 August 2012 - 01:24 AM

No, I haven't looked at the code in forever. I don't even have it anymore. :P

(I used way too many commas...)

#15 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 24 August 2012 - 09:26 AM

Did you contact the original author?

#16 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 30 August 2012 - 06:14 PM

Updates from my casio kingdom post:

I am working on a kde4 casio tranfer tool for linux based on the knowledge of xfer9860, and some documents I found on casio-scene.

I am an owner of the first 9860 so, I don't know if it works or not, with 9860gii.
When I will find time, i will post the first version of the program.
Meanwhile, If you have any question in xfer9860 code please feel free to ask.


To adapt xfer9860 for fx9860gII, I know you have to change the constant T_POSITIVE (Casio9860.h line 70). 0x06 is the value for first fx9860, on the new ones it's 0x05.
To accept the two values, you may change function fx_doConnVer (Casio9860.c line 131).



#17 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 05 April 2013 - 12:28 AM

On line 70 in Casio9860.h, change 0x06 to 0x05.

Source

#18 Castania

Castania

    Newbie

  • Members
  • Pip
  • 8 posts
  • Gender:Male

  • Calculators:
    fx-9750GA Plus, fx-9750GII, fx-9860GII . . . and TI-83,4,+

Posted 10 July 2013 - 11:51 AM

I applaud the efforts of those working with xfer9860 -- if you get a stable product, I'd certainly like to try it out. Like many, I do not know how to program, so my only value is to see how idiot proof the code is :-)

I can attest that FA-123 runs under Wine and worked well with the fx-9750GA Plus; used it for over two years. But then I went to the fx-9860GII and the fx-9750GII. They did not work under Wine (new OS?) or FA-123. But, I have had good luck running FA-124 in an XP Virtual Box. With a shared drive/folder and shared clipboard, you can pretty much exchange what ever information you want. I know it's a work around -- maybe even a bit cumbersome at times -- but it does work until Casio or someone develops a Linux product.

Edited by Castania, 10 July 2013 - 12:20 PM.


#19 Anonymouse

Anonymouse

    Casio Addict

  • Members
  • PipPipPip
  • 58 posts
  • Gender:Male

  • Calculators:
    CASIO Graph 75

Posted 23 August 2013 - 09:52 AM

Forty-two, could you modify the topic a little please? I thought you were talking about an executable linker... :P

I also have a modified version of xfer9860 that works with my GII so if anyone's interested...

#20 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 03 September 2013 - 04:25 PM

...
I also have a modified version of xfer9860 that works with my GII so if anyone's interested...


I am! could you give a download link or maybe a patch of some sort?

#21 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 10 November 2013 - 04:08 AM

Forty-two, could you modify the topic a little please? I thought you were talking about an executable linker... :P


Done




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users