From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 19 17:30:19 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CFA41065673; Sun, 19 Feb 2012 17:30:19 +0000 (UTC) (envelope-from gjasny@googlemail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B09B98FC0C; Sun, 19 Feb 2012 17:30:18 +0000 (UTC) Received: by bkcjg1 with SMTP id jg1so5568380bkc.13 for ; Sun, 19 Feb 2012 09:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=jks0CCaJOa/lBwn/n96vt6QL01lOeMHFqJAgDEPXA6Q=; b=v0KWYmtdB9/FEGTUK9vl7VoV8ZeQG++AiRfV0mP4WnNYpawYouAqoZyMg9fnbVfbXp a3oj01kt7MnWyni5wiA5nnhP5bclxdoN4r/L5NvU57RzLiJdKttE+jwg56TFpJrwrGeC KHMIrVkuE+Ed/vBjCChjTFk0mVZu9UTBLkXZE= Received: by 10.204.129.208 with SMTP id p16mr7661597bks.131.1329672617461; Sun, 19 Feb 2012 09:30:17 -0800 (PST) Received: from gjasny02.fritz.box (g224197050.adsl.alicedsl.de. [92.224.197.50]) by mx.google.com with ESMTPS id i2sm34185888bkd.10.2012.02.19.09.30.14 (version=SSLv3 cipher=OTHER); Sun, 19 Feb 2012 09:30:15 -0800 (PST) Message-ID: <4F4131AA.5080207@googlemail.com> Date: Sun, 19 Feb 2012 18:30:18 +0100 From: Gregor Jasny User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Hans Petter Selasky References: <4F32E19A.4050208@googlemail.com> <4F3628F4.4000303@freebsd.org> <4F380CD9.8030308@googlemail.com> <201202122003.39874.hselasky@c2i.net> In-Reply-To: <201202122003.39874.hselasky@c2i.net> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: multimedia@freebsd.org Subject: Re: v4l_compat lacks V4L2_PIX_FMT_JL2005BCD (and others) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2012 17:30:19 -0000 On 2/12/12 8:03 PM, Hans Petter Selasky wrote: > On Sunday 12 February 2012 20:02:49 Gregor Jasny wrote: >> I prepared an updated v4l_compat archive based on Linux 3.3-rc3 (diff >> attached). You can download the tarball here: >> >> http://alioth.debian.org/~gjasny-guest/v4l_compat-3.3-rc3.tar.gz >> >> Would it be possible to push this into FreeBSD 9 ports tree? > > Hi, > > Looks good, though it should be compile tested with some existing V4L > applications first, like VLC, mplayer, pwcview ... I prepared another tarball (fixes ivtv header and directory structure): http://alioth.debian.org/~gjasny-guest/v4l_compat-3.3-rc4.tar.gz I successfully build libv4l, webcamd and pwcview with it. Thanks, Gregor From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 20 11:07:10 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1004106564A for ; Mon, 20 Feb 2012 11:07:10 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE87E8FC15 for ; Mon, 20 Feb 2012 11:07:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1KB7A2N090185 for ; Mon, 20 Feb 2012 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1KB7AhA090182 for freebsd-multimedia@FreeBSD.org; Mon, 20 Feb 2012 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Feb 2012 11:07:10 GMT Message-Id: <201202201107.q1KB7AhA090182@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 11:07:11 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/165090 multimedia audio/faad missing head files o kern/162181 multimedia [snd_emu10k1] [patch] The kernel sound driver module s o ports/161871 multimedia [patch] multimedia/mjpegtools plist incorrect with QUI o ports/161783 multimedia [PATCH] multimedia/gpac-libgpac: Fix build with gcc46 o ports/161568 multimedia [PATCH] audio/libsamplerate: samplerate.h has comma at o ports/161546 multimedia [PATCH] multimedia/mkvtoolnix: make some dependencies o kern/159236 multimedia [pcm] [patch] set PCM_CAP_DEFAULT for the default snd o ports/158987 multimedia multimedia/py-kaa-multimedia: fix build error for grap o kern/158979 multimedia [snd_uadio] snd_uaudio fails to initialize built-in mi o kern/158542 multimedia [snd_hda] hdac0: hdac_get_capabilities: Invalid corb s f kern/158424 multimedia [snd_hda] snd_hda driver doesn't expose 'rec' flag for o stand/157050 multimedia OSS implementation lacks AFMT_FLOAT o kern/156726 multimedia [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o kern/156198 multimedia [snd_hda] [hang] loading snd_hda kernel module hangs s o kern/156165 multimedia [hdac] Missing card definition for hdac audio device, o ports/153846 multimedia graphics/libcaca 0.99.beta17 - Hidden dependency on Xl o kern/152622 multimedia [pcm] uaudio recording problem o kern/152500 multimedia [hdac] play interrupt timeout, channel dead o kern/152378 multimedia [sound][patch] Update snd_envy24ht to be MPSAFE and us f ports/150502 multimedia multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on o kern/150284 multimedia [snd_hda] No gain with Audio o kern/149943 multimedia [pcm]: CS4236 audio problem o kern/148741 multimedia [sound] Headphones are deaf (do not work) on Lenovo Th o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup s kern/83697 multimedia [sound] [snd_mss] [patch] support, docs added for full o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o conf/75137 multimedia [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 78 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Tue Feb 21 08:28:23 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81683106567B for ; Tue, 21 Feb 2012 08:28:23 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id 6FE1F8FC16 for ; Tue, 21 Feb 2012 08:28:23 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.5/8.14.4) with ESMTP id q1L8SN4q072985 for ; Tue, 21 Feb 2012 08:28:23 GMT (envelope-from linimon@FreeBSD.org) Date: Tue, 21 Feb 2012 08:28:23 GMT Message-Id: <201202210828.q1L8SN4q072985@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: multimedia@FreeBSD.org Cc: Subject: FreeBSD ports that you maintain which are currently marked broken X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 08:28:23 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc4.2, which is much stricter than older versions. The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 7.x/8.x/9.x/-current with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: audio/gstreamer-plugins-flite broken because: Doesn't work due to link problem in audio/flite build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=audio&portname=gstreamer-plugins-flite If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 23 19:13:49 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D593E106566B; Thu, 23 Feb 2012 19:13:49 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 764608FC14; Thu, 23 Feb 2012 19:13:49 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 0B7D51E00236; Thu, 23 Feb 2012 19:55:58 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q1NIsgnO088889; Thu, 23 Feb 2012 19:54:42 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q1NIsgc8088888; Thu, 23 Feb 2012 19:54:42 +0100 (CET) (envelope-from nox) Date: Thu, 23 Feb 2012 19:54:42 +0100 (CET) From: Juergen Lock Message-Id: <201202231854.q1NIsgc8088888@triton8.kn-bremen.de> To: gjasny@googlemail.com X-Newsgroups: local.list.freebsd.multimedia In-Reply-To: <4F4131AA.5080207@googlemail.com> References: <4F32E19A.4050208@googlemail.com> <4F3628F4.4000303@freebsd.org> <4F380CD9.8030308@googlemail.com> <201202122003.39874.hselasky@c2i.net> Organization: Cc: freebsd-multimedia@freebsd.org, kwm@freebsd.org Subject: Re: v4l_compat lacks V4L2_PIX_FMT_JL2005BCD (and others) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 19:13:49 -0000 In article <4F4131AA.5080207@googlemail.com> you write: >On 2/12/12 8:03 PM, Hans Petter Selasky wrote: >> On Sunday 12 February 2012 20:02:49 Gregor Jasny wrote: >>> I prepared an updated v4l_compat archive based on Linux 3.3-rc3 (diff >>> attached). You can download the tarball here: >>> >>> http://alioth.debian.org/~gjasny-guest/v4l_compat-3.3-rc3.tar.gz >>> >>> Would it be possible to push this into FreeBSD 9 ports tree? >> >> Hi, >> >> Looks good, though it should be compile tested with some existing V4L >> applications first, like VLC, mplayer, pwcview ... > >I prepared another tarball (fixes ivtv header and directory structure): >http://alioth.debian.org/~gjasny-guest/v4l_compat-3.3-rc4.tar.gz > >I successfully build libv4l, webcamd and pwcview with it. Hi! I finally got around looking at this and found at least two patches are missing in your tarball: diff -upr v4l_compat-3.3-rc4/linux/dvb/frontend.h /usr/local/include/linux/dvb/frontend.h --- v4l_compat-3.3-rc4/linux/dvb/frontend.h 2012-02-19 16:19:51.000000000 +0100 +++ /usr/local/include/linux/dvb/frontend.h 2011-09-18 06:15:16.000000000 +0200 @@ -396,7 +373,13 @@ struct dtv_properties { }; #define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties) -#define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties) +/* + * This is broken on linux as well but they workaround it in the driver. + * Since this is impossible to do on FreeBSD fix the header instead. + * Detailed and discussion : + * http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-April/010958.html + */ +#define FE_GET_PROPERTY _IOW('o', 83, struct dtv_properties) /** diff -upr v4l_compat-3.3-rc4/linux/input.h /usr/local/include/linux/input.h --- v4l_compat-3.3-rc4/linux/input.h 2012-02-19 16:18:52.000000000 +0100 +++ /usr/local/include/linux/input.h 2011-09-18 06:15:16.000000000 +0200 @@ -140,8 +140,12 @@ struct input_keymap_entry { #define EVIOCGREP _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */ #define EVIOCSREP _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */ -#define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2]) /* get keycode */ -#define EVIOCGKEYCODE_V2 _IOR('E', 0x04, struct input_keymap_entry) +/* + * These two need to be _IOWR not _IOR (they're wrong on Linux too but + * there the driver doesn't care.) + */ +#define EVIOCGKEYCODE _IOWR('E', 0x04, unsigned int[2]) /* get keycode */ +#define EVIOCGKEYCODE_V2 _IOWR('E', 0x04, struct input_keymap_entry) #define EVIOCSKEYCODE _IOW('E', 0x04, unsigned int[2]) /* set keycode */ #define EVIOCSKEYCODE_V2 _IOW('E', 0x04, struct input_keymap_entry) With those applied I build- and runtime-tested successfully (from ports) v4l-utils (ir-keytable needs the second patch), vdr (which needs the first), and mplayer for dvb and pwcview for v4l2. Thanx! :) Juergen PS: patch also at: http://people.freebsd.org/~nox/tmp/v4l_compat-3.3-rc4.patch From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 23 20:39:34 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3220F106572A for ; Thu, 23 Feb 2012 20:39:33 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep23.mx.upcmail.net (fep23.mx.upcmail.net [62.179.121.43]) by mx1.freebsd.org (Postfix) with ESMTP id 95A218FC0A for ; Thu, 23 Feb 2012 20:39:32 +0000 (UTC) Received: from edge02.upcmail.net ([192.168.13.237]) by viefep13-int.chello.at (InterMail vM.8.01.05.04 201-2260-151-105-20111014) with ESMTP id <20120223202027.JKAC3333.viefep13-int.chello.at@edge02.upcmail.net>; Thu, 23 Feb 2012 21:20:27 +0100 Received: from [192.168.0.100] ([178.84.137.57]) by edge02.upcmail.net with edge id dYLR1i01A1EUzH602YLR2k; Thu, 23 Feb 2012 21:20:27 +0100 X-SourceIP: 178.84.137.57 Message-ID: <1330028425.3227.4.camel@crashalot.rainbow-runner.nl> From: Koop Mast To: Juergen Lock Date: Thu, 23 Feb 2012 21:20:25 +0100 In-Reply-To: <201202231854.q1NIsgc8088888@triton8.kn-bremen.de> References: <4F32E19A.4050208@googlemail.com> <4F3628F4.4000303@freebsd.org> <4F380CD9.8030308@googlemail.com> <201202122003.39874.hselasky@c2i.net> <201202231854.q1NIsgc8088888@triton8.kn-bremen.de> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Cc: freebsd-multimedia@freebsd.org Subject: Re: v4l_compat lacks V4L2_PIX_FMT_JL2005BCD (and others) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 20:39:34 -0000 On Thu, 2012-02-23 at 19:54 +0100, Juergen Lock wrote: > In article <4F4131AA.5080207@googlemail.com> you write: > >On 2/12/12 8:03 PM, Hans Petter Selasky wrote: > >> On Sunday 12 February 2012 20:02:49 Gregor Jasny wrote: > >>> I prepared an updated v4l_compat archive based on Linux 3.3-rc3 (diff > >>> attached). You can download the tarball here: > >>> > >>> http://alioth.debian.org/~gjasny-guest/v4l_compat-3.3-rc3.tar.gz > >>> > >>> Would it be possible to push this into FreeBSD 9 ports tree? > >> > >> Hi, > >> > >> Looks good, though it should be compile tested with some existing V4L > >> applications first, like VLC, mplayer, pwcview ... > > > >I prepared another tarball (fixes ivtv header and directory structure): > >http://alioth.debian.org/~gjasny-guest/v4l_compat-3.3-rc4.tar.gz > > > >I successfully build libv4l, webcamd and pwcview with it. > > Hi! > > I finally got around looking at this and found at least two patches > are missing in your tarball: > > diff -upr v4l_compat-3.3-rc4/linux/dvb/frontend.h /usr/local/include/linux/dvb/frontend.h > --- v4l_compat-3.3-rc4/linux/dvb/frontend.h 2012-02-19 16:19:51.000000000 +0100 > +++ /usr/local/include/linux/dvb/frontend.h 2011-09-18 06:15:16.000000000 +0200 > @@ -396,7 +373,13 @@ struct dtv_properties { > }; > > #define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties) > -#define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties) > +/* > + * This is broken on linux as well but they workaround it in the driver. > + * Since this is impossible to do on FreeBSD fix the header instead. > + * Detailed and discussion : > + * http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-April/010958.html > + */ > +#define FE_GET_PROPERTY _IOW('o', 83, struct dtv_properties) > > > /** > diff -upr v4l_compat-3.3-rc4/linux/input.h /usr/local/include/linux/input.h > --- v4l_compat-3.3-rc4/linux/input.h 2012-02-19 16:18:52.000000000 +0100 > +++ /usr/local/include/linux/input.h 2011-09-18 06:15:16.000000000 +0200 > @@ -140,8 +140,12 @@ struct input_keymap_entry { > #define EVIOCGREP _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */ > #define EVIOCSREP _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */ > > -#define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2]) /* get keycode */ > -#define EVIOCGKEYCODE_V2 _IOR('E', 0x04, struct input_keymap_entry) > +/* > + * These two need to be _IOWR not _IOR (they're wrong on Linux too but > + * there the driver doesn't care.) > + */ > +#define EVIOCGKEYCODE _IOWR('E', 0x04, unsigned int[2]) /* get keycode */ > +#define EVIOCGKEYCODE_V2 _IOWR('E', 0x04, struct input_keymap_entry) > #define EVIOCSKEYCODE _IOW('E', 0x04, unsigned int[2]) /* set keycode */ > #define EVIOCSKEYCODE_V2 _IOW('E', 0x04, struct input_keymap_entry) > > > With those applied I build- and runtime-tested successfully (from > ports) v4l-utils (ir-keytable needs the second patch), vdr (which > needs the first), and mplayer for dvb and pwcview for v4l2. > > Thanx! :) > Juergen > > PS: patch also at: > > http://people.freebsd.org/~nox/tmp/v4l_compat-3.3-rc4.patch Hey, Just to note that I will soon sort this mess out. And update the ports. Gregor is updating to libv4l 0.8.6 enough? Because I use the headers from v4l-utils in v4l_compat. -Koop From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 24 04:21:30 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D35DD106566B for ; Fri, 24 Feb 2012 04:21:30 +0000 (UTC) (envelope-from Eric.Damien@gmx.com) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id 7D5668FC12 for ; Fri, 24 Feb 2012 04:21:30 +0000 (UTC) Received: (qmail 31843 invoked by uid 0); 24 Feb 2012 04:21:29 -0000 Received: from 109.163.233.205 by rms-us004.v300.gmx.net with HTTP Date: Thu, 23 Feb 2012 23:21:27 -0500 From: donat314@gmx.com Message-ID: <20120224042128.300990@gmx.com> MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Authenticated: #62113110 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 X-GMX-UID: H3U1b/cU3zOlNTem2HchcHB+IGRvbwA2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD 9-STABLE: missing mixer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 04:21:30 -0000 Hi, I recently installed 9.0 amd64. Everything done, From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 24 04:28:33 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33605106564A for ; Fri, 24 Feb 2012 04:28:33 +0000 (UTC) (envelope-from Eric.Damien@gmx.com) Received: from mailout-us.mail.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id E7F168FC12 for ; Fri, 24 Feb 2012 04:28:32 +0000 (UTC) Received: (qmail 30742 invoked by uid 0); 24 Feb 2012 04:28:32 -0000 Received: from 93.31.155.175 by rms-us017 with HTTP Date: Thu, 23 Feb 2012 23:28:28 -0500 From: donat314@gmx.com Message-ID: <20120224042829.300990@gmx.com> MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Authenticated: #62113110 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 X-GMX-UID: unQ1b/cU3zOlNTem2HchEHZ+IGRvb8AP X-Mailman-Approved-At: Fri, 24 Feb 2012 06:06:30 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD 9-STABLE: missing mixer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 04:28:33 -0000 (wrong click: sorry) Hi, I recently installed 9.0 amd64. Everything done, the fact that I was not getting any sound while having "/dev/dsp"s and mixer devices drag my attention, since device sound device snd_hda are now in GENERIC (snd_hda is the one I was using under 8.2). But, when I try to run the mixer command, I receive command not found: mixer Any idea? Eric. From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 24 13:58:33 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D8271065670 for ; Fri, 24 Feb 2012 13:58:33 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 033968FC12 for ; Fri, 24 Feb 2012 13:58:32 +0000 (UTC) Received: from baby-jane.lamaiziere.net (mr129166.cri.univ-rennes1.fr [129.20.129.166]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 2104BFAA2D08; Fri, 24 Feb 2012 14:39:01 +0100 (CET) Received: from mr129166 (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 141BCD920; Fri, 24 Feb 2012 14:37:16 +0100 (CET) Date: Fri, 24 Feb 2012 14:37:15 +0100 From: Patrick Lamaiziere To: freebsd-multimedia@freebsd.org, donat314@gmx.com Message-ID: <20120224143715.7193f8e6@mr129166> In-Reply-To: <20120224042829.300990@gmx.com> References: <20120224042829.300990@gmx.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: FreeBSD 9-STABLE: missing mixer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 13:58:33 -0000 Le Thu, 23 Feb 2012 23:28:28 -0500, donat314@gmx.com a écrit : > (wrong click: sorry) > Hi, > I recently installed 9.0 amd64. Everything done, the fact that I was > not getting any sound while having "/dev/dsp"s and mixer devices drag > my attention, since device sound device snd_hda > are now in GENERIC (snd_hda is the one I was using under 8.2). But, > when I try to run the mixer command, I receive command not found: > mixer $ whereis mixer mixer: /usr/sbin/mixer /usr/share/man/en.ISO8859-15/man8/mixer.8.gz /usr/src/usr.sbin/mixer So mixer should be in /usr/sbin/mixer. From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 25 03:01:53 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4812106564A for ; Sat, 25 Feb 2012 03:01:53 +0000 (UTC) (envelope-from Eric.Damien@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 2A9378FC0A for ; Sat, 25 Feb 2012 03:01:53 +0000 (UTC) Received: (qmail 23921 invoked by uid 0); 25 Feb 2012 03:01:51 -0000 Received: from 173.254.216.69 by rms-eu005.v300.gmx.net with HTTP Date: Sat, 25 Feb 2012 04:01:47 +0100 From: donat314@gmx.com Message-ID: <20120225030149.290570@gmx.com> MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Authenticated: #62113110 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 X-GMX-UID: Sio6b+UQeSEqIzem2HchDeZ+IGRvb4AG Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD 9-STABLE: missing mixer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2012 03:01:53 -0000 Update(precision): sound is going through but I have to rely to the command line mixer. Any thing tied to e17? ----- Original Message ----- From: Eric Damien Sent: 02/24/12 07:42 PM To: freebsd-multimedia@freebsd.org Subject: Re: FreeBSD 9-STABLE: missing mixer Thanks, sounds pretty obvious (how could I have missed that one?!). I actually trace it back to my PATH which is faulty. This said, I am on my first steps with e17. The problem is that it expects an ALSA mixer, which I cannot provide since BSDs are with OSS. Making it: I have no sound. Any ideas? ----- Original Message ----- From: Patrick Lamaiziere Sent: 02/24/12 06:37 AM To: freebsd-multimedia@freebsd.org, donat314@gmx.com Subject: Re: FreeBSD 9-STABLE: missing mixer Le Thu, 23 Feb 2012 23:28:28 -0500, donat314@gmx.com a écrit : > (wrong click: sorry) > Hi, > I recently installed 9.0 amd64. Everything done, the fact that I was > not getting any sound while having "/dev/dsp"s and mixer devices drag > my attention, since device sound device snd_hda > are now in GENERIC (snd_hda is the one I was using under 8.2). But, > when I try to run the mixer command, I receive command not found: > mixer $ whereis mixer mixer: /usr/sbin/mixer /usr/share/man/en.ISO8859-15/man8/mixer.8.gz /usr/src/usr.sbin/mixer So mixer should be in /usr/sbin/mixer.