기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

2440보드에 logitech quickcam messenger를 물리려하고있습니다.
오시천님께서 쓰신
Install Quickcam driver for aesop 문서를 참조해서 설치하려고했습니다.
오시천님께서 쓰진 문서는 quickcam pro 4000을 사용하고 있습니다

문제는 modprobe pwc 하면 /dev/video0라는 디바이스파일이 생성이 되어야 하는데 그러질 않습니다. pwc-10.0.11최신드라이버를 사용해도 마찬가지구요
커널은 aesop홈페이지 자료실에 있는 2.6.13을 사용했습니다.


#printenv
bootcmd=tftp 32000000 aesopk;bootm 32000000
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
netmask=255.255.255.0
bootdelay=5
serverip=192.168.2.105
gatewayip=192.168.2.1
gateway=192.168.2.1
ipaddr=192.168.2.155
bootargs=root=/dev/nfs rw nfsroot=192.168.2.105:/korea-dokdo/nfsmount/AESOP ip=192.168.2.155:192.168.2.105:192.168.2.1:255.255.255.0::eth0:off console=ttySAC0,115200n81 ethaddr=08:00:3e:26:0a:5b
stdin=serial
stdout=serial
stderr=serial

---------------------------------------------------------------------------------------------
hostip : 192.168.2.105
targetip : 192.168.2.155
공유기ip : 192.168.2.1

----------------------------------------------------------------------------------------------
TFTP from server 192.168.2.105; our IP address is 192.168.2.155
Filename 'aesopk'.
Load address: 0x32000000
Loading: ################################################T #################
         #########################################T ########################
         #################################################################
         ######T ###########################################################
         ####
