홈 > 고객/기술지원 > Q & A
i.MX8M | MV8895 | MV8890 | MV7420 | MV5260 | MV5422 | MV4412TAB | MV4412 | S5PV210 | iMX6Q | AM3358
Android | Linux | Windows CE | Firmware
 
MV2440에 USB webcam 설치 관해서 질문입니다.
등록인 : 반명훈 |

MV2440으로 공부하고 있습니다.
초보자입니다. ㅠ0ㅠ
로지텍 ㅋㅞㄱ캠 4000 프로를 장비에 인식 할려고 합니다.
많이 힘드네요 ;;;

시디 /MV2440_v1.4/source/Linux/mv2440_v2/240_320
mv2440_kernel2.4.20_r1.1.tar.gz mv2440_uboot_dev.tar.gz
를 이용해서 장치를 인식할려고 합니다.

먼제 USB usb-ohci-s3c2440.c 클럭을 수정하였습니다. 7->5 수정
커널의 drivers/char/Makefile 의 timer. 부분을 삭제하였습니다. 컴파일시 에러가 나서 ..
그리고 pwc파일을 수정하엿구여 4000을 인식하도록요
(ARM으로 배우는 임베디드 시스템 책을 참조하엿습니다. )

#make menuconfig
===================================================
Multimedia devices ---> M> Video For Linux
Video For Linux ---> [*] V4L information in proc filesystem

<*> Support for USB
[*] USB verbose debug messages

<M> OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support
<M> S3C2440 OHCI-compatible host interface support

USB Multimedia devices
<M> USB Philips Cameras
===================================================
선택 ... CD에 있는 root.cramfs 에
/usr/lib/modules/2.4.20_elfin-d1.5/kernel 에 커널에 컴파일후 생긴
/lib/modules/2.4.20_elfin-d1.5/kernel/drivers을 복사해서 넣었습니다.

만들어진 zImage 와 cramfs를 장비에 포팅 시켯습니다.

부팅후
insmod -f videodev
insmod -f pwc
insmod -f pwcx-2.4.20.c (책에서 구한 파일을 강제로 올렸습니다. )

근데 인식이 안되더군요 ;;;;

dmesg 한 결과는

Linux version 2.4.20_elfin-d1.5 (root@kaien) (gcc version 2.95.3 20010315 (release)) #2 2006. 07. 27. (목) 12:05:52 KST
CPU: ARM/CIRRUS Arm920Tid(wb) revision 0
Machine: Samsung-SMDK2440
Warning: bad configuration page, trying to continue
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 noinitrd init=/linuxrc console=ttyS0
Relocating machine vectors to 0xffff0000
Console: colour dummy device 80x30
Calibrating delay loop... 199.47 BogoMIPS
Use CONFIG_INSTANT_ON_LPJ=997376 for Instant On.
Memory: 64MB = 64MB total
Memory: 62964KB available (1424K code, 321K data, 76K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock = 399.651840 Mhz, HCLK = 99.912960 Mhz, PCLK = 49.956480 Mhz
PWM-Timers Management Module Loaded.
Disabling the Out Of Memory Killer
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB.
GPIO L3 bus interface for elfin, installed
i2c-core.o: i2c core module version 2.6.2 (20011118)
i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118)
i2c-proc.o version 2.6.2 (20011118)
Console: switching to colour frame buffer device 80x60
Installed S3C2440 frame buffer
pty: 256 Unix98 ptys configured
s3c2440-ts initialized
eth0: cs8900 rev K found at 0xd0000300
cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line
cs89x0 media RJ-45, IRQ 37, programmed I/O, MAC 00:00:00:00:00:00
loop: loaded (max 8 devices)
ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2440
ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2440
ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2440
Samsung S3CX (i2c) algorithm module version 2.6.2 (20011118)
iic_elfin_init: Samsung S3CX iic adapter module version 2.6.2 (20011118)
i2c-dev.o: Registered \'Samsung S3C IIC adapter\' as minor 0
elfin_init: Initialized IIC on S3CX, 5kHz clock
iic_elfin_init: initialized iic-bus at 0xf4000000.
ELFIN UDA1341 audio driver initialized
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MB 3,3V)
Creating 4 MTD partitions on \"NAND 64MB 3,3V\":
0x00000000-0x00030000 : \"NAND partition 0 : Bootloader\"
0x00030000-0x00200000 : \"NAND partition 1 : Kernel\"
0x00200000-0x03200000 : \"NAND partition 2\"
0x03200000-0x04000000 : \"NAND partition 3\"
usb.c: registered new driver hub
CLKCON : [0x00fffff0], LOCKTIME: [0x00ffffff]
UPLLCON : [0x0003c041], CLKDIVN : [0x00000005]
MISCCR : [0x00010330], CLKSLOW : [0x00000004]
S3C2440 USBD Controller Core Initialized
USB Function Ethernet Driver Interface
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
eth0: using half-duplex 10Base-T (RJ-45)
IP-Config: Incomplete network configuration information.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 76K
eth0: using half-duplex 10Base-T (RJ-45)
Video for Linux One (2.2.16). Major device: 81
Video for Linux Two (V0.20). Major device: 81
pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam module version 8.6 loaded.
pwc Also supports the Askey VC010, Logitech Quickcam 3000 Pro, Samsung MPC-C10 and MPC-C30,
pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
usb.c: registered new driver Philips webcam
pwc Philips webcam decompressor routines version 8.2
pwc Supports all cameras supported by the main module (pwc).
pwc Adding decompressor for model 645.
pwc Adding decompressor for model 646.
pwc Adding decompressor for model 675.
pwc Adding decompressor for model 680.
pwc Adding decompressor for model 690.
pwc Adding decompressor for model 730.
pwc Adding decompressor for model 740.
pwc Adding decompressor for model 750.

이고 lsmod결과는

# lsmod
Module Size Used by
usb-ohci-pool 2128 1
pwcx-2.4.20 89344 0 (unused)
pwc 41520 0 [pwcx-2.4.20]
videodev 16352 0 [pwc]

# insmod -f usb-ohci-s3c2440.o
usb-ohci-s3c2440.o: unresolved symbol hc_add_ohci
usb-ohci-s3c2440.o: unresolved symbol hc_remove_ohci
# insmod -f usb-ohci.o
usb-ohci.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters

은 안올라 가더군요 ....

MV2440에 대한 자료가 너무 없는 것같습니다..
ㅠㅠ 도와주세요 ~!!
덧글 0 | 엮인글 0
 





 
    51 / 2,658,983
서울특별시 구로구 구로3동 235번지 한신IT타워 1004호 TEL. 02-3283-0101 FAX. 02-3283-0160
사업자등록번호 : 116-81-51889 대표자 : 이현재 E-MAIL : sale@microvision.co.kr
COPYRIGHT 2004 (주)마이크로비젼 ALL RIGHTS RESERVED.
%3Cul+class%3D%22Klocation%22%3E%3Cli+class%3D%22first%22%3E%3Ca+href%3D%22..%2Fhome%2F%22%3EHOME%3C%2Fa%3E%3C%2Fli%3E%3Cli%3E%3Ca+href%3D%22..%2Fhome%2Fsub03.php%22%3E%EA%B3%A0%EA%B0%9D%2F%EA%B8%B0%EC%88%A0%EC%A7%80%EC%9B%90%3C%2Fa%3E%3C%2Fli%3E%3Cli%3E%3Ca+href%3D%22..%2Fhome%2Fsub03.php%3Fmid%3D51%22%3EQ+%26+A%3C%2Fa%3E%3C%2Fli%3E%3C%2Ful%3E