You are not logged in.

#1 2008-05-04 05:38:18

MetalRandomist
Member
Registered: 2007-08-16
Posts: 30

Anyone Know How To Tame--Er, Get TiLP Working?

I've got a TI-89 Titanium calculator and I've been trying to use the TiLP linking program to link with it, but TiLP just does not want to cooperate.
I was wondering if someone's got TiLP working for them, and if you can show me how I could go 'bout getting it to work for me, 'cause if I didn't have such short hair, I'd be pulling it out right about now.  tongue


As a normal user, it give me a dialog that says, "Msg: failed to open the USB device.  Cause: Check that the USB cable is plugged in and that the calculator is turned ON! Also, check libusb and usbfs for valid permissions.  System: No such file or directory (errno = 2)".
Well, the USB cable was in and the calc was on, and I have no idea about the libusb/usbfs stuff, except for in my /etc/fstab, I added the line...

none            /proc/bus/usb                   usbfs   devgid=100,devmode=664                                  0       0

...and put myself in the respective group, but that didn't help, and I still get the error.
And TiLP's terminal output:

metalrandomist ~  $  tilp
TiLP2 - Version 1.10, (C) 1999-2006 Romain Lievin
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY
PLEASE READ THE DOCUMENTATION FOR DETAILS
built on Feb 11 2008 22:17:42
tilp-INFO: setlocale: en_US.utf8
tilp-INFO: bindtextdomain: /usr/share/locale/
tilp-INFO: textdomain: tilp2
ticables-INFO: ticables library version 1.2.0
ticables-INFO: setlocale: en_US.utf8
ticables-INFO: bindtextdomain: /usr/share/locale
ticables-INFO: textdomain: libticables2
ticables-INFO: kernel: 2.6.25-ARCH
tifiles-INFO: tifiles library version 1.1.0
tifiles-INFO: setlocale: en_US.utf8
tifiles-INFO: bindtextdomain: /usr/share/locale
tifiles-INFO: textdomain: libtifiles2
ticalcs-INFO: ticalcs library version 1.1.0
ticalcs-INFO: setlocale: en_US.utf8
ticalcs-INFO: bindtextdomain: /usr/share/locale
ticalcs-INFO: textdomain: libticalcs2
ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
tilp-INFO: Searching for link cables...
ticables-INFO: Link cable probing:
ticables-INFO:  found  on #1, version <3.00>
tilp-INFO: Searching for hand-helds on DirectLink...
ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
ticables-INFO:  found  on #1, version <3.00>

(tilp:3159): ticables-WARNING **: usb_set_configuration (could not set config 1: Operation not permitted).


(tilp:3159): ticables-WARNING **: usb_claim_interface (could not claim interface 0: Operation not permitted).

ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
ticables-INFO:  found  on #1, version <3.00>

(tilp:3159): ticables-WARNING **: usb_set_configuration (could not set config 1: Operation not permitted).


(tilp:3159): ticables-WARNING **: usb_claim_interface (could not claim interface 0: Operation not permitted).

tilp-INFO: Msg: failed to open the USB device.
Cause: Check that the USB cable is plugged in and that the calculator is turned ON! Also, check libusb and usbfs for valid permissions.
System: Operation not permitted (errno = 1)

So, I kicked at the ground, and then tried it as root.  It detects the calculator, but when I try to do any linking operations, I get a couple of complaints in the terminal, then after a while, a dialog that says, "Msg: error occured while writing to the device.  System: No such file or directory (errno = 2)".  It never does say what file/directory is missing, unless I missed some fine print somewhere in the terminal.

