大阪電気通信大学
ホーム| ICタグ&ピーナッツトランプ| 爆笑計| Knoppix DD| サイバーキャンパス整備事業| ニンテンドーDSプロジェクト| CATIA大量導入| Chem3D 大量導入
Knoppix DD トップページ
Knoppix DD ダウンロード
Knoppix
 DD 動作状況
Knoppix 技術情報
Knoppix リンク集
Knoppix DD 技術情報

USB 機器の認識確認

KNOPPIX には 接続されている USB 機器の状況を把握するために USBView というツールが 含まれています。
USB 機器がうまく利用できない場合、このツールを使うことで、 Linux カーネルが認識できていないのか、USB 機器を利用するアプリケーションが 認識できていないのか、という切り分けを行うことができます。

USBView 公式サイト (http://www.kroah.com/linux-usb/)


起動方法は、ターミナル上で usbview を実行します。

% usbview


起動すると、下のようなウィンドウが現れます。

起動画面

ウィンドウの左に USB ホストコントローラと USB 機器のツリーが、 右に選択した USB 機器の詳細情報が表示されます。 接続した USB 機器が認識していれば、左のツリーに該当する項目が表示されます。
図では USB メモリ(I-O DATA Easy Disk)を表示しています。

実際に幾つかの機器を接続し、表示された機器情報

USB マウス(Microsoft 3ボタンマウス)
USB トラックボール(Logitech Marble Mouse USB)
USB メモリ(I-O DATA Easy Disk)
USB メモリ(BUFFALO ClipDrive)
USB マルチカードリーダー(LOAS CRW-11M23SL)

USB マウス(Microsoft 3ボタンマウス)
Interface Number の下の Name: や Class: を見ると usbhid が指定されています。
Linux 上で このマウスが 入力機器(HID:Human Interface Device) として 認識されていることが分かります。
Microsoft 3-Button Mouse with IntelliEye(TM)
Manufacturer: Microsoft
Speed: 1.5Mb/s (low)
USB Version:  1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 045e
Product Id: 0040
Revision Number:  3.00

Config Number: 1
	Number of Interfaces: 1
	Attributes: a0
	MaxPower Needed: 100mA

	Interface Number: 0
		Name: usbhid
		Alternate Number: 0
		Class: 03(HID  ) 
		Sub Class: 1
		Protocol: 2
		Number of Endpoints: 1

			Endpoint Address: 81
			Direction: in
			Attribute: 3
			Type: Int.
			Max Packet Size: 4
			Interval: 10ms
USB トラックボール(Logitech Marble Mouse USB)
USB-PS/2 Trackball
Manufacturer: Logitech
Speed: 1.5Mb/s (low)
USB Version:  1.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 046d
Product Id: c402
Revision Number:  2.10

Config Number: 1
	Number of Interfaces: 1
	Attributes: a0
	MaxPower Needed:  50mA

	Interface Number: 0
		Name: usbhid
		Alternate Number: 0
		Class: 03(HID  ) 
		Sub Class: 1
		Protocol: 2
		Number of Endpoints: 1

			Endpoint Address: 81
			Direction: in
			Attribute: 3
			Type: Int.
			Max Packet Size: 8
			Interval: 10ms
USB メモリ(I-O DATA Easy Disk)
USB Version を見ると 2.0 となっており、高速で読み書きできることが分かります。 また、Interface Number の下の Name: は usb-storage となっており、 ストレージであることが判断できます。

また、usb-storage の場合、/dev/sda や /dev/sdb といったデバイス名になります。 /dev/sd* というファイルシステムの場合、デスクトップのデバイスアイコンが /dev/sda と /dev/sda1 のように2つ表示される時が ありますが、殆どの場合 /dev/sda1 のように最後に数字があるアイコンの方が ファイルシステムを指すことが多いようです。
USB Flash Disk
Manufacturer: I-O DATA
Serial Number: 0700234163532D97
Speed: 480Mb/s (high)
USB Version:  2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 08ec
Product Id: 0012
Revision Number:  2.00

Config Number: 1
	Number of Interfaces: 1
	Attributes: 80
	MaxPower Needed: 178mA

	Interface Number: 0
		Name: usb-storage
		Alternate Number: 0
		Class: 08(stor.) 
		Sub Class: 6
		Protocol: 50
		Number of Endpoints: 2

			Endpoint Address: 81
			Direction: in
			Attribute: 2
			Type: Bulk
			Max Packet Size: 512
			Interval: 0ms

			Endpoint Address: 02
			Direction: out
			Attribute: 2
			Type: Bulk
			Max Packet Size: 512
			Interval: 0ms
USB メモリ(BUFFALO ClipDrive)
こちらも USB メモリですが、I-O DATA の Easy Disk よりも最大消費電力が低いことが分かります。
ClipDrive       
Manufacturer: BUFFALO 
Serial Number: B11509743530009B
Speed: 480Mb/s (high)
USB Version:  2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 0ea0
Product Id: 2168
Revision Number:  2.00

Config Number: 1
	Number of Interfaces: 1
	Attributes: 80
	MaxPower Needed: 100mA

	Interface Number: 0
		Name: usb-storage
		Alternate Number: 0
		Class: 08(stor.) 
		Sub Class: 6
		Protocol: 50
		Number of Endpoints: 3

			Endpoint Address: 81
			Direction: in
			Attribute: 2
			Type: Bulk
			Max Packet Size: 512
			Interval: 0ms

			Endpoint Address: 02
			Direction: out
			Attribute: 2
			Type: Bulk
			Max Packet Size: 512
			Interval: 0ms

			Endpoint Address: 83
			Direction: in
			Attribute: 3
			Type: Int.
			Max Packet Size: 2
			Interval: 125us
USB マルチカードリーダー(LOAS CRW-11M23SL)
USB2.0 Card Reader
Manufacturer: ICSI
Serial Number: 00000000001
Speed: 480Mb/s (high)
USB Version:  2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 0dda
Product Id: 2001
Revision Number:  1.9c

Config Number: 1
	Number of Interfaces: 1
	Attributes: 80
	MaxPower Needed: 500mA

	Interface Number: 0
		Name: usb-storage
		Alternate Number: 0
		Class: 08(stor.) 
		Sub Class: 6
		Protocol: 50
		Number of Endpoints: 2

			Endpoint Address: 82
			Direction: in
			Attribute: 2
			Type: Bulk
			Max Packet Size: 512
			Interval: 0ms

			Endpoint Address: 01
			Direction: out
			Attribute: 2
			Type: Bulk
			Max Packet Size: 512
			Interval: 0ms

<注意>
本ページによる情報については、本学はなんらその責任を追うものではありません。 ご理解の上、自己責任でご使用下さい。