News:

Re-organized the forum to more cleanly delineate the development section, as the end user support side appears to have taken a life of its own!

Author Topic: Open video divice error  (Read 6151 times)

  • No avatar
  • *
November 01, 2013, 05:41:51 pm
W90P745 Boot Loader [ Version 1.1 $Revision: 1 $ ] Rebuilt on May 11 2010
Memory Size is 0x1000000 Bytes, Flash Size is 0x400000 Bytes
Board designed by Winbond
Hardware support provided at Winbond
Copyright (c) Winbond Limited 2001 - 2006. All rights reserved.
Boot Loader Configuration:

        MAC Address         : 00:B8:00:00:68:D2
        IP Address          : 192.168.1.178
        DHCP Client         : Enabled
        CACHE               : Enabled
        BL buffer base      : 0x00300000
        BL buffer size      : 0x00100000
        Baud Rate           : 115200
        USB Interface       : Enabled
        Serial Number       : 0xFFFFFFFF


For help on the available commands type 'h'

Press ESC to enter debug mode ......
Cache enabled!
Processing image 1 ...
Processing image 2 ...
Processing image 3 ...
Processing image 4 ...
Processing image 5 ...
Processing image 6 ...
Processing image 7 ...
Unzip image 7 ...
Executing image 7 ...
Linux version 2.4.20-uc0 (root@maverick-linux) (gcc version 3.0) #1453 Ò» 12ÔÂ 6
 08:30:46 CST 2010
