usbview doesn't start with sudo privileges and therefore doesnt work

Bug #1327062 reported by Redmar
This bug affects 2 people
Affects Status Importance Assigned to Milestone
usbview (Ubuntu)

Bug Description

The problem:
Starting usbview from the Dash or terminal gives the following error:
"Can not open the file /sys/kernel/debug/usb/devices

 Verify that you have USB compiled into your kernel,
 have the USB core modules loaded, and have the
 usbdevfs filesystem mounted.
Because of this, the program is not usable at all. However, the problem is not related to anything described in that error, since usbview simply needs root privileges to run.

The solution:
Run usbview with gksu.

The fix:
Add gksu as a dependency of usbview and modify the usbview.desktop command to add gksu.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: usbview 2.0-2 [modified: usr/share/applications/usbview.desktop]
ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
Uname: Linux 3.13.0-27-generic i686
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
CurrentDesktop: Unity
Date: Fri Jun 6 08:36:41 2014
InstallationDate: Installed on 2013-08-04 (305 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release i386 (20130424)
SourcePackage: usbview
UpgradeStatus: Upgraded to trusty on 2013-12-21 (166 days ago)

Revision history for this message
Redmar (redmar) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in usbview (Ubuntu):
status: New → Confirmed
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.