USB tools

I have oS 11.1 w/ KDE 3.5 586 (not a 64 bit capable machine).

I installed usbview only to be told that there is an issue.

==========================================================

[USBView Error]
Can not open the file /proc/bus/usb/devices

Verify that you have USB compiled into your kernel,
have the USB core modules leaded, and have the
usbdevfs filesystem loaded.


| |
| OK |

==========================================================

It seems that this user/admin support went away after oS 10.3

I cannot find hide nor hair of it. Yast shows no such modules.

Where do i go to put this support back together?


Transmitted with recycled bits.
Damnly my frank, I don’t give a dear

I find USBView and USBUtils amoung others present. Just what are you trying to do or look at?

Thank You,

On Fri, 07 May 2010 03:16:02 GMT, jdmcdaniel3
<jdmcdaniel3@no-mx.forums.opensuse.org> wrote:

>
>I find USBView and USBUtils amoung others present. Just what are you
>trying to do or look at?
>
>Thank You,

Quite simply, right now, i want the functionality of usbview without
throwing an error (shown previously) and quitting. It helps me
understand a problem sometimes.

Here you go:
Software.openSUSE.org
Search for usbview for your openSUSE version and arch, install run and let us know what happens.

Usbview relies on usbfs, which opensuse hasn’t used for long now. You can get it to work by mounting usbfs like this, as root:

mount usbfs

Oh and by the way lsusb -v will give you as much info as usbview and more without having to mount usbfs.

Thanks hank_se for the neat terminal command “lsusb -v”. Here is what a dual port USB 3.0 adapter looks like.

Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.31.12-0.2-desktop xhci_hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:02:00.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0903 test power enable connect
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 007 Device 002: ID 174c:55aa ASMedia Technology Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x174c ASMedia Technology Inc.
  idProduct          0x55aa 
  bcdDevice            1.00
  iManufacturer           2 ASMedia
  iProduct                3 AS2105
  iSerial                 1 0123456789ABCDEF
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           44
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        ** UNRECOGNIZED:  06 30 0f 00 00 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0

Thank You,

On Sun, 09 May 2010 14:46:02 GMT, Knurpht
<Knurpht@no-mx.forums.opensuse.org> wrote:

>
>Here you go:
>‘Software.openSUSE.org’ (http://software.opensuse.org/search)
>Search for usbview for your openSUSE version and arch, install run and
>let us know what happens.

No change. Same error message. No functionality.

On Sun, 09 May 2010 15:06:02 GMT, hank se
<hank_se@no-mx.forums.opensuse.org> wrote:

>
>Usbview relies on usbfs, which opensuse hasn’t used for long now. You
>can get it to work by mounting usbfs like this, as root:
>
>Code:
>--------------------
> mount usbfs
>--------------------

That got it. Thranx.

On Sun, 09 May 2010 15:36:01 GMT, hank se
<hank_se@no-mx.forums.opensuse.org> wrote:

>
>Oh and by the way lsusb -v will give you as much info as usbview and
>more without having to mount usbfs.

Yes, it does. Sometimes it is just not as convenient, like when there is
a slew of USB stuff hooked up.

A similar pair of utilities for firewire would be nice also.

I found another useful tool the other day, there’s a script /usr/sbin/usb-devices that will generate a more structured output than lsusb, might be an alternative to usbview. There’s also a script /usr/sbin/update-usbids.sh that will update the file /usr/share/usb.ids!