・シリアルデバイス
setserialコマンド 例. setserial /dev/ttyS1 irq3
I/Oアドレスとシリアルデバイスの対応関係を表示する。
[root@vmcent5 ~]# setserial -g /dev/ttyS1
/dev/ttyS1, UART: 16550A, Port: 0×02f8, IRQ: 3
・USBデバイス
デバイスコントローラとドライバの関係
UHCI (USB1.1) usb-uhci.o
OHCI(USB1.1) usb-ohci.o
EHCI(USB2.0) ehci-hcd.o
どのUSBコントローラを使用しているかはdmesgコマンド、lspciコマンドで確認できる。
・USBモジュールのロード
modprobeコマンド 例. modprobe usb-uhci
・USBデバイス情報の表示
lsusbコマンド( -t:ツリー状表示 -v:詳細表示)
[root@vmcent5 ~]# lsusb
Bus 001 Device 001: ID 0000:0000[root@vmcent5 ~]# lsusb -v
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0×0000
idProduct 0×0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.18-92.1.6.el5 uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:07.2
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 0×81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0×0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0×000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0xc0
PortPwrCtrlMask 0xd6
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
・USBデバイスが利用しているカーネルモジュールの表示
usbmodules
vmware版centos5にはusbmodulesコマンドはなかった