vine-users ML アーカイブ



[vine-users:069174] AH-K3001V をVine 3. 1で動かす

  • From: "Y-h. Taguchi" <tag@xxxxxxxxxxxx>
  • Subject: [vine-users:069174] AH-K3001V をVine 3. 1で動かす
  • Date: Fri, 10 Dec 2004 02:12:27 +0900
AH-K3001VをVine 3.1で動かすべく、いろいろやっていますが、
うまく動きません。
/usr/src/linux/drivers/usb/acm.c
を
http://www.ekd.ne.jp/ahk3001v/pukiwiki.php?%5B%5B%BD%D0%CD%E8%A4%EB%A4%B3%A4%C8%BD%D0%CD%E8%A4%CA%A4%A4%A4%B3%A4%C8%5D%5D
にあるように変更し(カーネルは2.4なので、

==================
540 ifcom->bInterfaceSubClass? != 2 ||
を
540 ( ifcom->bInterfaceSubClass? != 2 && ifcom->bInterfaceSubClass? != 0x88)
||
に、

最後に、acm_ids配列に、
654 { USB_DEVICE(0x0482, 0x0203) }, /* AH-K3001V */
を追加でいけました。
==================

だけ行っています。)


これを
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.27/include/linux/modversions.h  -nostdinc -iwithprefix
include -DKBUILD_BASENAME=acm  -c -o acm.o acm.c
でコンパイルして、
/lib/modules/2.4.27-0vl7/kernel/drivers/usb
にコピーしてから
depmod -a
とやると
depmod: *** Unresolved symbols in
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o
とかでてしまい、むりやりinsmod acmとかしても

Using /lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
tty_register_devfs_Rsmp_51f76c04
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
usb_deregister_Rsmp_31b2e5ea
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
tty_register_driver_Rsmp_cba27b88
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
__out_of_line_bug_Rsmp_8b0fd3c5
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
usb_interface_claimed_Rsmp_9a73885a
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
usb_unlink_urb_Rsmp_b318da7d
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
usb_set_configuration_Rsmp_feee89c5
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
tty_unregister_driver_Rsmp_b1439fe7
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
usb_driver_release_interface_Rsmp_b5963936
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
usb_register_Rsmp_bf2afbda
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
__wake_up_Rsmp_127fda83
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
usb_submit_urb_Rsmp_2c03eefd
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
tq_immediate_Rsmp_0da0dcd1
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
kfree_Rsmp_037a0cba
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
printk_Rsmp_1b7d4074
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
usb_driver_claim_interface_Rsmp_556c9570
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
tty_flip_buffer_push_Rsmp_08b01e5b
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
tqueue_lock_Rsmp_b7a0c0b5
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
kmalloc_Rsmp_93d4cfe6
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
tty_std_termios_Rsmp_89ac5254
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
tty_unregister_devfs_Rsmp_3083dcd4
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
__generic_copy_from_user_Rsmp_116166aa
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
bh_task_vec_Rsmp_284177b8
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
kernel_flag_cacheline_Rsmp_7956468f
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
tty_hangup_Rsmp_c885448b
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
usb_control_msg_Rsmp_911712b1
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o:
/lib/modules/2.4.27-0vl7/kernel/drivers/usb/acm.o: unresolved symbol
__tasklet_hi_schedule_Rsmp_60ea5fe7

になってしまいます。何が悪いんでしょうか?

-- 
Y-h. Taguchi, Dept. Phys., Chuo Univ., Kasuga, Bunkyo-ku, Tokyo 112-8551,Japan
Tel./Fax.  +81-3-3817-1791/1792  http://www.granular.com/tag/index-j.html
〒112-8551 中央大学理工学部 物理学科 田口善弘 電話/FAX 03-3817-1791/1792