From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 24 05:50:14 2010 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21845106566B; Sun, 24 Jan 2010 05:50:14 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ECAC08FC16; Sun, 24 Jan 2010 05:50:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0O5oDFB031877; Sun, 24 Jan 2010 05:50:13 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0O5oD7Q031868; Sun, 24 Jan 2010 05:50:13 GMT (envelope-from edwin) Date: Sun, 24 Jan 2010 05:50:13 GMT Message-Id: <201001240550.o0O5oD7Q031868@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/143141: [PATCH] net/minisapserver: update rc script & use SUB_FILES 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, 24 Jan 2010 05:50:14 -0000 Synopsis: [PATCH] net/minisapserver: update rc script & use SUB_FILES Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia Responsible-Changed-By: edwin Responsible-Changed-When: Sun Jan 24 05:50:13 UTC 2010 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=143141 From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 24 06:12:26 2010 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 71453106566B for ; Sun, 24 Jan 2010 06:12:26 +0000 (UTC) (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: from newbie.thingamajig-systems.co.uk (newbie.thingamajig-systems.co.uk [93.97.185.103]) by mx1.freebsd.org (Postfix) with ESMTP id B369C8FC0A for ; Sun, 24 Jan 2010 06:12:25 +0000 (UTC) Received: from newbie.thingamajig-systems.co.uk (localhost [127.0.0.1]) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3) with ESMTP id o0O5gsZO091357; Sun, 24 Jan 2010 05:42:54 GMT (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: (from root@localhost) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3/Submit) id o0O5gspK091356; Sun, 24 Jan 2010 05:42:54 GMT (envelope-from sevan) Date: Sun, 24 Jan 2010 05:42:54 GMT Message-Id: <201001240542.o0O5gspK091356@newbie.thingamajig-systems.co.uk> To: FreeBSD-gnats-submit@freebsd.org From: Sevan Janiyan X-send-pr-version: 3.113 X-GNATS-Notify: Cc: multimedia@freebsd.org Subject: [PATCH] net/minisapserver: update rc script & use SUB_FILES 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, 24 Jan 2010 06:12:26 -0000 >Submitter-Id: current-users >Originator: Sevan Janiyan >Organization: >Confidential: no >Synopsis: [PATCH] net/minisapserver: update rc script & use SUB_FILES >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 8.0-RELEASE-p2 amd64 >Environment: System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC >Description: No need to invoke sed manually, SUB_FILES can take care of pkg-message & USE_RC_SUBR can take care of the rc script drop the .sh extension from the rc script Added file(s): - files/pkg-message.in - files/sapserver.in Removed file(s): - pkg-message - files/sapserver.sh Port maintainer (multimedia@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- minisapserver-0.3.4.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/minisapserver/Makefile,v retrieving revision 1.16 diff -u -r1.16 Makefile --- Makefile 21 Aug 2008 06:17:53 -0000 1.16 +++ Makefile 24 Jan 2010 05:40:22 -0000 @@ -17,15 +17,15 @@ GNU_CONFIGURE= yes USE_GMAKE= yes MAN1= sapserver.1 -PLIST_FILES= bin/sapserver etc/sap.cfg-dist etc/rc.d/sapserver.sh -USE_RC_SUBR= yes -PKGMESSAGE= ${WRKDIR}/pkg-message +PLIST_FILES= bin/sapserver etc/sap.cfg-dist +USE_RC_SUBR= sapserver +SUB_FILES= pkg-message OPTIONS= SLP "Enable SLP support via openslp" off CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -.include +.include .if defined(WITH_SLP) LIB_DEPENDS+= slp.1:${PORTSDIR}/net/openslp @@ -37,6 +37,8 @@ CONFIGURE_ARGS+=--disable-slp .endif +.include + post-patch: @${REINPLACE_CMD} -e 's|$$(prefix)/share/man|${MANPREFIX}/man|; \ s|$$(prefix)/share/doc/sapserver|${DOCSDIR}|; \ @@ -46,14 +48,9 @@ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/etc/sap.cfg|${PREFIX}/etc/sap.cfg|' \ ${WRKSRC}/sapserver.h - @${SED} -e 's|/usr/local|${PREFIX}|' \ - ${PKGDIR}/pkg-message >${PKGMESSAGE} - @${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%RC_SUBR%%|${RC_SUBR}|' \ - ${FILESDIR}/sapserver.sh >${WRKDIR}/sapserver.sh @${CP} -f ${WRKSRC}/sap.cfg ${WRKSRC}/sap.cfg-dist post-install: - @${INSTALL_SCRIPT} ${WRKDIR}/sapserver.sh ${PREFIX}/etc/rc.d/ @${CAT} ${PKGMESSAGE} .include Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 25 May 2004 09:17:51 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,7 +0,0 @@ -******************************************************************************* -A sample configuration file, sap.cfg-dist has been installed in /usr/local/etc/ - Please 'cp sap.cfg-dist sap.cfg' and edit sap.cfg. - -To start sapserver at boot time: - echo "sapserver_enable=yes" >> /etc/rc.conf -******************************************************************************* Index: files/pkg-message.in =================================================================== RCS file: files/pkg-message.in diff -N files/pkg-message.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-message.in 24 Jan 2010 05:40:22 -0000 @@ -0,0 +1,7 @@ +******************************************************************************* +A sample configuration file, sap.cfg-dist has been installed in %%PREFIX%%/etc/ + Please 'cp sap.cfg-dist sap.cfg' and edit sap.cfg. + +To start sapserver at boot time: + echo "sapserver_enable=yes" >> /etc/rc.conf +******************************************************************************* Index: files/sapserver.in =================================================================== RCS file: files/sapserver.in diff -N files/sapserver.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/sapserver.in 24 Jan 2010 05:40:22 -0000 @@ -0,0 +1,26 @@ +#!/bin/sh +# +# $FreeBSD: ports/net/minisapserver/files/sapserver.sh,v 1.3 2006/02/20 20:47:27 dougb Exp $ +# +# PROVIDE: sapserver +# REQUIRE: NETWORKING +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf to enable sapserver: +# +# sapserver_enable="YES" +# + +. /etc/rc.subr + +name=sapserver +rcvar=${name}_enable + +command=%%PREFIX%%/bin/${name} +required_files=%%PREFIX%%/etc/sap.cfg + +load_rc_config ${name} + +: ${sapserver_enable="NO"} + +run_rc_command "$1" Index: files/sapserver.sh =================================================================== RCS file: files/sapserver.sh diff -N files/sapserver.sh --- files/sapserver.sh 20 Feb 2006 20:47:27 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: ports/net/minisapserver/files/sapserver.sh,v 1.3 2006/02/20 20:47:27 dougb Exp $ -# - -# PROVIDE: sapserver -# REQUIRE: NETWORKING -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable sapserver: -# -#sapserver_enable="YES" -# -sapserver_enable="${sapserver_enable-NO}" - -. %%RC_SUBR%% - -name=sapserver -rcvar=`set_rcvar` - -command=%%PREFIX%%/bin/${name} -required_files=%%PREFIX%%/etc/sap.cfg - -load_rc_config ${name} -run_rc_command "$1" --- minisapserver-0.3.4.patch ends here --- From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 25 00:07:54 2010 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 18F4B106566C for ; Mon, 25 Jan 2010 00:07:54 +0000 (UTC) (envelope-from vassilis.laganakos@yahoo.com) Received: from web112109.mail.gq1.yahoo.com (web112109.mail.gq1.yahoo.com [67.195.23.96]) by mx1.freebsd.org (Postfix) with SMTP id C60318FC12 for ; Mon, 25 Jan 2010 00:07:53 +0000 (UTC) Received: (qmail 34264 invoked by uid 60001); 24 Jan 2010 23:41:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1264376473; bh=Y/L0t3LUCM658teLUiwxyJaF0L8k4apUSthSaQiqhHU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=dI7KYmlEOanL7LwsATQZnm7RfKuzog9xHoRYVzXQLAmlwjtyWZVwyRRku475j/z89Xb5diE1/MBN8Whyc0mJE3FlIQ8TzHygB5oYQqA+02VzarKFhr5Pb6MgoUwRw7NUFwSLEnJHP6dFHvtrPmj8ZnVbyQSPL+lo2gLc+WMbRk4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=K31JjtQ1oppSwVzA2M56eW78Uscs84aGkaS5QDLTrk7xcGAsa7G8gfWj5nLzDZyy8c9YWBbeg3PUnH4rBpw7A3o3Hfmd732hAc8X/ebpn2pBri4BcApZz3E69N6btqdjhP4gKVRZ6w918NIWqAKvrlBcwjGfBYThE7iI19CvmxE=; Message-ID: <753109.33517.qm@web112109.mail.gq1.yahoo.com> X-YMail-OSG: k31NaOUVM1mHDqZpCDBiQ2mkssPQa1hPwQDZj_kYZZnx6KEJt3lnu2OEtMvNRUALD4BzE_JTboAAOhXoyjfDvMRpN3YyF4qe3KgZsDqJ4m1qa7Lq.am3Y9RQv2Ks_1FC9gao7ghdTNpfd.knUOuDw5qKI8lfEloxbJkit71TCnq2wDDEh4DgxxBSpGn5WTxSZ1cHT.WJdYk4mdxwe2qE0ipy5KeghDemAf77KrBY22u6r.Xb13XI6a9YKFTccjFszQ75SwLQJW.LE1PRNuttBfBP Received: from [82.6.108.148] by web112109.mail.gq1.yahoo.com via HTTP; Sun, 24 Jan 2010 15:41:13 PST X-Mailer: YahooMailRC/272.7 YahooMailWebService/0.8.100.260964 Date: Sun, 24 Jan 2010 15:41:13 -0800 (PST) From: Vassilis Laganakos To: hselasky@c2i.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-multimedia@freebsd.org Subject: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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, 25 Jan 2010 00:07:54 -0000 Hi Hans, Amazing work, thank you very much! pwcview works fine and I can happily use my laptop's integrated webcam through that! :-) (usbconfig gives 174f:5932) Unfortunately though, I can't get skype to use it... That's what I currently have: - Installed your stuff through the ports (webcamd, video4bsd-kmod, pwcview). - running FreeBSD-8.0-STABLE (updated tree and built world a few days ago) uname -a FreeBSD argonaut 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Jan 20 09:42:07 GMT 2010 root@argonaut:/usr/obj/usr/src/sys/GENERIC i386 Any ideas what might be going wrong / something to try out? Many thanks. Vassilis L. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 25 11:07:05 2010 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 B36B0106568F for ; Mon, 25 Jan 2010 11:07:05 +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 972358FC32 for ; Mon, 25 Jan 2010 11:07:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0PB75Ea038834 for ; Mon, 25 Jan 2010 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0PB75U3038832 for freebsd-multimedia@FreeBSD.org; Mon, 25 Jan 2010 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Jan 2010 11:07:05 GMT Message-Id: <201001251107.o0PB75U3038832@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, 25 Jan 2010 11:07:05 -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/143141 multimedia [PATCH] net/minisapserver: update rc script & use SUB_ o ports/142522 multimedia [patch] audio/libsndfile upgrade 1.0.20 to 1.0.21 o kern/141826 multimedia [snd_hda] load of snd_hda module fails o ports/140999 multimedia [PATCH] audio/wavpack: update to 4.60.0, take maintain o ports/140865 multimedia [PATCH] multimedia/x264: update to 0.0.20091124 o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/140453 multimedia [sound] No sound inside Virtualbox on 50% volume o ports/139071 multimedia multimedia/x264 does not link on 8-RC1 o ports/138213 multimedia Apply SqueezeCenter patches to audio/faad that enable 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 ports/133462 multimedia multimedia/x264 build fails on powerpc 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 o ports/127084 multimedia multimedia/linux-realplayer is vulnerable 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 f kern/115666 multimedia [sound] Microphone does not work 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 s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support 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/98167 multimedia [sound] [es137x] [patch] ES1370 mixer volumes incorrec 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 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 62 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 25 19:24:59 2010 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 58E91106568F for ; Mon, 25 Jan 2010 19:24:59 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id 151798FC25 for ; Mon, 25 Jan 2010 19:24:58 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KWT0046UHWW5120@bgo1smout1.broadpark.no> for freebsd-multimedia@FreeBSD.org; Mon, 25 Jan 2010 20:24:32 +0100 (CET) Received: from kg-v2.kg4.no ([80.203.92.186]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0KWT00MLYHWWGBA0@bgo1sminn1.broadpark.no> for freebsd-multimedia@FreeBSD.org; Mon, 25 Jan 2010 20:24:32 +0100 (CET) Date: Mon, 25 Jan 2010 20:24:25 +0100 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100125202425.18ad4fb2.torfinn.ingolfsen@broadpark.no> In-reply-to: <53a1e0711001012338v4ba68961o4a1d26a40abce396@mail.gmail.com> References: <20100102001753.090c89ad.torfinn.ingolfsen@broadpark.no> <53a1e0711001012338v4ba68961o4a1d26a40abce396@mail.gmail.com> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.6; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: usleep's pvrxxx port and /boot/loader.conf - panic 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, 25 Jan 2010 19:24:59 -0000 On Sat, 02 Jan 2010 15:38:11 +0800 Henry Hu wrote: > You may try /etc/rc.local Thanks for the hit. With a little help from another person who semt me his cron script (via private mail), I have cooked up this little script, to be put in /usr/local/etc/rc.d and cxmload_enable="YES" to be set in /etc/rc.conf. Works for me. The script: #!/bin/sh # # # PROVIDE: cxmload # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown # . /etc/rc.subr name="cxmload" rcvar=${name}_enable : ${cxmload_enable:="NO"} start_cmd=${name}_start stop_cmd=${name}_stop cxmload_start() { if ! /sbin/kldstat | grep -w cxm.ko >/dev/null; then echo "Loading the cxm kmod." /sbin/kldload cxm.ko else echo "The cxm kmod is already loaded." fi } cxmload_stop() { echo "Dummy - we don't unload the cxm kmod." } load_rc_config ${name} run_rc_command "$1" All I need now is to make sure that this script runs before the mythbackend script. -- Regards, Torfinn Ingolfsen From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 25 19:41:47 2010 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 7B36D1065693 for ; Mon, 25 Jan 2010 19:41:47 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id E54838FC19 for ; Mon, 25 Jan 2010 19:41:46 +0000 (UTC) Received: from [91.205.172.21] (helo=webmail.bluelife.at) by mail.itac.at with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1NZUoi-0000yp-CR; Mon, 25 Jan 2010 20:41:44 +0100 MIME-Version: 1.0 Date: Mon, 25 Jan 2010 20:41:45 +0100 From: Bernhard Froehlich To: Torfinn Ingolfsen In-Reply-To: <20100125202425.18ad4fb2.torfinn.ingolfsen@broadpark.no> References: <20100102001753.090c89ad.torfinn.ingolfsen@broadpark.no> <53a1e0711001012338v4ba68961o4a1d26a40abce396@mail.gmail.com> <20100125202425.18ad4fb2.torfinn.ingolfsen@broadpark.no> Message-ID: X-Sender: decke@bluelife.at User-Agent: RoundCube Webmail/0.3.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.2 (/) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Mon, 25 Jan 2010 20:24:25 +0100, Torfinn Ingolfsen wrote: > On Sat, 02 Jan 2010 15:38:11 +0800 > Henry Hu wrote: > >> You may try /etc/rc.local > > Thanks for the hit. With a little help from another person who semt me > his cron script (via private mail), I have cooked up this little script, > to be put in /usr/local/etc/rc.d and cxmload_enable="YES" to be set > in /etc/rc.conf. Works for me. > > The script: > #!/bin/sh > # > # > # PROVIDE: cxmload > # REQUIRE: DAEMON > # BEFORE: LOGIN > # KEYWORD: shutdown > > # > > . /etc/rc.subr > > name="cxmload" > rcvar=${name}_enable > > : ${cxmload_enable:="NO"} > > start_cmd=${name}_start > stop_cmd=${name}_stop > > cxmload_start() { > if ! /sbin/kldstat | grep -w cxm.ko >/dev/null; then > echo "Loading the cxm kmod." > /sbin/kldload cxm.ko > else > echo "The cxm kmod is already loaded." > fi > } > > cxmload_stop() { > echo "Dummy - we don't unload the cxm kmod." > } > > load_rc_config ${name} > run_rc_command "$1" > > All I need now is to make sure that this script runs before the > mythbackend script. [...] Content analysis details: (0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 3.4 FH_DATE_PAST_20XX The date is grossly in the future. -1.7 AWL AWL: From: address is in the auto white-list Cc: freebsd-multimedia@FreeBSD.org Subject: Re: usleep's pvrxxx port and /boot/loader.conf - panic 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, 25 Jan 2010 19:41:47 -0000 On Mon, 25 Jan 2010 20:24:25 +0100, Torfinn Ingolfsen wrote: > On Sat, 02 Jan 2010 15:38:11 +0800 > Henry Hu wrote: > >> You may try /etc/rc.local > > Thanks for the hit. With a little help from another person who semt me > his cron script (via private mail), I have cooked up this little script, > to be put in /usr/local/etc/rc.d and cxmload_enable="YES" to be set > in /etc/rc.conf. Works for me. > > The script: > #!/bin/sh > # > # > # PROVIDE: cxmload > # REQUIRE: DAEMON > # BEFORE: LOGIN > # KEYWORD: shutdown > > # > > . /etc/rc.subr > > name="cxmload" > rcvar=${name}_enable > > : ${cxmload_enable:="NO"} > > start_cmd=${name}_start > stop_cmd=${name}_stop > > cxmload_start() { > if ! /sbin/kldstat | grep -w cxm.ko >/dev/null; then > echo "Loading the cxm kmod." > /sbin/kldload cxm.ko > else > echo "The cxm kmod is already loaded." > fi > } > > cxmload_stop() { > echo "Dummy - we don't unload the cxm kmod." > } > > load_rc_config ${name} > run_rc_command "$1" > > All I need now is to make sure that this script runs before the > mythbackend script. All you need to do is to change REQUIRE and BEFORE so that it gets called before the daemons start. Have a look at some ports that load kernel modules - for example virtualbox-ose-kmod which uses: # PROVIDE: vboxnet # REQUIRE: FILESYSTEMS # BEFORE: netif # KEYWORD: nojail http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/virtualbox-ose-kmod/files/vboxnet.in?rev=1.1;content-type=text%2Fplain -- Bernhard Fröhlich http://www.bluelife.at/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 25 19:53:35 2010 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 89B591065672 for ; Mon, 25 Jan 2010 19:53:35 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6774F8FC18 for ; Mon, 25 Jan 2010 19:53:35 +0000 (UTC) Received: (qmail 8081 invoked from network); 25 Jan 2010 19:53:34 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 25 Jan 2010 19:53:34 -0000 Message-ID: <4B5DF6F3.4000309@telenix.org> Date: Mon, 25 Jan 2010 14:54:27 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: frank.wissmann41@web.de References: <4B59E5B8.5040004@telenix.org> <53a1e0711001220957s5d3dc71ah6b91d75b2674319c@mail.gmail.com> <4B5B5D60.9070803@telenix.org> <4B5B613B.50701@web.de> In-Reply-To: <4B5B613B.50701@web.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: using gnash 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, 25 Jan 2010 19:53:35 -0000 Frank Wißmann wrote: > Chuck Robey schrieb: >> Henry Hu wrote: >>> Hi, >>> Do you see the plugin in the about:plugins page? >> >> No, never heard of it and can't find that page. Would be thrilled to >> get a URL. > > Type in the field where you normally enter your URL: > > about:plugins > > or > > about:config > > to get some results. Fantastic. I was getting to a rather high level of frustration on this, but with the info available via the about:plugins, I finally figured out that I'd had both the gnash plugin misinstalled AND an old Linux flash plugin still hanging around and not working. Fixed both, and when I gave it about 10 to 30 seconds to load, animations now work. I haven't got the audio to work, but (unless I hear from hint here) I'll continue to work on it. Thanks for the response. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 25 22:31:21 2010 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 693DC1065700 for ; Mon, 25 Jan 2010 22:31:21 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id 20D398FC1B for ; Mon, 25 Jan 2010 22:31:21 +0000 (UTC) MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_tHLseeIL8im9PYGDHM3Bvg)" Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KWT00BXZQK86Y80@bgo1smout1.broadpark.no> for freebsd-multimedia@FreeBSD.org; Mon, 25 Jan 2010 23:31:20 +0100 (CET) Received: from kg-v2.kg4.no ([80.203.92.186]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0KWT00B3JQK7EA00@bgo1sminn1.broadpark.no> for freebsd-multimedia@FreeBSD.org; Mon, 25 Jan 2010 23:31:20 +0100 (CET) Date: Mon, 25 Jan 2010 23:31:19 +0100 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100125233119.62e91aaa.torfinn.ingolfsen@broadpark.no> In-reply-to: References: <20100102001753.090c89ad.torfinn.ingolfsen@broadpark.no> <53a1e0711001012338v4ba68961o4a1d26a40abce396@mail.gmail.com> <20100125202425.18ad4fb2.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.6; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: usleep's pvrxxx port and /boot/loader.conf - panic 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, 25 Jan 2010 22:31:21 -0000 This is a multi-part message in MIME format. --Boundary_(ID_tHLseeIL8im9PYGDHM3Bvg) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT On Mon, 25 Jan 2010 20:41:45 +0100 Bernhard Froehlich wrote: > All you need to do is to change REQUIRE and BEFORE so that it gets called > before the daemons start. Have a look at some ports that load kernel > modules - for example virtualbox-ose-kmod which uses: > > # PROVIDE: vboxnet > # REQUIRE: FILESYSTEMS > # BEFORE: netif > # KEYWORD: nojail Yes, using FILESYSTEMS and netif in REQUIRE / BEFORE works nicely, thanks a lot. Updated script attached. The cxmload script even works on my old installation (FreeBSD 6.2-stable and MythTV 0.20 something), but it made me notice something else: mythbackend isn't starting automatically. Before it was caused by the missing cxm module, now it is because of mysql. /usr/local/etc/rc.d/mysql-server have these lines: # PROVIDE: mysql # REQUIRE: LOGIN # KEYWORD: shutdown and /usr/local/etc/rc.d/mythbackend have these lines: # PROVIDE: mythbackend # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: FreeBSD shutdown If the mysql-server script is correct, perhaps we should change the mythbackend script? If I change the mythbackend script like so: # PROVIDE: mythbackend # REQUIRE: mysql # KEYWORD: FreeBSD shutdown mythbackend starts after mysql. Is this the correct way to do it? -- Regards, Torfinn Ingolfsen --Boundary_(ID_tHLseeIL8im9PYGDHM3Bvg) Content-type: application/octet-stream; name=cxmload Content-transfer-encoding: base64 Content-disposition: attachment; filename=cxmload IyEvYmluL3NoCiMKIwojIFBST1ZJREU6IGN4bWxvYWQKIyBSRVFVSVJFOiBGSUxFU1lTVEVNUwoj IEJFRk9SRTogbmV0aWYKIyBLRVlXT1JEOiBzaHV0ZG93bgoKIwoKLiAvZXRjL3JjLnN1YnIKCm5h bWU9ImN4bWxvYWQiCnJjdmFyPSR7bmFtZX1fZW5hYmxlCgo6ICR7Y3htbG9hZF9lbmFibGU6PSJO TyJ9CgpzdGFydF9jbWQ9JHtuYW1lfV9zdGFydApzdG9wX2NtZD0ke25hbWV9X3N0b3AKCmN4bWxv YWRfc3RhcnQoKSB7CglpZiAhIC9zYmluL2tsZHN0YXQgfCBncmVwIC13IGN4bS5rbyA+L2Rldi9u dWxsOyB0aGVuCgkJZWNobyAiTG9hZGluZyB0aGUgY3htIGttb2QuIgoJCS9zYmluL2tsZGxvYWQg Y3htLmtvCgllbHNlCgkJZWNobyAiVGhlIGN4bSBrbW9kIGlzIGFscmVhZHkgbG9hZGVkLiIKCWZp Cn0KCmN4bWxvYWRfc3RvcCgpIHsKCWVjaG8gIkR1bW15IC0gd2UgZG9uJ3QgdW5sb2FkIHRoZSBj eG0ga21vZC4iCn0KCmxvYWRfcmNfY29uZmlnICR7bmFtZX0KcnVuX3JjX2NvbW1hbmQgIiQxIgo= --Boundary_(ID_tHLseeIL8im9PYGDHM3Bvg)-- From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 17:34:02 2010 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 3E3F31065692; Tue, 26 Jan 2010 17:34:02 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 361528FC1A; Tue, 26 Jan 2010 17:34:00 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA12070; Tue, 26 Jan 2010 19:33:56 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B5F2784.2090406@icyb.net.ua> Date: Tue, 26 Jan 2010 19:33:56 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> In-Reply-To: <201001101437.37269.hselasky@c2i.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 17:34:02 -0000 Hans, is this setup (video4bsd+webcamd+etc) supposed to work with USB Video Class (UVC) devices? Namely, I have a webcam built into Dell SP2208WFP monitor: $ usbconfig ... ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.3: at u, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen3.4: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE BTW, 'at u,' above is not a typo or copy/paste error, it's how it actually appears on the screen. -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 17:38:34 2010 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 A999810656B5; Tue, 26 Jan 2010 17:38:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.tele2.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 108C48FC17; Tue, 26 Jan 2010 17:38:33 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RYQgPGQ7BbsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=WP0OeM5ohmkZJOC3vWIA:9 a=JF0Cf-p7qn8yVeF0XLsA:7 a=HVZHU1Oqcx7GDLkO4UO0t0U-pJ8A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1163429937; Tue, 26 Jan 2010 18:38:31 +0100 From: Hans Petter Selasky To: Andriy Gapon Date: Tue, 26 Jan 2010 18:37:08 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <4B5F2784.2090406@icyb.net.ua> In-Reply-To: <4B5F2784.2090406@icyb.net.ua> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201001261837.08651.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 17:38:34 -0000 On Tuesday 26 January 2010 18:33:56 Andriy Gapon wrote: > Hans, > > is this setup (video4bsd+webcamd+etc) supposed to work with USB Video Class > (UVC) devices? > Namely, I have a webcam built into Dell SP2208WFP monitor: > $ usbconfig > ... > ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE > ugen3.3: Inc.538-2640-07.08.09.6> at u, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON > ugen3.4: at usbus3, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE > > BTW, 'at u,' above is not a typo or copy/paste error, it's how it actually > appears on the screen. > Hi, The string is just too big, so it gets truncated. Send me a dump of the config descriptor for the webcamera. If it says 0x0e for interface class, it's most likely supported. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 18:36:23 2010 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 1134C106566B; Tue, 26 Jan 2010 18:36:23 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D96308FC16; Tue, 26 Jan 2010 18:36:21 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA12733; Tue, 26 Jan 2010 20:36:17 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B5F3621.2080105@icyb.net.ua> Date: Tue, 26 Jan 2010 20:36:17 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <4B5F2784.2090406@icyb.net.ua> <201001261837.08651.hselasky@c2i.net> In-Reply-To: <201001261837.08651.hselasky@c2i.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 18:36:23 -0000 on 26/01/2010 19:37 Hans Petter Selasky said the following: > The string is just too big, so it gets truncated. Send me a dump of the config > descriptor for the webcamera. If it says 0x0e for interface class, it's most > likely supported. Here it is: ugen3.3: at u, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x041b bNumInterfaces = 0x0004 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x0080 bMaxPower = 0x00fa Additional Descriptor bLength = 0x08 bDescriptorType = 0x0b bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x08, 0x0b, 0x00, 0x02, 0x0e, 0x03, 0x00, 0x02 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0000 iInterface = 0x0002 Additional Descriptor bLength = 0x0d bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x0d, 0x24, 0x01, 0x00, 0x01, 0x6d, 0x00, 0x80, 0x08 | 0xc3, 0xc9, 0x01, 0x01, 0x01 Additional Descriptor bLength = 0x11 bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x11, 0x24, 0x02, 0x01, 0x01, 0x02, 0x00, 0x00, 0x08 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x10 | 0x0a Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x03, 0x01, 0x01, 0x00, 0x05, 0x08 | 0x00 Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x04 RAW dump: 0x00 | 0x07, 0x24, 0x04, 0x04, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x0b bDescriptorType = 0x24 bDescriptorSubType = 0x05 RAW dump: 0x00 | 0x0b, 0x24, 0x05, 0x05, 0x04, 0x00, 0x00, 0x02, 0x08 | 0x7f, 0x55, 0x00 Additional Descriptor bLength = 0x1a bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x1a, 0x24, 0x06, 0x07, 0x8a, 0x0f, 0x88, 0xdd, 0x08 | 0xba, 0x1c, 0x54, 0x49, 0x8a, 0x25, 0xf7, 0x87, 0x10 | 0x59, 0x67, 0xf0, 0xf7, 0x01, 0x01, 0x01, 0x01, 0x18 | 0x01, 0x00 Additional Descriptor bLength = 0x1a bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x1a, 0x24, 0x06, 0x06, 0x08, 0xf7, 0x4a, 0x8e, 0x08 | 0xab, 0x51, 0x25, 0x46, 0xa2, 0xa2, 0x31, 0xaa, 0x10 | 0xb3, 0x8e, 0x59, 0xda, 0x01, 0x01, 0x05, 0x01, 0x18 | 0x01, 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x0010 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x05 bDescriptorType = 0x25 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x05, 0x25, 0x03, 0x08, 0x00 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x0f bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x0f, 0x24, 0x01, 0x02, 0x97, 0x02, 0x81, 0x00, 0x08 | 0x03, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00 Additional Descriptor bLength = 0x0b bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x0b, 0x24, 0x06, 0x01, 0x09, 0x01, 0x01, 0x00, 0x08 | 0x00, 0x00, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x07 RAW dump: 0x00 | 0x2a, 0x24, 0x07, 0x01, 0x00, 0x80, 0x02, 0xe0, 0x08 | 0x01, 0x00, 0x00, 0x77, 0x01, 0x00, 0x00, 0xca, 0x10 | 0x08, 0x00, 0x60, 0x09, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x07 RAW dump: 0x00 | 0x2a, 0x24, 0x07, 0x02, 0x00, 0xa0, 0x00, 0x78, 0x08 | 0x00, 0x00, 0x70, 0x17, 0x00, 0x00, 0xa0, 0x8c, 0x10 | 0x00, 0x00, 0x96, 0x00, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x07 RAW dump: 0x00 | 0x2a, 0x24, 0x07, 0x03, 0x00, 0xb0, 0x00, 0x90, 0x08 | 0x00, 0x00, 0xf0, 0x1e, 0x00, 0x00, 0xa0, 0xb9, 0x10 | 0x00, 0x00, 0xc6, 0x00, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x07 RAW dump: 0x00 | 0x2a, 0x24, 0x07, 0x04, 0x00, 0x40, 0x01, 0xf0, 0x08 | 0x00, 0x00, 0xc0, 0x5d, 0x00, 0x00, 0x80, 0x32, 0x10 | 0x02, 0x00, 0x58, 0x02, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x07 RAW dump: 0x00 | 0x2a, 0x24, 0x07, 0x05, 0x00, 0x60, 0x01, 0x20, 0x08 | 0x01, 0x00, 0xc0, 0x7b, 0x00, 0x00, 0x80, 0xe6, 0x10 | 0x02, 0x00, 0x18, 0x03, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x07 RAW dump: 0x00 | 0x2a, 0x24, 0x07, 0x06, 0x00, 0x20, 0x03, 0x58, 0x08 | 0x02, 0x00, 0xf0, 0x49, 0x02, 0x00, 0xa0, 0xbb, 0x10 | 0x0d, 0x00, 0xa6, 0x0e, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x22 bDescriptorType = 0x24 bDescriptorSubType = 0x07 RAW dump: 0x00 | 0x22, 0x24, 0x07, 0x07, 0x00, 0x00, 0x04, 0x00, 0x08 | 0x03, 0x00, 0x00, 0xc0, 0x03, 0x00, 0x00, 0x40, 0x10 | 0x0b, 0x00, 0x00, 0x18, 0x00, 0x40, 0x42, 0x0f, 0x18 | 0x00, 0x02, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x20 | 0x1e, 0x00 Additional Descriptor bLength = 0x22 bDescriptorType = 0x24 bDescriptorSubType = 0x07 RAW dump: 0x00 | 0x22, 0x24, 0x07, 0x08, 0x00, 0x00, 0x05, 0x00, 0x08 | 0x04, 0x00, 0x00, 0x40, 0x06, 0x00, 0x00, 0xc0, 0x10 | 0x12, 0x00, 0x00, 0x28, 0x00, 0x40, 0x42, 0x0f, 0x18 | 0x00, 0x02, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x20 | 0x1e, 0x00 Additional Descriptor bLength = 0x22 bDescriptorType = 0x24 bDescriptorSubType = 0x07 RAW dump: 0x00 | 0x22, 0x24, 0x07, 0x09, 0x00, 0x40, 0x06, 0xb0, 0x08 | 0x04, 0x00, 0x00, 0x27, 0x09, 0x00, 0x40, 0x77, 0x10 | 0x1b, 0x00, 0x98, 0x3a, 0x00, 0x40, 0x42, 0x0f, 0x18 | 0x00, 0x02, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x20 | 0x1e, 0x00 Additional Descriptor bLength = 0x06 bDescriptorType = 0x24 bDescriptorSubType = 0x0d RAW dump: 0x00 | 0x06, 0x24, 0x0d, 0x01, 0x01, 0x04 Additional Descriptor bLength = 0x1b bDescriptorType = 0x24 bDescriptorSubType = 0x04 RAW dump: 0x00 | 0x1b, 0x24, 0x04, 0x02, 0x06, 0x59, 0x55, 0x59, 0x08 | 0x32, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x10 | 0xaa, 0x00, 0x38, 0x9b, 0x71, 0x10, 0x01, 0x00, 0x18 | 0x00, 0x00, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x05 RAW dump: 0x00 | 0x2a, 0x24, 0x05, 0x01, 0x00, 0x80, 0x02, 0xe0, 0x08 | 0x01, 0x00, 0x00, 0x77, 0x01, 0x00, 0x00, 0xca, 0x10 | 0x08, 0x00, 0x60, 0x09, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x05 RAW dump: 0x00 | 0x2a, 0x24, 0x05, 0x02, 0x00, 0xa0, 0x00, 0x78, 0x08 | 0x00, 0x00, 0x70, 0x17, 0x00, 0x00, 0xa0, 0x8c, 0x10 | 0x00, 0x00, 0x96, 0x00, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x05 RAW dump: 0x00 | 0x2a, 0x24, 0x05, 0x03, 0x00, 0xb0, 0x00, 0x90, 0x08 | 0x00, 0x00, 0xf0, 0x1e, 0x00, 0x00, 0xa0, 0xb9, 0x10 | 0x00, 0x00, 0xc6, 0x00, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x05 RAW dump: 0x00 | 0x2a, 0x24, 0x05, 0x04, 0x00, 0x40, 0x01, 0xf0, 0x08 | 0x00, 0x00, 0xc0, 0x5d, 0x00, 0x00, 0x80, 0x32, 0x10 | 0x02, 0x00, 0x58, 0x02, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x2a bDescriptorType = 0x24 bDescriptorSubType = 0x05 RAW dump: 0x00 | 0x2a, 0x24, 0x05, 0x05, 0x00, 0x60, 0x01, 0x20, 0x08 | 0x01, 0x00, 0xc0, 0x7b, 0x00, 0x00, 0x80, 0xe6, 0x10 | 0x02, 0x00, 0x18, 0x03, 0x00, 0x15, 0x16, 0x05, 0x18 | 0x00, 0x04, 0x15, 0x16, 0x05, 0x00, 0x2a, 0x2c, 0x20 | 0x0a, 0x00, 0x40, 0x42, 0x0f, 0x00, 0x80, 0x84, 0x28 | 0x1e, 0x00 Additional Descriptor bLength = 0x22 bDescriptorType = 0x24 bDescriptorSubType = 0x05 RAW dump: 0x00 | 0x22, 0x24, 0x05, 0x06, 0x00, 0x40, 0x06, 0xb0, 0x08 | 0x04, 0x00, 0xe0, 0x93, 0x04, 0x00, 0xc0, 0x27, 0x10 | 0x09, 0x00, 0xf2, 0x28, 0x00, 0x80, 0x84, 0x1e, 0x18 | 0x00, 0x02, 0x80, 0x84, 0x1e, 0x00, 0x00, 0x09, 0x20 | 0x3d, 0x00 Additional Descriptor bLength = 0x06 bDescriptorType = 0x24 bDescriptorSubType = 0x0d RAW dump: 0x00 | 0x06, 0x24, 0x0d, 0x01, 0x01, 0x04 Interface 1 Alt 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0001 bNumEndpoints = 0x0001 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0005 wMaxPacketSize = 0x00c0 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 Alt 2 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0002 bNumEndpoints = 0x0001 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0005 wMaxPacketSize = 0x0200 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 Alt 3 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0003 bNumEndpoints = 0x0001 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0005 wMaxPacketSize = 0x0320 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 Alt 4 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0004 bNumEndpoints = 0x0001 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0005 wMaxPacketSize = 0x0a80 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 Alt 5 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0005 bNumEndpoints = 0x0001 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0005 wMaxPacketSize = 0x0be0 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 Alt 6 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0006 bNumEndpoints = 0x0001 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0005 wMaxPacketSize = 0x13fc bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x08 bDescriptorType = 0x0b bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x08, 0x0b, 0x02, 0x02, 0x01, 0x01, 0x00, 0x00 Interface 2 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x09, 0x24, 0x01, 0x00, 0x01, 0x2b, 0x00, 0x01, 0x08 | 0x03 Additional Descriptor bLength = 0x0c bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0c, 0x24, 0x02, 0x01, 0x05, 0x02, 0x00, 0x02, 0x08 | 0x00, 0x00, 0x00, 0x00 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x02, 0x01, 0x01, 0x00, 0x03, 0x08 | 0x00 Additional Descriptor bLength = 0x0d bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x0d, 0x24, 0x06, 0x03, 0x01, 0x02, 0x43, 0x02, 0x08 | 0x00, 0x00, 0x00, 0x00, 0x00 Interface 3 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0003 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Interface 3 Alt 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0003 bAlternateSetting = 0x0001 bNumEndpoints = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x02, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x23 bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x23, 0x24, 0x02, 0x01, 0x02, 0x02, 0x10, 0x09, 0x08 | 0x80, 0xbb, 0x00, 0x44, 0xac, 0x00, 0x00, 0x7d, 0x10 | 0x00, 0xc0, 0x5d, 0x00, 0x22, 0x56, 0x00, 0x80, 0x18 | 0x3e, 0x00, 0xe0, 0x2e, 0x00, 0x11, 0x2b, 0x00, 0x20 | 0x40, 0x1f, 0x00 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x000d wMaxPacketSize = 0x00c0 bInterval = 0x0004 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x01, 0x00, 0x00, 0x00 -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 18:43:25 2010 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 4847D106566B; Tue, 26 Jan 2010 18:43:25 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 66A598FC0C; Tue, 26 Jan 2010 18:43:23 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA12799; Tue, 26 Jan 2010 20:43:20 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B5F37C8.20504@icyb.net.ua> Date: Tue, 26 Jan 2010 20:43:20 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <4B5F2784.2090406@icyb.net.ua> <201001261837.08651.hselasky@c2i.net> <4B5F3621.2080105@icyb.net.ua> <4B5F36CF.4080206@freebsd.org> In-Reply-To: <4B5F36CF.4080206@freebsd.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 18:43:25 -0000 on 26/01/2010 20:39 Andriy Gapon said the following: > Seems like webcamd indeed recognizes this webcam, but it does that... eventually. > That is, I have to start webcamd several times until it seems the webcam. > The first few attempts end with 'Cannot find USB device'. > I always start it using webcamd -d ugen3.3 -v 0 More info (sorry for the forum-like style). I turned all debug calls in uvc driver into regular printfs and I am getting this: Adding mapping Brightness to control 00000000-0000-0000-0000-000000000101/2. Adding mapping Contrast to control 00000000-0000-0000-0000-000000000101/3. Adding mapping Hue to control 00000000-0000-0000-0000-000000000101/6. Adding mapping Saturation to control 00000000-0000-0000-0000-000000000101/7. Adding mapping Sharpness to control 00000000-0000-0000-0000-000000000101/8. Adding mapping Gamma to control 00000000-0000-0000-0000-000000000101/9. Adding mapping Backlight Compensation to control 00000000-0000-0000-0000-000000000101/1. Adding mapping Gain to control 00000000-0000-0000-0000-000000000101/4. Adding mapping Power Line Frequency to control 00000000-0000-0000-0000-000000000101/5. Adding mapping Hue, Auto to control 00000000-0000-0000-0000-000000000101/16. Adding mapping Exposure, Auto to control 00000000-0000-0000-0000-000000000001/2. Adding mapping Exposure, Auto Priority to control 00000000-0000-0000-0000-000000000001/3. Adding mapping Exposure (Absolute) to control 00000000-0000-0000-0000-000000000001/4. Adding mapping White Balance Temperature, Auto to control 00000000-0000-0000-0000-000000000101/11. Adding mapping White Balance Temperature to control 00000000-0000-0000-0000-000000000101/10. Adding mapping White Balance Component, Auto to control 00000000-0000-0000-0000-000000000101/13. Adding mapping White Balance Blue Component to control 00000000-0000-0000-0000-000000000101/12. Adding mapping White Balance Red Component to control 00000000-0000-0000-0000-000000000101/12. Adding mapping Focus (absolute) to control 00000000-0000-0000-0000-000000000001/6. Adding mapping Focus, Auto to control 00000000-0000-0000-0000-000000000001/8. Adding mapping Zoom, Absolute to control 00000000-0000-0000-0000-000000000001/11. Adding mapping Zoom, Continuous to control 00000000-0000-0000-0000-000000000001/12. Adding mapping Privacy to control 00000000-0000-0000-0000-000000000001/17. Probing generic UVC device Found format MJPEG. - 640x480 (30.0 fps) - 160x120 (30.0 fps) - 176x144 (30.0 fps) - 320x240 (30.0 fps) - 352x288 (30.0 fps) - 800x600 (30.0 fps) - 1024x768 (10.0 fps) - 1280x1024 (10.0 fps) - 1600x1200 (10.0 fps) Found format YUV 4:2:2 (YUYV). - 640x480 (30.0 fps) - 160x120 (30.0 fps) - 176x144 (30.0 fps) - 320x240 (30.0 fps) - 352x288 (30.0 fps) - 1600x1200 (5.0 fps) Found a Status endpoint (addr 83). Added control 00000000-0000-0000-0000-000000000101/2 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/3 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/6 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/7 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/8 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/9 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/10 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/1 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/5 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/11 to device entity 5 Added control 00000000-0000-0000-0000-000000000101/14 to device entity 5 Added control 00000000-0000-0000-0000-000000000001/11 to device entity 1 Added control 00000000-0000-0000-0000-000000000001/13 to device entity 1 Scanning UVC chain:Found a valid video chain (1 -> 3). ^^^^^^^^^^^ this where output stops when webcamd can not attach UVC device initialized. ^^^^^^^^^^^ this is the successful case -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 18:55:28 2010 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 4F35C1065670 for ; Tue, 26 Jan 2010 18:55:28 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 734CC8FC26 for ; Tue, 26 Jan 2010 18:55:27 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA12841; Tue, 26 Jan 2010 20:47:25 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4B5F38BD.7000301@freebsd.org> Date: Tue, 26 Jan 2010 20:47:25 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <4B5F2784.2090406@icyb.net.ua> <201001261837.08651.hselasky@c2i.net> <4B5F3621.2080105@icyb.net.ua> <4B5F36CF.4080206@freebsd.org> <4B5F37C8.20504@icyb.net.ua> In-Reply-To: <4B5F37C8.20504@icyb.net.ua> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 18:55:28 -0000 on 26/01/2010 20:43 Andriy Gapon said the following: [snip] > Added control 00000000-0000-0000-0000-000000000101/2 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/3 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/6 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/7 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/8 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/9 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/10 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/1 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/5 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/11 to device entity 5 > Added control 00000000-0000-0000-0000-000000000101/14 to device entity 5 > Added control 00000000-0000-0000-0000-000000000001/11 to device entity 1 > Added control 00000000-0000-0000-0000-000000000001/13 to device entity 1 > Scanning UVC chain:Found a valid video chain (1 -> 3). > ^^^^^^^^^^^ this where output stops when webcamd can not attach > UVC device initialized. > ^^^^^^^^^^^ this is the successful case > > When I start pwcview it show a green frame for a moment and then exits: $ pwcview -s vga -f 30 Webcam set to: 640x480 (vga) at 30 fps libv4l2: error converting / decoding frame data: v4l-convert: error parsing JPEG header: Not a JPG file ? Error reading from webcam: Input/output error Here is what gets printed by webcamd: uvc_v4l2_open Trying format 0x47504a4d (MJPG): 48x32. Using default frame interval 33333.3 us (30.0 fps). Trying format 0x47504a4d (MJPG): 100000x100000. Using default frame interval 100000.0 us (10.0 fps). Trying format 0x56595559 (YUYV): 48x32. Using default frame interval 33333.3 us (30.0 fps). Trying format 0x56595559 (YUYV): 100000x100000. Using default frame interval 200000.0 us (5.0 fps). Unsupported ioctl 0xc0485619 Trying format 0x47504a4d (MJPG): 320x240. Using default frame interval 33333.3 us (30.0 fps). Trying format 0x47504a4d (MJPG): 320x240. Using default frame interval 33333.3 us (30.0 fps). Trying format 0x47504a4d (MJPG): 640x480. Using default frame interval 33333.3 us (30.0 fps). uvc_v4l2_mmap uvc_v4l2_mmap uvc_v4l2_mmap uvc_v4l2_mmap Queuing buffer 0. Queuing buffer 1. Queuing buffer 2. Queuing buffer 3. Device requested 3060 B/frame bandwidth. Selecting alternate setting 6 (3060 B/frame bandwidth). Allocated 2 URB buffers of 160x3060 bytes each. Dropping payload (error bit set). Dropping payload (error bit set). Dropping payload (error bit set). Dropping payload (error bit set). Dropping payload (error bit set). Frame complete (EOF found). Dequeuing buffer 0 (4, 39388 bytes). Queuing buffer 0. uvc_v4l2_release What's also strange is that webcam's "in use" light never turns on. -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 18:55:29 2010 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 D47DD1065692 for ; Tue, 26 Jan 2010 18:55:29 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 23BBF8FC16 for ; Tue, 26 Jan 2010 18:55:28 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA12741; Tue, 26 Jan 2010 20:39:12 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4B5F36CF.4080206@freebsd.org> Date: Tue, 26 Jan 2010 20:39:11 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <4B5F2784.2090406@icyb.net.ua> <201001261837.08651.hselasky@c2i.net> <4B5F3621.2080105@icyb.net.ua> In-Reply-To: <4B5F3621.2080105@icyb.net.ua> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 18:55:29 -0000 on 26/01/2010 20:36 Andriy Gapon said the following: > on 26/01/2010 19:37 Hans Petter Selasky said the following: >> The string is just too big, so it gets truncated. Send me a dump of the config >> descriptor for the webcamera. If it says 0x0e for interface class, it's most >> likely supported. > > Here it is: > ugen3.3: Inc.538-2640-07.08.09.6> at u, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x041b > bNumInterfaces = 0x0004 > bConfigurationValue = 0x0001 > iConfiguration = 0x0000 > bmAttributes = 0x0080 > bMaxPower = 0x00fa > > Additional Descriptor > > bLength = 0x08 > bDescriptorType = 0x0b > bDescriptorSubType = 0x00 > RAW dump: > 0x00 | 0x08, 0x0b, 0x00, 0x02, 0x0e, 0x03, 0x00, 0x02 > > > Interface 0 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0000 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0001 > bInterfaceClass = 0x000e > bInterfaceSubClass = 0x0001 > bInterfaceProtocol = 0x0000 > iInterface = 0x0002 Seems like webcamd indeed recognizes this webcam, but it does that... eventually. That is, I have to start webcamd several times until it seems the webcam. The first few attempts end with 'Cannot find USB device'. I always start it using webcamd -d ugen3.3 -v 0 -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 19:06:50 2010 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 542A71065672; Tue, 26 Jan 2010 19:06:50 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2506F8FC15; Tue, 26 Jan 2010 19:06:48 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id VAA13018; Tue, 26 Jan 2010 21:06:45 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B5F3D45.5020708@icyb.net.ua> Date: Tue, 26 Jan 2010 21:06:45 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <4B5F2784.2090406@icyb.net.ua> <201001261837.08651.hselasky@c2i.net> <4B5F3621.2080105@icyb.net.ua> <4B5F36CF.4080206@freebsd.org> <4B5F37C8.20504@icyb.net.ua> <4B5F38BD.7000301@freebsd.org> In-Reply-To: <4B5F38BD.7000301@freebsd.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 19:06:50 -0000 on 26/01/2010 20:47 Andriy Gapon said the following: > > What's also strange is that webcam's "in use" light never turns on. OK, it actually does turn on. What I've discovered is that the webcam needs some short time to "warm up". I've modified pwcview to ignore a few initial v4l1_read error and everything is fine now. It would be better, of course, if the driver internally handled these couple of initial frames, but my workaround is OK for me too. -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 21:06:54 2010 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 9D9DD1065670; Tue, 26 Jan 2010 21:06:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id F268B8FC0A; Tue, 26 Jan 2010 21:06:53 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RYQgPGQ7BbsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=SullSjN30FfpG0t9o04A:9 a=RQ-J-TIMRWiShMK0wBYA:7 a=ek3y6JKYkfHl4TZ8wEmSBZV9F_8A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 311861015; Tue, 26 Jan 2010 22:06:52 +0100 From: Hans Petter Selasky To: Andriy Gapon Date: Tue, 26 Jan 2010 22:05:28 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <4B5F36CF.4080206@freebsd.org> <4B5F37C8.20504@icyb.net.ua> In-Reply-To: <4B5F37C8.20504@icyb.net.ua> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201001262205.28224.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 21:06:54 -0000 On Tuesday 26 January 2010 19:43:20 Andriy Gapon wrote: > on 26/01/2010 20:39 Andriy Gapon said the following: > > Seems like webcamd indeed recognizes this webcam, but it does that... > > eventually. That is, I have to start webcamd several times until it seems > > the webcam. The first few attempts end with 'Cannot find USB device'. > > I always start it using webcamd -d ugen3.3 -v 0 > Have you updated your libusb to the version in 8-stable? --HPS From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 21:13:26 2010 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 3A6BD106566B; Tue, 26 Jan 2010 21:13:26 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 472EE8FC16; Tue, 26 Jan 2010 21:13:24 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA14448; Tue, 26 Jan 2010 23:13:21 +0200 (EET) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1NZsiv-000KBK-IF; Tue, 26 Jan 2010 23:13:21 +0200 Message-ID: <4B5F5AF0.1040803@icyb.net.ua> Date: Tue, 26 Jan 2010 23:13:20 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091128) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <4B5F36CF.4080206@freebsd.org> <4B5F37C8.20504@icyb.net.ua> <201001262205.28224.hselasky@c2i.net> In-Reply-To: <201001262205.28224.hselasky@c2i.net> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 21:13:26 -0000 on 26/01/2010 23:05 Hans Petter Selasky said the following: > On Tuesday 26 January 2010 19:43:20 Andriy Gapon wrote: >> on 26/01/2010 20:39 Andriy Gapon said the following: >>> Seems like webcamd indeed recognizes this webcam, but it does that... >>> eventually. That is, I have to start webcamd several times until it seems >>> the webcam. The first few attempts end with 'Cannot find USB device'. >>> I always start it using webcamd -d ugen3.3 -v 0 > > Have you updated your libusb to the version in 8-stable? Yes, I did. -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 21:48:05 2010 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 966B6106566B; Tue, 26 Jan 2010 21:48:05 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swipnet.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id EB5CA8FC13; Tue, 26 Jan 2010 21:48:04 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RYQgPGQ7BbsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=ndaoGXS1AAAA:8 a=NuTX6iYDlLi8WuexTvkA:9 a=bvBK9fKoVFaYbN6KM1kA:7 a=DVzBOYNAQZgw4wMn2zNi1ZB_p3sA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 595414911; Tue, 26 Jan 2010 22:48:03 +0100 From: Hans Petter Selasky To: Andriy Gapon Date: Tue, 26 Jan 2010 22:46:39 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <201001262205.28224.hselasky@c2i.net> <4B5F5AF0.1040803@icyb.net.ua> In-Reply-To: <4B5F5AF0.1040803@icyb.net.ua> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201001262246.40003.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 26 Jan 2010 21:48:05 -0000 On Tuesday 26 January 2010 22:13:20 Andriy Gapon wrote: > on 26/01/2010 23:05 Hans Petter Selasky said the following: > > On Tuesday 26 January 2010 19:43:20 Andriy Gapon wrote: > >> on 26/01/2010 20:39 Andriy Gapon said the following: > >>> Seems like webcamd indeed recognizes this webcam, but it does that... > >>> eventually. That is, I have to start webcamd several times until it > >>> seems the webcam. The first few attempts end with 'Cannot find USB > >>> device'. I always start it using webcamd -d ugen3.3 -v 0 > > > > Have you updated your libusb to the version in 8-stable? > > Yes, I did. > Hi, Can you try to build and install webcamd from my SVN? http://www.selasky.org/hans_petter/video4bsd BTW: I've added all DVB USB dongles to the current build! If anyone has such a device, please test! Also list the version of the software you are using. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 27 11:20:41 2010 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 77D0F106566B for ; Wed, 27 Jan 2010 11:20:41 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 068078FC08 for ; Wed, 27 Jan 2010 11:20:40 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=TmpCBzaDd18A:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=WfOZs5epb2flmSRlamwA:9 a=6cR4T-Q6Rs2Ed6pUFn0A:7 a=R9JEX6qlvA10O16x7VzVHpPEUX0A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1379277402; Wed, 27 Jan 2010 12:20:39 +0100 From: Hans Petter Selasky To: "Andrey V. Elsukov" Date: Wed, 27 Jan 2010 12:19:16 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <4B602067.4030702@yandex.ru> In-Reply-To: <4B602067.4030702@yandex.ru> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201001271219.16420.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, riggs@rrr.de Subject: Re: [RFC/RFT][patch] multimedia/mplayer with TV-V4L support (was: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing) 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: Wed, 27 Jan 2010 11:20:41 -0000 On Wednesday 27 January 2010 12:15:51 Andrey V. Elsukov wrote: > On 10.01.2010 16:37, Hans Petter Selasky wrote: > > Feedback and bug reports are welcome. > > > > Yes, I am working on getting this into ports! > > Hi, > > Thank you for your work. Now i can use my webcam almost out of the box :) > Webcam on ASUS EEEPC works with `pwcview -s vga` and i made patch for > multimedia/mplayer, so now i can use mplayer with my webcam :) > > Can someone review these changes? Is it a correct way to use libv4l? > Your patch looks good by me. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 27 11:27:53 2010 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 43DE7106566B for ; Wed, 27 Jan 2010 11:27:53 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [95.108.130.94]) by mx1.freebsd.org (Postfix) with ESMTP id C84828FC19 for ; Wed, 27 Jan 2010 11:27:52 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward12.mail.yandex.net (Yandex) with ESMTP id ABD7115D117C; Wed, 27 Jan 2010 14:15:52 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1264590952; bh=WpETLxhMI9nDSTYuYFY5udnrwOibgPB4/p/JhQHAGM0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=ElwzF/wu9ceil6iveRDzE5X/jGVsZqLykArH8r5NzsdQsiaiz3rWqbIWCjXGPUMAr E7hCYjGSExPOQJCN61dvSujHElqNrmUkMGML9bEVV2wrBWUsO+J88FKDtB8MrfdItc 7NVMDCJxU9SMrF3IsN3IssJuoSpmaXJDWDSl1gNc= Received: from [127.0.0.1] (ns.kirov.so-cdu.ru [77.72.136.145]) by smtp2.mail.yandex.net (Yandex) with ESMTPSA id 5652DD18103; Wed, 27 Jan 2010 14:15:52 +0300 (MSK) Message-ID: <4B602067.4030702@yandex.ru> Date: Wed, 27 Jan 2010 14:15:51 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> In-Reply-To: <201001101437.37269.hselasky@c2i.net> Content-Type: multipart/mixed; boundary="------------090506020804000005010808" X-Yandex-TimeMark: 1264590952 X-Yandex-Spam: 1 X-Yandex-Front: smtp2.mail.yandex.net Cc: freebsd-multimedia@freebsd.org, riggs@rrr.de Subject: [RFC/RFT][patch] multimedia/mplayer with TV-V4L support (was: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing) 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: Wed, 27 Jan 2010 11:27:53 -0000 This is a multi-part message in MIME format. --------------090506020804000005010808 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit On 10.01.2010 16:37, Hans Petter Selasky wrote: > Feedback and bug reports are welcome. > > Yes, I am working on getting this into ports! Hi, Thank you for your work. Now i can use my webcam almost out of the box :) Webcam on ASUS EEEPC works with `pwcview -s vga` and i made patch for multimedia/mplayer, so now i can use mplayer with my webcam :) Can someone review these changes? Is it a correct way to use libv4l? -- WBR, Andrey V. Elsukov --------------090506020804000005010808 Content-Type: text/plain; name="mplayer.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mplayer.diff.txt" diff -burNp /usr/ports/multimedia/mplayer/Makefile mplayer/Makefile --- /usr/ports/multimedia/mplayer/Makefile 2009-07-17 22:34:49.000000000 +0400 +++ mplayer/Makefile 2010-01-27 12:47:39.280345746 +0300 @@ -66,6 +66,7 @@ OPTIONS+= LIBCDIO "Enable libcdio suppor OPTIONS+= CDPARANOIA "Enable cdparanoia support" off OPTIONS+= LIBLZO "Enable external liblzo library" off OPTIONS+= JOYSTICK "Enable joystick support" off +OPTIONS+= V4L "Enable v4l driver support for TV" off MAN1= mplayer.1 MANCOMPRESSED= no @@ -222,12 +223,19 @@ DEFAULT_KERN_HZ=1024 .endif .if defined(WITH_JOYSTICK) -BUILD_DEPENDS+= ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js +LIB_DEPENDS+= ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js CONFIGURE_ARGS+=--enable-joystick .else CONFIGURE_ARGS+=--disable-joystick .endif +.if defined(WITH_V4L) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libv4l2.so:${PORTSDIR}/multimedia/libv4l +CONFIGURE_ARGS+=--enable-tv-v4l1 --enable-tv-v4l2 +.else +CONFIGURE_ARGS+=--disable-tv-v4l1 --disable-tv-v4l2 +.endif + pre-everything:: @${ECHO_MSG} "N - O - T - E" @${ECHO_MSG} "" diff -burNp /usr/ports/multimedia/mplayer/Makefile.shared mplayer/Makefile.shared --- /usr/ports/multimedia/mplayer/Makefile.shared 2009-05-21 15:55:56.000000000 +0400 +++ mplayer/Makefile.shared 2010-01-27 11:51:05.029688749 +0300 @@ -33,8 +33,6 @@ CONFIGURE_ARGS= --enable-png \ --enable-menu \ --disable-faad-external \ --disable-vidix-external \ - --disable-tv-v4l1 \ - --disable-tv-v4l2 \ --disable-dvdnav WANT_GNOME= yes diff -burNp /usr/ports/multimedia/mplayer/files/patch-tv-v4l mplayer/files/patch-tv-v4l --- /usr/ports/multimedia/mplayer/files/patch-tv-v4l 1970-01-01 03:00:00.000000000 +0300 +++ mplayer/files/patch-tv-v4l 2010-01-27 13:48:38.204958790 +0300 @@ -0,0 +1,60 @@ +--- configure 2010-01-27 12:49:02.310984277 +0300 ++++ configure 2010-01-27 13:33:45.902924872 +0300 +@@ -6786,6 +6786,7 @@ if test "$_tv_v4l1" = yes ; then + _def_tv_v4l='#define HAVE_TV_V4L 1' + _def_tv_v4l1='#define HAVE_TV_V4L1 1' + _inputmodules="tv-v4l $_inputmodules" ++ _ld_extra="$_ld_extra -lv4l1" + else + _noinputmodules="tv-v4l1 $_noinputmodules" + _def_tv_v4l='#undef HAVE_TV_V4L' +@@ -6812,6 +6813,7 @@ if test "$_tv_v4l2" = yes ; then + _def_tv_v4l='#define HAVE_TV_V4L 1' + _def_tv_v4l2='#define HAVE_TV_V4L2 1' + _inputmodules="tv-v4l2 $_inputmodules" ++ _ld_extra="$_ld_extra -lv4l2" + else + _noinputmodules="tv-v4l2 $_noinputmodules" + _def_tv_v4l2='#undef HAVE_TV_V4L2' +--- stream/tvi_v4l.c 2007-10-07 23:49:26.000000000 +0400 ++++ stream/tvi_v4l.c 2010-01-27 13:42:17.781746063 +0300 +@@ -48,6 +48,14 @@ + + #include "audio_in.h" + ++#include ++#define open v4l1_open ++#define close v4l1_close ++#define dup v4l1_dup ++#define ioctl v4l1_ioctl ++#define mmap v4l1_mmap ++#define munmap v4l1_munmap ++ + static tvi_handle_t *tvi_init_v4l(tv_param_t* tv_param); + + tvi_info_t tvi_info_v4l = { +--- stream/tvi_v4l2.c 2007-10-07 23:49:26.000000000 +0400 ++++ stream/tvi_v4l2.c 2010-01-27 13:25:47.000000000 +0300 +@@ -38,7 +38,6 @@ known issues: + #ifdef HAVE_SYS_SYSINFO_H + #include + #endif +-#include + #include + #include "mp_msg.h" + #include "libmpcodecs/img_format.h" +@@ -46,6 +46,14 @@ known issues: + #include "tv.h" + #include "audio_in.h" + ++#include ++#define open v4l2_open ++#define close v4l2_close ++#define dup v4l2_dup ++#define ioctl v4l2_ioctl ++#define mmap v4l2_mmap ++#define munmap v4l2_munmap ++ + #define info tvi_info_v4l2 + static tvi_handle_t *tvi_init_v4l2(tv_param_t* tv_param); + /* information about this file */ --------------090506020804000005010808-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 27 11:35:03 2010 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 6FA621065672 for ; Wed, 27 Jan 2010 11:35:03 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [95.108.130.93]) by mx1.freebsd.org (Postfix) with ESMTP id 015638FC0A for ; Wed, 27 Jan 2010 11:35:02 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward11.mail.yandex.net (Yandex) with ESMTP id 0F7E4F49045; Wed, 27 Jan 2010 14:25:39 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1264591539; bh=phQHzIgZhx6oc72FQuE4Xfxq2mrNp0edAEdSfBzAl14=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=nCYxJxFNHZMIO+xQjF5klilBU8SFZa7o5whd16vp5JsM3kgjcp/gqtxSS92y48JDu Yg9NJ6Jmlys2rAB2spKMKHysMiBql+XJimgPfgahpbaitf4NWbS3FbWvUnGimLBrPI oI5h4DKCUqeXYeXcPnwukWHmOQSzPflfJpZKoWh8= Received: from [127.0.0.1] (mail.kirov.so-cdu.ru [77.72.136.145]) by smtp11.mail.yandex.net (Yandex) with ESMTPSA id CD05C6730090; Wed, 27 Jan 2010 14:25:38 +0300 (MSK) Message-ID: <4B6022B2.8030900@yandex.ru> Date: Wed, 27 Jan 2010 14:25:38 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <201001101437.37269.hselasky@c2i.net> <4B602067.4030702@yandex.ru> In-Reply-To: <4B602067.4030702@yandex.ru> Content-Type: multipart/mixed; boundary="------------070406000106070207000802" X-Yandex-TimeMark: 1264591539 X-Yandex-Spam: 1 X-Yandex-Front: smtp11.mail.yandex.net Cc: riggs@rrr.de Subject: Re: [RFC/RFT][patch] multimedia/mplayer with TV-V4L support 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: Wed, 27 Jan 2010 11:35:03 -0000 This is a multi-part message in MIME format. --------------070406000106070207000802 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit On 27.01.2010 14:15, Andrey V. Elsukov wrote: > Thank you for your work. Now i can use my webcam almost out of the box :) > Webcam on ASUS EEEPC works with `pwcview -s vga` and i made patch for > multimedia/mplayer, so now i can use mplayer with my webcam :) > > Can someone review these changes? Is it a correct way to use libv4l? Small fix for port's Makefile. -- WBR, Andrey V. Elsukov --------------070406000106070207000802 Content-Type: text/plain; name="mplayer.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mplayer.diff.txt" diff -burNp /usr/ports/multimedia/mplayer/Makefile mplayer/Makefile --- /usr/ports/multimedia/mplayer/Makefile 2009-07-17 22:34:49.000000000 +0400 +++ mplayer/Makefile 2010-01-27 14:18:48.634502768 +0300 @@ -66,6 +66,7 @@ OPTIONS+= LIBCDIO "Enable libcdio suppor OPTIONS+= CDPARANOIA "Enable cdparanoia support" off OPTIONS+= LIBLZO "Enable external liblzo library" off OPTIONS+= JOYSTICK "Enable joystick support" off +OPTIONS+= V4L "Enable v4l driver support for TV" off MAN1= mplayer.1 MANCOMPRESSED= no @@ -228,6 +229,13 @@ CONFIGURE_ARGS+=--enable-joystick CONFIGURE_ARGS+=--disable-joystick .endif +.if defined(WITH_V4L) +LIB_DEPENDS+= ${LOCALBASE}/lib/libv4l2.so:${PORTSDIR}/multimedia/libv4l +CONFIGURE_ARGS+=--enable-tv-v4l1 --enable-tv-v4l2 +.else +CONFIGURE_ARGS+=--disable-tv-v4l1 --disable-tv-v4l2 +.endif + pre-everything:: @${ECHO_MSG} "N - O - T - E" @${ECHO_MSG} "" diff -burNp /usr/ports/multimedia/mplayer/Makefile.shared mplayer/Makefile.shared --- /usr/ports/multimedia/mplayer/Makefile.shared 2009-05-21 15:55:56.000000000 +0400 +++ mplayer/Makefile.shared 2010-01-27 11:51:05.029688749 +0300 @@ -33,8 +33,6 @@ CONFIGURE_ARGS= --enable-png \ --enable-menu \ --disable-faad-external \ --disable-vidix-external \ - --disable-tv-v4l1 \ - --disable-tv-v4l2 \ --disable-dvdnav WANT_GNOME= yes diff -burNp /usr/ports/multimedia/mplayer/files/patch-tv-v4l mplayer/files/patch-tv-v4l --- /usr/ports/multimedia/mplayer/files/patch-tv-v4l 1970-01-01 03:00:00.000000000 +0300 +++ mplayer/files/patch-tv-v4l 2010-01-27 13:48:38.204958790 +0300 @@ -0,0 +1,60 @@ +--- configure 2010-01-27 12:49:02.310984277 +0300 ++++ configure 2010-01-27 13:33:45.902924872 +0300 +@@ -6786,6 +6786,7 @@ if test "$_tv_v4l1" = yes ; then + _def_tv_v4l='#define HAVE_TV_V4L 1' + _def_tv_v4l1='#define HAVE_TV_V4L1 1' + _inputmodules="tv-v4l $_inputmodules" ++ _ld_extra="$_ld_extra -lv4l1" + else + _noinputmodules="tv-v4l1 $_noinputmodules" + _def_tv_v4l='#undef HAVE_TV_V4L' +@@ -6812,6 +6813,7 @@ if test "$_tv_v4l2" = yes ; then + _def_tv_v4l='#define HAVE_TV_V4L 1' + _def_tv_v4l2='#define HAVE_TV_V4L2 1' + _inputmodules="tv-v4l2 $_inputmodules" ++ _ld_extra="$_ld_extra -lv4l2" + else + _noinputmodules="tv-v4l2 $_noinputmodules" + _def_tv_v4l2='#undef HAVE_TV_V4L2' +--- stream/tvi_v4l.c 2007-10-07 23:49:26.000000000 +0400 ++++ stream/tvi_v4l.c 2010-01-27 13:42:17.781746063 +0300 +@@ -48,6 +48,14 @@ + + #include "audio_in.h" + ++#include ++#define open v4l1_open ++#define close v4l1_close ++#define dup v4l1_dup ++#define ioctl v4l1_ioctl ++#define mmap v4l1_mmap ++#define munmap v4l1_munmap ++ + static tvi_handle_t *tvi_init_v4l(tv_param_t* tv_param); + + tvi_info_t tvi_info_v4l = { +--- stream/tvi_v4l2.c 2007-10-07 23:49:26.000000000 +0400 ++++ stream/tvi_v4l2.c 2010-01-27 13:25:47.000000000 +0300 +@@ -38,7 +38,6 @@ known issues: + #ifdef HAVE_SYS_SYSINFO_H + #include + #endif +-#include + #include + #include "mp_msg.h" + #include "libmpcodecs/img_format.h" +@@ -46,6 +46,14 @@ known issues: + #include "tv.h" + #include "audio_in.h" + ++#include ++#define open v4l2_open ++#define close v4l2_close ++#define dup v4l2_dup ++#define ioctl v4l2_ioctl ++#define mmap v4l2_mmap ++#define munmap v4l2_munmap ++ + #define info tvi_info_v4l2 + static tvi_handle_t *tvi_init_v4l2(tv_param_t* tv_param); + /* information about this file */ --------------070406000106070207000802-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 27 16:11:15 2010 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 D57D1106566B; Wed, 27 Jan 2010 16:11:15 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id DC1308FC18; Wed, 27 Jan 2010 16:11:14 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA29801; Wed, 27 Jan 2010 18:11:09 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B60659C.3000603@icyb.net.ua> Date: Wed, 27 Jan 2010 18:11:08 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <201001262205.28224.hselasky@c2i.net> <4B5F5AF0.1040803@icyb.net.ua> <201001262246.40003.hselasky@c2i.net> In-Reply-To: <201001262246.40003.hselasky@c2i.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Wed, 27 Jan 2010 16:11:15 -0000 BTW, on Skype with video4bsd - when I start Skype and try to configure a video device I get the following in system log: kernel: linux: pid 21092 (skype): ioctl fd=10, cmd=0x7601 ('v',1) is not implemented kernel: linux: pid 21092 (skype): ioctl fd=39, cmd=0x7601 ('v',1) is not implemented And also I get the following on the stdout of webcamd (with Linux debug converted to printfs): uvc_v4l2_open Unknown ioctl 0x40047601 uvc_v4l2_release P.S. I am using the latest versions of all required software _from ports_. I haven't tried svn version of webcamd yet. -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 27 17:15:37 2010 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 80A591065693; Wed, 27 Jan 2010 17:15:37 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id D86848FC20; Wed, 27 Jan 2010 17:15:36 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RYQgPGQ7BbsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Tr1d4jhICKGQ6FdiVRkA:9 a=NiXVKfyiv3lKB388fPEA:7 a=11GhuH5oCaHYF066JyW9YbYCF4MA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1198687476; Wed, 27 Jan 2010 18:15:34 +0100 From: Hans Petter Selasky To: Andriy Gapon Date: Wed, 27 Jan 2010 18:14:11 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <201001262246.40003.hselasky@c2i.net> <4B60659C.3000603@icyb.net.ua> In-Reply-To: <4B60659C.3000603@icyb.net.ua> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201001271814.11651.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Wed, 27 Jan 2010 17:15:37 -0000 On Wednesday 27 January 2010 17:11:08 Andriy Gapon wrote: > BTW, on Skype with video4bsd - when I start Skype and try to configure a > video device I get the following in system log: > > kernel: linux: pid 21092 (skype): ioctl fd=10, cmd=0x7601 ('v',1) is not > implemented kernel: linux: pid 21092 (skype): ioctl fd=39, cmd=0x7601 > ('v',1) is not implemented > > And also I get the following on the stdout of webcamd (with Linux debug > converted to printfs): > uvc_v4l2_open > Unknown ioctl 0x40047601 > uvc_v4l2_release > > > P.S. I am using the latest versions of all required software _from ports_. > I haven't tried svn version of webcamd yet. > Those IOCTL's should have been translated by linux.ko. When they are not, /dev/videoX does not understand them. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 27 17:28:39 2010 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 A14F21065676; Wed, 27 Jan 2010 17:28:39 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 97A0E8FC24; Wed, 27 Jan 2010 17:28:38 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA01149; Wed, 27 Jan 2010 19:28:34 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B6077C2.2000108@icyb.net.ua> Date: Wed, 27 Jan 2010 19:28:34 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <201001262246.40003.hselasky@c2i.net> <4B60659C.3000603@icyb.net.ua> <201001271814.11651.hselasky@c2i.net> In-Reply-To: <201001271814.11651.hselasky@c2i.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Wed, 27 Jan 2010 17:28:39 -0000 on 27/01/2010 19:14 Hans Petter Selasky said the following: > On Wednesday 27 January 2010 17:11:08 Andriy Gapon wrote: >> BTW, on Skype with video4bsd - when I start Skype and try to configure a >> video device I get the following in system log: >> >> kernel: linux: pid 21092 (skype): ioctl fd=10, cmd=0x7601 ('v',1) is not >> implemented kernel: linux: pid 21092 (skype): ioctl fd=39, cmd=0x7601 >> ('v',1) is not implemented >> >> And also I get the following on the stdout of webcamd (with Linux debug >> converted to printfs): >> uvc_v4l2_open >> Unknown ioctl 0x40047601 >> uvc_v4l2_release >> >> >> P.S. I am using the latest versions of all required software _from ports_. >> I haven't tried svn version of webcamd yet. >> > > Those IOCTL's should have been translated by linux.ko. When they are not, > /dev/videoX does not understand them. I see. So we need an additional translation. I believe that this particular ioctl was VIDIOCGCAP (get capabilities). But it doesn't look like we have V4B analogue for this. -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 27 21:53:52 2010 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 22340106566C for ; Wed, 27 Jan 2010 21:53:52 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id ED6048FC1E for ; Wed, 27 Jan 2010 21:53:51 +0000 (UTC) Received: by pwi15 with SMTP id 15so17943pwi.3 for ; Wed, 27 Jan 2010 13:53:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=DA7SuFad/pW+OdsAJb4TRebpmjPuKQDoZSv/yiA89pc=; b=qN15LWH900FOffKd7k7RsulcuUKOLfL7wKH6YvZxj8f4JzSjHJcwN+GJeiODV0NVX+ mjF8E2zN2uI3d+aPx852QaKe3HiVGwM8ZqPC9seIwiLs0M3q89mADxppWuTJJ/+DcFBX lm/93Aq2Qa9WU1fGRqa6XKKjy2RURZcdTYKVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lAZ4xRf5NSdQVDFFgkC9vL5/W9Lw0iPaUXjN1QnHj8pyOcDh3/iLwAi8i5EhCyzLHM yknsk5qt6FG0B+UeV/FGU0ZQ7lIxMR6D425s3e+r+eU4z0ZenLreBH/llRiGlSsdj6iu m72WWYESgznqmFp8xtmHxvimgY1kAXfvdEVZ0= MIME-Version: 1.0 Received: by 10.141.5.7 with SMTP id h7mr6943507rvi.279.1264627365839; Wed, 27 Jan 2010 13:22:45 -0800 (PST) In-Reply-To: <4B6022B2.8030900@yandex.ru> References: <201001101437.37269.hselasky@c2i.net> <4B602067.4030702@yandex.ru> <4B6022B2.8030900@yandex.ru> Date: Wed, 27 Jan 2010 22:22:45 +0100 Message-ID: <786602c61001271322n2020ebcraa9023768788b629@mail.gmail.com> From: Thomas Zander To: "Andrey V. Elsukov" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-multimedia@freebsd.org Subject: Re: [RFC/RFT][patch] multimedia/mplayer with TV-V4L support 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: Wed, 27 Jan 2010 21:53:52 -0000 Hi, 2010/1/27 Andrey V. Elsukov : >> Can someone review these changes? Is it a correct way to use libv4l? > > Small fix for port's Makefile. Okay, now we can use mplayer with v4l-on-f, which is great! Could you do me one favour, though? We are actually in the process of getting a very recent mplayer snapshot into the ports tree. You might want to have a look at my posting to ports@ on 17 January. You can find the new port for testing at this location: http://www.rrr.de/~riggs/mplayer/m20100117.tar.bz2 I'd appreciate if you sent me a patch that gets your v4l working against the files in this tarball. I'll make sure it'll be part of the next big mplayer update to hit the ports tree soonish. Thank you in advance, Riggs From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 28 03:01:30 2010 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 12499106566C for ; Thu, 28 Jan 2010 03:01:30 +0000 (UTC) (envelope-from karel@lovetemple.net) Received: from mta-13.siol.net (mta-13.siol.net [193.189.160.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4AD5C8FC13 for ; Thu, 28 Jan 2010 03:01:28 +0000 (UTC) Received: from mail-9.siol.net ([10.10.10.142]) by mta-14.siol.net with ESMTP id <20100128000000.YSWQ18841.mta-14.siol.net@mail-9.siol.net>; Thu, 28 Jan 2010 01:00:00 +0100 Received: from gate.unitedpeople.net ([89.143.26.204]) by mail-9.siol.net with ESMTP id <20100128000000.GXKB24217.mail-9.siol.net@gate.unitedpeople.net>; Thu, 28 Jan 2010 01:00:00 +0100 Received: from tp.unitedpeople.net (tpwi.unitedpeople.net [192.168.8.100]) by gate.unitedpeople.net (8.14.3/8.14.3) with ESMTP id o0RNxut1091556; Thu, 28 Jan 2010 00:59:56 +0100 (CET) (envelope-from karel@lovetemple.net) Message-ID: <4B60D37B.7050806@lovetemple.net> Date: Thu, 28 Jan 2010 00:59:55 +0100 From: Karel Miklav User-Agent: Thunderbird 2.0.0.23 (X11/20091011) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=LvLEwGsQvzSIzbXAl10Iipobn+fPeN7yMZsnZoWWySk= c=1 sm=0 a=Txv6cThQhe5WExw3wqtOHg==:17 a=yZuG33q79dUMcSYtQ8gA:9 a=Q4PNMA_GZajLS9twc4eM3d-UvJ8A:4 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: chris@officialunix.com, carpetsmoker@rwxrwxrwx.net, scjamorim@bsd.com.br Subject: How to run csound? 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, 28 Jan 2010 03:01:30 -0000 Hello, anybody knows how to run the csound with real time output? I'm trying examples from the documentation but it complains about: unknown rtaudio module: 'PortAudio' Indeed, this module is not compiled in. Is real time audio supposed to work at all or should I pipe the output some- where or something? Thanks, Karel From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 28 14:53:38 2010 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 85DC1106566B for ; Thu, 28 Jan 2010 14:53:38 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by mx1.freebsd.org (Postfix) with ESMTP id 4007C8FC23 for ; Thu, 28 Jan 2010 14:53:37 +0000 (UTC) Received: by qyk41 with SMTP id 41so320752qyk.29 for ; Thu, 28 Jan 2010 06:53:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=novGb0pgg6LgpPmpwi1aegjMdHXEnxoLAxzoChPO2SU=; b=BlD2rIcB/10fbk2xAtJFX9EtM7jR1fWLCNJX3arlIbSfPYjq94sBQZe/+NzIMlyUEZ 7Zf0pWw0c4dLGL9B9yaYgPl8/iAdg1ESOMo0lFjvitMF0/roLSNqnwF2EFawfWyJkedl CdBj2g4S7nlNxyMIgfaMNRspOR98AZNK54NH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fkx3gqjXYg32WPmVvitSs8y3m1+V42C+tcF21WKzDWgxx3Tu2XtN4YFNpG6pKorPrv v/1Yn6x8xA//7Nk7RSyw9xKxUGFU46VKuVCIsIzdzxau9nV1Bn1hOe3VifE6U8ZQXWZx dl6DsBsuBHmjOAPYKIg7Zp3+4ge4p8ubJkS0k= MIME-Version: 1.0 Received: by 10.229.107.29 with SMTP id z29mr2824321qco.42.1264690416919; Thu, 28 Jan 2010 06:53:36 -0800 (PST) In-Reply-To: <4B6022B2.8030900@yandex.ru> References: <201001101437.37269.hselasky@c2i.net> <4B602067.4030702@yandex.ru> <4B6022B2.8030900@yandex.ru> Date: Thu, 28 Jan 2010 22:53:36 +0800 Message-ID: <53a1e0711001280653x26ee715dm355c799e4d0ba162@mail.gmail.com> From: Henry Hu To: "Andrey V. Elsukov" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-multimedia@freebsd.org Subject: Re: [RFC/RFT][patch] multimedia/mplayer with TV-V4L support 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, 28 Jan 2010 14:53:38 -0000 Hello, 2010/1/27 Andrey V. Elsukov : > On 27.01.2010 14:15, Andrey V. Elsukov wrote: >> >> Thank you for your work. Now i can use my webcam almost out of the box :) >> Webcam on ASUS EEEPC works with `pwcview -s vga` and i made patch for >> multimedia/mplayer, so now i can use mplayer with my webcam :) It works well here. Since I'm using mplayer SVN version, I changed something by my self. It seems like that _ld_extra is not used anymore. We may add extra libs with --extra-libs. I added these libs by hacking Makefile. The changes to v4l and v4l2 input modules are the same. I just configure mplayer with --enable-tv-v4l1 --enable-tv-v4l2 --enable-vdpau --disable-v4l2. The old problem still remains: it seems like that my webcam supports 160x120, however if I use this size, pwcview shows a green screen and stalls, and mplayer just stalls. After killing them, I must restart webcamd to be able to use pwcview or mplayer again with webcam. However, 640x480 and 1280x1024 works well. >> >> Can someone review these changes? Is it a correct way to use libv4l? > > Small fix for port's Makefile. > > -- > WBR, Andrey V. Elsukov > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" > > Cheers, Henry From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 28 18:42:02 2010 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 A3D761065670 for ; Thu, 28 Jan 2010 18:42:02 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward15.mail.yandex.net (forward15.mail.yandex.net [95.108.130.119]) by mx1.freebsd.org (Postfix) with ESMTP id 2DDA58FC14 for ; Thu, 28 Jan 2010 18:42:01 +0000 (UTC) Received: from webmail104.yandex.ru (webmail104.yandex.ru [95.108.130.7]) by forward15.mail.yandex.net (Yandex) with ESMTP id C22ABC0350; Thu, 28 Jan 2010 21:41:59 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1264704119; bh=eeadhO2mFxcMNUrhsezZiKYZcX4e8M29fxAn3jZauq0=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Type; b=fwrorbBE0ZS/UKklO21hZl6g3yK6KegTfHnvfM589RYP6KKDPxHPBM1f0+956uoc9 jTQiA59Jf9pBs7oPBbuukrkJMf5FPzoApocHIkhy18or94wlBchiI4Q2GgOHX4/CXc DRVlASVuv12kGUTBeMJYILD6K/YCHp+vH/arJWDs= Received: from localhost (localhost.localdomain [127.0.0.1]) by webmail104.yandex.ru (Yandex) with ESMTP id AD95136E83CB; Thu, 28 Jan 2010 21:41:59 +0300 (MSK) X-Yandex-Spam: 1 X-Yandex-Front: webmail104 X-Yandex-TimeMark: 1264704119 Received: from vpn.heavennet.ru (vpn.heavennet.ru [77.72.136.194]) by mail.yandex.ru with HTTP; Thu, 28 Jan 2010 21:41:58 +0300 From: Andrey V. Elsukov To: Thomas Zander In-Reply-To: <786602c61001271322n2020ebcraa9023768788b629@mail.gmail.com> References: <201001101437.37269.hselasky@c2i.net> <4B602067.4030702@yandex.ru> <4B6022B2.8030900@yandex.ru> <786602c61001271322n2020ebcraa9023768788b629@mail.gmail.com> MIME-Version: 1.0 Message-Id: <24531264704118@webmail104.yandex.ru> Date: Thu, 28 Jan 2010 21:41:58 +0300 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Type: multipart/mixed; boundary="----==--bound.2454.webmail104.yandex.ru" Cc: freebsd-multimedia@freebsd.org Subject: Re: Re: [RFC/RFT][patch] multimedia/mplayer with TV-V4L support 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, 28 Jan 2010 18:42:02 -0000 ------==--bound.2454.webmail104.yandex.ru Content-Transfer-Encoding: 7bit Content-Type: text/plain 28.01.10, 17:57, "Thomas Zander" : > We are actually in the process of getting a very recent mplayer > snapshot into the ports tree. You might want to have a look at my > posting to ports@ on 17 January. You can find the new port for testing > at this location: > http://www.rrr.de/~riggs/mplayer/m20100117.tar.bz2 > > I'd appreciate if you sent me a patch that gets your v4l working > against the files in this tarball. I'll make sure it'll be part of the > next big mplayer update to hit the ports tree soonish. I updated patch. It works for me. -- WBR, Andrey V. Elsukov ------==--bound.2454.webmail104.yandex.ru Content-Disposition: attachment; filename="mplayer.diff" Content-Transfer-Encoding: base64 Content-Type: application/octet-stream; name="mplayer.diff" ZGlmZiAtYnVyTnAgbXBsYXllci5vcmlnL01ha2VmaWxlIG1wbGF5ZXIvTWFrZWZpbGUKLS0tIG1w bGF5ZXIub3JpZy9NYWtlZmlsZQkyMDEwLTAxLTE3IDE4OjE4OjM4LjAwMDAwMDAwMCArMDMwMAor KysgbXBsYXllci9NYWtlZmlsZQkyMDEwLTAxLTI4IDE4OjM4OjU2LjYxNDk1MTQ4NCArMDMwMApA QCAtNjAsNiArNjAsNyBAQCBPUFRJT05TKz0JTElCQ0RJTyAiRW5hYmxlIGxpYmNkaW8gc3VwcG9y CiBPUFRJT05TKz0JQ0RQQVJBTk9JQSAiRW5hYmxlIGNkcGFyYW5vaWEgc3VwcG9ydCIgb2ZmCiBP UFRJT05TKz0JTElCTFpPICJFbmFibGUgZXh0ZXJuYWwgbGlibHpvIGxpYnJhcnkiIG9mZgogT1BU SU9OUys9CUpPWVNUSUNLICJFbmFibGUgam95c3RpY2sgc3VwcG9ydCIgb2ZmCitPUFRJT05TKz0J VjRMICJFbmFibGUgVmlkZW80TGludXggVFYgc3VwcG9ydCIgb2ZmCiAKIE1BTjE9CQltcGxheWVy LjEKIE1BTkNPTVBSRVNTRUQ9CW5vCmRpZmYgLWJ1ck5wIG1wbGF5ZXIub3JpZy9NYWtlZmlsZS5v cHRpb25zIG1wbGF5ZXIvTWFrZWZpbGUub3B0aW9ucwotLS0gbXBsYXllci5vcmlnL01ha2VmaWxl Lm9wdGlvbnMJMjAxMC0wMS0xNyAwNDozNjo1OC4wMDAwMDAwMDAgKzAzMDAKKysrIG1wbGF5ZXIv TWFrZWZpbGUub3B0aW9ucwkyMDEwLTAxLTI4IDIwOjA3OjA2LjQ4MTQyNDczNiArMDMwMApAQCAt MjE3LDMgKzIxNywxOCBAQCBMSUJfREVQRU5EUys9CQlvcGVuY29yZS1hbXJ3Yi4wOiR7UE9SVFNE CiBDT05GSUdVUkVfQVJHUys9CS0tZGlzYWJsZS1saWJvcGVuY29yZV9hbXJuYiBcCiAJCQktLWRp c2FibGUtbGlib3BlbmNvcmVfYW1yd2IKIC5lbmRpZgorCisuaWYgZGVmaW5lZChXSVRIX1Y0TCkK K0xJQl9ERVBFTkRTKz0JCXY0bDIuMDoke1BPUlRTRElSfS9tdWx0aW1lZGlhL2xpYnY0bAorQ09O RklHVVJFX0FSR1MrPQktLWVuYWJsZS10di12NGwxIFwKKwkJCS0tZW5hYmxlLXR2LXY0bDIKK0VY VFJBX0xJQlMrPQkJLWx2NGwxIC1sdjRsMgorLmVsc2UKK0NPTkZJR1VSRV9BUkdTKz0JLS1kaXNh YmxlLXR2LXY0bDEgXAorCQkJLS1kaXNhYmxlLXR2LXY0bDIKKy5lbmRpZgorCisuaWYgZGVmaW5l ZChFWFRSQV9MSUJTKQorQ09ORklHVVJFX0FSR1MrPQktLWV4dHJhLWxpYnM9IiR7RVhUUkFfTElC U30iCisuZW5kaWYKKwpkaWZmIC1idXJOcCBtcGxheWVyLm9yaWcvTWFrZWZpbGUuc2hhcmVkIG1w bGF5ZXIvTWFrZWZpbGUuc2hhcmVkCi0tLSBtcGxheWVyLm9yaWcvTWFrZWZpbGUuc2hhcmVkCTIw MTAtMDEtMTcgMTU6MjQ6NDUuMDAwMDAwMDAwICswMzAwCisrKyBtcGxheWVyL01ha2VmaWxlLnNo YXJlZAkyMDEwLTAxLTI4IDE4OjU4OjUyLjEyMjQzODMyOSArMDMwMApAQCAtMjIsOSArMjIsNyBA QCBHTlVfQ09ORklHVVJFPQl5ZXMKIENPTkZJR1VSRV9FTlY9CVBUSFJFQURfQ0ZMQUdTPSIke1BU SFJFQURfQ0ZMQUdTfSIgXAogCQlQVEhSRUFEX0xJQlM9IiR7UFRIUkVBRF9MSUJTfSIgXAogCQlU TVBESVI9IiR7V1JLU1JDfSIKLUNPTkZJR1VSRV9BUkdTPSAtLWRpc2FibGUtdHYtdjRsMSBcCi0J CS0tZGlzYWJsZS10di12NGwyIFwKLQkJLS1kaXNhYmxlLWJpdG1hcC1mb250CitDT05GSUdVUkVf QVJHUz0gLS1kaXNhYmxlLWJpdG1hcC1mb250CiAKIENPTkZJR1VSRV9MT0c9CWNvbmZpZ3VyZS5s b2cKIApkaWZmIC1idXJOcCBtcGxheWVyLm9yaWcvZmlsZXMvcGF0Y2gtc3RyZWFtLXR2aV92NGx4 IG1wbGF5ZXIvZmlsZXMvcGF0Y2gtc3RyZWFtLXR2aV92NGx4Ci0tLSBtcGxheWVyLm9yaWcvZmls ZXMvcGF0Y2gtc3RyZWFtLXR2aV92NGx4CTE5NzAtMDEtMDEgMDM6MDA6MDAuMDAwMDAwMDAwICsw MzAwCisrKyBtcGxheWVyL2ZpbGVzL3BhdGNoLXN0cmVhbS10dmlfdjRseAkyMDEwLTAxLTI4IDE5 OjA1OjUxLjAwMDAwMDAwMCArMDMwMApAQCAtMCwwICsxLDQyIEBACistLS0gc3RyZWFtL3R2aV92 NGwuYwkyMDA3LTEwLTA3IDIzOjQ5OjI2LjAwMDAwMDAwMCArMDQwMAorKysrIHN0cmVhbS90dmlf djRsLmMJMjAxMC0wMS0yNyAxMzo0MjoxNy43ODE3NDYwNjMgKzAzMDAKK0BAIC00OCw2ICs0OCwx NCBAQAorIAorICNpbmNsdWRlICJhdWRpb19pbi5oIgorIAorKyNpbmNsdWRlIDxsaWJ2NGwxLmg+ CisrI2RlZmluZSBvcGVuCXY0bDFfb3BlbgorKyNkZWZpbmUgY2xvc2UJdjRsMV9jbG9zZQorKyNk ZWZpbmUgZHVwCXY0bDFfZHVwCisrI2RlZmluZSBpb2N0bAl2NGwxX2lvY3RsCisrI2RlZmluZSBt bWFwCXY0bDFfbW1hcAorKyNkZWZpbmUgbXVubWFwCXY0bDFfbXVubWFwCisrCisgc3RhdGljIHR2 aV9oYW5kbGVfdCAqdHZpX2luaXRfdjRsKHR2X3BhcmFtX3QqIHR2X3BhcmFtKTsKKyAKKyB0dmlf aW5mb190IHR2aV9pbmZvX3Y0bCA9IHsKKy0tLSBzdHJlYW0vdHZpX3Y0bDIuYwkyMDA3LTEwLTA3 IDIzOjQ5OjI2LjAwMDAwMDAwMCArMDQwMAorKysrIHN0cmVhbS90dmlfdjRsMi5jCTIwMTAtMDEt MjcgMTM6MjU6NDcuMDAwMDAwMDAwICswMzAwCitAQCAtMzgsNyArMzgsNiBAQCBrbm93biBpc3N1 ZXM6CisgI2lmZGVmIEhBVkVfU1lTX1NZU0lORk9fSAorICNpbmNsdWRlIDxzeXMvc3lzaW5mby5o PgorICNlbmRpZgorLSNpbmNsdWRlIDxsaW51eC90eXBlcy5oPgorICNpbmNsdWRlIDxsaW51eC92 aWRlb2RldjIuaD4KKyAjaW5jbHVkZSAibXBfbXNnLmgiCisgI2luY2x1ZGUgImxpYm1wY29kZWNz L2ltZ19mb3JtYXQuaCIKK0BAIC00Niw2ICs0NiwxNCBAQCBrbm93biBpc3N1ZXM6CisgI2luY2x1 ZGUgInR2LmgiCisgI2luY2x1ZGUgImF1ZGlvX2luLmgiCisgCisrI2luY2x1ZGUgPGxpYnY0bDIu aD4KKysjZGVmaW5lIG9wZW4JdjRsMl9vcGVuCisrI2RlZmluZSBjbG9zZQl2NGwyX2Nsb3NlCisr I2RlZmluZSBkdXAJdjRsMl9kdXAKKysjZGVmaW5lIGlvY3RsCXY0bDJfaW9jdGwKKysjZGVmaW5l IG1tYXAJdjRsMl9tbWFwCisrI2RlZmluZSBtdW5tYXAJdjRsMl9tdW5tYXAKKysKKyAjZGVmaW5l IGluZm8gdHZpX2luZm9fdjRsMgorIHN0YXRpYyB0dmlfaGFuZGxlX3QgKnR2aV9pbml0X3Y0bDIo dHZfcGFyYW1fdCogdHZfcGFyYW0pOworIC8qIGluZm9ybWF0aW9uIGFib3V0IHRoaXMgZmlsZSAq LwpkaWZmIC1idXJOcCBtZW5jb2Rlci5vcmlnL01ha2VmaWxlIG1lbmNvZGVyL01ha2VmaWxlCi0t LSBtZW5jb2Rlci5vcmlnL01ha2VmaWxlCTIwMTAtMDEtMTcgMDQ6Mzc6MTUuMDAwMDAwMDAwICsw MzAwCisrKyBtZW5jb2Rlci9NYWtlZmlsZQkyMDEwLTAxLTI4IDE5OjQ2OjA1LjIyMzQwMjU1OCAr MDMwMApAQCAtNDMsNiArNDMsNyBAQCBPUFRJT05TKz0JRlJJQklESSAiRW5hYmxlIEZyaUJpRGkg c3VwcG9yCiBPUFRJT05TKz0JTElCQ0RJTyAiRW5hYmxlIGxpYmNkaW8gc3VwcG9ydCIgb2ZmCiBP UFRJT05TKz0JQ0RQQVJBTk9JQSAiRW5hYmxlIGNkcGFyYW5vaWEgc3VwcG9ydCIgb2ZmCiBPUFRJ T05TKz0JTElCTFpPICJFbmFibGUgZXh0ZXJuYWwgbGlibHpvIGxpYnJhcnkiIG9mZgorT1BUSU9O Uys9CVY0TCAiRW5hYmxlIFZpZGVvNExpbnV4IFRWIHN1cHBvcnQiIG9mZgogCiBNTElOS1M9CQlt cGxheWVyLjEgbWVuY29kZXIuMQogCg== ------==--bound.2454.webmail104.yandex.ru-- From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 30 20:29:48 2010 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 D912D1065670; Sat, 30 Jan 2010 20:29:48 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id A08A38FC20; Sat, 30 Jan 2010 20:29:48 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id CD6C21CEDF; Sat, 30 Jan 2010 21:29:47 +0100 (CET) Date: Sat, 30 Jan 2010 21:29:47 +0100 From: Ed Schouten To: Vinicius Abrahao Message-ID: <20100130202947.GH77705@hoeg.nl> References: <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Hv6+fPJLRRhGCb8a" Content-Disposition: inline In-Reply-To: <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: daimler3@gmail.com, freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, amdmi3@freebsd.org, freebsd-usb@freebsd.org, x11@freebsd.org Subject: Re: PS3's Joystick on FreeBSD (can be possible?) 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, 30 Jan 2010 20:29:49 -0000 --Hv6+fPJLRRhGCb8a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Vinicius Abrahao wrote: > I'm finally having some time to have fun with my FreeBSD. :-) > Do you know about any progress with joystick supports? >=20 > Here I have a PS3 controller, and have some time to help with tests > and little coding. > ugen1.5: at usbus1 > uhid0: addr 5> on usbus1 >=20 > Is somebody working with it? So those are the wireless controllers, but connected using the USB cable that you normally use to charge it? --=20 Ed Schouten WWW: http://80386.nl/ --Hv6+fPJLRRhGCb8a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAktklrsACgkQ52SDGA2eCwWxLACeNWyoquV6JwamDmy6rPLVVIh7 LTsAn2fxzsR5J06UwPZT8ps4KHO4CKap =95so -----END PGP SIGNATURE----- --Hv6+fPJLRRhGCb8a-- From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 30 20:37:32 2010 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 31AF4106566B; Sat, 30 Jan 2010 20:37:32 +0000 (UTC) (envelope-from vinnix.bsd@gmail.com) Received: from mail-px0-f183.google.com (mail-px0-f183.google.com [209.85.216.183]) by mx1.freebsd.org (Postfix) with ESMTP id 009568FC13; Sat, 30 Jan 2010 20:37:31 +0000 (UTC) Received: by pxi13 with SMTP id 13so1318135pxi.3 for ; Sat, 30 Jan 2010 12:37:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=BGLlYw+4gHko7QKxl1VZQyX6GAWlXJjQZdNRcFD9gGQ=; b=uDx39ifGLSomPtt2aUYt1TfAz8LUPJzbY5wgEttpLhFsO3J3GVXjA2+6WY3CKpK6+P VwFa4jRZnbsmqjND/Fw5X4JlOfS35taxFRCQN7Lg4JtnWWsLMEL7kEsUDJFPICEFMbro yH1itt7dNGNUw7xSDLaMnkvvZKpfDiIL7gIo0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=XdX416K63A0+Avw1iyRxQOK+dAiBjkR7rYnlYoq5Z2cm8Lv9/qcwyPoDZqqGCrEDUg jXDByf+fo9xJukWGaBGWdxxwAEDDNuH2Q/PNkVZ46/iQ8l0NWB7lY7h41mnlbF/eIcCZ 3mSv+UaDfKn06W8lJPD/Z/VS7vU6adb78xIH0= MIME-Version: 1.0 Received: by 10.141.90.5 with SMTP id s5mr1725338rvl.81.1264882350879; Sat, 30 Jan 2010 12:12:30 -0800 (PST) Date: Sat, 30 Jan 2010 18:12:30 -0200 Message-ID: <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com> From: Vinicius Abrahao To: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: amdmi3@freebsd.org, daimler3@gmail.com Subject: PS3's Joystick on FreeBSD (can be possible?) 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, 30 Jan 2010 20:37:32 -0000 Greetings Guys, I'm finally having some time to have fun with my FreeBSD. :-) Do you know about any progress with joystick supports? Here I have a PS3 controller, and have some time to help with tests and little coding. ugen1.5: at usbus1 uhid0: on usbus1 Is somebody working with it? http://wiki.freebsd.org/DmitryMarakasov .................................................. (Dmitry, do you need any help?) http://lists.freebsd.org/pipermail/freebsd-usb/2009-May/006812.html ..... ( Deniz, have you experiment any change with 8.0 ?) http://www.freshports.org/devel/linux-js/ ................................................... (I'll learn more about this driver) http://www.freshports.org/x11-drivers/xf86-input-joystick/ ........................ ( can this driver work with uhid devices? ) http://wiki.freebsd.org/uhidd ...................................................................... (I'll studying more about uhidd!) Best regards, Sorry for this mega-cross-post, but I think we all have interests with this working. []s Vinnix From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 30 21:53:56 2010 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 D429A106568B; Sat, 30 Jan 2010 21:53:56 +0000 (UTC) (envelope-from vinnix.bsd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 17FDF8FC0A; Sat, 30 Jan 2010 21:53:55 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 8so634694qwh.7 for ; Sat, 30 Jan 2010 13:53:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=2PFblp8v4HXLX1/kdqA5Lfd1AvAzV+5+2lbU0ndUlDw=; b=rqYdgrzp3KZRIc17LRp6b8BLOV/etJnJF9HdEiYl8Zyxu8wwkGcHNX63hcLJNfHS3y wh+29YLqGf+eYk8iONq7aShxWwOwfjHwOt8bxZyqUfNj2drMx6ruyPZpN38LveCBVnI4 YLirzxINoHy02dzNIG/wi/B2GWnheT0+0puxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DksbWuPu8ikM3lHugGxQ2RiDQ/8zs3JS1eigo9euMGKTT1186nIj07oxob2ZvD9+jn VCM2GSm9+QmflvMkFpIdMWpAHOytkJHQOZEqu40PNunc6clbQmvXV1wnvkyqpD+hOGMq vZ1kC9Ds7WhYAri2fibkoSlMwmD6ww6pOVSyg= MIME-Version: 1.0 Received: by 10.224.123.72 with SMTP id o8mr1085914qar.373.1264888435269; Sat, 30 Jan 2010 13:53:55 -0800 (PST) In-Reply-To: <20100130202947.GH77705@hoeg.nl> References: <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com> <20100130202947.GH77705@hoeg.nl> Date: Sat, 30 Jan 2010 19:53:55 -0200 Message-ID: <1e31c7981001301353w7e4a55d9s28117613b6433c45@mail.gmail.com> From: Vinicius Abrahao To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Cc: daimler3@gmail.com, freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, amdmi3@freebsd.org, freebsd-usb@freebsd.org, x11@freebsd.org Subject: Re: PS3's Joystick on FreeBSD (can be possible?) 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, 30 Jan 2010 21:53:57 -0000 > So those are the wireless controllers, but connected using the USB cable > that you normally use to charge it? > Yes, I forgot mention this. This joystick connects with PS3 by bluetooth. It has the "SIXAXIS" too that permit nice things like this: http://www.pabr.org/sixlinux/sixlinux.en.html Imagine one BSD-Mini-Chopper? ;-) From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 30 23:41:42 2010 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 18D021065670; Sat, 30 Jan 2010 23:41:42 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.104.116]) by mx1.freebsd.org (Postfix) with ESMTP id C56468FC08; Sat, 30 Jan 2010 23:41:41 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NbLyv-000335-Bz; Sun, 31 Jan 2010 01:39:57 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 5724EB84D; Sun, 31 Jan 2010 01:40:13 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id D0CEDB829; Sun, 31 Jan 2010 01:40:12 +0300 (MSK) Date: Sun, 31 Jan 2010 01:40:12 +0300 From: Dmitry Marakasov To: Vinicius Abrahao Message-ID: <20100130224012.GE7854@hades.panopticon> References: <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, x11@freebsd.org, daimler3@gmail.com, freebsd-usb@freebsd.org Subject: Re: PS3's Joystick on FreeBSD (can be possible?) 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, 30 Jan 2010 23:41:42 -0000 * Vinicius Abrahao (vinnix.bsd@gmail.com) wrote: > I'm finally having some time to have fun with my FreeBSD. :-) > Do you know about any progress with joystick supports? > > Here I have a PS3 controller, and have some time to help with tests > and little coding. > ugen1.5: at usbus1 > uhid0: addr 5> on usbus1 > > Is somebody working with it? > > http://wiki.freebsd.org/DmitryMarakasov > .................................................. (Dmitry, do you > need any help?) No, I just need more free time to finally get to it. Actually, if it's attached as uhid, it may already work in e.g. SDL games. If it doesn't, it - Uses some non-standart report (i.e. reporting buttons/axes as 'vendor-specific' values, which software doesn't know how to deal with). In this case the report should be analyzed and a simple wrapper driver may be written) - Is the same case as with my M$ joystick, which uses standart, but a just a bit unusual report, which e.g. SDL is unable to parse. This should be fixed by my long-planned rewrite of HID parser for SDL, which will also be useable in OIS and possibly other libs. Let's start with usbhidctl -f /dev/uhid0 -r -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru