From: SourceForge.net <no...@so...> - 2007-07-21 22:09:39
|
Bugs item #1757810, was opened at 2007-07-20 23:31 Message generated for change (Comment added) made by roms You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118378&aid=1757810&group_id=18378 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Patrick Fehr (fehrp) >Assigned to: Romain Liévin (roms) Summary: Tilp permission problem and strange variables displayed Initial Comment: Dear tilp Maintainers I did the following under ubuntu edgy / TiLP - Version 6.80: sudo mknod /dev/tiusb0 c 115 16 sudo chmod 666 /dev/tiusb0 of course it's root:root chowned as every other /dev apt-get install tilp Now first of all, everytime I want to change a setting in Setup/Communication(my setup would be a Silver cable, Port 1 and a TI voyage 200), I get Msg: you don't have permissions for reading/writing the node. Cause: others does not have r/w access or you are not in the group. So I checked /etc/group and added my username to the line "users:100:" but that didn't change it. The log so far is as following: padi-laptop:~$ tilp tilp : TiLP - Version 6.80, (C) 1999-2005 Romain Lievin tilp : THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY tilp : PLEASE READ THE DOCUMENTATION FOR DETAILS tilp : built on Mar 21 2007 23:40:24 tilp : initialized in command line mode. tilp : Configuration file not found, use default values. You can create one by the 'File|Save config' command menu. tilp : err: msg_box: Information, Configuration file not found, use default values. You can create one by the 'File|Save config' command menu. tilp : setlocale: <de_CH.UTF-8> tilp : bindtextdomain: </usr/share/locale/> tilp : textdomain: <tilp> ticables: ticables library version 3.9.6 ticables: setlocale: <de_CH.UTF-8> ticables: bindtextdomain: </usr/share/locale> ticables: textdomain: <libticables> ticables: built for __LINUX__ target. ticables: checking resources: ticables: IO_API: found at compile time (HAVE_TERMIOS_H) ticables: IO_ASM: not found at compile time (HAVE_ASM_IO_H). ticables: IO_TIPAR: found at compile time (HAVE_LINUX_TICABLE_H) ticables: IO_TISER: found at compile time (HAVE_LINUX_TICABLE_H) ticables: IO_TIUSB: found at compile time (HAVE_LINUX_TICABLE_H) ticables: IO_LIBUSB: found at compile time (HAVE_LIBUSB) ticables: quick search for parallel/serial ports: ticables: parallel port found at 0x3bc ticables: serial port found at 0x3f8 ticables: search for all ports: ticables: /dev/parport0 at 0x3bc ticables: /dev/ttyS0 at 0x3f8 ticables: /dev/ttyS1 at 0x2f8 ticables: /dev/ttyS2 at 0x3e8 ticables: /dev/ttyS3 at 0x2e8 ticables: getting method from resources (automatic): ticables: check for tty usability: ticables: node /dev/ttyS0: exists ticables: permissions/user/group: -rw-rw---- root dialout ticables: is user can r/w on device: no ticables: are others can r/w on device: no ticables: is the user 'padi' in the group 'dialout': yes ticables: mapping I/O... ticables: registering cable... ticables: list of settings: ticables: cable: GrayLink ticables: port: serial port #2 ticables: method: direct access (api) ticables: device name: /dev/ttyS1 ticables: delay value: 10 tifiles : tifiles library version 0.6.6 tifiles : setlocale: <de_CH.UTF-8> tifiles : bindtextdomain: </usr/share/locale> tifiles : textdomain: <libtifiles> tifiles : settings: tifiles : calc type: TI92 ticalcs : ticalcs library version 4.6.1 ticalcs : setlocale: <de_CH.UTF-8> ticalcs : bindtextdomain: </usr/share/locale> ticalcs : textdomain: <libticalcs> tifiles : settings: tifiles : calc type: TI92 ticalcs : settings: ticalcs : calc type: TI92 tilp : initialized in GTK+ mode. tilp : scanning plug-ins... Done ! tilp : scanning registry... Done ! ticables: getting method from resources (automatic): ticables: check for tiusb usability: ticables: using devfs: no ticables: node /dev/tiusb0: exists ticables: permissions/user/group: -rw-rw-rw- root root ticables: is user can r/w on device: no ticables: are others can r/w on device: yes ticables: module: not loaded ticables: => check the module exists (either as module, either as built-in) ticables: => add an entry into your modutils file to automatically load it ticables: warning: can't use IO_TIUSB ticables: check for lib-usb usability: ticables: usb filesystem (/proc/bus/usb): mounted ticables: node /proc/bus/usb/devices: exists ticables: permissions/user/group: -rw-r--r-- root root ticables: is user can r/w on device: no ticables: are others can r/w on device: no ticables: is the user 'padi' in the group 'root': no ticables: => you should add your username at the group 'root' in '/etc/group' ticables: => you will have to restart you session, too ticables: warning: can't use IO_LIBUSB ticables: err: unable to find an I/O method. ticables: list of settings: ticables: cable: SilverLink ticables: port: USB port #1 ticables: method: unknown ticables: device name: /dev/ttyS1 ticables: delay value: 10 One weird thing is, that the settings are seem to be set (shows the log) even if I cancel that window! And I can check the "ready" button(when I chose TI92+ only, but NOT when I chose my REAL model(TI 89 Titanium: voyage 200), because then I get: Msg: Invalid host ID. Cause: TiLP received an unexpected Machine ID, probably due to a transmission error.) and get a connection, but when I then try a dirlist, I get the same error. Now I tried the forbidden start as root: I also get many many errors, the first when trying to set Communication settings: Msg: Error occurred while initializing the libusb. Cause: Check that your cable is connected or not stalled. Check your libusb and usbfs, too. System: Device or resource busy (errno = 16) Okay, I get a dirlist, when I chose the wrong model (TI 92+) but the dirlist is rubbish, the only thing, that is correct is ONE folder and it's name, all the other folders in Variables are not displayed and the content in the correct one is rubbish too: some expr have no name at all, some have a filesize of over 11MB, etc. I would like to help debug, please feel free to contact me, if you could need further logs, etc. Thanks for your appreciation best regards Patrick ---------------------------------------------------------------------- >Comment By: Romain Liévin (roms) Date: 2007-07-22 00:09 Message: Logged In: YES user_id=136160 Originator: NO TILP-1 is no longer supported. Please switch to TiLP2. Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118378&aid=1757810&group_id=18378 |