chinese 4x saa7130 card working with zoneminder
Posted: Mon Mar 27, 2006 5:29 pm
just for info:
After strugling around , I got a chinese card with 4 x saa7130 chip working with ZoneMinder.
The card has no brand on it. It is only marked MADE IN CHINA and VER:2.2
It has 4 coax input connectors and no other (video or sound) connectors
There are 2 Xtals : 24.576 and 12.00 Mhz (small)
First tested with kernel 2.6.11-1.1369_FC4. The card was incorrectly recognized (Sabrent ?, don't remember it exactly anymore).
Because later kernels supports a lot more saa713x cards I upgraded to 2.6.15-1.1833_FC4. Then the card was not recognized and installed as type 0 (UNKNOWN/GENERIC). But ZoneMinder or xawtv could not understand the data.
Both kernels (dmesg) complained that there was no eprom installed, so it could not detect the type of the card.
2.6.15-1 supports about 82 different cards, so i tested until I found one working. The following scenario was used :
1. stop zm (on fedora : service zm stop)
2. rmmod saa7134 (remove current driver)
3. modprobe saa7134 card=n,n,n,n (Install new driver, n = cardtype)
4. start zm (on fedora : service zm start)
5. See if you get a picture ....if not back to 1
On all not working drivers, I got a grey scaled picture with horizontal lines (black, grey and white)
on number 33 : BINGO (33 = AVermedia DVD EZmaker).
I did not try any number above 33 as it is now working fine.
The following is now in modprobe.conf to make it permanent :
alias char-major-81 saa7134
options saa7134 card=33,33,33,33
Finally the output of dmesg:
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:04:0c.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
saa7130[0]: found at 0000:04:0c.0, rev: 1, irq: 11, latency: 64, mmio: 0xd7fffc00
saa7130[0]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7130[0]: board init: gpio is 100ff
saa7130[0]: Huh, no eeprom present (err=-5)?
saa7130[0]: registered device video0 [v4l2]
saa7130[0]: registered device vbi0
ACPI: PCI Interrupt 0000:04:0d.0[A] -> Link [LNKC] -> GSI 3 (level, low) -> IRQ 3
saa7130[1]: found at 0000:04:0d.0, rev: 1, irq: 3, latency: 64, mmio: 0xd7fff800
saa7130[1]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7130[1]: board init: gpio is 10000
saa7130[1]: Huh, no eeprom present (err=-5)?
saa7130[1]: registered device video1 [v4l2]
saa7130[1]: registered device vbi1
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ACPI: PCI Interrupt 0000:04:0e.0[A] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
saa7130[2]: found at 0000:04:0e.0, rev: 1, irq: 5, latency: 64, mmio: 0xd7fff400
saa7130[2]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7130[2]: board init: gpio is 10000
saa7130[2]: Huh, no eeprom present (err=-5)?
saa7130[2]: registered device video2 [v4l2]
saa7130[2]: registered device vbi2
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
ACPI: PCI Interrupt 0000:04:0f.0[A] -> Link [LNKE] -> GSI 11 (level, low) -> IRQ 11
saa7130[3]: found at 0000:04:0f.0, rev: 1, irq: 11, latency: 64, mmio: 0xd7fff000
saa7130[3]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7130[3]: board init: gpio is 10000
saa7130[3]: Huh, no eeprom present (err=-5)?
saa7130[3]: registered device video3 [v4l2]
saa7130[3]: registered device vbi3
Hope somebody can do something with this info...
anton van der leun
After strugling around , I got a chinese card with 4 x saa7130 chip working with ZoneMinder.
The card has no brand on it. It is only marked MADE IN CHINA and VER:2.2
It has 4 coax input connectors and no other (video or sound) connectors
There are 2 Xtals : 24.576 and 12.00 Mhz (small)
First tested with kernel 2.6.11-1.1369_FC4. The card was incorrectly recognized (Sabrent ?, don't remember it exactly anymore).
Because later kernels supports a lot more saa713x cards I upgraded to 2.6.15-1.1833_FC4. Then the card was not recognized and installed as type 0 (UNKNOWN/GENERIC). But ZoneMinder or xawtv could not understand the data.
Both kernels (dmesg) complained that there was no eprom installed, so it could not detect the type of the card.
2.6.15-1 supports about 82 different cards, so i tested until I found one working. The following scenario was used :
1. stop zm (on fedora : service zm stop)
2. rmmod saa7134 (remove current driver)
3. modprobe saa7134 card=n,n,n,n (Install new driver, n = cardtype)
4. start zm (on fedora : service zm start)
5. See if you get a picture ....if not back to 1
On all not working drivers, I got a grey scaled picture with horizontal lines (black, grey and white)
on number 33 : BINGO (33 = AVermedia DVD EZmaker).
I did not try any number above 33 as it is now working fine.
The following is now in modprobe.conf to make it permanent :
alias char-major-81 saa7134
options saa7134 card=33,33,33,33
Finally the output of dmesg:
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:04:0c.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
saa7130[0]: found at 0000:04:0c.0, rev: 1, irq: 11, latency: 64, mmio: 0xd7fffc00
saa7130[0]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7130[0]: board init: gpio is 100ff
saa7130[0]: Huh, no eeprom present (err=-5)?
saa7130[0]: registered device video0 [v4l2]
saa7130[0]: registered device vbi0
ACPI: PCI Interrupt 0000:04:0d.0[A] -> Link [LNKC] -> GSI 3 (level, low) -> IRQ 3
saa7130[1]: found at 0000:04:0d.0, rev: 1, irq: 3, latency: 64, mmio: 0xd7fff800
saa7130[1]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7130[1]: board init: gpio is 10000
saa7130[1]: Huh, no eeprom present (err=-5)?
saa7130[1]: registered device video1 [v4l2]
saa7130[1]: registered device vbi1
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ACPI: PCI Interrupt 0000:04:0e.0[A] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
saa7130[2]: found at 0000:04:0e.0, rev: 1, irq: 5, latency: 64, mmio: 0xd7fff400
saa7130[2]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7130[2]: board init: gpio is 10000
saa7130[2]: Huh, no eeprom present (err=-5)?
saa7130[2]: registered device video2 [v4l2]
saa7130[2]: registered device vbi2
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
ACPI: PCI Interrupt 0000:04:0f.0[A] -> Link [LNKE] -> GSI 11 (level, low) -> IRQ 11
saa7130[3]: found at 0000:04:0f.0, rev: 1, irq: 11, latency: 64, mmio: 0xd7fff000
saa7130[3]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7130[3]: board init: gpio is 10000
saa7130[3]: Huh, no eeprom present (err=-5)?
saa7130[3]: registered device video3 [v4l2]
saa7130[3]: registered device vbi3
Hope somebody can do something with this info...
anton van der leun