Dafang-Hacks/rootfs

v4l2rtspserver-master does not work

Opened this issue · 2 comments

nik0 commented

Anyone with this issue:
1970-01-01 08:01:43.611 ( 4.027s) [DeviceSource ] DeviceSource.cpp:91 0| begin thread 1970-01-01 08:01:43.615 ( 4.032s) [main thread ] main.cpp:167 0| Play this stream using the URL "rtsp://192.168.1.33:8554/unicast" 1970-01-01 08:01:44.152 ( 4.568s) [DeviceSource ] ImpEncoder.cpp:1082 ERR| Polling stream timeout 1970-01-01 08:01:44.152 ( 4.569s) [DeviceSource ] DeviceSource.cpp:94 ERR| error:Connection timed out 1970-01-01 08:01:44.153 ( 4.569s) [DeviceSource ] DeviceSource.cpp:99 0| end thread 1970-01-01 08:01:45.011 ( 5.428s) [update_thread ] ImpEncoder.cpp:413 0| Failed to read the JPEG stream: Polling stream timeout
that finish with
hwicodec[error]: vpu channel run failed ijpege[error]: ijpege_icodec_enc failed Segmentation fault
My proc command line is
console=ttyS1,115200n8 mem=32M@0x0 ispmem=10M@0x6800000 rmem=22M@0x7000000 init=/linuxrc root=/dev/mmcblk0p1 rootwait rootfstype=ext3 rw mtdparts=jz_sfc:256k(boot),2048k(kernel),3392k(root),640k(driver),4736k(appfs),2048k(backupk),640k(backupd),2048k(backupa),256k(config),256k(para),-(flag)

on a Dafang 64Mo

nik0 commented

Add dmesg shows
[ 1113.824420] name : i2c-gpio1 nr : 1 [ 1113.829146] name : i2c0 nr : 0 [ 1113.892747] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt [ 1113.899899] i2c i2c-0: --I2C txabrt: [ 1113.903611] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK [ 1113.910221] error: sensor_read,172 ret = -5 [ 1113.914557] sensor_read: addr=0xa value = 0x0 [ 1113.919175] err sensor read addr = 0xa, value = 0x0 [ 1113.984569] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt [ 1113.991721] i2c i2c-0: --I2C txabrt: [ 1113.995428] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK [ 1114.002045] error: sensor_read,172 ret = -5 [ 1114.006392] sensor_read: addr=0x300a value = 0x0 [ 1114.011268] err sensor read addr = 0x300a, value = 0x0 [ 1114.076919] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt [ 1114.084053] i2c i2c-0: --I2C txabrt: [ 1114.087777] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK [ 1114.094375] error: sensor_read,172 ret = -5 [ 1114.098724] sensor_read: addr=0x300b value = 0x0 [ 1114.103597] err sensor read addr = 0x300b, value = 0x0 [ 1114.169236] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt [ 1114.176385] i2c i2c-0: --I2C txabrt: [ 1114.180095] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK [ 1114.186705] error: sensor_read,172 ret = -5
@jmtatsch any idea ?

Thanks,
nik0

which sensor is in the camera?
is it detected correctly and the driver loaded?
does the camera work fine with the old cfw?
could also be a loose flat cable...