Unix Blog !

December 9, 2007

Listing USB devices on Fedora 7

Filed under: Linux Utilities, lsusb, Unix Commands, USB — sriram003 @ 5:27 pm

lsusb command can list all usb devices found,
I had Fedora core 7(moonshine) installed and i did not find the command,

I had to install usbutils which brings the command:

[root@linuxbox ~]# yum -y install usbutils
Installed: usbutils.i386 0:0.71-2.1
Complete!

[root@linuxbox ~]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 004: ID 07a6:8511 ADMtek, Inc. ADM8511 Pegasus II Ethernet
Bus 001 Device 003: ID 046d:c016 Logitech, Inc. M-UV69a Optical Wheel Mouse

[root@linuxbox ~]# lsusb -d 07a6:8511 -v <— gives details
Bus 001 Device 004: ID 07a6:8511 ADMtek, Inc. ADM8511 Pegasus II Ethernet
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x07a6 ADMtek, Inc.
idProduct 0x8511 ADM8511 Pegasus II Ethernet
bcdDevice 1.01
iManufacturer 1 ADMtek
iProduct 2 USB To LAN Converter
iSerial 3 0001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 160mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
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 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1

January 5, 2006

Linux Utilities

Filed under: Linux Utilities — sriram003 @ 12:33 am

Systat

The sysstat package contains the sar, mpstat, and iostat commands for Linux. The sar command collects and reports system activity information. This information can also be saved in a system activity file for future inspection. The iostat command reports CPU statistics and I/O statistics for tty devices and disks. The statistics reported by sar concern I/O transfer rates, paging activity, process-related activites, interrupts, network activity, memory and swap space utilization, CPU utilization, kernel activities, and TTY statistics, among others. Both UP and SMP machines are fully supported.

Re-Tail

Re-Tail is a command line program which is intended as an intelligent incremental logfile reader. It will read a file or group of files given on the command line, and output any changes since last time it read the file(s).
http://xjack.org/retail/

Checkservice

Checkservice is a Perl script that monitors services on remote hosts
http://www.linvision.com/checkservice/

Easy Shape

“Easy Shape” is a Web-based frontend for managing and graphing traffic and bandwidth flows under Linux.
http://www.linuxbox.co.za/software/easyshape/

autopackage:

Got yourself a .package file and don’t know what to do? Build packages that will install on many different distros Multiple front ends: best is automatically chosen so GUI users get a graphical front end, and command line users get a text based interface Multiple language support (both in tools and for your own packages) Automatically verifies and resolves dependencies no matter how the software was installed. This means you don’t have to use Autopackage for all your software, or even any of it, for packages to successfully install.
http://autopackage.org/

Openstats

OpenStats is an advanced open source platform for providing web traffic analysis.
http://www.openstats.net/

Mtop

(MySQL top) monitors a MySQL database showing the queries which are taking the most amount of time to
complete.
http://mtop.sourceforge.net/

Zabbix

Zabbix is software that monitors servers and applications. It has Web interface that allows quick and easy administration.Somewhat similar to Nagios
http://www.zabbix.com/

Maia Mailguard

Maia provides a Web-based front end to configure an anti-spam and anti-virus mail system.
http://www.renaissoft.com/projects/maia/

Qmail-Scanner

Qmail-Scanner Statistics uses the Qmail-Scanner Logfile to generate daily, monthly, and yearly statistics. It also shows a complete list of viruses stopped by Qmail-Scanner, the top five domains from which the viruses came, as well as the countries http://sourceforge.net/projects/qss

Ghost for Linux:

Ghost for Linux is a hard disk and partition imaging and cloning tool similar to Norton Ghost(c). The created images are optionally compressed and transferred to an FTP server. The included kernel supports almost every common network interface, ATA and serial-ATA drives. The extended kernel on CD supports SCSI and several 1000 MBit network cards. It comes as 2 boot/root disks or a bootable CD image with an ncurses GUI.

http://g4l.networks-ltd.de/

Thunk

A password checker, cracker, and generator.
http://freshmeat.net/projects/thunk/

Create a free website or blog at WordPress.com.