[TILP2] Failed to open Usb device.

Bug #129149 reported by Andrea Caminiti
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tilp2 (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Jaunty by Bartłomiej Żogała
Nominated for Karmic by Bartłomiej Żogała

Bug Description

Binary package hint: tilp2

Tilp2 has severe problems with the Silver Link USB cable. After choosing the right link cable and calculator, Tilp2 shows two errors as GUI windows.

Error # 1
Msg: Failed to open USB device.
Cause: check your USB cable is plugged and /or the calculator is ON! Check your libusb and usbfs permissions, too.
System: Operacion no permitida (errno = 1) -------- translated as : operation not allowed

Error # 2
The cable can not be used.
Cause: the cable has not been initialized due to a previous/current error

My calculator is a TI V200, i'm using a silverlink cable. i had check the permissions of libusb and is set in 644 to root:root. i can't find the other file that is mentioned: usbfs. Trying to get more information about this error, i opened tilp using a console/terminal. the result is this:

ticables-INFO: Check for lib-usb support:
ticables-INFO: usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO: usb filesystem (/proc/bus/usb): mounted
1: 0 0 0 0
2: 0 0 0 0
3: 0 0 0 0
4: 1 0 0 0
5: 0 0 0 0
tilp-INFO: Searching for hand-helds on 4:1...
ticables-INFO: Check for lib-usb support:
ticables-INFO: usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO: usb filesystem (/proc/bus/usb): mounted
ticables-INFO: found <> on #1, version <1.03>

(tilp:12503): ticables-WARNING **: usb_claim_interface (could not claim interface 0: Operación no permitida). ------ again translated: operation not allowed
ticables-INFO: Check for lib-usb support:
ticables-INFO: usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO: usb filesystem (/proc/bus/usb): mounted
1: 0 0 0 0
2: 0 0 0 0
3: 0 0 0 0
4: 1 0 0 0
5: 0 0 0 0
tilp-INFO: Searching for hand-helds on 4:1...
ticables-INFO: Check for lib-usb support:
ticables-INFO: usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO: usb filesystem (/proc/bus/usb): mounted
ticables-INFO: found <> on #1, version <1.03>

(tilp:12503): ticables-WARNING **: usb_claim_interface (could not claim interface 0: Operación no permitida). ------ again translated: operation not allowed

this is all the help i can provide to you. hope this bug get fixed soon. thanks

nrayever

Revision history for this message
Andrea Caminiti (nrayever) wrote :

adding a nice screenshoot for the errors. in the backgorund the console/terminal with the errors too.

Revision history for this message
Andrea Caminiti (nrayever) wrote :

last screenshoot, sorry

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta or later?

Changed in tilp2:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in tilp2:
status: Incomplete → Invalid
Revision history for this message
Bartłomiej Żogała (nusch) wrote :

Also affects tilp2-1.01-0ubuntu3 under jaunty. I'm using TI-84+ over SilverLink USB cable. The problems didn't disapeared after adding user to tilp group or running with kdesu.

Changed in tilp2 (Ubuntu):
status: Invalid → New
Revision history for this message
Bartłomiej Żogała (nusch) wrote :
Revision history for this message
Bartłomiej Żogała (nusch) wrote :

sudo chown -R user:users /dev/bus/usb

solves the problem temporarily until next connection

Revision history for this message
debrouxl (lionel-debroux) wrote :

Hi, this is upstream (current maintainer).
TILP II can work for non-root users, if those users create (or best, if the libticables package embeds, thereby enabling out of the box operation) the appropriate udev definitions, as described in http://svn.tilp.info/cgi-bin/viewcvs.cgi/libticables/trunk/CONFIG?view=markup .

Hope that helps.

Regards,
Lionel Debroux.

Revision history for this message
Michael Brian Benesch (benem3000) wrote :

Well, all I did was run it as root and the problems went away. I don't advise you to run many applications with root access thought. I typed in the terminal in ubuntu lynx (10.04) "sudo tilp" and it worked perfectly.

Revision history for this message
debrouxl (lionel-debroux) wrote :

Yeah, running TILP II as root makes the problem go away, but I don't advise it either.
Follow the instructions given in http://svn.tilp.info/cgi-bin/viewvc.cgi/libticables/trunk/CONFIG?view=markup (which needs root access once) and then you'll be able to run TILP without root access.

Lionel Debroux (current upstream maintainer)

Revision history for this message
Starbuck Johnson (starbuckjohnson) wrote :

The maintainer has already submitted a fix. It is no longer a bug in need of fixing.

Revision history for this message
Starbuck Johnson (starbuckjohnson) wrote :

The solution has been found by both user and current maintainer.

Changed in tilp2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.