This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

webcam on am3517

Other Parts Discussed in Thread: AM3517, TCA6416, TSC2004, TVP5146

Hi,

I am trying to run webcam on am3517.

I have reconfigure the kernel version 2.6.37

webcam was recognized by the am3517.

But I could not find the /dev/v4l and /dev /video0

you can find my dmesg output below

Linux video capture interface: v2.00
gspca: v2.10.0 registered
usbcore: registered new interface driver sonixb
usbcore: registered new interface driver sonixj
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered

best regards

tolga

Freeing init memory: 152K
usb 1-1: new full speed USB device using musb-hdrc and address 2
usb 1-1: New USB device found, idVendor=045e, idProduct=00f7
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product: USB camera
gspca: probing 045e:00f7
sonixj: Sonix chip id: 11
input: sonixj as /devices/platform/musb-am35x/musb-hdrc.0/usb1/1-1/input/input0
gspca: video0 created

  • hi.. i am also trying to connect logitech webcam c270 with AM3517 board..the dmesg output:

    please help me to resolve this issue.thanks in advance..
    # dmesg
    <5>Linux version 2.6.37-g06ebbba (a0131746@swubn01) (gcc version 4.4.3 (GCC) ) #1 Fri Jul 8 02:47:41 IST 2011
    <4>CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
    <4>CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    <4>Machine: OMAP3517/AM3517 EVM
    <6>Reserving 8388608 bytes SDRAM for VRAM
    <4>Memory policy: ECC disabled, Data cache writeback
    <6>AM3517 ES1.1 (l2cache sgx neon isp )
    <6>SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
    <7>On node 0 totalpages: 63488
    <7>free_area_init_node: node 0, pgdat c05ff8f0, node_mem_map c06cb000
    <7>  Normal zone: 512 pages used for memmap
    <7>  Normal zone: 0 pages reserved
    <7>  Normal zone: 62976 pages, LIFO batch:15
    <7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    <7>pcpu-alloc: [0] 0
    <4>Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 62976
    <5>Kernel command line: console=ttyO2,115200n8 androidboot.console=ttyO2 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootdelay=1 init=/init ip=off omap_vout.vid1_static_vrfb_alloc=y vram=8M omapfb.vram=0:8M
    <6>PID hash table entries: 1024 (order: 0, 4096 bytes)
    <6>Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    <6>Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    <6>Memory: 248MB = 248MB total
    <5>Memory: 244708k/244708k available, 17436k reserved, 0K highmem
    <5>Virtual kernel memory layout:
    <5>    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    <5>    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    <5>    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    <5>    vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
    <5>    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    <5>    modules : 0xbf000000 - 0xc0000000   (  16 MB)
    <5>      .init : 0xc0008000 - 0xc003d000   ( 212 kB)
    <5>      .text : 0xc003d000 - 0xc05bf000   (5640 kB)
    <5>      .data : 0xc05c0000 - 0xc0603940   ( 271 kB)
    <6>NR_IRQS:375
    <6>Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
    <6>Reprogramming SDRC clock to 332000000 Hz
    <3>dpll3_m2_clk rate change failed: -22
    <6>IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    <6>Total of 96 interrupts on 1 active controller
    <6>GPMC revision 5.0
    <4>Trying to install interrupt handler for IRQ368
    <4>Trying to install interrupt handler for IRQ369
    <4>Trying to install interrupt handler for IRQ370
    <4>Trying to install interrupt handler for IRQ371
    <4>Trying to install interrupt handler for IRQ372
    <4>Trying to install interrupt handler for IRQ373
    <4>Trying to install interrupt handler for IRQ374
    <3>Trying to install type control for IRQ375
    <3>Trying to set irq flags for IRQ375
    <6>OMAP clockevent source: GPTIMER1 at 32768 Hz
    <4>Console: colour dummy device 80x30
    <6>Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
    <6>pid_max: default: 32768 minimum: 301
    <6>Security Framework initialized
    <4>Mount-cache hash table entries: 512
    <6>CPU: Testing write buffer coherency: ok
    <6>regulator: core version 0.5
    <6>regulator: dummy:
    <6>NET: Registered protocol family 16
    <6>OMAP GPIO hardware version 2.5
    <6>OMAP GPIO hardware version 2.5
    <6>OMAP GPIO hardware version 2.5
    <6>OMAP GPIO hardware version 2.5
    <6>OMAP GPIO hardware version 2.5
    <6>OMAP GPIO hardware version 2.5
    <6>omap_mux_init: Add partition: #1: core, flags: 0
    <6>Display initialized successfully
    <6>_omap_mux_init_gpio: Multiple gpio paths (2) for gpio126
    <6>NOR: Unable to find configuration in GPMC
    <6>hw-breakpoint: debug architecture 0x4 unsupported.
    <6>OMAP DMA hardware revision 4.0
    <4>bio: create slab <bio-0> at 0
    <5>SCSI subsystem initialized
    <6>usbcore: registered new interface driver usbfs
    <6>usbcore: registered new interface driver hub
    <6>usbcore: registered new device driver usb
    <4>omap_device: omap_i2c.1: new worst case activate latency 0: 30517
    <6>omap_i2c omap_i2c.1: bus 1 rev3.12 at 400 kHz
    <6>omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz
    <4>pca953x 2-0021: interrupt support not compiled in
    <6>omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz
    <6>input: TCA6416 Keypad as /devices/platform/omap/omap_i2c.3/i2c-3/3-0020/input/input0
    <4>successfully registered tca keypad
    <4>pca953x 3-0021: interrupt support not compiled in
    <4>omap_device: omap_i2c.3: new worst case deactivate latency 0: 30517
    <6>Advanced Linux Sound Architecture Driver Version 1.0.23.
    <6>Switching to clocksource 32k_counter
    <6>musb-hdrc: version 6.0, otg (peripheral+host), debug=0
    <6>musb-hdrc musb-hdrc.0: dma type: pio
    <6><6>Waiting for PHY clock good...
    <7>musb-hdrc: ConfigData=0x1e (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    <7>musb-hdrc: MHDRC RTL version 1.900
    <7>musb-hdrc: setup fifo_mode 4
    <7>musb-hdrc: 28/31 max ep, 16384/16384 memory
    <6>musb-hdrc musb-hdrc.0: USB OTG mode controller at d0810000 using PIO, IRQ 71
    <7>Registered /proc/driver/musb_hdrc.0
    <6>NET: Registered protocol family 2
    <6>IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    <6>TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    <6>TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    <6>TCP: Hash tables configured (established 8192 bind 8192)
    <6>TCP reno registered
    <6>UDP hash table entries: 256 (order: 0, 4096 bytes)
    <6>UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    <6>NET: Registered protocol family 1
    <6>RPC: Registered udp transport module.
    <6>RPC: Registered tcp transport module.
    <6>RPC: Registered tcp NFSv4.1 backchannel transport module.
    <4>NetWinder Floating Point Emulator V0.97 (double precision)
    <4>omap_init_opp_table: no hwmod or odev for iva, [9] cannot add OPPs.
    <6>AM3517  Linux PSP version 04.02.00.07 (AM3517EVM)
    <6>ashmem: initialized
    <5>VFS: Disk quotas dquot_6.5.2
    <4>Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    <6>JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    <6>msgmni has been set to 477
    <6>io scheduler noop registered
    <6>io scheduler deadline registered
    <6>io scheduler cfq registered (default)
    <6>OMAP DSS rev 2.0
    <4>omapdss supply vdds_dsi not found, using dummy regulator
    <6>OMAP DISPC rev 3.0
    <4>omapdss supply vdda_dac not found, using dummy regulator
    <6>OMAP VENC rev 2
    <6>OMAP DSI rev 1.0
    <6>Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    <6>omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
    <6>omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
    <6>omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
    <6>console [ttyO2] enabled
    <6>brd: module loaded
    <6>loop: module loaded
    <3>mtdoops: mtd device (mtddev=name/number) must be supplied
    <6>omap2-nand driver initializing
    <6>NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron )
    <5>Creating 5 MTD partitions on "omap2-nand.0":
    <5>0x000000000000-0x000000080000 : "xloader-nand"
    <5>0x000000080000-0x000000240000 : "uboot-nand"
    <5>0x000000240000-0x000000280000 : "params-nand"
    <5>0x000000280000-0x000000780000 : "linux-nand"
    <5>0x000000780000-0x000020000000 : "jffs2-nand"
    <6>davinci_mdio davinci_mdio: davinci mdio revision 1.5
    <6>davinci_mdio davinci_mdio: detected phy mask fffffffe
    <6>davinci_mdio: probed
    <6>davinci_mdio davinci_mdio: phy[0]: device ffffffff:00, driver SMSC LAN8710/LAN8720
    <6>usbcore: registered new interface driver cdc_ether
    <6>usbcore: registered new interface driver dm9601
    <6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    <4>ehci-omap.0 supply hsusb0 not found, using dummy regulator
    <6>ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    <6>ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    <6>ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    <6>ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    <6>usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    <6>usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    <6>usb usb1: Product: OMAP-EHCI Host Controller
    <6>usb usb1: Manufacturer: Linux 2.6.37-g06ebbba ehci_hcd
    <6>usb usb1: SerialNumber: ehci-omap.0
    <6>hub 1-0:1.0: USB hub found
    <6>hub 1-0:1.0: 3 ports detected
    <6>Initializing USB Mass Storage driver...
    <6>usbcore: registered new interface driver usb-storage
    <6>USB Mass Storage support registered.
    <6>usbcore: registered new interface driver usbtest
    <6>android init
    <6>android_probe pdata: c05d01bc
    <6>android_bind
    <7>android_bind_config
    <6>android_usb gadget: android_usb ready
    <6>musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    <6>musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    <6>usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    <6>usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    <6>usb usb2: Product: MUSB HDRC host driver
    <6>usb usb2: Manufacturer: Linux 2.6.37-g06ebbba musb-hcd
    <6>usb usb2: SerialNumber: musb-hdrc.0
    <6>hub 2-0:1.0: USB hub found
    <6>hub 2-0:1.0: 1 port detected
    <6>f_acm init
    <6>android_register_function acm
    <6>f_adb init
    <6>android_register_function adb
    <6>adb_bind_config
    <6>f_mass_storage init
    <6>android_register_function usb_mass_storage
    <6>f_mtp init
    <6>android_register_function mtp
    <6>mice: PS/2 mouse device common for all mice
    <6>input: TSC2004 Touchscreen as /devices/virtual/input/input1
    <6>using rtc device, rtc-s35390a, for alarms
    <6>rtc-s35390a 1-0030: rtc core: registered rtc-s35390a as rtc0
    <6>i2c /dev entries driver
    <6>Linux video capture interface: v2.00
    <6>usbcore: registered new interface driver uvcvideo
    <6>USB Video Class driver (v1.0.0)
    <5>vpfe_init
    <6>vpfe-capture vpfe-capture: v4l2 device registered
    <6>vpfe-capture vpfe-capture: video device registered
    <6>tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
    <6>tvp514x 3-005c: tvp5146 (Version - 0x03) found at 0xb8 (OMAP I2C adapter)
    <6>vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
    <5>vpfe_register_ccdc_device: DM6446 CCDC
    <5>DM6446 CCDC is registered with vpfe.
    <4>omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
    <6>OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    <6>device-mapper: uevent: version 1.0.3
    <6>device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com
    <6>usbcore: registered new interface driver usbhid
    <6>usbhid: USB HID core driver
    <6>logger: created 64K log 'log_main'
    <6>logger: created 256K log 'log_events'
    <6>logger: created 64K log 'log_radio'
    <6>logger: created 64K log 'log_system'
    <6>usbcore: registered new interface driver snd-usb-audio
    <6>OMAP3517 / AM3517 EVM SoC init
    <6>AIC23 Audio Codec 0.1
    <6>asoc: tlv320aic23-hifi <-> omap-mcbsp-dai.0 mapping ok
    <6>ALSA device list:
    <6>  #0: am3517evm
    <6>oprofile: hardware counters not available
    <6>oprofile: using timer interrupt.
    <6>TCP cubic registered
    <6>Initializing XFRM netlink socket
    <6>NET: Registered protocol family 17
    <6>NET: Registered protocol family 15
    <5>Registering the dns_resolver key type
    <6>VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    <6>ThumbEE CPU extension supported.
    <3>Power Management for TI OMAP3.
    <6>clock: disabling unused clocks to save power
    <6>mmc0: new high speed SD card at address b368
    <6>mmcblk0: mmc0:b368 00000 1.83 GiB
    <6> mmcblk0: p1 p2 p3
    <6>rtc-s35390a 1-0030: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    <6>omap_vout omap_vout: Buffer Size = 3686400
    <6>omap_vout omap_vout: : registered and initialized video device 1
    <6>omap_vout omap_vout: Buffer Size = 3686400
    <6>omap_vout omap_vout: : registered and initialized video device 2
    <6>Waiting 1sec before mounting root device...
    <6>EXT3-fs: barriers not enabled
    <6>kjournald starting.  Commit interval 5 seconds
    <6>EXT3-fs (mmcblk0p2): using internal journal
    <6>EXT3-fs (mmcblk0p2): recovery complete
    <6>EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    <4>VFS: Mounted root (ext3 filesystem) on device 179:2.
    <6>Freeing init memory: 212K
    <4>init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
    <3>init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
    <6>enabling adb
    <6>adb_open
    <4>omap_device: omap_i2c.3: new worst case deactivate latency 0: 91552
    <4>omap_device: omap_i2c.3: new worst case activate latency 0: 61035
    <6>warning: `zygote' uses 32-bit capabilities (legacy support in use)
    <4>omap_device: omap_i2c.1: new worst case activate latency 0: 91552