5 Hardware :: Want To Set Up Motion On CentOS - It Wont Accept My Webcam / Fix It?
Dec 19, 2010
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)
I have a Sony Vaio VGN-SZ740 laptop with ubuntu 10.04. Unfortunately the motion eye webcam in not working. When I type lsusb in the terminal, it gives the following message:
Well, after searching several forums and trial and error, I finally got my builtin webcam to work. Its r5u870 05ca:1836. The only problem I now have is that after a hard boot (system was powered down), I then have to do a soft boot for this to work properly. It seems to me that the problem is the firmware loading. Obviously, doing a shutdown -r means that the firmware remains in the webcam device and then everything seems OK.
After a soft boot: linus:~/bin # lsmod|grep -e sony -e uvc -e r5u r5u870 26436 0 usbcam 47808 1 r5u870 sony_laptop 35688 0 uvcvideo 66124 0 rfkill 22772 2 cfg80211,sony_laptop videodev 39168 2 usbcam,uvcvideo v4l1_compat 16004 2 uvcvideo,videodev linus:~/bin # lsusb|grep Ric Bus 001 Device 004: ID 05ca:1836 Ricoh Co., Ltd Visual Communication Camera VGP-VCC4 [R5U870] linus:~/bin # luvcview -L luvcview version 0.2.1 Video driver: x11 A window manager is available video /dev/video0 /dev/video0 does not support read i/o .....
After a hard boot, luvcview will not display anything after the line beginning with { pixel... How to make this all work without the soft reboot?
The asterisk I downloaded came with Centos 5.3 It runs well on VM console But the problem is when It request for localhost login which accepts input but the password does not accept input at all.
I have recently installed CentOS 5.4. I went ahead and enabled encryption for the root partition. everything was fine for the first few days, but today it started refusing my password on boot. The weird thing is after refusing the password several times it accepted it once, then when I rebooted to test refused the password it had accepted moments earlier. I guessed the password file got corrupt or something so I did a clean install. During the install it asked for the password to access the partition and accepted (!) the password. I went ahead and deleted the old partition and reinstalled from scratch just to be sure. And I made extra certain I put in the correct password with no fumble fingers. Sure enough the blasted thing refuses the password I just created during boot. However, if I input the password into the setup it accepts it. What the hell is going on here?
I am writing a server which uses edge-triggered epoll. When the server calls accept(), it just extracts the first connection in the pending queue. If there are more connections that are waiting, can we make the server accept all the pending connections? I wrote a loop like the following:
do { client_fd = accept(...); /* Work with the client fd */ } while (client_fd != -1); [/code]
Doesn't seem to work. A related question, more a clarification, is as follows. My understanding was that a connect() at the client returns only when accept() in the server returns. Clearly, I was incorrect. Even with no accept() call in the server, my client was able to connect and send data. Am I getting this right?
This is on Centos 5.3 by the way..... I had a DVD and, well, just wanted to test some things.. I'm aware that this is not the latest release.
And, by the way (I just read an earlier post) I've added the username and password with which I'm trying to login (..hello?).
I'm at work and I don't have a copy of my Vsftpd configuration file (don't wanna edit this whole thing - actually there is a copy, below). I've used Slackware for years and never had any issues with Vsftpd - it just works. I am trying Centos because I need help with upgrading my mail server (qmail) and there's not much help for Slackware users. Also, I used to run RHEL3 and had vsftpd working fine (had to copy some file to /etc/pam.d) but it worked famously. I compiled all my web server stuff (just don't like these default things where I have no idea how things are integrated) and I'm hung up on - of all things - vsftpd.
Anyway....When I try to log into my ftp server I get "KERBEROS_V4 rejected as an authentication type" and only the anonymous account works. Any other logins produce an error (incorrect login - see ya' later). I have SE Linux and the firewall OFF. I don't recall the directive, precisely, but my vsftpd.conf file is set allow local users to connect. I installed with yum and it added some lines at the bottom (one was about a user list and the other was about PAM). I've got a chroot list and a user list although it's not clear to me precisely where the user list should be placed. I actually uninstalled the RPM and compiled, too. I've done everything but call an exorcist. And I've found tons of posts regarding this on the net and none of the fixes worked. Man - on slackware you type "make" and "make install" (I build it with tcp_wrappers) and you're off to the races.
Actually - I did upload the vsftpd.conf file to work (where I'm at, now). Minus lines that were commented out it looks like this:
Could it, possibly, be something about how I am adding the user, the shell type, etc? I know that in Redhat I used to type "/usr/sbin/useradd -d /home/someuser joe". I've done it that way and I've also done it like so: "useradd -d /home/schmoe -s /bin/bash schmoe".
I have recently installed MySQL Server on my CentOS box.
CentOS 5 MySQL 5.0.45 (installed using 'yum install mysql-server') I can start the daemon without error by issueing the following command: service mysqld start
The problem is that I want to use a number of the command line options available to mysqld, such as --verbose and When I issue '/etc/init.d/mysqld --verbose --help' I get the following output:
I've got two USB webcams I'm trying to get running with CentOS 5.4 x86_64. I've downloaded and installed the gspca driver from http://mxhaard.free.fr/spca5xx.html. Running lsusb yields:
Bus 002 Device 003: ID 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam Bus 002 Device 002: ID 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam
dammit... all that typing and I hit the wrong "submit" button. *sigh*
Ok, I have a couple of SMTP servers for our infrastructure. They are running Postfix. I have them configured so that specific email addresses such as support@mydomain.com and billing@mydomain.com all go to a new support server that I am building with osTicket. Lets call that server SUPP1.
SUPP1 runs sendmail from the default install of CentOS 5 i386. At this point everything runs great. New emails get added into the osTicket system via a pipe in sendmail. Here's where the problem comes in. In order to accept mail, sendmail has to have the domain listed in local-host-names and the addresses in virtusertable. That works just dandy. But in doing so, sendmail believes it is the destination SMTP server for "mydomain.com". That means that I can't send mail from that server back into my normal SMTP servers. So things like the LogWatch, cron jobs, etc can't send notifications. Is there a way to work around that? For sendmail to ignore local-host-names for outbound email or something?
I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?
In my CentOS5.4, I can found the v4l2: integrated Camera in the aMSN, and the Camera1 in the Channels But I can not run it How cam make my webcam work?
I have a several-year-old Logitech webcam, device ID 046d:09a1, which is not currently supported by the uvcvideo driver version 0.1.0 included in my 5.5 centosplus build. The uvcvideo site points to build instructions at the linuxtv.org site, which indicates one should be able to build modules for "vanilla kernels" 2.6.16 and higher. My attempts to compile from their source resulted in various layers of of errors, and I'm way out of my depth in figuring out the changes necessary to compile successfully.
My searches haven't yet turned up any detailed info about building these modules specifically for CentOS 5.5, so I was hoping someone here may have had experience doing this, and might be able to steer me in the right direction.
Alternatively, are there any plans on the horizon to update uvcvideo to a version greater than 0.1.0 in future kernel updates?
i have sony viao vgn-fz11 Can someone please help ,im new user to ubuntu been trying to get webcam working properly at the moment its upside down and does not work in skype at all just get black screen does this look correct? do i have the right driver?i will try and give as much information as i can.
I have a problem making work a webcam. At the begining, after the instalation of 10.04 in a new laptop, the webcam did not work but with a lsusb I see that the webcam was Webcam 5986:0241 acer. I was not able to config neither use the webcam with any application. After lots of test and forums reading I could not do my webcam to work, and now when I do a lsusb my webcam does not appear.
have tried changing the config file to this:target_dir ftp://user:pass@mysite.com:21/public_html/dirbut motion returns errors. want to be able to put mysite.com/dir/stream.flv into a browser and get the stream that would normally show up on my hardrive.I have also tried the wput on_photo_save, but it tells me that I have to many connections from my machines, and I don't want to have to have a frame rate of 2 per minute.
i can handle basics but once i get into coding it confuses me. i downloaded motion and webcam-server onto my other computer on the local network, but all i really want to do is access a live feed from my main box and be able to record a video if need be, for security purposes (we had a break-in awhile back). after starting motion, it saved a few .jpgs to the tmp folder, then i shut it down and restarted it as a test, now it's not even doing that, i'll post the readout of what it spat out in a minute. how do i (1) disable the .jpg saving feature, (2) enable video recording, (3) run it in the background (as a daemon?) without the terminal window being visible onscreen, and (4) access it on the main box? also, i couldn't seem to edit the motion.conf file even though i'm an administrator.
I have installed this but it is command line and i don't know how to quit the thing. Motion is command line. It keeps capturing unless i shutdown the computer. Very frustrating. I also would like help to understand how to configure Motion if someone can fill in the information gaps on this website http://www.chriswpage.com/2009/05/se...04-and-motion/ I have also tried zoneminder but it does not want to run for some reason. I have gone to the zoneminder forum and asked but i don't seem to get very far. They got me to download a zoneminder/ubuntu live cd. I used that but it wasn't seeing the camera. Whereas on the distro i have right now cheese, kamoso so see it. I can live stream with Motion within firefox but i need the motion capturing part configured and without something that will quit Motion the app it's a bit useless. Would appreciate some advice as i have been struggling a long time trying to get this security thing happening
I am successfully using Lucid with either motion or cheese and a Logitech web cam. Is there either: a) A way to use cheese and motion at the same time, or b) An application that shows a live image and will record when the image changes?
I'm having a problem connecting a motion controller through the Ethernet port. Here is what it does If I connect the Ethernet cable from the computer to the controller, the connection is not recognized. If I connect it from the computer to my router, it will connect automatically. If the computer is connected to the router, and I unplug the router and quickly connect the controller, it will automatically recognize it.Also, when I connect the controller with quickly unplugging the router, I can't manually connect it using the wired connection "Auto eth 2". When I click on it, it thinks for a while and then says Wired Network Disconnected.
Is there a way to initialize the Ethernet port automatically to recognize the motion controller, or is there a way to do it using C++ (that is what I'm suing to communicate to the card since it has special libraries) I find this kind of weird. I want to just be able to plug in the controller and be able to use it.
When I downloaded the motion detection sw "Motion" I found in the following path: /etc/motion/ motion.conf and 4 thread files in case of using several cameras.
Q1: Which language is that configuration file written? Q2: I need to collect the source of Motion. Is that configuration file + the 4 thread files which in the /etc/motion directory only the source of the program neither there is some files in another paths I don't know?
how to find out what driver my webcam is using and where its located the webcam it self works but goes from normal to dark after a minute of use and would like to fix it
I want to use my laptop's built in webcam as remote webcam and I don't want to use FTP and post images to a www and use php script or sth, I want to make it accessed remotely as a fast stream and if there is a way I would like to use it with Windows XP - Microsfot Windows Messenger.
How do I change the motion.conf to get the program from taking several snapshots? It just keeps running on and on snapping pics. Also, how do I get the program to record video whenever it detects motion?
Is the motion compensation deinterlacer missing in Ubuntu's Version of Mencoder?
mencoder -vf help doesn't show it (I guess this means it's not installed...), although mencoder's man pages do have an mcdeint entry.
I have those versions installed:
Code:
I first tried the Versions shipped with Ubuntu Lucid Lynx, then I installed them from the Medibuntu repositories. Both without any success. Does anyone know, how to enable mcdeint support? Is there a repository or something I could add to my sources?
I used vlc to play some videos, than I was playing with programs and I install ffmpeg and kino. Now vlc doesn't play avi files with the motion jpec codec. All that I see now is a green screen and I can hear the audio. Everything else is fine, I can play those videos with Movie Player. I'm using debian squeeze.