Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135941 - media-video/alevt cannot handle new VBI kernel interface.
Summary: media-video/alevt cannot handle new VBI kernel interface.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 09:50 UTC by spiralvoice
Modified: 2014-12-26 10:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to let alevt-1.6.1 work again with kernel 2.6.16 (alevt-1.6.1-244.patch,438 bytes, patch)
2006-06-07 09:51 UTC, spiralvoice
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description spiralvoice 2006-06-07 09:50:42 UTC
this bug is connected to bug #135788

# alevt 100
alevt: v4l2: unable to handle these sampling parameters
alevt: cannot open /dev/v4l/vbi0

using nxtvepg with the patch mentioned here
http://sourceforge.net/forum/forum.php?thread_id=1469517&forum_id=217872

"In file epgvbi/btdrv4linux.c, function BtDriver_OpenVbiBuf() change line  
zvbi_rd.offset = vfmt2.fmt.vbi.offset; 
into 
zvbi_rd.offset = 244; "

I could use gentoo-sources-2.6.16-r9 again, attached patch does
something similar for alevt-1.6.1. Please include in portage.

Portage 2.1_rc4-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -fforce-addr -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -fforce-addr -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden -fno-enforce-eh-specs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://gentoo.inode.at http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.osuosl.org/ http://ftp.easynet.nl/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/ecatmur"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acpi alsa arts automount avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cli cups dbus dri dvd dvdr dvdread eds emboss encode ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif glitz gmp gnokii gpm graphviz gs gtk gtk2 hal howl idn ieee1394 imagemagick imap imlib isdnlog jbig joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lame lcms libg++ libwww lzo mad matroska mbox mhash mikmod mmx mng mozilla mozsvg mp3 mpeg mplayer ncurses nls nptl nsplugin nvidia ogg openexr opengl oss pam pcre pdflib perl pic png ppds pppd qt quicktime readline real reflection samba session slp sndfile spell spl sse ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis win32codecs wmf xine xinerama xml xmms xorg xprint xv xvid zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_de userland_GNU video_cards_nv video_cards_vesa video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 spiralvoice 2006-06-07 09:51:29 UTC
Created attachment 88610 [details, diff]
patch to let alevt-1.6.1 work again with kernel 2.6.16
Comment 2 Al Johnson 2006-06-27 16:30:31 UTC
Won't this patch break things for non-bt8x8 users? It looks to me like the new driver isn't picked up by the conditional at line 529 of vbi.c which looks like it's there to find and set things up for bttv devices, including setting the offset to 244. That's about the limit of my knowledge...
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2009-01-10 12:08:41 UTC
Okay this bug is really old ... still an issue?

Also, 1.6.2 is in tree now.
Comment 4 Pacho Ramos gentoo-dev 2012-04-29 11:51:32 UTC
(In reply to comment #3)
> Okay this bug is really old ... still an issue?
> 
> Also, 1.6.2 is in tree now.