Jump to content

TI-89 with Linux


Recommended Posts

Hi Guys,

 

I did a search and saw that there was a previous post about using a TI graphing calculator with Linux. I had already done pretty much everything that was posted in that thread. So here I am with more information and the hope of more success than I've had on my own.

 

I own a TI-89 graphing calculator and I have the SilverLink USB connection which connects the old style connection (looks like a stereo-mini plug) to USB. Basically there is a little mobo in the cable which converts the signals appropriately. I can make this work under Windows, but again, I don't want to use it under Windows. I want to use it under Linux. I'm current running (gasp!, I know!) Fedora 7.

 

I gave the "yum install tilp" command after visiting the appropriate website and adding teh appropriate repositiories. It installed and loads easily. However, I don't think I'm getting permissions to the appropriate usb ports. So I remember what I had to do to get my Palm to sync with my box. I looked around and found where someone else had added the following rules to /etc/udev/rules in the file 025_ticables.rules

 

BUS=="usb", ACTION=="add", SYSFS{idVendor}=="0451",SYSFS{idProduct}=="e001", MODE="660"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="0451",SYSFS{idProduct}=="e003", MODE="660"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="0451",SYSFS{idProduct}=="e004", MODE="660"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="0451",SYSFS{idProduct}=="e008", MODE="660"

 

If I'm right, I think this is telling udev to look in the USB ports for vendor IDs of 0451 and product IDs of e001. It's then saying chmod 660 for these devices. When I issue the /sbin/lsusb command I get

 

/sbin/lsusb
Bus 002 Device 003: ID 0451:e001 Texas Instruments, Inc. GraphLink
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 009: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader
Bus 001 Device 008: ID 0b97:7761 O2 Micro, Inc.
Bus 001 Device 007: ID 413c:a005 Dell Computer Corp.
Bus 001 Device 001: ID 0000:0000

.

 

which is good because I definitely see the vendor and product IDs I'm looking for. When I filter dmesg through grep for 'usb' I get the following

 

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb 1-2: new full speed USB device using uhci_hcd and address 2
usb usb5: configuration #1 chosen from 1 choice
usb 1-2: device descriptor read/all, error -71
usb 1-2: new full speed USB device using uhci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2.3: new full speed USB device using uhci_hcd and address 5
usb 1-2.3: configuration #1 chosen from 1 choice
usb 1-2.3.2: new full speed USB device using uhci_hcd and address 6
usb 1-2.3.2: configuration #1 chosen from 1 choice
usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: USB disconnect, address 2
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: USB disconnect, address 2
usb 1-2.3.2:1.0: suspend
usb 1-2.3.2: suspend, may wakeup
usb 1-2.3: suspend, may wakeup
usb 1-2: suspend, may wakeup
usb usb5: suspend, may wakeup
usb usb4: suspend, may wakeup
usb usb3: suspend, may wakeup
usb usb2: suspend, may wakeup
usb usb1: suspend, may wakeup
usb usb1: root hub lost power or was reset
usb usb2: root hub lost power or was reset
usb usb3: root hub lost power or was reset
usb usb4: root hub lost power or was reset
usb usb1: resuming
usb usb2: resuming
usb usb3: resuming
usb usb4: resuming
usb usb5: resuming
usb 1-2: resuming
usb_endpoint usbdev1.4_ep00: PM: resume from 0, parent 1-2 still 2
usb_endpoint usbdev1.4_ep81: PM: resume from 0, parent 1-2:1.0 still 2
usb_device usbdev1.4: PM: resume from 0, parent 1-2 still 2
usb 1-2.3: PM: resume from 2, parent 1-2 still 2
usb 1-2.3: resuming
usb_endpoint usbdev1.5_ep00: PM: resume from 0, parent 1-2.3 still 2
usb_endpoint usbdev1.5_ep81: PM: resume from 0, parent 1-2.3:1.0 still 2
usb_device usbdev1.5: PM: resume from 0, parent 1-2.3 still 2
usb 1-2.3.2: PM: resume from 2, parent 1-2.3 still 2
usb 1-2.3.2: resuming
usb_endpoint usbdev1.6_ep00: PM: resume from 0, parent 1-2.3.2 still 2
usb 1-2.3.2:1.0: PM: resume from 2, parent 1-2.3.2 still 2
usb 1-2.3.2:1.0: resuming
usb_endpoint usbdev1.6_ep03: PM: resume from 0, parent 1-2.3.2:1.0 still 2
usb_endpoint usbdev1.6_ep82: PM: resume from 0, parent 1-2.3.2:1.0 still 2
usb_endpoint usbdev1.6_ep81: PM: resume from 0, parent 1-2.3.2:1.0 still 2
usb_device usbdev1.6: PM: resume from 0, parent 1-2.3.2 still 2
Restarting tasks ... <6>usb 1-2: USB disconnect, address 4
usb 1-2.3: USB disconnect, address 5
usb 1-2.3.2: USB disconnect, address 6
usb 1-2: new full speed USB device using uhci_hcd and address 7
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2.3: new full speed USB device using uhci_hcd and address 8
usb 1-2.3: configuration #1 chosen from 1 choice
usb 1-2.3.2: new full speed USB device using uhci_hcd and address 9
usb 1-2.3.2: configuration #1 chosen from 1 choice
usb 2-2: new full speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: USB disconnect, address 3
usb 2-2: new full speed USB device using uhci_hcd and address 4
usb 2-2: configuration #1 chosen from 1 choice

 

