[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:25336] Kernel2.4 での USB の使用方法



こんにちは、安藤です
kernel2.4 で USBマウス,キーボードを使用したくてカーネルの再構築を行い
ましたが、モジュールの実行で *.o: unresolved symbol * のようなメッセージ
が出力されてUSBマウス、キーボードが反応しません、カーネルの再構築は
以下のように行いました、実行手順で何か間違えがあったら教えてください
よろしくお願いします。

実行手順(カーネルの再構築)
>bzip2 -dc linux-2.4.0-test9.tar.bz2 | tar xvf -
>mv linux linux-2.4.0-test9
>dpkg -i modutils_2.3.20-1.deb
>make xconfig
>make-kpkg --revision=1.0 kernel-image
>dpkg -i kernel-image-2.4.0-test9_1.0_i386.deb
>reboot

ル実行手順(モジュールの組み込み)
>modprobe usb-uhci
>insmod input
>insmod keybdev
>insmod mousedev
>insmod hid
>insmod usbkbd
>insmod usbmouse


カーネルコンフィング設定(make xconfig)
USB support
	USB Controllers
		UHCI(Intel PIIX4,VIA,...)support	M
	USB Human Interface Dervice(HID)
		USB Human Interface Dervice(HID)support	M
		USB HIDBP Keyboard support		M
		USB HIDBP Mouse support			M 
Input core support
	Input core support				M
	keyboard support				M
	Mousee support					M

モジュールの格納場所(dpkg -i でカーネルのインストール後)
/lib/modules/2.4.0-test9/kernel/drivers/input/keybdev.o
/lib/modules/2.4.0-test9/kernel/drivers/input/input.o
/lib/modules/2.4.0-test9/kernel/drivers/input/mousedev.o
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbkbd.o
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbmouse.o


---- modprobe usb-uhci 実行結果  ----
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_claim_bandwidth
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_release_bandwidth
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_check_bandwidth
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_alloc_bus
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_free_dev
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_inc_dev_use
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_deregister_bus
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_disconnect
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_connect
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_new_device
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_root_hub_string
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_alloc_dev
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_register_bus
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: unresolved symbol usb_free_bus
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: insmod /lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o failed
/lib/modules/2.4.0-test9/kernel/drivers/usb/usb-uhci.o: insmod usb-uhci failed


---- insmod input   実行結果  ----
insmod: a module named input already exists
Using /lib/modules/2.4.0-test9/kernel/drivers/input/input.o


---- insmod keybdev 実行結果  ----
Using /lib/modules/2.4.0-test9/kernel/drivers/input/keybdev.o


---- insmod input   実行結果  ----
Using /lib/modules/2.4.0-test9/kernel/drivers/input/mousedev.o


---- insmod hid     実行結果  ----
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o: unresolved symbol usb_deregister
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o: unresolved symbol usb_set_idle
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o: unresolved symbol __usb_get_extra_descriptor
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o: unresolved symbol usb_register
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o: unresolved symbol usb_set_protocol
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o: unresolved symbol usb_string
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o: unresolved symbol usb_get_class_descriptor
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o: unresolved symbol usb_submit_urb
/lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o: unresolved symbol usb_unlink_urb
Using /lib/modules/2.4.0-test9/kernel/drivers/usb/hid.o


---- insmod usbkbd 実行結果  ----
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbkbd.o: unresolved symbol usb_deregister
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbkbd.o: unresolved symbol usb_set_idle
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbkbd.o: unresolved symbol usb_register
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbkbd.o: unresolved symbol usb_set_protocol
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbkbd.o: unresolved symbol usb_string
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbkbd.o: unresolved symbol usb_submit_urb
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbkbd.o: unresolved symbol usb_unlink_urb
Using /lib/modules/2.4.0-test9/kernel/drivers/usb/usbkbd.o


---- insmod usbmouse 実行結果  ----
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbmouse.o: unresolved symbol usb_deregister
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbmouse.o: unresolved symbol usb_set_idle
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbmouse.o: unresolved symbol usb_register
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbmouse.o: unresolved symbol usb_string
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbmouse.o: unresolved symbol usb_submit_urb
/lib/modules/2.4.0-test9/kernel/drivers/usb/usbmouse.o: unresolved symbol usb_unlink_urb
Using /lib/modules/2.4.0-test9/kernel/drivers/usb/usbmouse.o