EliasKotlyar / Xiaomi-Dafang-Hacks

4.19k stars 1k forks source link

No CPUID #875

Closed jgwinner closed 5 years ago

jgwinner commented 5 years ago

Wyze Cam, v2 (WYZEC2)

Description

I got everything working, changed some settings (Camera name, disabled arrows)

I can't get the CPU ID from the system.

What did you do to debug the issue

Ran cat/proc/cpuinfo:

[root@CARECAM_1:~]# cat /proc/cpuinfo
system type             : bull
machine                 : Unknown
processor               : 0
cpu model               : Ingenic Xburst V0.1  FPU V0.0
BogoMIPS                : 858.52
wait instruction        : yes
microsecond timers      : no
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 1, address/irw mask: [0x0fff]
isa                     : mips32r1
ASEs implemented        :
shadow register sets    : 1
kscratch registers      : 7
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

Hardware                : isvp
Serial                  : 00000000 00000000 00000000 00000000
[root@CARECAM_1:~]#

No joy

Evidence

output above

Contribute Back

Not sure what the CPU is, but it would help if there was a unique identifier. I'm trying to keep track of the cameras in a cloud database. Makes it hard :)

jgwinner commented 5 years ago

No one?

jmtatsch commented 5 years ago

Maybe no cpuid but look in the /configs file system( /dev/mtdblock8), I’m pretty confident the should be some unique id there.

jmtatsch commented 5 years ago

Look at how the wifi mac is being set:
MAC=$(grep MAC < /params/config/.product_config | cut -c16-27 | sed 's/\(..\)/\1:/g;s/:$//')

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.