Package: alevt
Version: 1:1.6.2-1ubuntu1
Severity: minor
Tags: patch

If alevt is called without any device specified, a few fallbacks are tried. 
Since this version of alevt is able to handle dvb devices, the default dvb 
device should be tried, too.

-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages alevt depends on:
ii  libc6           2.9-4ubuntu6.1           GNU C Library: Shared libraries
ii  libpng12-0      1.2.27-2ubuntu2          PNG library - runtime
ii  libx11-6        2:1.1.99.2-1ubuntu2      X11 client-side library
ii  makedev         2.3.1-88                 creates device files in /dev
ii  udev            141-1.2                  rule-based device node and kernel 
ii  zlib1g          1:1.2.3.3.dfsg-12ubuntu2 compression library - runtime

alevt recommends no packages.

alevt suggests no packages.

-- no debconf information
If there isn't any given vbi name, try to open dvb demux device, also. 
Index: alevt-1.6.2/vbi.c
===================================================================
--- alevt-1.6.2.orig/vbi.c	2009-09-26 13:44:31.000000000 +0200
+++ alevt-1.6.2/vbi.c	2009-09-26 13:45:31.000000000 +0200
@@ -23,7 +23,7 @@
 
 static u8 *rawbuf;		// one common buffer for raw vbi data.
 static int rawbuf_size;		// its current size
-static char *vbi_names[] = { "/dev/vbi", "/dev/vbi0", "/dev/video0", NULL }; // default device names if none was given at the command line
+static char *vbi_names[] = { "/dev/vbi", "/dev/vbi0", "/dev/video0", "/dev/dvb/adapter0/demux0", NULL }; // default device names if none was given at the command line
 
 
 /***** bttv api *****/
Index: alevt-1.6.2/alevt-cap.1.in
===================================================================
--- alevt-1.6.2.orig/alevt-cap.1.in	2009-09-26 13:48:13.000000000 +0200
+++ alevt-1.6.2/alevt-cap.1.in	2009-09-26 13:50:57.000000000 +0200
@@ -31,7 +31,7 @@
 Lists all known file formats and their options.
 .TP
 .BI \-vbi \ device
-Use the given device name.  Default: /dev/vbi, /dev/vbi0, /dev/video0, tried in this order.
+Use the given device name.  Default: /dev/vbi, /dev/vbi0, /dev/video0, /dev/dvb/adapter0/demux0 tried in this order.
 .TP
 .BI \-finetune \ \-4..4\||auto
 Specify the fine tuning for the decoder.  For the right value
Index: alevt-1.6.2/alevt-date.1.in
===================================================================
--- alevt-1.6.2.orig/alevt-date.1.in	2009-09-26 13:48:16.000000000 +0200
+++ alevt-1.6.2/alevt-date.1.in	2009-09-26 13:50:45.000000000 +0200
@@ -34,7 +34,7 @@
 for possible control sequences.
 .TP
 .BI \-vbi \ device
-Use the given device name.  Default: /dev/vbi, /dev/vbi0, /dev/video0, tried in this order.
+Use the given device name.  Default: /dev/vbi, /dev/vbi0, /dev/video0, /dev/dvb/adapter0/demux0 tried in this order.
 .TP
 .BI \-timeout \ seconds
 If the time can't be detected in
Index: alevt-1.6.2/alevt.1x.in
===================================================================
--- alevt-1.6.2.orig/alevt.1x.in	2009-09-26 13:48:22.000000000 +0200
+++ alevt-1.6.2/alevt.1x.in	2009-09-26 13:51:11.000000000 +0200
@@ -23,7 +23,7 @@
 Specifies the size and position of the windows.  Default: 40x25.
 .TP
 .BI \-vbi \ device
-Use the given device name.  Default: /dev/vbi, /dev/vbi0, /dev/video0, tried in this order.
+Use the given device name.  Default: /dev/vbi, /dev/vbi0, /dev/video0, /dev/dvb/adapter0/demux0 tried in this order.
 .TP
 .BI \-finetune \ \-4..4\||auto
 Try some fine tuning if you have a lot of decoding errors (these

Reply via email to