cjj25 / Yi-RTS3903N-RTSPServer

A RTSPServer for RTS3903N based IP Cameras (Yi Camera Inspired)
67 stars 13 forks source link

Neither RTSPServer nor telnetd starting on a model XY-R9420-X2 #19

Closed iMilnb closed 2 years ago

iMilnb commented 2 years ago

Hi there,

First, thanks a lot for working on this project! So I have a Cacagoo webcam labelled model XY-R9420-X2 running firmware 7.1.00.25A_202002271051, I formatted a 2GB sdcard with FAT32, untarred the latest tar.gz (Yi-RTS3903N-RTSPServerV03.tar.gz) and fired up the cam with this content, but nothing happened really. The card doesn't hold any dump either, nothing happens, the cam boots, does its init and works in a standard way. While at it I tried with V02 and V01 also, same result.
I probably am missing something obvious here, but after a couple hours trying, I can't seem to know what.

Edit: FWIW I tried with a 32G SD, same result.

iMilnb commented 2 years ago

Well, it finally worked.
What I did was formatting the card with the camera itself, then mounted the partition using plain sudo mount, I think user automount does permission trickery that the camera doesn't like.

cjj25 commented 2 years ago

That's great news! Could you post your exact solution?

This user appears to be having the problem: https://github.com/cjj25/Yi-RTS3903N-RTSPServer/issues/17

iMilnb commented 2 years ago

That's great news! Could you post your exact solution?

This user appears to be having the problem: #17

Sure!

Edit: hmm, this user actually has a rooted device, in my case config.sh was not called at all because:

I'll read more about the issue he faces and see if anything I did could apply.