metalrandomist ~  $  sudo tilp
TiLP2 - Version 1.10, (C) 1999-2006 Romain Lievin
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY
PLEASE READ THE DOCUMENTATION FOR DETAILS
built on Feb 11 2008 22:17:42  I still have no idea what file or directory is even missing...
tilp-INFO: setlocale: en_US.utf8
tilp-INFO: bindtextdomain: /usr/share/locale/
tilp-INFO: textdomain: tilp2
ticables-INFO: ticables library version 1.2.0
ticables-INFO: setlocale: en_US.utf8
ticables-INFO: bindtextdomain: /usr/share/locale
ticables-INFO: textdomain: libticables2
ticables-INFO: kernel: 2.6.25-ARCH
tifiles-INFO: tifiles library version 1.1.0
tifiles-INFO: setlocale: en_US.utf8
tifiles-INFO: bindtextdomain: /usr/share/locale
tifiles-INFO: textdomain: libtifiles2
ticalcs-INFO: ticalcs library version 1.1.0
ticalcs-INFO: setlocale: en_US.utf8
ticalcs-INFO: bindtextdomain: /usr/share/locale
ticalcs-INFO: textdomain: libticalcs2
ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
tilp-INFO: Searching for link cables...
ticables-INFO: Link cable probing:
ticables-INFO:  found TI-89 Titanium on #1, version <3.00>
tilp-INFO: Searching for hand-helds on DirectLink...
ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
ticables-INFO:  found TI-89 Titanium on #1, version <3.00>
ticables-INFO:  found TI-89 Titanium on #1, version <3.00>
ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
ticables-INFO:  found  on #1, version <3.00>

(tilp:3160): ticables-WARNING **: usb_set_configuration (could not set config 1: Connection timed out).

ticalcs-INFO: Checking hand-held status:

(tilp:3160): ticables-WARNING **: usb_bulk_write (error submitting URB: No such file or directory).

ticalcs-INFO: Checking hand-held status:

(tilp:3160): ticables-WARNING **: usb_bulk_write (error submitting URB: No such file or directory).


(tilp:3160): ticables-WARNING **: usb_clear_halt (could not clear/halt ep 2: Connection timed out).


(tilp:3160): ticables-WARNING **: usb_clear_halt (could not clear/halt ep 129: Connection timed out).

ticables-INFO:  found  on #1, version <3.00>

(tilp:3160): ticables-WARNING **: usb_set_configuration (could not set config 1: Connection timed out).

Ooh, by the way, I have a SilverLink cable, also (I've been trying to use the DirectLink here), but it's still giving me the same complaints as a normal user, and as root, it still doesn't work.

Last edited by MetalRandomist (2008-05-04 05:46:42)

Offline

#2 2008-05-04 07:09:20

neotuli
Lazy Developer
From: San Francisco, CA
Registered: 2004-07-06
Posts: 1,201
Website

Re: Anyone Know How To Tame--Er, Get TiLP Working?

tilp can be a little tricky to coerce into working. (i happen to maintain and use it occasionally). There is a known bug with the TI89t's firmware that prevents the directlink usb from working as well as a it should. Tilp's author worked around this by getting it to at least be usable if you have the patience to unplug and replug it often, he also sent a request to TI about it...and didn't get much of a reply.

Despite this, i've successfully used it with the ti89t using directlink, i have no experience with the silverlink. The trick is to unplug and replug it often, it's unfortunate. And yes, the only way I've got it to work is as root...augh.


The suggestion box only accepts patches.

Offline

#3 2008-05-05 00:10:48

smartcat99s
Member
Registered: 2006-03-17
Posts: 44

Re: Anyone Know How To Tame--Er, Get TiLP Working?

I had to run "sudo chown -R user:users /dev/bus/usb" to get tilp to run as my user with the 89t


Running Folding@Home for Team 11108 - My Stats

Offline

#4 2008-05-05 04:05:41

MetalRandomist
Member
Registered: 2007-08-16
Posts: 30

Re: Anyone Know How To Tame--Er, Get TiLP Working?

Thanks, Neotuli.  I finally got it working now.  Yeah, that is really annoying, having to unplug/replug all the time, but I found out later on that all I had to do is turn the calc off and back on, and re-select it when it acts up, and everything's all good.

Offline

Board footer

Powered by FluxBB