which seems to indicate that it is seen. When I look at /dev using the 'ls -lh /dev' command I see that all my usb devices are owned by root

 

lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev1.1_ep00 -> bus/usb/1/1_ep/00
lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev1.1_ep81 -> bus/usb/1/1_ep/81
lrwxrwxrwx  1 root root	   17 2007-09-11 18:54 usbdev1.7_ep00 -> bus/usb/1/7_ep/00
lrwxrwxrwx  1 root root	   17 2007-09-11 18:54 usbdev1.7_ep81 -> bus/usb/1/7_ep/81
lrwxrwxrwx  1 root root	   17 2007-09-11 18:54 usbdev1.8_ep00 -> bus/usb/1/8_ep/00
lrwxrwxrwx  1 root root	   17 2007-09-11 18:54 usbdev1.8_ep81 -> bus/usb/1/8_ep/81
lrwxrwxrwx  1 root root	   17 2007-09-11 18:54 usbdev1.9_ep00 -> bus/usb/1/9_ep/00
lrwxrwxrwx  1 root root	   17 2007-09-11 18:54 usbdev1.9_ep03 -> bus/usb/1/9_ep/03
lrwxrwxrwx  1 root root	   17 2007-09-11 18:54 usbdev1.9_ep81 -> bus/usb/1/9_ep/81
lrwxrwxrwx  1 root root	   17 2007-09-11 18:54 usbdev1.9_ep82 -> bus/usb/1/9_ep/82
lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev2.1_ep00 -> bus/usb/2/1_ep/00
lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev2.1_ep81 -> bus/usb/2/1_ep/81
lrwxrwxrwx  1 root root	   17 2007-09-11 19:11 usbdev2.4_ep00 -> bus/usb/2/4_ep/00
lrwxrwxrwx  1 root root	   17 2007-09-11 19:11 usbdev2.4_ep02 -> bus/usb/2/4_ep/02
lrwxrwxrwx  1 root root	   17 2007-09-11 19:11 usbdev2.4_ep81 -> bus/usb/2/4_ep/81
lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev3.1_ep00 -> bus/usb/3/1_ep/00
lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev3.1_ep81 -> bus/usb/3/1_ep/81
lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev4.1_ep00 -> bus/usb/4/1_ep/00
lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev4.1_ep81 -> bus/usb/4/1_ep/81
lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev5.1_ep00 -> bus/usb/5/1_ep/00
lrwxrwxrwx  1 root root	   17 2007-09-11 17:45 usbdev5.1_ep81 -> bus/usb/5/1_ep/81

.

 

So when I run tilp (as root or not) I cannot see the calculator. I've looked on Ubuntuforums and even the post on this forum seems to suggest that it's not done horrendously. What am I missing? Is there anything I should be looking for? Any help is appreciated.

 

Thanks, as always,

 

Jon

 

 

[moved from Laptops & Portable Devices by spinynorman]

Edited by spinynorman
Link to comment
Share on other sites

So I changed the name of the udev/rules.d to 25_ticables.rule instead of 025_ticables.rule. No change in reaction.

 

If I run it as root in the console I see the output

 

TiLP2 - Version 1.07, (C) 1999-2006 Romain Lievin
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY
PLEASE READ THE DOCUMENTATION FOR DETAILS
built on Sep  2 2007 01:07:05
ticables-INFO: ticables library version 1.0.9
ticables-INFO: kernel: 2.6.22.4-65.fc7
tifiles-INFO: tifiles library version 1.0.7
ticalcs-INFO: ticalcs library version 1.0.7
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

 

Jon

Edited by JonEberger
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...