Author Topic: Connect nspire cx to TiLPII?  (Read 5607 times)

0 Members and 1 Guest are viewing this topic.

Offline blweldon2

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +1/-0
  • Pokemon Master
    • View Profile
Connect nspire cx to TiLPII?
« on: March 18, 2012, 12:21:55 am »
I am trying to connect my nspire cx (non-cas) to TiLPII so I can put some games on it without having to switch my laptop from windows 8 to windows 7 (with 7 having the student software on it). TiLPII doesn't see my calculator regardless of USB port it is plugged in to. My laptop installed the drivers for the nspire when I first plugged it in. I am running 64-bit Windows 8 if that makes a difference.

Here is a screenshot of the program running if it is of any help.
http://img801.imageshack.us/img801/2117/helpi.png

How do I fix this problem?
Hmmm.... I wonder how to do this.....

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Connect nspire cx to TiLPII?
« Reply #1 on: March 18, 2012, 10:53:03 am »
I'm not sure if TiLP is working with Windows 8.

You can dual boot right? That way, it would be pretty easy to just go on 7 every once in a while to transfer some games.

Offline blweldon2

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +1/-0
  • Pokemon Master
    • View Profile
Re: Connect nspire cx to TiLPII?
« Reply #2 on: March 18, 2012, 11:23:07 am »
I am dual booting with 7. Windows 7 has the student software on it, so that is no problem. I have a spare code for the student software that came with my 2nd nspire, but i don't want to waste it. It would be nice if i could get tilp running on win8. Takes forever to restart into win7 or ubuntu.
Hmmm.... I wonder how to do this.....

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Connect nspire cx to TiLPII?
« Reply #3 on: March 18, 2012, 02:52:36 pm »
Hi :)

Thanks for the screenshot, because it shows a proximate cause for TILP failing to communicate with your calculator :)
TILP is indicating, in both the GUI and the terminal, that you're trying to communicate with the "none" calculator; the GUI is indicating that you're using the "null" cable. Those are placeholders which do not implement any protocol and do not attempt any communication operation.

The solution to this problem would be to try and configure TILP through the "Change device dialog", accessible in the File menu, by right-clicking on none -> null:#1, or pressing Ctrl + D. The list of devices near the bottom dialog ought to inform you that you can communicate with a Nspire, using the DirectLink cable.
In this dialog, be sure to check the "USB scan at startup" checkbox, for next time ;)


Now, with that said... if no device is listed in the list of devices near the bottom of the "Change device" dialog, it's entirely possible that the version of libusb used by TILP II 1.16, even if it's a recent one, has a problem on Win 8 :)
In such a case, please post here the contents of the ".tilp.log" file, which you'll be able to find in your home directory (presumably C:\Users\<yourusername>\).
Thanks in advance :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline blweldon2

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +1/-0
  • Pokemon Master
    • View Profile
Re: Connect nspire cx to TiLPII?
« Reply #4 on: March 18, 2012, 03:55:09 pm »
I followed your instructions and it still doesn't recognize my calc. I will post the log when i get access to my laptop. Do you think someone could make a win8 compatible libusb using any of this information?

EDIT: I attached the log file.
« Last Edit: March 18, 2012, 04:15:01 pm by blweldon2 »
Hmmm.... I wonder how to do this.....

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Connect nspire cx to TiLPII?
« Reply #5 on: March 19, 2012, 02:21:21 am »
(meh, forgot to post the two first paragraphs before going to bed yesterday evening)

Alongside the log, please post the screenshot of the whole screen, containing the main window + the change device dialog + the terminal. TIA :)

Quote
Do you think someone could make a win8 compatible libusb using any of this information?
This information is unlikely to help.

Looking at your log (thanks :) ), I can see that at least, the calculator is detected:
Code: [Select]
tilp-INFO: Searching for link cables...
ticables-INFO: Link cable probing:
tilp-INFO: Opening cable null on port #1 to communicate with calculator none
tilp-INFO: Searching for link cables...
ticables-INFO: Link cable probing:
tilp-INFO: Opening cable DirectLink on port #1 to communicate with calculator NSpire
« Last Edit: March 19, 2012, 02:23:46 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline blweldon2

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +1/-0
  • Pokemon Master
    • View Profile
Re: Connect nspire cx to TiLPII?
« Reply #6 on: March 19, 2012, 07:08:03 am »
Here is the new screenshot. I put in the calculators info manually.
http://img6.imageshack.us/img6/9682/hlp2.png
Hmmm.... I wonder how to do this.....

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Connect nspire cx to TiLPII?
« Reply #7 on: March 19, 2012, 09:16:17 am »
The "CreateFile" warnings normally don't occur, so I guess that (assuming the CreateFile warnings are related to the USB communication) Win 8 is behaving differently and broke libusb-win32 and/or libticables...

In order to get the very latest version of the drivers, use the filter driver installer available from http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/ , and replace the libusb0.sys & libusb0.dll files installed by the TILP installer with the ones provided by that installer. But at the time being, I'm not very optimistic that doing so will enable you to communicate with your CX from native Win 8 alpha...
« Last Edit: March 19, 2012, 09:18:08 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline blweldon2

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +1/-0
  • Pokemon Master
    • View Profile
Re: Connect nspire cx to TiLPII?
« Reply #8 on: March 19, 2012, 03:24:52 pm »
Think someone will figure it out by the time win 8 is released?
Hmmm.... I wonder how to do this.....

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Connect nspire cx to TiLPII?
« Reply #9 on: March 20, 2012, 01:55:35 pm »
One of the maintainers of libusb-win32 indicates that libusb-win32 works for him on Win 8 DP and CP: http://sourceforge.net/mailarchive/forum.php?thread_name=1332250861.81705.YahooMailNeo%40web28401.mail.ukl.yahoo.com&forum_name=libusb-win32-devel

So I guess the problem could be on the TILP (libticables) side... and I'm not overjoyed :(

Installing the libusb filter driver, and replacing the files installed by the TILP installer, as I described in my previous post might provide me some clues. Thanks in advance for the time you'll spend helping me to deal with the problem, whatever it is :)
« Last Edit: March 20, 2012, 01:56:02 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.