Giter VIP home page Giter VIP logo

usbview's Introduction

-- README for USBView - a USB device viewer
-- SPDX-License-Identifier: GPL-2.0-only
-- Copyright (c) 1999-2012, 2021-2022 by Greg Kroah-Hartman, [email protected]
--
--  This program is free software; you can redistribute it and/or modify
--  it under the terms of the GNU General Public License as published by
--  the Free Software Foundation; version 2 of the License.
--
--  This program is distributed in the hope that it will be useful,
--  but WITHOUT ANY WARRANTY; without even the implied warranty of
--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--  GNU General Public License for more details.
--
-- (See the full license text in the LICENSES directory)
--

USBView is a small GTK application to show what the device tree of
the USB bus looks like. It shows a graphical representation of the
devices that are currently plugged in, showing the topology of the
USB bus. It also displays information on each individual device on
the bus.

usbview's People

Contributors

barak avatar diegoherranz avatar ferdnyc avatar gregkh avatar jwrdegoede avatar mgerstner avatar mikesartain avatar peterbrei avatar pinotree avatar smcameron avatar vikrampandita avatar ximion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usbview's Issues

Add brief description how to build it

There should be a brief description how to build it - even if this is considered trivial. Especially, is there a way to make an out-of-source build, so the no files are generated in the git source folder? Seems autogen.sh must be invoked from the source folder and will always generate files there?

Release?

Since the last official release (2.0) was in 2012, none of the merged PRs are included, and some distros are still packaging that version, or a locally-modified one.

(Fedora, for instance, adds its own polkit file (#12) and reencodes the ChangeLog file to UTF-8, but otherwise packages 2.0 unmodified from the 2012 release. That means that even the USB-3 bus speed labels (#8) aren't displayed in the Fedora usbview.)

Pushing out a 2.1 release would hopefully spur downstream packagers into updating.

Please consider updating the copyright notices to reflect the new mailing address of the Free Software Foundation

The Free Software Foundation is no longer at 675 Mass Ave, Cambridge, MA.

Our new address is 51 Franklin Street, Suite 500, Boston, MA 02110.

You can confirm this for yourself here: http://www.fsf.org/about/contact/

Please update all references to our old address in your code so people can continue to contact us (we haven't been at the old address for more than a decade at this point)

Kind regards,

matt

Matt Lee
Campaigns Manager
Free Software Foundation

Name interfaces after iInterface descriptor string

Hello Greg!

I am building a custom device with multiple interfaces and I noticed that usbview does display "Name: (none)" on them although I have set a valid descriptor string for one of them and lsusb does show it too. So I looked into the usbview source, saw that the interfaces are named after the driver if available but could not find any reference to the interface string index... I wondered why and discovered that this is not exported by the (3.8) kernel debugfs at all :)

I have not looked at the kernel source, but I need to hack on the USB subsystem anyway... so do you think it would be useful to export that information via the debugfs at all? Then I could try to do that. Maybe it would make more sense to rewrite usbview to use libusb for such fancy stuff eventually (not that anyone would do that just because of this :)

(I can also repost on usb-linux if you think it needs some more discussion)

nest interfaces and endpoints

Is it possible to add nodes for interfaces and endpoints instead of just output that for each bus:device?

Maybe that's only for input devices, if not, that would be another pro of using a GUI

make error #2

Hi!

while trying to build on my laptop MSI GS63 Stealth under Kubuntu 21.10 I'm getting build error after calling command make:

make  all-am
make[1]: Entering directory '/mnt/data/repos/github/usbview'
  CC       main.o
mkdir -p $(dirname hicolor/64x64/apps/usbview_icon.xpm)
convert -geometry $(basename $(dirname $(dirname hicolor/64x64/apps/usbview_icon.xpm))) usbview_icon.svg hicolor/64x64/apps/usbview_icon.xpm
convert: no images defined `hicolor/64x64/apps/usbview_icon.xpm' @ error/convert.c/ConvertImageCommand/3322.
make[1]: *** [Makefile:992: hicolor/64x64/apps/usbview_icon.xpm] Error 1
make[1]: Leaving directory '/mnt/data/repos/github/usbview'
make: *** [Makefile:359: all] Error 2

What am I doing wrong?

after configuration I saw this summary:

    usbview 2.1
    ===========

    prefix:                 /usr/local
    datarootdir:            ${prefix}/share
    datadir:                ${datarootdir}
    mandir:                 ${datarootdir}/man

    compiler:               gcc
    cflags:                 -g -O2
    ldflags:                

opening About box locks up UI and prevents use of Refresh and Quit

What's your reasoning in preventing me from using Refresh or Quit if the About box is open?

Is there some UI consequence I don't understand?

I happened to have opened the About box, then got distracted by other things that ended up covering up the box, and when I went back the next day to try to Quit usbview, it wouldn't let me. I had to dig around to find the open About box and close it first. I couldn't even click on the About button to toggle the box closed; I had to actually find the box and use Close. Can this be made easier?

Feature Request: Show Vendor and Product

Hi,

This is not a bug, just a thought of an enhancement - so want to clearly call it that ๐Ÿ˜„. It would be nice to show the Vendor and Product name ... from usb.ids (lookup of sorts?).

Just a thought.

Thanks!

installer warnings

two parts to this minor issue:

(1) INSTALL document says to run "configure", but doesn't say that you have to make the configure file (? by running autogen,sh)
and
(2) when I ran autogen.sh it ran correctly but threw up several warnings:
~/git/usbview$ . autogen.sh
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:10: installing './compile'
configure.in:4: installing './install-sh'
configure.in:4: installing './missing'
Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am: installing './depcomp'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'

feature request: keyboard shortcuts

I'm forwarding a reasonable wishlist that was filed against the debian usbview package, namely a request for a keyboard shortcut 'q' or 'C-q' or 'C-w' or ESC or something like that, to quit. And maybe 'C-l' or 'r' to refresh? (You can navigate to the QUIT button and click it with RET, so it is possible to quit using the keyboard, but inconvenient.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.