motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.8k stars 891 forks source link

Rasperry pi zero + motioneyeos doesn't detect my PS3 Camera #2568

Closed ade-x1 closed 3 years ago

ade-x1 commented 3 years ago

Hello team! I am running motionEyeOS version: 20200606 on a raspberry pi zero, this is the first time I am trying to setup motioneyeos with this camera (PS3 camera), however it always worked fine with motion. During this first setup, once I select Local v4l2 camera and I click okay the preview doesn't show any video. Is there a specific setup or codec that needs to be installed?

Many thanks!

motion.log boot.log dmesg.log messages.log motioneye.log

Screenshot 2020-11-06 at 18 44 19 Screenshot 2020-11-06 at 18 44 06
starbasessd commented 3 years ago

Need some more info: Can you post your logs? Boot, messages, motion, motioneye and dmesg, please? Have you tried to test with RaspberryPiOS and raspivid?

On Fri, Nov 6, 2020 at 1:45 PM ade-x1 notifications@github.com wrote:

Hello team! I am running motionEyeOS version: 20200606 on a raspberry pi zero, this is the first time I am trying to setup motioneyeos with this camera, however it always worked fine with motion. During this first setup, once I select Local v4l2 camera and I click okay the preview doesn't show any video. Is there a specific setup or codec that needs to be installed?

Many thanks!

[image: Screenshot 2020-11-06 at 18 44 19] https://user-images.githubusercontent.com/59267060/98402981-1bc86800-2060-11eb-9eb6-4eb26abbbb26.png

[image: Screenshot 2020-11-06 at 18 44 06] https://user-images.githubusercontent.com/59267060/98402985-1cf99500-2060-11eb-8755-dd1c85979853.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2568, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHLFSZVSYAGTNKAHZHLSOQ73TANCNFSM4TNARYLA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

ade-x1 commented 3 years ago

Hi @starbasessd , I have updated my original post with the logs. No I haven't as I had a working system with motion and I thought that would have been compatible right away

starbasessd commented 3 years ago

can talk to the camera on some systems (like Debian) natively. What was motion running on before? Please try running a current version of RaspberryPi OS (like 2020-08-20) on the Pi and see if it sees it. I also see an Apple keyboard/mouse? Are you running a USB hub? Is it self powered? If not, can you try connecting the camera directly to the PI, and just use SSH and/or the WebGUI?

ade-x1 commented 3 years ago

The USB keyboard was there before connecting the camera (then I rebooted the pi), the camera is directly connected to the pi. Motion was running on Raspian. I'll try to install raspberry pi os now

ade-x1 commented 3 years ago

Is there any other test that I can do? It is extremely slow on the pi zero is still opening chromium since minutes now

starbasessd commented 3 years ago

I was hoping that it came up without doing anything special. If the camera comes up, you can look to see if there is a folder under /lib/firmware for the camera. If it doesn't come up, it explains why it doesn't work in motionEyeOS. We can then go about trying to figure out what the issue is. Can you run a command line on console or ssh? If so, run: lsusb -t [enter] dmesg | grep usb [enter] We are trying to discover how it's discovered in RaspberryPiOS.

On Fri, Nov 6, 2020 at 3:39 PM ade-x1 notifications@github.com wrote:

Is there any other test that I can do? It is extremely slow on the pi zero is still opening chromium since minutes now

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2568#issuecomment-723289523, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHM7QVWPARAONWP52I3SORNIPANCNFSM4TNARYLA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

ade-x1 commented 3 years ago

Sorry if it took a while but it wasn't recognising my mouse and I had to setup the wireless keyboard. I am not really sure how to test the webcam with the desktop OS, but here there is a screenshot of dmesg output. Thank you for your help with this

IMG_7043

starbasessd commented 3 years ago

OK, it sees an OmniVision camera. Is Cheese installed? Or, can you run

sudo apt-get install fswebcam [enter] or sudo apt install cheese [enter] then runfswebcam -r 1280x960 --no-banner ./camtest.jpg [enter] or cheese [enter]

You should be able to use the file manager to open the file.

On Fri, Nov 6, 2020 at 4:34 PM ade-x1 notifications@github.com wrote:

Sorry if it took a while but it wasn't recognising my mouse and I had to setup the wireless keyboard. I am not really sure how to test the webcam with the desktop OS, but here there is a screenshot of dmesg output. Thank you for your help with this

[image: IMG_7043] https://user-images.githubusercontent.com/59267060/98416791-a4063780-2077-11eb-8ae7-1b9eea15fac6.jpg

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2568#issuecomment-723310048, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHOOU3Q53IWHPNHCAM3SORTWZANCNFSM4TNARYLA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

ade-x1 commented 3 years ago

Good morning! With cheese it failed but it worked just fine with fswebcam

ade-x1 commented 3 years ago

I tried to reinstall motioneyeos and now is working fine ¯_(ツ)_/¯. It's a bit slow to show the movements but I guess that's only a matter of settings