Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-19-2010, 12:21 PM
|
#1
|
Member
Registered: Sep 2010
Posts: 38
Rep:
|
Want to set up Motion on CentOS... it wont accept my webcam :(
Hi there!
I want to set up Motion on my CentOS 5.5-server because I thought it would be awesome to have.
But my machine wont accept my webcam for some reason. I tried it on Ubuntu server in VMware and it worked flawlessly (but I dont like Ubuntu).
Could it be the driver? I downloaded some package called kmod-v4l-somthing from EL-Repo without success.
The webcam is a Creative Live! Cam Socialize HD (should work with kernel 2.6 or higher)
Kernel-version: 2.6.18-194.26.1.el5 (newest)
When I type "motion" I get this: [0] Unknown config option "ffmpeg_timelapse"
[0] Unknown config option "ffmpeg_timelapse_mode"
[0] Unknown config option "ffmpeg_bps"
[0] Unknown config option "ffmpeg_variable_bitrate"
[0] Unknown config option "ffmpeg_video_codec"
[0] Unknown config option "ffmpeg_deinterlace"
[0] Unknown config option "movie_filename"
[0] Unknown config option "timelapse_filename"
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread started
[0] motion-httpd/3.2.7 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Capture error calling vid_start
[1] Thread finishing...
If I unplug it and plug it back in I get this with dmesg (last lines): usb 2-1: USB disconnect, address 2
usb 2-1: new high speed USB device using ehci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device VF0610 Live! Cam Socialize HD (041e:4080)
input: VF0610 Live! Cam Socialize HD as /class/input/input2
3:3:1: cannot get freq at ep 0x82
Default video-device in motion.conf is /dev/video0.
Here is ls -la /dev: drwxr-xr-x 13 root root 3720 Dec 19 19:05 .
drwxr-xr-x 25 root root 4096 Dec 16 23:55 ..
crw-rw---- 1 root audio 14, 12 Dec 16 23:54 adsp
crw-rw---- 1 root audio 14, 4 Dec 16 23:54 audio
crw-rw---- 1 root audio 14, 20 Dec 19 19:05 audio1
crw------- 1 root root 10, 61 Dec 16 23:55 autofs
drwxr-xr-x 3 root root 60 Dec 16 23:54 bus
crw------- 1 root root 5, 1 Dec 16 23:55 console
lrwxrwxrwx 1 root root 11 Dec 16 23:54 core -> /proc/kcore
drwxr-xr-x 6 root root 120 Dec 16 23:55 cpu
drwxr-xr-x 6 root root 120 Dec 16 23:54 disk
crw-rw---- 1 root audio 14, 3 Dec 16 23:54 dsp
crw-rw---- 1 root audio 14, 19 Dec 19 19:05 dsp1
lrwxrwxrwx 1 root root 13 Dec 16 23:54 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Dec 16 23:54 full
srwxrwxrwx 1 root root 0 Dec 16 23:55 gpmctl
crw------- 1 root root 10, 228 Dec 16 23:54 hpet
prw------- 1 root root 0 Dec 16 23:54 initctl
drwxr-xr-x 2 root root 100 Dec 19 19:05 input
crw------- 1 root root 1, 11 Dec 16 23:54 kmsg
srw-rw-rw- 1 root root 0 Dec 16 23:55 log
brw-r----- 1 root disk 7, 0 Dec 16 23:54 loop0
brw-r----- 1 root disk 7, 1 Dec 16 23:54 loop1
brw-r----- 1 root disk 7, 2 Dec 16 23:54 loop2
brw-r----- 1 root disk 7, 3 Dec 16 23:54 loop3
brw-r----- 1 root disk 7, 4 Dec 16 23:54 loop4
brw-r----- 1 root disk 7, 5 Dec 16 23:54 loop5
brw-r----- 1 root disk 7, 6 Dec 16 23:54 loop6
brw-r----- 1 root disk 7, 7 Dec 16 23:54 loop7
lrwxrwxrwx 1 root root 13 Dec 16 23:54 MAKEDEV -> /sbin/MAKEDEV
drwxr-xr-x 2 root root 100 Dec 16 23:54 mapper
crw------- 1 root root 10, 227 Dec 16 23:54 mcelog
brw-r----- 1 root disk 9, 0 Dec 16 23:55 md0
crw-r----- 1 root kmem 1, 1 Dec 16 23:54 mem
crw-rw---- 1 root audio 14, 0 Dec 16 23:54 mixer
crw-rw---- 1 root audio 14, 16 Dec 19 19:05 mixer1
drwxr-xr-x 2 root root 60 Dec 16 23:54 net
crw-rw-rw- 1 root root 1, 3 Dec 16 23:54 null
crw-rw---- 1 root root 10, 144 Dec 16 23:54 nvram
crw------- 1 root root 1, 12 Dec 16 23:54 oldmem
crw-rw---- 1 root lp 99, 0 Dec 16 23:54 parport0
crw-rw---- 1 root lp 99, 1 Dec 16 23:54 parport1
crw-rw---- 1 root lp 99, 2 Dec 16 23:54 parport2
crw-rw---- 1 root lp 99, 3 Dec 16 23:54 parport3
crw-r----- 1 root kmem 1, 4 Dec 16 23:54 port
crw------- 1 root root 108, 0 Dec 16 23:54 ppp
crw-rw-rw- 1 root tty 5, 2 Dec 19 19:10 ptmx
drwxr-xr-x 2 root root 0 Dec 16 23:54 pts
lrwxrwxrwx 1 root root 4 Dec 16 23:54 ram -> ram1
brw-r----- 1 root disk 1, 0 Dec 16 23:54 ram0
brw-r----- 1 root disk 1, 1 Dec 16 23:54 ram1
brw-r----- 1 root disk 1, 10 Dec 16 23:54 ram10
brw-r----- 1 root disk 1, 11 Dec 16 23:54 ram11
brw-r----- 1 root disk 1, 12 Dec 16 23:54 ram12
brw-r----- 1 root disk 1, 13 Dec 16 23:54 ram13
brw-r----- 1 root disk 1, 14 Dec 16 23:54 ram14
brw-r----- 1 root disk 1, 15 Dec 16 23:54 ram15
brw-r----- 1 root disk 1, 2 Dec 16 23:54 ram2
brw-r----- 1 root disk 1, 3 Dec 16 23:54 ram3
brw-r----- 1 root disk 1, 4 Dec 16 23:54 ram4
brw-r----- 1 root disk 1, 5 Dec 16 23:54 ram5
brw-r----- 1 root disk 1, 6 Dec 16 23:54 ram6
brw-r----- 1 root disk 1, 7 Dec 16 23:54 ram7
brw-r----- 1 root disk 1, 8 Dec 16 23:54 ram8
brw-r----- 1 root disk 1, 9 Dec 16 23:54 ram9
lrwxrwxrwx 1 root root 4 Dec 16 23:54 ramdisk -> ram0
crw-rw-rw- 1 root root 1, 8 Dec 16 23:54 random
crw------- 1 root root 162, 0 Dec 16 23:54 rawctl
crw------- 1 root root 10, 62 Dec 16 23:54 rfkill
brw------- 1 root root 253, 0 Dec 16 23:54 root
crw-r--r-- 1 root root 10, 135 Dec 16 23:54 rtc
brw-r----- 1 root disk 8, 0 Dec 16 23:54 sda
brw-r----- 1 root disk 8, 1 Dec 16 23:55 sda1
brw-r----- 1 root disk 8, 2 Dec 16 23:54 sda2
crw-rw---- 1 root audio 14, 1 Dec 16 23:54 sequencer
crw-rw---- 1 root audio 14, 8 Dec 16 23:54 sequencer2
crw------- 1 root root 21, 0 Dec 16 23:54 sg0
drwxrwxrwt 2 root root 40 Dec 16 23:55 shm
crw------- 1 root root 10, 231 Dec 16 23:54 snapshot
drwxr-xr-x 2 root root 240 Dec 19 19:05 snd
lrwxrwxrwx 1 root root 15 Dec 16 23:54 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Dec 16 23:54 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Dec 16 23:54 stdout -> /proc/self/fd/1
crw------- 1 root root 4, 0 Dec 16 23:54 systty
crw-rw-rw- 1 root tty 5, 0 Dec 16 23:54 tty
crw-rw---- 1 root tty 4, 0 Dec 16 23:54 tty0
crw------- 1 root root 4, 1 Dec 16 23:55 tty1
crw-rw---- 1 root tty 4, 10 Dec 16 23:54 tty10
crw-rw---- 1 root tty 4, 11 Dec 16 23:54 tty11
crw-rw---- 1 root tty 4, 12 Dec 16 23:54 tty12
crw-rw---- 1 root tty 4, 13 Dec 16 23:54 tty13
crw-rw---- 1 root tty 4, 14 Dec 16 23:54 tty14
crw-rw---- 1 root tty 4, 15 Dec 16 23:54 tty15
crw-rw---- 1 root tty 4, 16 Dec 16 23:54 tty16
crw-rw---- 1 root tty 4, 17 Dec 16 23:54 tty17
crw-rw---- 1 root tty 4, 18 Dec 16 23:54 tty18
crw-rw---- 1 root tty 4, 19 Dec 16 23:54 tty19
crw------- 1 root root 4, 2 Dec 16 23:55 tty2
crw-rw---- 1 root tty 4, 20 Dec 16 23:54 tty20
crw-rw---- 1 root tty 4, 21 Dec 16 23:54 tty21
crw-rw---- 1 root tty 4, 22 Dec 16 23:54 tty22
crw-rw---- 1 root tty 4, 23 Dec 16 23:54 tty23
crw-rw---- 1 root tty 4, 24 Dec 16 23:54 tty24
crw-rw---- 1 root tty 4, 25 Dec 16 23:54 tty25
crw-rw---- 1 root tty 4, 26 Dec 16 23:54 tty26
crw-rw---- 1 root tty 4, 27 Dec 16 23:54 tty27
crw-rw---- 1 root tty 4, 28 Dec 16 23:54 tty28
crw-rw---- 1 root tty 4, 29 Dec 16 23:54 tty29
crw------- 1 root root 4, 3 Dec 16 23:55 tty3
crw-rw---- 1 root tty 4, 30 Dec 16 23:54 tty30
crw-rw---- 1 root tty 4, 31 Dec 16 23:54 tty31
crw-rw---- 1 root tty 4, 32 Dec 16 23:54 tty32
crw-rw---- 1 root tty 4, 33 Dec 16 23:54 tty33
crw-rw---- 1 root tty 4, 34 Dec 16 23:54 tty34
crw-rw---- 1 root tty 4, 35 Dec 16 23:54 tty35
crw-rw---- 1 root tty 4, 36 Dec 16 23:54 tty36
crw-rw---- 1 root tty 4, 37 Dec 16 23:54 tty37
crw-rw---- 1 root tty 4, 38 Dec 16 23:54 tty38
crw-rw---- 1 root tty 4, 39 Dec 16 23:54 tty39
crw------- 1 root root 4, 4 Dec 16 23:55 tty4
crw-rw---- 1 root tty 4, 40 Dec 16 23:54 tty40
crw-rw---- 1 root tty 4, 41 Dec 16 23:54 tty41
crw-rw---- 1 root tty 4, 42 Dec 16 23:54 tty42
crw-rw---- 1 root tty 4, 43 Dec 16 23:54 tty43
crw-rw---- 1 root tty 4, 44 Dec 16 23:54 tty44
crw-rw---- 1 root tty 4, 45 Dec 16 23:54 tty45
crw-rw---- 1 root tty 4, 46 Dec 16 23:54 tty46
crw-rw---- 1 root tty 4, 47 Dec 16 23:54 tty47
crw-rw---- 1 root tty 4, 48 Dec 16 23:54 tty48
crw-rw---- 1 root tty 4, 49 Dec 16 23:54 tty49
crw------- 1 root root 4, 5 Dec 16 23:55 tty5
crw-rw---- 1 root tty 4, 50 Dec 16 23:54 tty50
crw-rw---- 1 root tty 4, 51 Dec 16 23:54 tty51
crw-rw---- 1 root tty 4, 52 Dec 16 23:54 tty52
crw-rw---- 1 root tty 4, 53 Dec 16 23:54 tty53
crw-rw---- 1 root tty 4, 54 Dec 16 23:54 tty54
crw-rw---- 1 root tty 4, 55 Dec 16 23:54 tty55
crw-rw---- 1 root tty 4, 56 Dec 16 23:54 tty56
crw-rw---- 1 root tty 4, 57 Dec 16 23:54 tty57
crw-rw---- 1 root tty 4, 58 Dec 16 23:54 tty58
crw-rw---- 1 root tty 4, 59 Dec 16 23:54 tty59
crw------- 1 root root 4, 6 Dec 16 23:55 tty6
crw-rw---- 1 root tty 4, 60 Dec 16 23:54 tty60
crw-rw---- 1 root tty 4, 61 Dec 16 23:54 tty61
crw-rw---- 1 root tty 4, 62 Dec 16 23:54 tty62
crw-rw---- 1 root tty 4, 63 Dec 16 23:54 tty63
crw-rw---- 1 root tty 4, 7 Dec 16 23:55 tty7
crw-rw---- 1 root tty 4, 8 Dec 16 23:55 tty8
crw-rw---- 1 root tty 4, 9 Dec 16 23:54 tty9
crw-rw---- 1 root uucp 4, 64 Dec 16 23:54 ttyS0
crw-rw---- 1 root uucp 4, 65 Dec 16 23:54 ttyS1
crw-rw---- 1 root uucp 4, 66 Dec 16 23:54 ttyS2
crw-rw---- 1 root uucp 4, 67 Dec 16 23:54 ttyS3
drwxr-xr-x 4 root root 100 Dec 19 19:05 .udev
cr--r--r-- 1 root root 1, 9 Dec 16 23:55 urandom
crw------- 1 root root 442, 0 Dec 16 23:54 usbdev1.1_ep00
crw------- 1 root root 442, 0 Dec 16 23:54 usbdev1.1_ep81
crw------- 1 root root 442, 2048 Dec 16 23:54 usbdev2.1_ep00
crw------- 1 root root 442, 2048 Dec 16 23:54 usbdev2.1_ep81
crw------- 1 root root 442, 2050 Dec 19 19:05 usbdev2.3_ep00
crw------- 1 root root 442, 2050 Dec 19 19:05 usbdev2.3_ep83
crw------- 1 root root 442, 4096 Dec 16 23:54 usbdev3.1_ep00
crw------- 1 root root 442, 4096 Dec 16 23:54 usbdev3.1_ep81
crw------- 1 root root 442, 6144 Dec 16 23:54 usbdev4.1_ep00
crw------- 1 root root 442, 6144 Dec 16 23:54 usbdev4.1_ep81
crw------- 1 vcsa tty 7, 0 Dec 16 23:54 vcs
crw------- 1 vcsa tty 7, 1 Dec 16 23:55 vcs1
crw------- 1 vcsa tty 7, 2 Dec 16 23:55 vcs2
crw------- 1 vcsa tty 7, 3 Dec 16 23:55 vcs3
crw------- 1 vcsa tty 7, 4 Dec 16 23:55 vcs4
crw------- 1 vcsa tty 7, 5 Dec 16 23:55 vcs5
crw------- 1 vcsa tty 7, 6 Dec 16 23:55 vcs6
crw------- 1 vcsa tty 7, 7 Dec 16 23:55 vcs7
crw------- 1 vcsa tty 7, 128 Dec 16 23:54 vcsa
crw------- 1 vcsa tty 7, 129 Dec 16 23:55 vcsa1
crw------- 1 vcsa tty 7, 130 Dec 16 23:55 vcsa2
crw------- 1 vcsa tty 7, 131 Dec 16 23:55 vcsa3
crw------- 1 vcsa tty 7, 132 Dec 16 23:55 vcsa4
crw------- 1 vcsa tty 7, 133 Dec 16 23:55 vcsa5
crw------- 1 vcsa tty 7, 134 Dec 16 23:55 vcsa6
crw------- 1 vcsa tty 7, 135 Dec 16 23:55 vcsa7
lrwxrwxrwx 1 root root 6 Dec 19 19:05 video -> video0
crw------- 1 root root 81, 0 Dec 19 19:05 video0
drwxr-xr-x 2 root root 80 Dec 16 23:54 VolGroup00
lrwxrwxrwx 1 root root 4 Dec 16 23:54 X0R -> null
crw-rw-rw- 1 root root 1, 5 Dec 16 23:54 zero
The target directory (/cam) has these permissions:
drwxr-xr-x 2 root root 4096 Dec 19 19:16 cam
I will never forget it if anyone solve this for me 
|
|
|
07-31-2018, 01:36 PM
|
#3
|
LQ Newbie
Registered: Jul 2018
Posts: 1
Rep: 
|
motion webcam on vmware
Hello,
i was just wondering how you get your motion work in vmware with webcam, i am unable to have mine work on vmware but it does work well in the host machine.
|
|
|
07-31-2018, 05:37 PM
|
#4
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,983
|
Moderator response
Please do not resurrect dead/necro threads. This thread is over 8 years old. My suggestion to you is to create a new thread for help with your problems. Look at; https://www.linuxquestions.org/quest...#faq_lqwelcome to help you compose a proper post.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 10:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|