From: Mike M. <ak...@gm...> - 2006-06-23 22:21:32
|
I downloaded the libraries and tilp from here: http://sourceforge.net/project/showfiles.php?group_id=18378&package_id=159925 I then ran tilp like this: tilp-2 --calc=ti89t --cable=DirectLink I got a dialog box in X with some information: Msg: attempting to use a cable which has not been open before. Cause: internal error System: No such file or directory (errno = 2) I'm using tilp 0.17 with the following libraries (from about): Framework version (cables=0.1.1, files=0.2.0, calcs=0.2.2, ticonv=0.0.4) Console output is as follows: TiLP - Version 0.17, (C) 1999-2006 Romain Lievin THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY PLEASE READ THE DOCUMENTATION FOR DETAILS built on Jun 23 2006 15:06:06 tilp-INFO: setlocale: <C> tilp-INFO: bindtextdomain: <\locale> tilp-INFO: textdomain: <tilp2> ticables-INFO: cables library version 0.1.1 ticables-INFO: setlocale: <C> ticables-INFO: bindtextdomain: </usr/local/share/locale> ticables-INFO: textdomain: <libticables2> tifiles-INFO: tifiles library version 0.2.0 tifiles-INFO: setlocale: <C> tifiles-INFO: bindtextdomain: </usr/local/share/locale> tifiles-INFO: textdomain: <libtifiles2> ticalcs-INFO: ticalcs library version 0.2.2 ticalcs-INFO: setlocale: <C> ticalcs-INFO: bindtextdomain: </usr/local/share/locale> ticalcs-INFO: textdomain: <libticalcs2> ticables-INFO: Check for lib-usb usability: ticables-INFO: usb filesystem (/proc/bus/usb): mounted ticables-INFO: node /proc/bus/usb/devices: exists ticables-INFO: permissions/user/group: -rw-rw-rw- root usb ticables-INFO: is user can r/w on device: no ticables-INFO: are others can r/w on device: yes tilp-INFO: Msg: illegal operation or argument. Cause: the program which uses this library is buggy. Fire-up the developer! System: Inappropriate ioctl for device (errno = 25) tilp-INFO: tilp_device_err catched error 51 I've set global read-write permissions set on /proc/bus/usb* just to make sure nothing is wrong with file access. lsusb shows that the calculator is plugged in: Bus 003 Device 005: ID 0451:e004 Texas Instruments, Inc. TI-89 Titanium Calculator Any help is appreciated :) TIA Mike |
From: Simo L. <si...@ar...> - 2006-06-23 22:44:04
|
On Fri, Jun 23, 2006 at 03:21:27PM -0700, Mike Mohr wrote: > I downloaded the libraries and tilp from here: >=20 > http://sourceforge.net/project/showfiles.php?group_id=3D18378&package_id= =3D159925 >=20 > I then ran tilp like this: >=20 > tilp-2 --calc=3Dti89t --cable=3DDirectLink >=20 > I got a dialog box in X with some information: >=20 > Msg: attempting to use a cable which has not been open before. > Cause: internal error > System: No such file or directory (errno =3D 2) >=20 > I'm using tilp 0.17 with the following libraries (from about): >=20 > Framework version (cables=3D0.1.1, files=3D0.2.0, calcs=3D0.2.2, ticonv= =3D0.0.4) >=20 > Console output is as follows: >=20 > TiLP - Version 0.17, (C) 1999-2006 Romain Lievin > THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY > PLEASE READ THE DOCUMENTATION FOR DETAILS > built on Jun 23 2006 15:06:06 > tilp-INFO: setlocale: <C> > tilp-INFO: bindtextdomain: <\locale> > tilp-INFO: textdomain: <tilp2> > ticables-INFO: cables library version 0.1.1 > ticables-INFO: setlocale: <C> > ticables-INFO: bindtextdomain: </usr/local/share/locale> > ticables-INFO: textdomain: <libticables2> > tifiles-INFO: tifiles library version 0.2.0 > tifiles-INFO: setlocale: <C> > tifiles-INFO: bindtextdomain: </usr/local/share/locale> > tifiles-INFO: textdomain: <libtifiles2> > ticalcs-INFO: ticalcs library version 0.2.2 > ticalcs-INFO: setlocale: <C> > ticalcs-INFO: bindtextdomain: </usr/local/share/locale> > ticalcs-INFO: textdomain: <libticalcs2> > ticables-INFO: Check for lib-usb usability: > ticables-INFO: usb filesystem (/proc/bus/usb): mounted > ticables-INFO: node /proc/bus/usb/devices: exists > ticables-INFO: permissions/user/group: -rw-rw-rw- root usb > ticables-INFO: is user can r/w on device: no > ticables-INFO: are others can r/w on device: yes > tilp-INFO: Msg: illegal operation or argument. > Cause: the program which uses this library is buggy. Fire-up the develope= r! > System: Inappropriate ioctl for device (errno =3D 25) >=20 >=20 > tilp-INFO: tilp_device_err catched error 51 >=20 > I've set global read-write permissions set on /proc/bus/usb* just to > make sure nothing is wrong with file access. >=20 > lsusb shows that the calculator is plugged in: >=20 > Bus 003 Device 005: ID 0451:e004 Texas Instruments, Inc. TI-89 > Titanium Calculator >=20 > Any help is appreciated :) >=20 I can report the same error, using the same calculator and link. I also=20 tried running it as root, same error. kernel 2.6.17 libusb 0.1.12 same tilp/tilibs versions as Mike I'd like to help, if there's any additional info I can provide or any other ways I might be helpful, please let me know. --=20 Simo Leone Arch Linux Developer |
From: Romain <ro...@li...> - 2006-06-24 09:22:24
|
Hi, >> Msg: attempting to use a cable which has not been open before. >> Cause: internal error >> System: No such file or directory (errno =3D 2) >> >> lsusb shows that the calculator is plugged in: >> >> Bus 003 Device 005: ID 0451:e004 Texas Instruments, Inc. TI-89 >> Titanium Calculator > > I can report the same error, using the same calculator and link. I also > tried running it as root, same error. > > kernel 2.6.17 > libusb 0.1.12 > same tilp/tilibs versions as Mike same config for me. > I'd like to help, if there's any additional info I can provide or any > other ways I might be helpful, please let me know. It seems I have a _real_ problem with DirectLink support under Linux. It worked some time ago; it does not work any longer. I sometimes noticed that lsusb is blocking even. I have to replug the whole hub to clear error. Better, I have written a special test program which send a ping packet to Titanium. It works once! After, I get the same error as you (no such file or directory). Need to replug the hub to make it work again. There are something weird. I don't know whether problem is related to ticables or libusb. But, I have changed nothing to ticables; I have just upgraded my debian. Thus, I suspect libusb to be responsible of this *$#&@=A3. Well, all is working fine with SilverLink and code is the same for both cable. Weird, isn't it ?! roms. --=20 Romain Li=E9vin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |