• Reklama

Ubuntu 9.04 Server + Zoneminder

Grafika, film, dźwięk.

Ubuntu 9.04 Server + Zoneminder

Postprzez latoz » 15 sie 2009, o 19:20

Witam

Mam problem z programem zoneminder. Jest już zainstalowany i wyświetla mi obraz z jednej kamery a mam podłączone 3. W zależności co wpisze przy ładowaniu bttv mam :

modprobe bttv tuner=4 radio=0 gbuffers=8 - 1 kamera ok, 2,3,4 niebieski ekran
modprobe bttv card=77 tuner=4 radio=0 gbuffers=8 - 1 kamera ok, 2,3,4 niebieski ekran
modprobe bttv card=103 tuner=4 radio=0 gbuffers=8 - 1 kamera ok, 2,3,4 klon kamery 1

a tu informacje z systemu

# sysctl -a |grep kernel.shm
kernel.shmmax = 134217728
kernel.shmall = 134217728
kernel.shmmni = 4096

# lspci -v
00:05.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 16
Memory at ee000000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv

00:05.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at ee001000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2

------------------------------
1 ok 2,3,4 blue

# /etc/init.d/zoneminder stop
# modprobe -r bttv
# modprobe bttv tuner=4 radio=0 gbuffers=8
# /etc/init.d/zoneminder start

[ 966.783855] Linux video capture interface: v2.00
[ 966.807161] bttv: driver version 0.9.17 loaded
[ 966.807168] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 966.807259] bttv: Bt8xx card found (0).
[ 966.807281] bttv0: Bt878 (rev 17) at 0000:00:05.0, irq: 16, latency: 32, mmio: 0xee000000
[ 966.815292] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 966.815383] bttv0: gpio: en=00000000, out=00000000 in=003ffbff [init]
[ 982.810023] tveeprom 1-0050: Huh, no eeprom present (err=-6)?
[ 982.810033] bttv0: tuner absent
[ 982.810040] bttv0: i2c: checking for MSP34xx @ 0x80... not found
[ 998.810025] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[ 1014.810026] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[ 1030.820182] bttv0: registered device video0
[ 1030.820262] bttv0: registered device vbi0


------------------------------
1 ok 2,3,4 blue

# /etc/init.d/zoneminder stop
# modprobe -r bttv
# modprobe bttv card=77 tuner=4 radio=0 gbuffers=8
# /etc/init.d/zoneminder start

# dmesg
[ 319.492254] Linux video capture interface: v2.00
[ 319.528433] bttv: driver version 0.9.17 loaded
[ 319.528440] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 319.528553] bttv: Bt8xx card found (0).
[ 319.528580] bttv0: Bt878 (rev 17) at 0000:00:05.0, irq: 16, latency: 32, mmio: 0xee000000
[ 319.528871] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[ 319.528954] bttv0: gpio: en=00000000, out=00000000 in=003ffbff [init]
[ 319.528976] bt878 #0 [sw]: bus seems to be busy
[ 321.520014] bttv0: tuner absent
[ 321.520185] bttv0: registered device video0
[ 321.520278] bttv0: registered device vbi0
[ 321.520300] bttv0: PLL: 28636363 => 35468950 .. ok

------------------------------
1 ok 2,3,4 clones 1

# /etc/init.d/zoneminder stop
# modprobe -r bttv
# modprobe bttv card=103 tuner=4 radio=0 gbuffers=8
# /etc/init.d/zoneminder start

# dmesg
[ 417.311168] Linux video capture interface: v2.00
[ 417.347733] bttv: driver version 0.9.17 loaded
[ 417.347740] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 417.347857] bttv: Bt8xx card found (0).
[ 417.347886] bttv0: Bt878 (rev 17) at 0000:00:05.0, irq: 16, latency: 32, mmio: 0xee000000
[ 417.348004] bttv0: using: Grand X-Guard / Trust 814PCI [card=103,insmod option]
[ 417.348074] bttv0: gpio: en=00000000, out=00000000 in=00bffbff [init]
[ 417.348095] bt878 #0 [sw]: bus seems to be busy
[ 419.340020] bttv0: tuner absent
[ 419.340199] bttv0: registered device video0
[ 419.340283] bttv0: registered device vbi0
[ 419.340307] bttv0: PLL: 28636363 => 35468950 . ok

------------------------------
# zmu -d /dev/video0 -q -v
Video Capabilities
Name: BT878 video (GrandTec Multi Cap
Type: 45
Can capture
Does teletext
Overlay onto frame buffer
Can clip
Video Channels: 4
Audio Channels: 0
Maximum Width: 924
Maximum Height: 576
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Composite0
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Channel 2 Attributes
Name: Composite2
Channel: 2
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Channel 3 Attributes
Name: Composite3
Channel: 3
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
latoz
Piegowaty Guziec
 
Posty: 3
Dołączył(a): 13 maja 2006, o 21:47
Płeć: Mężczyzna
Wersja Ubuntu: 9.04
Środowisko graficzne: GNOME

Reklama

Odp: Ubuntu 9.04 Server + Zoneminder

Postprzez mp3-10 » 11 kwi 2010, o 08:50

Ja kartę DVR zawsze uruchamiałem :

Kod: Zaznacz cały
/sbin/modprobe -r bttv
/sbin/modprobe bttv card=77
/sbin/modprobe -r bttv
/sbin/modprobe bttv card=118


i wszystko ładnie działało.

---
Przepraszam za odkopanie - nie zauważyłem daty ;)
mp3-10
Piegowaty Guziec
 
Posty: 29
Dołączył(a): 2 cze 2009, o 13:18
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86_64


Powrót do Muzyka, filmy, zdjęcia, grafika

Kto przegląda forum

Użytkownicy przeglądający ten dział: Brak zidentyfikowanych użytkowników i 8 gości