SANWA USB Mobile Controller GAMEPAD JY-PMUB
利用したハードウェア
利用したソフトウェア
- module: hid.o joydev.o
- joyenabler_1.3_arm.ipk
SANWA USB Mobile Controller GAMEPAD JY-PMUB
joydev.o をコピーする。
# cd /lib/modules/2.4.20/kernel/drivers/input
# mv joydev.o joydev.o-orig
# cp /mnt/card/joydev.o /lib/modules/2.4.20/kernel/drivers/input/. |
joyenabler をダウンロードして、
[アプリケーションの追加と削除]からインストールを行う。
本体 SL-C3000のUSBポートにPocket USBホスト ケーブルのミニB5ピンを挿して
SANWA USB Mobile Controller GAMEPAD JY-PMUB をPocket USBホスト ケーブルのAタイプ/メスに挿入する。
[設定]-[システム情報]-[デバイス]-[USB]で
USB OHCI Root Hubの次に表示される情報を確認する。
USB
|- USB OHCI Root Hub
|- Mobile Game Pad
Vendor:
Product: Mobile Game Pad
Class: HID
ID: 0773/0104
Driver: hid |
モジュール hid.o joydev.o が自動的にロードされます。
Module Size Used by
joydev 5696 0 (unused)
hid 19296 0 (unused)
usb_ohci_pxa27x 21696 0 (unused)
usbcore 63264 1 [hid usb_ohci_pxa27x]
pxa_bi 24912 0 (unused)
storage_fd 100336 0 (unused)
usbdcore 35504 0 [pxa_bi storage_fd]
usbdmonitor 5488 0
usb-monitor 6496 0
sharp_mmcsd_m 41008 2 |
dmesgに表示されたメッセージは、
メッセージの最後に
hub.c: USB new device connect on bus1, assigned device number 2
usb.c: kmalloc IF c3c36460, numif 1
usb.c: skipped 1 class/vendor specific interface descriptors
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 2 default language ID 0x409
Manufacturer: Austgame
Product: Mobile Game Pad
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x773/0x104) is not claimed by any active driver.
Length = 18
DescriptorType = 01
USB version = 1.00
Vendor:Product = 0773:0104
MaxPacketSize0 = 8
NumConfigurations = 1
Device version = 1.00
Device Class:SubClass:Protocol = 00:00:00
Per-interface classes
Configuration:
bLength = 9
bDescriptorType = 02
wTotalLength = 0022
bNumInterfaces = 01
bConfigurationValue = 01
iConfiguration = 00
bmAttributes = 80
MaxPower = 100mA
Interface: 0
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 00
bNumEndpoints = 01
bInterface Class:SubClass:Protocol = 03:00:00
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 03 (Interrupt)
wMaxPacketSize = 0008
bInterval = 0a
usb.c: kusbd: /sbin/hotplug add 2
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input0,hiddev0: USB HID v1.00 Joystick [Austgame Mobile Game Pad] on usb1:2.0
usb.c: hid driver claimed interface c3c36460
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik
hid-core.c: USB HID support drivers |
ジョイスティック/パッド入力テストツール jstest
jstest --normal /dev/input/js0
# jstest --normal /dev/input/js0
Joystick (Austgame Mobile Game Pad) has 7 axes and 4 buttons. Driver version is
Testting .. (interrupt to exit)
Axes: 0: 0 1: 0 2: 0 3: 0 4: 32767 5:-32767 6:-32767
Buttons: 0:off 1:off 2:off 3:off
# Ctrl+C |
USBホスト Top Page に戻る
更新日時:
2005/06/05 07:20:30
お問い合わせ:
本サイトに対する御意見・質問等はこのページからお願いします。