Author Topic: Tilp isn't working!  (Read 12760 times)

0 Members and 1 Guest are viewing this topic.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Tilp isn't working!
« Reply #15 on: September 15, 2012, 02:21:50 pm »
thanks! it works =D
oh, and is there any reason why this shouldn't work over usb 3.0 ports? detecting the device and listing files both function, but receiving returns an error unless i plug it in a 2.0 port.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Tilp isn't working!
« Reply #16 on: September 15, 2012, 02:41:54 pm »
Hmm... I used an USB 3.0 port, precisely, for sending and receiving multiple files today :D
That was with the libusb 0.1 backend, though.
What OS version is your calculator running ? I used 3.1.0.392.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Tilp isn't working!
« Reply #17 on: September 15, 2012, 03:08:46 pm »
this is an 84+se on 2.43
and this is odd. it always works over the 2.0 port, but sometimes it does and sometimes it doesn't over 3.0. when it fails, it's timing out.
i'm using a longer than normal (about 2 metres) usb-mini usb cable to connect, if that makes a difference.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Tilp isn't working!
« Reply #18 on: September 15, 2012, 05:17:08 pm »
Maybe it's the kernel driver that has problems. Or libusb, but I don't think libusb should have any problem as the kernel provides the USB support.
Maybe you can find something interesting in dmesg ?

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Tilp isn't working!
« Reply #19 on: September 15, 2012, 06:42:11 pm »
gui:
Code: [Select]
Msg: timeout occured while reading from the device.
Cause: check that link cable is plugged and/or the calculator is ready.
System: File exists (errno = 17)

terminal:
Code: [Select]
tilp-INFO: Opening cable DirectLink on port #1 to communicate with calculator TI84+ USB
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-84 Plus Silver Edition on #1, version <1.10>

ticables-INFO: found bulk in endpoint 0x81

ticables-INFO: found bulk out endpoint 0x02

ticalcs-INFO: Checking hand-held status:
ticalcs-INFO:   PC->TI: Buffer Size Request (1024 bytes)

(tilp:2787): ticables-WARNING **: slv_bulk_read (Operation timed out).

ticalcs-INFO: Checking hand-held status:
ticalcs-INFO:   PC->TI: Buffer Size Request (1024 bytes)

(tilp:2787): ticables-WARNING **: slv_bulk_read (Operation timed out).

ticables-INFO:  found TI-84 Plus Silver Edition on #1, version <1.10>

ticables-INFO: found bulk in endpoint 0x81

ticables-INFO: found bulk out endpoint 0x02

dmesg:
Code: [Select]
[ 9279.488658] usb 1-2: new full-speed USB device number 4 using xhci_hcd
[ 9294.331481] usb 1-2: reset full-speed USB device number 4 using xhci_hcd
[ 9294.345761] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802026a0700
[ 9294.345769] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802026a0740

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Tilp isn't working!
« Reply #20 on: September 17, 2012, 03:25:07 am »
Looks like several more people have issues with USB 3.0 ports, and are getting the same errors in dmesg.
So this looks like a kernel module problem to me. You could try upgrading your kernel, but of course that depends what distro you are running.