done
Bytes transferred = 1350971 (149d3b hex)
## Booting image at 32000000 ...
   Image Name:   Linux-2.6.13-h1940-aesop2440
   Created:      2007-11-15  15:21:47 UTC
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1350907 Bytes =  1.3 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.6.13-h1940-aesop2440 (root@kimsungmin) (gcc version 3.3.4) #1 Fri Nov 16 00:21:44 KST 2007
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: aESOP-2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C2440: core 399.651 MHz, memory 133.217 MHz, peripheral 66.608 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=192.168.2.105:/korea-dokdo/nfsmount/AESOP ip=192.168.2.155:192.168.2.105:192.168.2.1:255.255.255.0::eth0:off console=ttySAC0,115200n81 ethaddr=08:00:3e:26:0a:5b
irq: clearing pending ext status 00000200
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00500000, tcnt d8d2, tcfg 00000200,00000000, usec 0000170f
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 61824KB available (2248K code, 575K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, UPLL 47.980 MHz
SCSI subsystem initialized
usbcore: registered new driver hub
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
yaffs Nov 16 2007 00:20:04 Installing.
Initializing Cryptographic API
s3c2410 Backlight Driver Initialized.
Console: switching to colour frame buffer device 96x34
S3C24X0 fb0: s3c2410fb frame buffer device initialize done
GPIO L3 bus interface for S3C2440, installed
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
cs89x0:cs89x0_probe(0x0)
PP_addr=0x3000
cs89x0.c: v2.4.3-pre1 Russell Nelson <[email protected]>, Andrew Morton <[email protected]>
eth0: cs8900 rev J found at 0xf8000300
cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line
cs89x0 media RJ-45, IRQ 53, programmed I/O, MAC 00:00:c0:ff:ee:08
cs89x0_probe1() successful
cs89x0:cs89x0_probe(0x0)
cs89x0: request_region(0xf8000300, 0x10) failed
cs89x0: no cs8900 or cs8920 detected.  Be sure to disable PnP with SETUP
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4880000
s3c2410-nand: timing: Tacls 13ns, Twrph0 66ns, Twrph1 39ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 1 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x04000000 : "Total nand"
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
s3c2410_udc: version 28 Aug 2005
mice: PS/2 mouse device common for all mice
s3c2410-buttons successfully loaded
s3c2410 TouchScreen successfully loaded
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 378 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
mmci-s3c2410: probe: mapped sdi_base=c4e80000 irq=37 irq_cd=62 dma=0.
mmci-s3c2410: initialisation done.
godori: AESOP2440 SOUND driver register
godori: AESOP2440 SOUND driver.........probe
AESOP2440 UDA1341 audio driver initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
usb 1-1: new full speed USB device using s3c2410-ohci and address 2
eth0: using half-duplex 10Base-T (RJ-45)
MMC: sd_app_op_cond timed out. Probably no SD-Card here.
IP-Config: Complete:
      device=eth0, addr=192.168.2.155, mask=255.255.255.0, gw=192.168.2.1,
     host=192.168.2.155, domain=, nis-domain=(none),
     bootserver=192.168.2.105, rootserver=192.168.2.105, rootpath=
Looking up port of RPC 100003/2 on 192.168.2.105
Looking up port of RPC 100005/1 on 192.168.2.105
VFS: Mounted root (nfs filesystem).
Freeing init memory: 112K
INIT: version 2.86 booting
Initializing udev dynamic device directory.
mount: Mounting /dev/root on / failed: No such file or directory
INIT: Entering runlevel: 3
[: 0: unknown operand

------------------------------------------------------------------------------------------------------


root@godori:~# modprobe pwc
Using /lib/modules/2.6.13-h1940-aesop2440/kernel/drivers/media/video/videodev.ko
Linux video capture interface: v1.00
Using /lib/modules/2.6.13-h1940-aesop2440/kernel/drivers/usb/media/pwc/pwc.ko
pwc: Philips webcam module version 10.0.11-unofficial loaded.
pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
usbcore: registered new driver Philips webcam
root@godori:~# lsmod
Module                  Size  Used by    Not tainted
pwc 81668 0 - Live 0xbf003000
videodev 8000 1 pwc, Live 0xbf000000
root@godori:~# cat /proc/devices
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
10 misc
13 input
14 sound
29 fb
81 video4linux
89 i2c
90 mtd
128 ptm
136 pts
180 usb
204 s3c2410_serial

Block devices:
  1 ramdisk
  7 loop
  8 sd
31 mtdblock
43 nbd
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
254 mmc
root@godori:~# ls /dev/
apm_bios         nbd13            shm              tty37
console          nbd14            sound            tty38
core             nbd15            stderr           tty39
dsp              nbd2             stdin            tty4
fb               nbd3             stdout           tty40
fb0              nbd4             tts              tty41
fd               nbd5             tty              tty42
full             nbd6             tty0             tty43
i2c              nbd7             tty1             tty44
i2c-0            nbd8             tty10            tty45
initctl          nbd9             tty11            tty46
input            null             tty12            tty47
kmem             port             tty13            tty48
kmsg             psaux            tty14            tty49
loop             ptmx             tty15            tty5
loop0            pts              tty16            tty50
loop1            ram0             tty17            tty51
loop2            ram1             tty18            tty52
loop3            ram10            tty19            tty53
loop4            ram11            tty2             tty54
loop5            ram12            tty20            tty55
loop6            ram13            tty21            tty56
loop7            ram14            tty22            tty57
mem              ram15            tty23            tty58
mice             ram2             tty24            tty59
misc             ram3             tty25            tty6
mixer            ram4             tty26            tty60
mouse            ram5             tty27            tty61
mouse0           ram6             tty28            tty62
mtd              ram7             tty29            tty63
mtd0             ram8             tty3             tty7
mtdblock         ram9             tty30            tty8
mtdblock0        random           tty31            tty9
nbd0             rd               tty32            urandom
nbd1             rtc              tty33            vcc
nbd10            s3c2410_serial0  tty34            vcs
nbd11            s3c2410_serial1  tty35            vcsa
nbd12            s3c2410_serial2  tty36            zero
root@godori:~#
-----------------------------------------------------------------------------------------------


혹시나 해서 수동으로 mknod해보았습니다.
root@godori:~# mknod /dev/video0 c 81 0
root@godori:~# ls /dev/
apm_bios         nbd14            stderr           tty4
console          nbd15            stdin            tty40
core             nbd2             stdout           tty41
dsp              nbd3             tts              tty42
fb               nbd4             tty              tty43
fb0              nbd5             tty0             tty44
fd               nbd6             tty1             tty45
full             nbd7             tty10            tty46
i2c              nbd8             tty11            tty47
i2c-0            nbd9             tty12            tty48
initctl          null             tty13            tty49
input            port             tty14            tty5
kmem             psaux            tty15            tty50
kmsg             ptmx             tty16            tty51
loop             pts              tty17            tty52
loop0            ram0             tty18            tty53
loop1            ram1             tty19            tty54
loop2            ram10            tty2             tty55
loop3            ram11            tty20            tty56
loop4            ram12            tty21            tty57
loop5            ram13            tty22            tty58
loop6            ram14            tty23            tty59
loop7            ram15            tty24            tty6
mem              ram2             tty25            tty60
mice             ram3             tty26            tty61
misc             ram4             tty27            tty62
mixer            ram5             tty28            tty63
mouse            ram6             tty29            tty7
mouse0           ram7             tty3             tty8
mtd              ram8             tty30            tty9
mtd0             ram9             tty31            urandom
mtdblock         random           tty32            vcc
mtdblock0        rd               tty33            vcs
nbd0             rtc              tty34            vcsa
nbd1             s3c2410_serial0  tty35            video0
nbd10            s3c2410_serial1  tty36            zero
nbd11            s3c2410_serial2  tty37
nbd12            shm              tty38
nbd13            sound            tty39
root@godori:~# cat /dev/video0
cat: /dev/video0: No such device
root@godori:~#

디바이스를 찾지 않는데요 ㅠㅠ

-------------------------------------------------------------------------------------------

아! 그리고 부팅메세지 끝날쯤에 mount: Mounting /dev/root on / failed: No such file or directory라는 메세지는 어디서 잘못된건지요...


임베디드를 하면서 제 지식의 얄팍함을 느껴갑니다 ㅠㅠ
많은 지도편달 부탁드립니다

* 고도리님에 의해서 게시물 이동되었습니다 (2007-11-16 09:13)

고현철

2007.11.16 18:10:57
*.70.26.87

여기는 질문란이 아닙니다......옮겨 놓겠습니다.

고도리

2007.11.17 00:38:11
*.70.26.87

끝날때의 메시지는 상관이 없고요....

/etc/udev/rules.d/udev.rules 파일의 내용을 잘 보시면 video input관련 디바이스가 있습니다.

아마 주석처리되어 있을텐데 함 풀어서 해보길 바랍니다.

김성민

2007.11.26 03:51:35
*.246.12.232

흠...pwc드라이버로는 안되더군요..gspca라는 모듈을 올리니 제대로 작동합니다. 감사합니다^^;;
List of Articles
번호 제목 글쓴이 날짜 조회 수sort

사용자 로그인