Logitech C510 wont work with Motion - Raspberry Pi Forums


hi,

have camera module , worked motion. following project - http://www.instructables.com/id/raspber ... /?allsteps

disconnected (rebooted 10000times) , have attached logitech c510. below has happened without camera board attached , no wifi lan cable.

these work c510 "motion" not.

code: select all

ffmpeg -v verbose -r 5 -s 160x120 -f video4linux2 -i /dev/video0 /mnt/camshare/temp.avi uvccapture -m -v -x640 -y480 -o/mnt/camshare/image.jpg fswebcam -d /dev/video0 -p yuyv -r 1600x1200 output.jpeg guvcview <- on startx
.. please me have been lost 3 days , have read many forum posts , tried many things not right 1 yet!



c510 on list works , not need powered hub. have used both. - http://elinux.org/rpi_usb_webcams

motion working. logfile says

code: select all

[-1242602656] [ntc] [all] [jul 05 23:35:11] motion_startup: using log type (all) log level (all) [-1242602656] [ntc] [all] [jul 05 23:35:11] become_daemon: created process id file /var/run/motion/motion.pid. process id 2950 [-1242602656] [ntc] [all] [jul 05 23:35:11] motion_startup: motion running daemon process [-1242602656] [ntc] [enc] [jul 05 23:35:11] ffmpeg_init: ffmpeg libavcodec_build 3482368 libavformat_build 3478785 [0] [ntc] [all] [jul 05 23:35:11] main: thread 1 /etc/motion.conf [0] [ntc] [all] [jul 05 23:35:11] main: thread 1 device: /dev/video0 input -1 [0] [ntc] [all] [jul 05 23:35:11] main: stream port 8081 [-1242602656] [ntc] [all] [jul 05 23:35:11] become_daemon: motion going daemon mode [1] [ntc] [all] [jul 05 23:35:11] motion_init: thread 1 started , motion detection enabled [1] [alr] [vid] [jul 05 23:35:11] mmalcam_start: mmal camera thread starting... camera (vc.ril.camera) of 320 x 240 @ 2 fps [1] [alr] [vid] [jul 05 23:35:11] mmalcam_start: mmal camera using video capture [0] [ntc] [all] [jul 05 23:35:11] main: waiting threads finish, pid: 2950 [0] [ntc] [str] [jul 05 23:35:11] httpd_run: motion-httpd testing : ipv4 addr: 0.0.0.0 port: 8080 [0] [ntc] [str] [jul 05 23:35:11] httpd_run: motion-httpd bound : ipv4 addr: 0.0.0.0 port: 8080 [0] [ntc] [str] [jul 05 23:35:11] httpd_run: motion-httpd/mmaltest running, accepting connections [0] [ntc] [str] [jul 05 23:35:11] httpd_run: motion-httpd: waiting data on 0.0.0.0 port tcp 8080 [b][1] [err] [vid] [jul 05 23:35:11] failed create mmal camera component create_camera_component[/b] [1] [alr] [vid] [jul 05 23:35:11] mmal camera cleanup
version

code: select all

pi@raspberrypi ~ $ uname -a linux raspberrypi 3.12.23+ #692 preempt thu jun 26 20:15:50 bst 2014 armv6l gnu/linux pi@raspberrypi ~ $ 

usb-devices

code: select all

pi@raspberrypi ~ $ lsusb bus 001 device 002: id 0424:9514 standard microsystems corp.  bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub bus 001 device 008: id 03f0:0024 hewlett-packard ku-0316 keyboard bus 001 device 003: id 0424:ec00 standard microsystems corp.  bus 001 device 004: id 05e3:0608 genesys logic, inc. usb-2.0 4-port hub bus 001 device 005: id 046d:081d logitech, inc. hd webcam c510 bus 001 device 006: id 046d:c018 logitech, inc. optical wheel mouse bus 001 device 007: id 05e3:0608 genesys logic, inc. usb-2.0 4-port hub pi@raspberrypi ~ $ 
lsmod
pi@raspberrypi ~ $ lsmod |grep video
uvcvideo 69802 0
videobuf2_vmalloc 2926 1 uvcvideo
videobuf2_memops 2099 1 videobuf2_vmalloc
videobuf2_core 31084 1 uvcvideo
videodev 121196 2 uvcvideo,videobuf2_core
media 14567 2 uvcvideo,videodev
pi@raspberrypi ~ $

do have dmesg noteworthy error messages regarding webcam??

richard s.


raspberrypi



Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62