[SOLVED] bttv card does not work
Posted: Thu Jul 17, 2008 10:46 am
because the cam works only in greyscale, i had to
change the captureing to grey
hi
i have problems with my bttv card (wintv pro).
xawtv -hwscan
.....
/dev/video2: OK [ -device /dev/video2 ]
type : v4l2
name : BT848A video (MIRO PCTV pro)
flags: overlay capture tuner
.....
# zmu -d /dev/video2 -q -v
Video Capabilities
Name: BT848A video (MIRO PCTV pro)
Type: 47
Can capture
Can tune
Does teletext
Overlay onto frame buffer
Can clip
Video Channels: 3
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: 0 - Unknown
Colour Depth: 8
Brightness: 32767
Hue: 32767
Colour :32767
Contrast: 32767
Whiteness: 0
Channel 0 Attributes
Name: Television
Channel: 0
Flags: 1
Channel has a tuner
Type: 1 - TV
Format: 0 - PAL
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Channel 2 Attributes
Name: S-Video
Channel: 2
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
.....
monitor settings:
devicepath /dev/video2
device channel 1
device format pal
capture palette RGB24
capture width 384
capture heigth 288
orientation normal
.....
everything is green on the zoneminder console
(function record + source CAMvideo2
but i see no video on the capture-window
.....
zmdc.log:
07/17/2008 12:43:28.045530 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:43:28, pid = 26844]
07/17/2008 12:43:28.092357 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
07/17/2008 12:43:38.216605 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:43:38, pid = 26870]
07/17/2008 12:43:38.237612 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
07/17/2008 12:43:48.340622 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:43:48, pid = 26873]
07/17/2008 12:43:48.362557 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
07/17/2008 12:43:58.479395 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:43:58, pid = 26876]
07/17/2008 12:43:58.513381 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
07/17/2008 12:44:08.614754 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:44:08, pid = 26882]
07/17/2008 12:44:08.643291 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
.....
there are no interrupts on the bttv card:
cat /proc/interrupts | grep bttv
22: 269 0 IO-APIC-fasteoi bttv0
.....
.....
i get no window with xawtv:
xawtv -device /dev/video2
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.26-rc9-00039-g90621ed)
xinerama 0: 1280x1024+0+0
xinerama 1: 1280x1024+0+0
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 139 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 67
Current serial number in output stream: 67
.....
the cam is working, i get a video output on an TV
.....
.....
what can be wrong here?
change the captureing to grey
hi
i have problems with my bttv card (wintv pro).
xawtv -hwscan
.....
/dev/video2: OK [ -device /dev/video2 ]
type : v4l2
name : BT848A video (MIRO PCTV pro)
flags: overlay capture tuner
.....
# zmu -d /dev/video2 -q -v
Video Capabilities
Name: BT848A video (MIRO PCTV pro)
Type: 47
Can capture
Can tune
Does teletext
Overlay onto frame buffer
Can clip
Video Channels: 3
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: 0 - Unknown
Colour Depth: 8
Brightness: 32767
Hue: 32767
Colour :32767
Contrast: 32767
Whiteness: 0
Channel 0 Attributes
Name: Television
Channel: 0
Flags: 1
Channel has a tuner
Type: 1 - TV
Format: 0 - PAL
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Channel 2 Attributes
Name: S-Video
Channel: 2
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
.....
monitor settings:
devicepath /dev/video2
device channel 1
device format pal
capture palette RGB24
capture width 384
capture heigth 288
orientation normal
.....
everything is green on the zoneminder console
(function record + source CAMvideo2
but i see no video on the capture-window
.....
zmdc.log:
07/17/2008 12:43:28.045530 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:43:28, pid = 26844]
07/17/2008 12:43:28.092357 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
07/17/2008 12:43:38.216605 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:43:38, pid = 26870]
07/17/2008 12:43:38.237612 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
07/17/2008 12:43:48.340622 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:43:48, pid = 26873]
07/17/2008 12:43:48.362557 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
07/17/2008 12:43:58.479395 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:43:58, pid = 26876]
07/17/2008 12:43:58.513381 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
07/17/2008 12:44:08.614754 zmdc[23679].INF ['zmc -d /dev/video2' starting at 08/07/17 12:44:08, pid = 26882]
07/17/2008 12:44:08.643291 zmdc[23679].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
.....
there are no interrupts on the bttv card:
cat /proc/interrupts | grep bttv
22: 269 0 IO-APIC-fasteoi bttv0
.....
.....
i get no window with xawtv:
xawtv -device /dev/video2
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.26-rc9-00039-g90621ed)
xinerama 0: 1280x1024+0+0
xinerama 1: 1280x1024+0+0
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 139 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 67
Current serial number in output stream: 67
.....
the cam is working, i get a video output on an TV
.....
.....
what can be wrong here?