Processor: Winbond W90N745 revision 1
Architecture: W90N745
On node 0 totalpages: 4096
zone(0): 0 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0 rw
Calibrating delay loop... 39.83 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14320KB available (1481K code, 299K data, 40K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
PTZ Driver has been installed successfully.
Winbond W90N745 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80000 (irq = 9) is a W90N745
Winbond W90N7451 Serial driver version 1.0 (2005-08-15) with no serial options e
nabled
ttyS00 at 0xfff80100 (irq = 10) is a W90N7451
I2C Bus Driver has been installed successfully.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 7F0E0000-7F1EBFFF [VIRTUAL 7F0E0000-7F1EBFFF] (RO)
S29GL032N Flash Detected
01 eth0 initial ok!
which:0
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
Winbond Audio Driver v1.0 Initialization successfully.
usb.c: registered new driver hub
add a static ohci host controller device
: USB OHCI at membase 0xfff05000, IRQ 15
hc_alloc_ohci
usb-ohci.c: AMD756 erratum 4 workaround
hc_reset
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4

 _____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
 / /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.24.0.0
usb.c: registered new driver zd1211b
main_usb.c: VIA Networking Wireless LAN USB Driver 1.20.04
usb.c: registered new driver vntwusb
usb.c: registered new driver rt73
dvm usb cam driver 0.0.0.1 by Maverick Gao in 2010-8-3
usb.c: registered new driver dvm
dvm usb cam driver 0.1 for sonix288 by Maverick Gao in 2009-4-20
usb.c: registered new driver dvm usb cam driver for sonix288
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 40K
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
Shell invoked to run file: /bin/init
Command: mount -t proc none /proc
Command: mount -t ramfs none /usr
Command: mount -t ramfs none /swap
Command: mount -t ramfs none /var/run
Command: mount -t ramfs none /etc
Command: mount -t ramfs none /flash
Command: mount -t ramfs none /home
Command: mount -t ramfs none /tmp
Command: mkdir /tmp/run
Command: camera&
[8]
Command: sh

Sash command shell (version 1.1.1)
/> no support
hub.c: connect-debounce failed, port 1 disabled
new USB device :80fb4004-fed740
hub.c: new USB device 1, assigned address 2
usb.c: USB device 2 (vend/prod 0x148f/0x3070) is not claimed by any active drive
r.
new USB device :80fb4204-fed740
hub.c: new USB device 2, assigned address 3
p1[7]:1,j 3,config->bNumInterfaces:4
usbaudio: device 3 audiocontrol interface 2 has 1 input and 0 output AudioStream
ing interfaces
usbaudio: valid input sample rate 48000
usbaudio: device 3 interface 3 altsetting 1: format 0x00000010 sratelo 48000 sra
tehi 48000 attributes 0x01
usbaudio: registered dsp 14,35
usbaudio: registered mixer 14,32
usb_audio_parsecontrol: usb_audio_state at 00ff3ba0
factory params zone not inited !
camera params zone not inited !

sw version is 4.22.2.36
factory video params zone not inited !
video params zone not inited !
dyndns status zone not inited !
preset params zone not inited !

aw version is 4.5.3.45

Wait for auto-negotiation complete...OK
100MB - FULL
open video device error
myreboot

what can i do? pls help
on box marked F-m166
on board marked m136
how to repair? =(

  • No avatar
  • *
November 01, 2013, 06:41:06 pm
Well, I noticed that the change of different linux and romfs it doesn't help...
As I understand it is not enough of something else

  • No avatar
  • *
November 01, 2013, 07:31:27 pm
After reading the forums, it seems a power problem, namely the "5 +" does not come at the camera.
Who knows the circuit board?
Or how to power from another place on the board?

  • No avatar
  • *
February 14, 2014, 09:08:13 am
No help?? =(

  • No avatar
  • *****
February 18, 2014, 10:03:42 am
for a start, did you try to measure the 5+ supply to the cameraboard?
Did you check the powersupply? Sometimes these cheap switchmode psus just die on you. and the cameraboard or wlan will notice before the microcontroller because they are connected via USB (5V) and the µC runs of 3.3V, so some "headroom".
It is possible that one of the crappy wires between the masterboard and the "head" broke due to excessive rotating :)   maybe it's even one of the USB data wires

  • No avatar
  • *
June 25, 2015, 04:45:08 am
Finally, I managed to make my DBPOWER PT IP clone camera to work again.

First, I got it with the "open video device error", probably after a failed upgrade; like this:

Code: [Select]
W90P745 Boot Loader [ Version 1.1 $Revision: 1 $ ] Rebuilt on May 11 2010
Memory Size is 0x1000000 Bytes, Flash Size is 0x400000 Bytes
Board designed by Winbond
Hardware support provided at Winbond
Copyright (c) Winbond Limited 2001 - 2006. All rights reserved.
Boot Loader Configuration:

        MAC Address         : 00:0D:C5:DA:78:F4
        IP Address          : 0.0.0.0
        DHCP Client         : Enabled
        CACHE               : Enabled
        BL buffer base      : 0x00300000
        BL buffer size      : 0x00100000
        Baud Rate           : -1
        USB Interface       : Disabled
        Serial Number       : 0xFFFFFFFF


For help on the available commands type 'h'

Press ESC to enter debug mode ......
Cache enabled!
Processing image 1 ...
Processing image 2 ...
Processing image 3 ...
Processing image 4 ...
Processing image 5 ...
Processing image 6 ...
Processing image 7 ...
Unzip image 7 ...
Executing image 7 ...
Linux version 2.4.20-uc0 (root@maverick-linux) (gcc version 3.0) #1334 Èý 3ÔÂ 24
 05:56:23 CST 2010
Processor: Winbond W90N745 revision 1
Architecture: W90N745
On node 0 totalpages: 4096
zone(0): 0 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0 rw
Calibrating delay loop... 39.83 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14332KB available (1479K code, 289K data, 40K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
PTZ Driver has been installed successfully.
Winbond W90N745 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80000 (irq = 9) is a W90N745
Winbond W90N7451 Serial driver version 1.0 (2005-08-15) with no serial options e
nabled
ttyS00 at 0xfff80100 (irq = 10) is a W90N7451
I2C Bus Driver has been installed successfully.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 7F0E0000-7F1D67FF [VIRTUAL 7F0E0000-7F1D67FF] (RO)
S29GL032N Flash Detected
01 eth0 initial ok!
which:0
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
Winbond Audio Driver v1.0 Initialization successfully.
usb.c: registered new driver hub
add a static ohci host controller device
: USB OHCI at membase 0xfff05000, IRQ 15
hc_alloc_ohci
usb-ohci.c: AMD756 erratum 4 workaround
hc_reset
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4

 _____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
 / /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.24.0.0
usb.c: registered new driver zd1211b
main_usb.c: VIA Networking Wireless LAN USB Driver 1.20.04
usb.c: registered new driver vntwusb
usb.c: registered new driver rt73
dvm usb cam driver 0.0.0.1 by Maverick Gao in 2010-8-3
usb.c: registered new driver dvm
dvm usb cam driver 0.1 for sonix288 by Maverick Gao in 2009-4-20
usb.c: registered new driver dvm usb cam driver for sonix288
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 40K
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
Shell invoked to run file: /bin/init
Command: mount -t proc none /proc
Command: mount -t ramfs none /usr
Command: mount -t ramfs none /usr
Command: mount -t ramfs none /var/run
Command: mount -t ramfs none /etc
Command: mount -t ramfs none /flash
Command: mount -t ramfs none /home
Command: mount -t ramfs none /tmp
Command: mkdir /tmp/run
Command: camera&
[8]
Command: sh
no support

Sash command shell (version 1.1.1)
/> new USB device :80fb2004-fed740
hub.c: new USB device 2, assigned address 2
usb.c: USB device 2 (vend/prod 0x148f/0x3070) is not claimed by any active drive
r.
aw version is 11.22.2.30
aw version is 2.0.10.9

Wait for auto-negotiation complete...ResetPhyChip Failed
open video device error
myreboot


I thought it might have some usb cable loss inside, between main board and video board. I checked the wires. Nothing suspicious found. Than, I removed the video board and conected on my pc via usb. Comera got detected and installed as vid/pid 18ec:3399 Arkmicro Technologies Inc.
So, I realized it might be a kernel error.

After many tries, I found the right kernel to work with this camera. It's the firmware from Wanscam AJ-CWA-C198. You may give it a try by downloading it at the end of my message.
Note: You should me loged in to view the files.

Now the log looks like that (which is perfect!):
Code: [Select]
W90P745 Boot Loader [ Version 1.1 $Revision: 1 $ ] Rebuilt on May 11 2010
Memory Size is 0x1000000 Bytes, Flash Size is 0x400000 Bytes
Board designed by Winbond
Hardware support provided at Winbond
Copyright (c) Winbond Limited 2001 - 2006. All rights reserved.
Boot Loader Configuration:

        MAC Address         : 78:A5:DD:00:A9:B6
        IP Address          : 0.0.0.0
        DHCP Client         : Enabled
        CACHE               : Enabled
        BL buffer base      : 0x00300000
        BL buffer size      : 0x00100000
        Baud Rate           : -1
        USB Interface       : Disabled
        Serial Number       : 0xFFFFFFFF


For help on the available commands type 'h'

Press ESC to enter debug mode ......
Cache enabled!
Processing image 1 ...
Processing image 2 ...
Processing image 3 ...
Processing image 4 ...
Processing image 5 ...
Processing image 6 ...
Processing image 7 ...
Unzip image 7 ...
Executing image 7 ...
Linux version 2.4.20-uc0 (root@maverick-linux) (gcc version 3.0) #1924 Áù 11ÔÂ 3
 04:39:33 CST 2012
Processor: Winbond W90N745 revision 1
Architecture: W90N745
On node 0 totalpages: 4096
zone(0): 0 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0 rw
Calibrating delay loop... 39.83 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14512KB available (1398K code, 192K data, 40K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
PTZ Driver has been installed successfully.
Winbond W90N745 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80000 (irq = 9) is a W90N745
Winbond W90N7451 Serial driver version 1.0 (2005-08-15) with no serial options e
nabled
ttyS00 at 0xfff80100 (irq = 10) is a W90N7451
I2C Bus Driver has been installed successfully.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 7F0E0000-7F1D33FF [VIRTUAL 7F0E0000-7F1D33FF] (RO)
S29GL032N Flash Detected
01 eth0 initial ok!
which:0
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
i2s audio probe 1
Winbond Audio Driver v1.0 Initialization successfully.
usb.c: registered new driver hub
add a static ohci host controller device
: USB OHCI at membase 0xfff05000, IRQ 15
hc_alloc_ohci
usb-ohci.c: AMD756 erratum 4 workaround
hc_reset
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4
rtusb init rt2870 --->
usb.c: registered new driver rt2870
dvm usb cam driver 0.0.0.1 by Maverick Gao in 2010-8-3
usb.c: registered new driver dvm
dvm usb cam driver 0.1 for sonix288 by Maverick Gao in 2009-4-20
usb.c: registered new driver dvm usb cam driver for sonix288
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 40K
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
Shell invoked to run file: -t
Command: mount -t proc none /proc
Command: mount -t ramfs none /usr
Command: mount -t ramfs none /swap
Command: mount -t ramfs none /var/run
Command: mount -t ramfs none /etc
Command: mount -t ramfs none /flash
Command: mount -t ramfs none /home
Command: mount -t ramfs none /tmp
Command: mkdir /tmp/run
Command: camera&
[8]
Command: sh
no support

Sash command shell by maverick (version 1.1.1)
/> hub.c: connect-debounce failed, port 1 disabled
new USB device :80fcee04-fed740
hub.c: new USB device 1, assigned address 2
probing sonix288 usb camera ...
vid/pid is 0x18ec/0x3399
dvm camera registered as video0
p1[7]:1,j 3,config->bNumInterfaces:4
usbaudio: device 2 audiocontrol interface 2 has 1 input and 0 output AudioStream
ing interfaces
usbaudio: valid input sample rate 48000
usbaudio: device 2 interface 3 altsetting 1: format 0x00000010 sratelo 48000 sra
tehi 48000 attributes 0x01
usbaudio: registered dsp 14,35
usbaudio: registered mixer 14,32
usb_audio_parsecontrol: usb_audio_state at 00ff3f40
new USB device :80fb5404-fed740
hub.c: new USB device 2, assigned address 3
params length is 5428
sw version is 47.37.2.49
aw version is 18.0.18.23

Wait for auto-negotiation complete...OK
100MB - FULL
0x1300 = 00073200
sh 1: Child 17 died
sh 1: Child 18 died
sh 1: Child 16 died
sh 1: Child 19 died
video0 opened
1
1
1
1
1
1
unknown command
do_zoom_stop: read error 5
__pthread_initial_thread_bos:478000
manage pid:22
dsp and mixer is 7 8
set speed 8000 0
set channels 1 0
set fmt 432 0
audio_dev.state not AU_STATE_RECORDING
wb_audio_start_record
2
2
2
2
2
2
inet_sr.c INET_rinput 321
action===1
options==33
inet_sr.c INET_setroute 75
*args===255.255.255.255
*args===netmask
*args===eth0
inet_sr.c INET_rinput 321
action===1
options==33
inet_sr.c INET_setroute 75
*args===255.255.255.255
*args===netmask
*args===eth0
SIOCADDRT: File exists
pid 34: failed 1792
inet_sr.c INET_rinput 321
action===1
options==33
inet_sr.c INET_setroute 75
*args===default
*args===gw
*args===eth0
[44]
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
1970-01-01 00:00:26 [INFO] dsc_admin_host: 127.0.0.1
1970-01-01 00:00:26 [INFO] dsc_admin_port: 20000
1970-01-01 00:00:26 [INFO] max_log_size: 10000
1970-01-01 00:00:26 [INFO] log_level: 3
1970-01-01 00:00:26 [INFO] set handler for SIGCHLD
1970-01-01 00:00:26 [INFO] status: NULL -> INIT
1970-01-01 00:00:26 [INFO] starting dsc as: /bin/dsc
1970-01-01 00:00:26 [INFO] <ctrl.1> admin started on port 20000
1970-01-01 00:00:27 [INFO] dsc started: pid=45
1970-01-01 00:00:27 [INFO] status: INIT -> STARTING
1970-01-01 00:00:27 [INFO] <ctrl.1> smtp started on port 2500
1970-01-01 00:00:27 [INFO] <global> add_datsrc: new data source (datsrc.2 0xe6a4
48) at index: 1
bonjour callback: service registered
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
1970-01-01 00:00:27 [INFO] status: STARTING -> ONLINE
1970-01-01 00:00:27 [INFO] <admsmplex.1> stat  -> STAT_SMPLEX_UNBOUND
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
1970-01-01 00:00:37 [INFO] status: ONLINE -> PROBING
1970-01-01 00:00:37 [INFO] check_dsc_rsp: rsp = 0
1970-01-01 00:00:37 [INFO] check_dsc_rsp: OK
1970-01-01 00:00:37 [INFO] status: PROBING -> ONLINE
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
start monitor video 4128

You may flash the linux.zip, romfs.img (in the archive attached) and webui.bin by using the following commands and addresses:
Code: [Select]
fx 7 linux.zip 0x7f020000 0x8000 -acxz
fx 6 romfs.img 0x7f0e0000 0x7f0e0000 -a
fx 8 webui 0x7f200000 0x7f200000 -a

Hope will help others with the same CPU541-E PCB board camera, like mine.
Refference picture of the board is also attached. Have a look.

Good luck!

  • No avatar
  • *****
June 26, 2015, 03:11:18 am
this is usefull information and deserves a "thumbs up" (missing smiley).