Program can't work without /proc/bus/usb/devices #2

Closed
Vascom opened this Issue Jun 14, 2012 · 7 comments

Projects

None yet

3 participants

@Vascom
Vascom commented Jun 14, 2012

Program can't work without /proc/bus/usb/devices
Please correct this, because /proc/bus/usb/devices is DEPRECATED in current kernel and not using in modern distributives.

@gregkh
Owner
gregkh commented Jun 14, 2012

On Thu, Jun 14, 2012 at 06:51:51AM -0700, Vasiliy Glazov wrote:

Program can't work without /proc/bus/usb/devices
Please correct this, because /proc/bus/usb/devices is DEPRECATED in current kernel and not using in modern distributives.

Point it at /sys/kernel/debug/usb/devices instead, that should work,
right?

@Vascom
Vascom commented Jun 14, 2012

I think it must be in /sys/bus/usb/

@gregkh
Owner
gregkh commented Jun 14, 2012

On Thu, Jun 14, 2012 at 07:01:31AM -0700, Vasiliy Glazov wrote:

I think it must be in /sys/bus/usb/

What do you mean? That's not where the file is, sorry, it's in
/sys/kernel/debug/usb/devices/

@Vascom
Vascom commented Jun 14, 2012

Well, then there. I'm not very versed in this.

@gregkh gregkh closed this Jul 9, 2012
@prusnak
prusnak commented Feb 12, 2014

New distros don't mount usbfs, because it's not needed anymore. Any chance of reworking usbview to work without it?

@gregkh
Owner
gregkh commented Feb 12, 2014

It has been reworked to not need it, many years ago, it now uses debugfs.

@prusnak
prusnak commented Feb 12, 2014

Ah, sorry for the noise. I saw this 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. "

and thought it was still the same issue. Inserting usbmon module helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment