From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 1 16:44:14 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95168106566C for ; Sun, 1 Jan 2012 16:44:14 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 29FF88FC08 for ; Sun, 1 Jan 2012 16:44:13 +0000 (UTC) Received: from [93.104.73.158] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RhOW4-0004al-G6 for freebsd-multimedia@freebsd.org; Sun, 01 Jan 2012 17:44:12 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q01GiAil002413 for ; Sun, 1 Jan 2012 17:44:10 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q01Gi96x002412 for freebsd-multimedia@freebsd.org; Sun, 1 Jan 2012 17:44:09 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 1 Jan 2012 17:44:08 +0100 From: Matthias Apitz To: freebsd-multimedia@freebsd.org Message-ID: <20120101164408.GA2389@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.73.158 Subject: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2012 16:44:14 -0000 Hello, Until now I have used the kmod pwc.ko and an external Philips webcam in my FreeBSD 9-CURRENT laptop with Skype, works fine; to get the built-in cam working I switched to webcamd/cuse4bsd with the following problem now; here are the details: # uname -a FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 10:56:32 CEST 2010 guru@current.Sisis.de:/usr/home/guru/myThings/FreeBSD/9-CURRENT/obj/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/sys/GENERIC i386 # pkg_info | fgrep cuse cuse4bsd-kmod-0.1.23 Cuse4BSD character device loopback driver for userspace # pkg_info | fgrep webcam pwcview-1.4.1_3 The Video4Linux PWC webcam viewer webcamd-3.1.0.4 A port of Linux USB webcam and DVB drivers into userspace the two cams are: ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.2: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON and webcamd(8) creates two devices: # ls -l /dev/video* crw-rw-rw- 1 webcamd webcamd 0, 96 1 ene 16:52 /dev/video0 crw-rw-rw- 1 webcamd webcamd 0, 116 1 ene 17:08 /dev/video8 /dev/video0 ist the built-in, /dev/video8 the external USB (0x0329:0x0471 which is a Philips SPC 900); pwcview(1) works with both cams unsing the -d flag; as well Kopete let me choose between both cams and both are working; skype-2.0.0.72,1 does not work with /dev/video0 (and does not show the existance of a 2nd device); what can I do with this Skype? must I go back to the kmod pwc.ko? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 1 17:48:37 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CEC2106566B for ; Sun, 1 Jan 2012 17:48:37 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 0BAD98FC14 for ; Sun, 1 Jan 2012 17:48:36 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 223556165; Sun, 01 Jan 2012 18:48:34 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org, Matthias Apitz Date: Sun, 1 Jan 2012 18:46:07 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> In-Reply-To: <20120101164408.GA2389@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201201011846.07257.hselasky@c2i.net> Cc: Subject: Re: webcamd/cuse4bsd && Skype 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, 01 Jan 2012 17:48:37 -0000 On Sunday 01 January 2012 17:44:08 Matthias Apitz wrote: > Hello, > > Until now I have used the kmod pwc.ko and an external Philips webcam in > my FreeBSD 9-CURRENT laptop with Skype, works fine; > > to get the built-in cam working I switched to webcamd/cuse4bsd with the > following problem now; here are the details: > > # uname -a > FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 > 10:56:32 CEST 2010 > guru@current.Sisis.de:/usr/home/guru/myThings/FreeBSD/9-CURRENT/obj/usr/ho > me/guru/myThings/FreeBSD/9-CURRENT/src/sys/GENERIC i386 > > # pkg_info | fgrep cuse > cuse4bsd-kmod-0.1.23 Cuse4BSD character device loopback driver for > userspace > > # pkg_info | fgrep webcam > pwcview-1.4.1_3 The Video4Linux PWC webcam viewer > webcamd-3.1.0.4 A port of Linux USB webcam and DVB drivers into > userspace > > the two cams are: > > ugen4.2: at usbus4, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON ugen1.2: at > usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > > and webcamd(8) creates two devices: > > # ls -l /dev/video* > crw-rw-rw- 1 webcamd webcamd 0, 96 1 ene 16:52 /dev/video0 > crw-rw-rw- 1 webcamd webcamd 0, 116 1 ene 17:08 /dev/video8 > > /dev/video0 ist the built-in, /dev/video8 the external USB (0x0329:0x0471 > which is a Philips SPC 900); pwcview(1) works with both cams unsing the -d > flag; as well Kopete let me choose between both cams and both are > working; > > skype-2.0.0.72,1 does not work with /dev/video0 (and does not > show the existance of a 2nd device); what can I do with this Skype? > must I go back to the kmod pwc.ko? > > Thanks > > matthias Hi, You can override the videoN number by giving the -v option to webcamd. (Video Unit). See man webcamd. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 1 19:06:09 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3284C106564A for ; Sun, 1 Jan 2012 19:06:09 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id E002B8FC17 for ; Sun, 1 Jan 2012 19:06:08 +0000 (UTC) Received: from [89.204.130.5] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RhQjO-0007Ym-MD; Sun, 01 Jan 2012 20:06:07 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q01J6KcF001129; Sun, 1 Jan 2012 20:06:20 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q01J6Im7001128; Sun, 1 Jan 2012 20:06:18 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 1 Jan 2012 20:06:18 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120101190617.GA1076@tiny> References: <20120101164408.GA2389@tinyCurrent> <201201011846.07257.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201011846.07257.hselasky@c2i.net> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 89.204.130.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2012 19:06:09 -0000 El día Sunday, January 01, 2012 a las 06:46:07PM +0100, Hans Petter Selasky escribió: > On Sunday 01 January 2012 17:44:08 Matthias Apitz wrote: > > ... > > # ls -l /dev/video* > > crw-rw-rw- 1 webcamd webcamd 0, 96 1 ene 16:52 /dev/video0 > > crw-rw-rw- 1 webcamd webcamd 0, 116 1 ene 17:08 /dev/video8 > > > > /dev/video0 ist the built-in, /dev/video8 the external USB (0x0329:0x0471 > > which is a Philips SPC 900); pwcview(1) works with both cams unsing the -d > > flag; as well Kopete let me choose between both cams and both are > > working; > > > > skype-2.0.0.72,1 does not work with /dev/video0 (and does not > > show the existance of a 2nd device); what can I do with this Skype? > > must I go back to the kmod pwc.ko? > > > > Hi, > > You can override the videoN number by giving the -v option to webcamd. (Video > Unit). See man webcamd. Hi Hans, Sure (and I will test this when I'm home again); but my goal was to use the built-in /dev/video0 with Skype, why this does not work while it works with pwcview(1) and Kopete? matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 1 19:26:33 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC3B3106564A for ; Sun, 1 Jan 2012 19:26:33 +0000 (UTC) (envelope-from s-Xp-ioyk5icUgyV0muq-nXx8PFN6oD71HuH4VT187QBGNDh5qktSBkS@bounce.linkedin.com) Received: from mailb-ab.linkedin.com (mailb-ab.linkedin.com [69.28.147.147]) by mx1.freebsd.org (Postfix) with ESMTP id A40F38FC0C for ; Sun, 1 Jan 2012 19:26:33 +0000 (UTC) DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=prod; d=linkedin.com; h=DKIM-Signature:Sender:Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:X-LinkedIn-Template:X-LinkedIn-Class:X-LinkedIn-fbl; b=kApwYVNx2JvOKulPeRt33kDbvY4TSEJDFUvwZoYDP3SUR/k+iX2phiFnCERKoTUO DawyAA5rMzIkG1iQkVZgBw6VgLNpogu2+e3LY+uSWKBIoKbqz55VpE+y+Dm3MirQ DKIM-Signature: v=1; a=rsa-sha1; d=linkedin.com; s=proddkim; c=relaxed/relaxed; q=dns/txt; i=@linkedin.com; t=1325445091; h=From:Subject:Date:To:MIME-Version:Content-Type:X-LinkedIn-Class:X-LinkedIn-fbl: X-LinkedIn-Template; bh=ulfD48Iv8y4PdH5hale4+t5GoIM=; b=x23/+TA5aVtx91+pLHin/eNseXqrLm+Q2v435HRNqKI1uvoHjLSYTH7estAz0eDo 8uVCJpR0dj8kiW82ewr47JqcLuCebmBUgy/YpelGmoaXar0MfaXAX7IQ1Vy83puF; Sender: messages-noreply@bounce.linkedin.com Date: Sun, 1 Jan 2012 19:11:31 +0000 (UTC) From: Anil Kumar via LinkedIn To: =?UTF-8?Q?Micha=C5=82_Hendzel?= Message-ID: <301458000.33555179.1325445091792.JavaMail.app@ela4-bed77.prod> MIME-Version: 1.0 X-LinkedIn-Template: email_type_MEBC_MEBC X-LinkedIn-Class: MBR-TO-MBR X-LinkedIn-fbl: s-Xp-ioyk5icUgyV0muq-nXx8PFN6oD71HuH4VT187QBGNDh5qktSBkS Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Happy New Year 2012 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anil Kumar List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2012 19:26:33 -0000 LinkedIn ------------ Anil Kumar has sent you a message Date: 1/01/2012 Subject: Happy New Year 2012 Wishing you a very Happy and Prosperous New Year 2012. Warm regards, Anil Kumar View/reply to this message: http://www.linkedin.com/e/-mu8r6-gwwfsa8d-1h/umwsJlIwa4ysXbTY0ftX8MpkRIe_X0HC3-ZgHMGB76brby/mbi/I3305660211_2/?hs=false&tok=3NFopMOOL_4R41 Don't want to receive e-mail notifications? Adjust your message settings: http://www.linkedin.com/e/-mu8r6-gwwfsa8d-1h/umwsJlIwa4ysXbTY0ftX8MpkRIe_X0HC3-ZgHMGB76brby/blk/I3305660211_2/s6hJbOYWrSlI/mdp/?hs=false&tok=0BtVd3psD_4R41 From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 1 20:54:40 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FB58106566C for ; Sun, 1 Jan 2012 20:54:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0DFB98FC0A for ; Sun, 1 Jan 2012 20:54:39 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 225495924; Sun, 01 Jan 2012 21:54:37 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Sun, 1 Jan 2012 21:52:09 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <201201011846.07257.hselasky@c2i.net> <20120101190617.GA1076@tiny> In-Reply-To: <20120101190617.GA1076@tiny> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201201012152.09192.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype 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, 01 Jan 2012 20:54:40 -0000 On Sunday 01 January 2012 20:06:18 Matthias Apitz wrote: > El d=EDa Sunday, January 01, 2012 a las 06:46:07PM +0100, Hans Petter Sel= asky=20 escribi=F3: > > On Sunday 01 January 2012 17:44:08 Matthias Apitz wrote: > > > ... > > > # ls -l /dev/video* > > > crw-rw-rw- 1 webcamd webcamd 0, 96 1 ene 16:52 /dev/video0 > > > crw-rw-rw- 1 webcamd webcamd 0, 116 1 ene 17:08 /dev/video8 > > >=20 > > > /dev/video0 ist the built-in, /dev/video8 the external USB > > > (0x0329:0x0471 which is a Philips SPC 900); pwcview(1) works with > > > both cams unsing the -d flag; as well Kopete let me choose between > > > both cams and both are working; > > >=20 > > > skype-2.0.0.72,1 does not work with /dev/video0 (and does not > > > show the existance of a 2nd device); what can I do with this Skype? > > > must I go back to the kmod pwc.ko? > >=20 > > Hi, > >=20 > > You can override the videoN number by giving the -v option to webcamd. > > (Video Unit). See man webcamd. >=20 > Hi Hans, >=20 > Sure (and I will test this when I'm home again); but my goal was to use > the built-in /dev/video0 with Skype, why this does not work while it > works with pwcview(1) and Kopete? Are the permissions set correctly? =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 10:49:16 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 866AD106566B for ; Mon, 2 Jan 2012 10:49:16 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1BCF58FC0C for ; Mon, 2 Jan 2012 10:49:15 +0000 (UTC) Received: from [89.204.137.2] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RhfS5-0003gO-Q9; Mon, 02 Jan 2012 11:49:14 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q02AnAFK001485; Mon, 2 Jan 2012 11:49:11 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q02An9os001484; Mon, 2 Jan 2012 11:49:09 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 2 Jan 2012 11:49:09 +0100 From: Matthias Apitz To: freebsd-multimedia@freebsd.org Message-ID: <20120102104908.GA1474@tiny> References: <20120101164408.GA2389@tinyCurrent> <201201011846.07257.hselasky@c2i.net> <20120101190617.GA1076@tiny> <201201012152.09192.hselasky@c2i.net> <20120101211219.GA1350@tiny> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120101211219.GA1350@tiny> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 89.204.137.2 Cc: Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 10:49:16 -0000 El día Sunday, January 01, 2012 a las 10:12:19PM +0100, Matthias Apitz escribió: > El día Sunday, January 01, 2012 a las 09:52:09PM +0100, Hans Petter Selasky escribió: > > > On Sunday 01 January 2012 20:06:18 Matthias Apitz wrote: > > > El día Sunday, January 01, 2012 a las 06:46:07PM +0100, Hans Petter Selasky > > escribió: > > > > On Sunday 01 January 2012 17:44:08 Matthias Apitz wrote: > > > > > ... > > > > > # ls -l /dev/video* > > > > > crw-rw-rw- 1 webcamd webcamd 0, 96 1 ene 16:52 /dev/video0 > > > > > crw-rw-rw- 1 webcamd webcamd 0, 116 1 ene 17:08 /dev/video8 > > > > > > > > > > /dev/video0 ist the built-in, /dev/video8 the external USB > > > > > (0x0329:0x0471 which is a Philips SPC 900); pwcview(1) works with > > > > > both cams unsing the -d flag; as well Kopete let me choose between > > > > > both cams and both are working; > > > > > > > > > > skype-2.0.0.72,1 does not work with /dev/video0 (and does not > > > > > show the existance of a 2nd device); what can I do with this Skype? > > > > > must I go back to the kmod pwc.ko? > > > > ... > > > > Are the permissions set correctly? Yes, they are 0666 and as I said pwcview(1) works fine with the built-in cam, while in Skype it is not even presented as device name; I will compile webcamd(8) with WITH_DEBUG to see what is going on on access by Skype... the cam itself 0x0c45:0x62c0 is listed in uvc(4); matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 11:07:06 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4FDE1065672 for ; Mon, 2 Jan 2012 11:07:06 +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 C18788FC08 for ; Mon, 2 Jan 2012 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q02B76jY005178 for ; Mon, 2 Jan 2012 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q02B76wD005176 for freebsd-multimedia@FreeBSD.org; Mon, 2 Jan 2012 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Jan 2012 11:07:06 GMT Message-Id: <201201021107.q02B76wD005176@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, 02 Jan 2012 11:07:06 -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 kern/162181 multimedia [snd_emu10k1] [patch] The kernel sound driver module s o ports/161871 multimedia [patch] multimedia/mjpegtools plist incorrect with QUI o ports/161783 multimedia [PATCH] multimedia/gpac-libgpac: Fix build with gcc46 o ports/161568 multimedia [PATCH] audio/libsamplerate: samplerate.h has comma at o ports/161546 multimedia [PATCH] multimedia/mkvtoolnix: make some dependencies o kern/159236 multimedia [pcm] [patch] set PCM_CAP_DEFAULT for the default snd o ports/158987 multimedia multimedia/py-kaa-multimedia: fix build error for grap o kern/158979 multimedia [snd_uadio] snd_uaudio fails to initialize built-in mi o kern/158542 multimedia [snd_hda] hdac0: hdac_get_capabilities: Invalid corb s f kern/158424 multimedia [snd_hda] snd_hda driver doesn't expose 'rec' flag for o kern/156726 multimedia [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o kern/156198 multimedia [snd_hda] [hang] loading snd_hda kernel module hangs s o kern/156165 multimedia [hdac] Missing card definition for hdac audio device, o kern/153920 multimedia [sound] [patch] Replace the GPL'd sound/maestro3 heade o ports/153846 multimedia graphics/libcaca 0.99.beta17 - Hidden dependency on Xl o kern/152622 multimedia [pcm] uaudio recording problem o kern/152500 multimedia [hdac] play interrupt timeout, channel dead o kern/152378 multimedia [sound][patch] Update snd_envy24ht to be MPSAFE and us f ports/150502 multimedia multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on o kern/150284 multimedia [snd_hda] No gain with Audio o kern/149943 multimedia [pcm]: CS4236 audio problem o kern/148741 multimedia [sound] Headphones are deaf (do not work) on Lenovo Th o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt 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 o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup s kern/83697 multimedia [sound] [snd_mss] [patch] support, docs added for full o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o conf/75137 multimedia [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 78 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 15:41:23 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBA17106564A for ; Mon, 2 Jan 2012 15:41:23 +0000 (UTC) (envelope-from clemens@ladisch.de) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id A62F28FC14 for ; Mon, 2 Jan 2012 15:41:23 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 6EDD121076 for ; Mon, 2 Jan 2012 10:25:48 -0500 (EST) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 02 Jan 2012 10:25:48 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=W77PaQmwlroQRSztZ/baJF 9PGjQ=; b=KDiTaVzksN+GVg2/ECKopw+5aoFaUvEkFPis15nuyHFQH2gX54zUcY EFxp6y7nzdsS18sYaucj80cpm5ivH78TYOtErNUf+eh2F8dBNCvmYagv4LAD3W/T C/7vQ1nbm9hgDVBnBxRyZ+aHbzcIjW6IxbVa0HSRX+c1ndDf/Zqew= X-Sasl-enc: Kn+9CLSnMb4sNY07e0vNy8A1Jzo3PASScGT+R+uaIKgV 1325517947 Received: from [192.168.42.121] (unknown [46.115.1.25]) by mail.messagingengine.com (Postfix) with ESMTPSA id 2315E8E0128; Mon, 2 Jan 2012 10:25:46 -0500 (EST) Message-ID: <4F01CC65.2070408@ladisch.de> Date: Mon, 02 Jan 2012 16:25:25 +0100 From: Clemens Ladisch User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Hans Petter Selasky References: <1325263531.4997.4.camel@localhost> <201112301859.32280.hselasky@c2i.net> <1325271329.3649.6.camel@localhost> <201112302241.55813.hselasky@c2i.net> In-Reply-To: <201112302241.55813.hselasky@c2i.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: M-Audio Oxygen 49: snd_uaudio cycles (loads, detaches, loads.... ad infinitum) 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, 02 Jan 2012 15:41:23 -0000 Hans Petter Selasky wrote: > It looks like your device has a problem with the clear-stall of the BULK > endpoint used for MIDI. In other words it is not fully USB compliant. After devices whose descriptors were so broken that they couldn't ever run with newer Windows versions, after devices where (only!) the capture interface used big-endian samples, and after devices that corrupted their data buffer when receiving MIDI data with running status, I'm *extremely* surprised that there would be another M-Audio device with firmware bugs. > I'm not sure how we can avoid this. Plain MIDI does not have any error detection, so there is no error condition that could be reported with a stall. I've never seen a stalled MIDI endpoint, except for devices with broken hardware where the endpoint was stalled from the beginning and where a clear-stall wouldn't help. The Linux driver neither detects nor clears stalls, and works fine. It's obvious that clear-stall requests are not well tested in MIDI devices' firmwares, so I wouldn't be surprised if there were other devices that have the same bug, or even lock up. Is there a reason that umidi_probe/_open unconditionally issue clear- stalls, other than "just to be safe"? Regards, Clemens From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 18:04:46 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5B2B106564A for ; Mon, 2 Jan 2012 18:04:46 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8EE8FC16 for ; Mon, 2 Jan 2012 18:04:45 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 223861712; Mon, 02 Jan 2012 19:04:43 +0100 From: Hans Petter Selasky To: Clemens Ladisch Date: Mon, 2 Jan 2012 19:02:16 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <1325263531.4997.4.camel@localhost> <201112302241.55813.hselasky@c2i.net> <4F01CC65.2070408@ladisch.de> In-Reply-To: <4F01CC65.2070408@ladisch.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201201021902.16849.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: M-Audio Oxygen 49: snd_uaudio cycles (loads, detaches, loads.... ad infinitum) 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, 02 Jan 2012 18:04:46 -0000 On Monday 02 January 2012 16:25:25 Clemens Ladisch wrote: > Hans Petter Selasky wrote: > > It looks like your device has a problem with the clear-stall of the BULK > > endpoint used for MIDI. In other words it is not fully USB compliant. > > After devices whose descriptors were so broken that they couldn't ever > run with newer Windows versions, after devices where (only!) the capture > interface used big-endian samples, and after devices that corrupted > their data buffer when receiving MIDI data with running status, I'm > *extremely* surprised that there would be another M-Audio device with > firmware bugs. > > > I'm not sure how we can avoid this. > > Plain MIDI does not have any error detection, so there is no error > condition that could be reported with a stall. I've never seen > a stalled MIDI endpoint, except for devices with broken hardware where > the endpoint was stalled from the beginning and where a clear-stall > wouldn't help. > > The Linux driver neither detects nor clears stalls, and works fine. > > It's obvious that clear-stall requests are not well tested in MIDI > devices' firmwares, so I wouldn't be surprised if there were other > devices that have the same bug, or even lock up. > > Is there a reason that umidi_probe/_open unconditionally issue clear- > stalls, other than "just to be safe"? The reason is just to clear any buffered data from previous transfers. We could probably skip this. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 18:32:24 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FF0A106566B for ; Mon, 2 Jan 2012 18:32:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 07AC18FC0C for ; Mon, 2 Jan 2012 18:32:23 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 223866728; Mon, 02 Jan 2012 19:32:22 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Mon, 2 Jan 2012 19:29:56 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <1325263531.4997.4.camel@localhost> <4F01CC65.2070408@ladisch.de> <201201021902.16849.hselasky@c2i.net> In-Reply-To: <201201021902.16849.hselasky@c2i.net> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201201021929.56997.hselasky@c2i.net> Cc: Clemens Ladisch Subject: Re: M-Audio Oxygen 49: snd_uaudio cycles (loads, detaches, loads.... ad infinitum) 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, 02 Jan 2012 18:32:24 -0000 On Monday 02 January 2012 19:02:16 Hans Petter Selasky wrote: > On Monday 02 January 2012 16:25:25 Clemens Ladisch wrote: > > Hans Petter Selasky wrote: > > > It looks like your device has a problem with the clear-stall of the > > > BULK endpoint used for MIDI. In other words it is not fully USB > > > compliant. > > > > After devices whose descriptors were so broken that they couldn't ever > > run with newer Windows versions, after devices where (only!) the capture > > interface used big-endian samples, and after devices that corrupted > > their data buffer when receiving MIDI data with running status, I'm > > *extremely* surprised that there would be another M-Audio device with > > firmware bugs. > > > > > I'm not sure how we can avoid this. > > > > Plain MIDI does not have any error detection, so there is no error > > condition that could be reported with a stall. I've never seen > > a stalled MIDI endpoint, except for devices with broken hardware where > > the endpoint was stalled from the beginning and where a clear-stall > > wouldn't help. > > > > The Linux driver neither detects nor clears stalls, and works fine. > > > > It's obvious that clear-stall requests are not well tested in MIDI > > devices' firmwares, so I wouldn't be surprised if there were other > > devices that have the same bug, or even lock up. > > > > Is there a reason that umidi_probe/_open unconditionally issue clear- > > stalls, other than "just to be safe"? > > The reason is just to clear any buffered data from previous transfers. We > could probably skip this. Or make it optional via a sysctl. Though is clearly a violation of the USB specification, which mandates which requests are mandatory. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 19:32:49 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B60561065673 for ; Mon, 2 Jan 2012 19:32:49 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 6DA1A8FC15 for ; Mon, 2 Jan 2012 19:32:49 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id A2DC71E000A9; Mon, 2 Jan 2012 20:32:47 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q02JVEfR003121 for ; Mon, 2 Jan 2012 20:31:14 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q02JVESH003120 for freebsd-multimedia@FreeBSD.org; Mon, 2 Jan 2012 20:31:14 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Mon, 2 Jan 2012 20:31:14 +0100 To: freebsd-multimedia@FreeBSD.org Message-ID: <20120102193114.GA2918@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: If you want to test vdr 1.7.22 before the end of the ports slush 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, 02 Jan 2012 19:32:49 -0000 Hi! I have finally prepared an update of the vdr ports to 1.7.22 and am currently testing it here: http://people.freebsd.org/~nox/tmp/vdr-1.7.22-update.patch Everyone is welcome to help test while ports are still in slush! Enjoy, :) Juergen -------------------------------------------------------------------- To use the update apply the patch in /usr/ports, stop vdr, then run: portmaster vdr-plugins and if you use vdradmin-am stop that too and run: portmaster vdradmin-am If you want to know what has changed since vdr 1.7.19 see the vdr release announce postings, the one for 1.7.22 is here: http://article.gmane.org/gmane.linux.vdr/45287 The one for vdr 1.7.21: http://article.gmane.org/gmane.linux.vdr/45033 The one for vdr 1.7.20: http://article.gmane.org/gmane.linux.vdr/44878 The changes are also listed in: /usr/local/share/doc/vdr/HISTORY (after the update) Further notes: - svdrsend.pl is now called svdrsend. - The ttxtsubs channels.conf format has changed so if you use that plugin you need to edit /usr/local/etc/vdr/channels.conf for the channels you want to receive teletext subtitles on - see: /usr/local/share/doc/vdr-plugin-ttxtsubs/HISTORY [patch snipped.] From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 06:51:46 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FC6D106564A for ; Tue, 3 Jan 2012 06:51:46 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id C86D68FC08 for ; Tue, 3 Jan 2012 06:51:45 +0000 (UTC) Received: from [93.104.68.104] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RhyDn-0003ks-M0; Tue, 03 Jan 2012 07:51:43 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q036pfbG007402; Tue, 3 Jan 2012 07:51:42 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q036peRZ007401; Tue, 3 Jan 2012 07:51:40 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 3 Jan 2012 07:51:40 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120103065140.GA7385@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <201201011846.07257.hselasky@c2i.net> <20120101190617.GA1076@tiny> <201201012152.09192.hselasky@c2i.net> <20120101211219.GA1350@tiny> <20120102104908.GA1474@tiny> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120102104908.GA1474@tiny> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.68.104 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 06:51:46 -0000 El día Monday, January 02, 2012 a las 11:49:09AM +0100, Matthias Apitz escribió: > I will compile webcamd(8) with WITH_DEBUG to see what is going on on > access by Skype... > > the cam itself 0x0c45:0x62c0 is listed in uvc(4); > I have inserted some printf debug statements, see below: # setenv LD_PRELOAD /usr/local/lib/libhal.so:/usr/local/lib/libdbus-1.so:/usr/local/lib/libcuse4bsd.so # ./work/webcamd-3.1.0.4/webcamd : v3.2:USB Acecad Flair tablet driver : v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver (Linux 2.6.x) : Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen GTCO usb driver version: 2.00.0006: v0.0.2:USB KB Gear JamStudio Tablet driver : v1.52:USB Wacom tablet driver lirc_dev: IR Remote Control driver registered, major 14 IR NEC protocol handler initialized IR RC5(x) protocol handler initialized IR RC6 protocol handler initialized IR JVC protocol handler initialized IR Sony protocol handler initialized IR RC5 (streamzap) protocol handler initialized IR LIRC bridge handler initialized Linux video capture interface: v2.00 em28xx driver loaded Em28xx: Initialized (Em28xx dvb Extension) extension USBVision USB Video Device Driver for Linux : 0.9.11 USBVision USB Video Device Driver for Linux : 0.9.11 pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner pvrusb2: Debug mask is 31 (0x1f) cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 : Zoran 364xx au0828 driver loaded USB Video Class driver (1.1.1) : 0.4.7:D-Link DSB-R100 USB FM radio driver : 0.0.2: A driver for the TEA5764 radio chip for EZX Phones. b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully dib0700: loaded with support for 21 different device-types Attached ugen4.2[0] to cuse unit 0 uvcvideo: Found UVC 1.00 device (0c45:62c0) Creating /dev/video0 (now I started Skype in some other session) mydebug: v4b_open mydebug: linux_open: handle=28c08600 mydebug: v4b_ioctl: handle=28c08600 mydebug: linux_ioctl returns: error=ffffffea mydebug: v4b_convert_error: CUSE_ERR_INVALID mydebug: v4b_ioctl: handle=28c08600 mydebug: linux_ioctl returns: error=ffffffea mydebug: v4b_convert_error: CUSE_ERR_INVALID mydebug: v4b_close: handle=28c08600 The mydebug: lines names the function where we are (v4b_*) and the values which are important; why linux_ioctl() returns that broken value 0xffffffea? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 08:16:33 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18D3D106564A for ; Tue, 3 Jan 2012 08:16:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6FEFB8FC15 for ; Tue, 3 Jan 2012 08:16:32 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 57315077; Tue, 03 Jan 2012 09:16:16 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Tue, 3 Jan 2012 09:13:49 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <20120102104908.GA1474@tiny> <20120103065140.GA7385@tinyCurrent> In-Reply-To: <20120103065140.GA7385@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201201030913.49508.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype 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, 03 Jan 2012 08:16:33 -0000 On Tuesday 03 January 2012 07:51:40 Matthias Apitz wrote: > El d=C3=ADa Monday, January 02, 2012 a las 11:49:09AM +0100, Matthias Api= tz=20 escribi=C3=B3: > > I will compile webcamd(8) with WITH_DEBUG to see what is going on on > > access by Skype... > >=20 > > the cam itself 0x0c45:0x62c0 is listed in uvc(4); >=20 > I have inserted some printf debug statements, see below: >=20 > # setenv LD_PRELOAD > /usr/local/lib/libhal.so:/usr/local/lib/libdbus-1.so:/usr/local/lib/libcus > e4bsd.so # ./work/webcamd-3.1.0.4/webcamd >=20 > : v3.2:USB Acecad Flair tablet driver > : v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver (Linux 2.6.x) > : Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen >=20 > GTCO usb driver version: 2.00.0006: v0.0.2:USB KB Gear JamStudio Tablet > driver >=20 > : v1.52:USB Wacom tablet driver >=20 > lirc_dev: IR Remote Control driver registered, major 14 > IR NEC protocol handler initialized > IR RC5(x) protocol handler initialized > IR RC6 protocol handler initialized > IR JVC protocol handler initialized > IR Sony protocol handler initialized > IR RC5 (streamzap) protocol handler initialized > IR LIRC bridge handler initialized > Linux video capture interface: v2.00 > em28xx driver loaded > Em28xx: Initialized (Em28xx dvb Extension) extension > USBVision USB Video Device Driver for Linux : 0.9.11 > USBVision USB Video Device Driver for Linux : 0.9.11 > pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner > pvrusb2: Debug mask is 31 (0x1f) > cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 >=20 > : Zoran 364xx >=20 > au0828 driver loaded > USB Video Class driver (1.1.1) >=20 > : 0.4.7:D-Link DSB-R100 USB FM radio driver > : 0.0.2: A driver for the TEA5764 radio chip for EZX Phones. >=20 > b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded > successfully dib0700: loaded with support for 21 different device-types > Attached ugen4.2[0] to cuse unit 0 > uvcvideo: Found UVC 1.00 device (0c45:62c0) > Creating /dev/video0 >=20 > (now I started Skype in some other session) >=20 > mydebug: v4b_open > mydebug: linux_open: handle=3D28c08600 > mydebug: v4b_ioctl: handle=3D28c08600 > mydebug: linux_ioctl returns: error=3Dffffffea > mydebug: v4b_convert_error: CUSE_ERR_INVALID > mydebug: v4b_ioctl: handle=3D28c08600 > mydebug: linux_ioctl returns: error=3Dffffffea > mydebug: v4b_convert_error: CUSE_ERR_INVALID > mydebug: v4b_close: handle=3D28c08600 >=20 > The mydebug: lines names the function where we are (v4b_*) and > the values which are important; why linux_ioctl() returns that broken > value 0xffffffea? >=20 Because Linux ERROR codes are all negative! I have another suggestion. Maybe there is a sign error: printf("arg=3D0x%016llx\n", (long)arg); If that value is bigger than 32-bit, try to cast it to: (u32)(long)arg, when passing to IOCTL functions. =2D-HPS linux_ioctl(struct cdev_handle *handle, int fflags, unsigned int cmd, void *arg) { if (handle =3D=3D NULL) return (-EINVAL); linux_fix_f_flags(&handle->fixed_file, fflags); if (handle->fixed_file.f_op->unlocked_ioctl !=3D NULL) return (handle->fixed_file.f_op->unlocked_ioctl(&handle- >fixed_file, cmd, (long)arg)); else if (handle->fixed_file.f_op->ioctl !=3D NULL) return (handle->fixed_file.f_op->ioctl(&handle->fixed_inode, &handle->fixed_file, cmd, (long)arg)); else return (-EINVAL); } > matthias From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 08:26:36 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD0E8106566B for ; Tue, 3 Jan 2012 08:26:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 036848FC1C for ; Tue, 3 Jan 2012 08:26:35 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 224674679; Tue, 03 Jan 2012 09:26:33 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Tue, 3 Jan 2012 09:24:08 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <20120103065140.GA7385@tinyCurrent> <201201030913.49508.hselasky@c2i.net> In-Reply-To: <201201030913.49508.hselasky@c2i.net> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201201030924.08045.hselasky@c2i.net> Cc: Subject: Re: webcamd/cuse4bsd && Skype 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, 03 Jan 2012 08:26:36 -0000 On Tuesday 03 January 2012 09:13:49 Hans Petter Selasky wrote: > On Tuesday 03 January 2012 07:51:40 Matthias Apitz wrote: > > El d=C3=ADa Monday, January 02, 2012 a las 11:49:09AM +0100, Matthias A= pitz >=20 > escribi=C3=B3: > > > I will compile webcamd(8) with WITH_DEBUG to see what is going on on > > > access by Skype... > > >=20 > > > the cam itself 0x0c45:0x62c0 is listed in uvc(4); > >=20 > > I have inserted some printf debug statements, see below: > >=20 > > # setenv LD_PRELOAD > > /usr/local/lib/libhal.so:/usr/local/lib/libdbus-1.so:/usr/local/lib/lib= cu > > s e4bsd.so # ./work/webcamd-3.1.0.4/webcamd > >=20 > > : v3.2:USB Acecad Flair tablet driver > > : v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver (Linux 2.6.x) > > : Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen > >=20 > > GTCO usb driver version: 2.00.0006: v0.0.2:USB KB Gear JamStudio Tablet > > driver > >=20 > > : v1.52:USB Wacom tablet driver > >=20 > > lirc_dev: IR Remote Control driver registered, major 14 > > IR NEC protocol handler initialized > > IR RC5(x) protocol handler initialized > > IR RC6 protocol handler initialized > > IR JVC protocol handler initialized > > IR Sony protocol handler initialized > > IR RC5 (streamzap) protocol handler initialized > > IR LIRC bridge handler initialized > > Linux video capture interface: v2.00 > > em28xx driver loaded > > Em28xx: Initialized (Em28xx dvb Extension) extension > > USBVision USB Video Device Driver for Linux : 0.9.11 > > USBVision USB Video Device Driver for Linux : 0.9.11 > > pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tun= er > > pvrusb2: Debug mask is 31 (0x1f) > > cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 > >=20 > > : Zoran 364xx > >=20 > > au0828 driver loaded > > USB Video Class driver (1.1.1) > >=20 > > : 0.4.7:D-Link DSB-R100 USB FM radio driver > > : 0.0.2: A driver for the TEA5764 radio chip for EZX Phones. > >=20 > > b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded > > successfully dib0700: loaded with support for 21 different device-types > > Attached ugen4.2[0] to cuse unit 0 > > uvcvideo: Found UVC 1.00 device (0c45:62c0) > > Creating /dev/video0 > >=20 > > (now I started Skype in some other session) > >=20 > > mydebug: v4b_open > > mydebug: linux_open: handle=3D28c08600 > > mydebug: v4b_ioctl: handle=3D28c08600 > > mydebug: linux_ioctl returns: error=3Dffffffea > > mydebug: v4b_convert_error: CUSE_ERR_INVALID > > mydebug: v4b_ioctl: handle=3D28c08600 > > mydebug: linux_ioctl returns: error=3Dffffffea > > mydebug: v4b_convert_error: CUSE_ERR_INVALID > > mydebug: v4b_close: handle=3D28c08600 > >=20 > > The mydebug: lines names the function where we are (v4b_*) and > > the values which are important; why linux_ioctl() returns that broken > > value 0xffffffea? >=20 > Because Linux ERROR codes are all negative! >=20 > I have another suggestion. Maybe there is a sign error: >=20 > printf("arg=3D0x%016llx\n", (long)arg); >=20 > If that value is bigger than 32-bit, try to cast it to: >=20 Hi, > (u32)(long)arg, when passing to IOCTL functions. I meant printing the "cmd" value. "arg" value can be negative if a pointer = is=20 passed along. Try to figure out which ioctl is failing. Maybe run webcamd from gdb and ad= d=20 some code you can break-point on, then single step. =2D-HPS >=20 > --HPS >=20 >=20 > linux_ioctl(struct cdev_handle *handle, int fflags, > unsigned int cmd, void *arg) > { > if (handle =3D=3D NULL) > return (-EINVAL); >=20 > linux_fix_f_flags(&handle->fixed_file, fflags); >=20 > if (handle->fixed_file.f_op->unlocked_ioctl !=3D NULL) > return (handle->fixed_file.f_op->unlocked_ioctl(&handle- >=20 > >fixed_file, >=20 > cmd, (long)arg)); > else if (handle->fixed_file.f_op->ioctl !=3D NULL) > return > (handle->fixed_file.f_op->ioctl(&handle->fixed_inode, &handle->fixed_file, > cmd, (long)arg)); > else > return (-EINVAL); > } >=20 > > matthias From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 18:15:48 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DA9B106566B for ; Tue, 3 Jan 2012 18:15:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 4AEB18FC16 for ; Tue, 3 Jan 2012 18:15:48 +0000 (UTC) Received: from [93.104.70.38] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ri8tm-0005MV-BW; Tue, 03 Jan 2012 19:15:46 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q03IFi7a003161; Tue, 3 Jan 2012 19:15:45 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q03IFhSK003160; Tue, 3 Jan 2012 19:15:43 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 3 Jan 2012 19:15:38 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120103181538.GA3129@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <20120103065140.GA7385@tinyCurrent> <201201030913.49508.hselasky@c2i.net> <201201030924.08045.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201030924.08045.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.70.38 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 18:15:48 -0000 El día Tuesday, January 03, 2012 a las 09:24:08AM +0100, Hans Petter Selasky escribió: > Hi, > > > (u32)(long)arg, when passing to IOCTL functions. > > I meant printing the "cmd" value. "arg" value can be negative if a pointer is > passed along. > > Try to figure out which ioctl is failing. Maybe run webcamd from gdb and add > some code you can break-point on, then single step. Hi, The failing ioctls are (only 2 are sent down from Skype): Creating /dev/video0 mydebug: v4b_open fflags: 00000003 mydebug: linux_open: handle=28c08600 mydebug: v4b_ioctl: handle=28c08600 cmd=0x40047601 mydebug: linux_ioctl returns: error=ffffffea mydebug: v4b_convert_error: CUSE_ERR_INVALID mydebug: v4b_ioctl: handle=28c08600 cmd=0x403c7601 mydebug: linux_ioctl returns: error=ffffffea mydebug: v4b_convert_error: CUSE_ERR_INVALID mydebug: v4b_close: handle=28c08600 (cmd is printed as 'cmd=0x%08x') what maybe wrong with the cmd's? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 21:30:48 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CD0910656D0 for ; Tue, 3 Jan 2012 21:30:48 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id CEF7D8FC15 for ; Tue, 3 Jan 2012 21:30:47 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 223729992; Tue, 03 Jan 2012 22:30:45 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Tue, 3 Jan 2012 22:28:18 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <201201030924.08045.hselasky@c2i.net> <20120103181538.GA3129@tinyCurrent> In-Reply-To: <20120103181538.GA3129@tinyCurrent> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201201032228.19293.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype 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, 03 Jan 2012 21:30:48 -0000 On Tuesday 03 January 2012 19:15:38 Matthias Apitz wrote: > El d=EDa Tuesday, January 03, 2012 a las 09:24:08AM +0100, Hans Petter Se= lasky=20 escribi=F3: > > Hi, > >=20 > > > (u32)(long)arg, when passing to IOCTL functions. > >=20 > > I meant printing the "cmd" value. "arg" value can be negative if a > > pointer is passed along. > >=20 > > Try to figure out which ioctl is failing. Maybe run webcamd from gdb and > > add some code you can break-point on, then single step. >=20 > Hi, >=20 Hi, > The failing ioctls are (only 2 are sent down from Skype): >=20 > Creating /dev/video0 > mydebug: v4b_open fflags: 00000003 > mydebug: linux_open: handle=3D28c08600 > mydebug: v4b_ioctl: handle=3D28c08600 cmd=3D0x40047601 > mydebug: linux_ioctl returns: error=3Dffffffea > mydebug: v4b_convert_error: CUSE_ERR_INVALID #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format) #define VIDIOC_S_CROP _IOW('V', 60, struct v4l2_crop) Try to print the two above IOCTL's and see if they match. It might be a compile issues that some structures have different sizes than= =20 expected. > mydebug: v4b_ioctl: handle=3D28c08600 cmd=3D0x403c7601 > mydebug: linux_ioctl returns: error=3Dffffffea > mydebug: v4b_convert_error: CUSE_ERR_INVALID > mydebug: v4b_close: handle=3D28c08600 >=20 > (cmd is printed as 'cmd=3D0x%08x') The cmds are defined in the header files in /usr/local/include/linux/*/* Also there might be a module parameter that will get you more debugging inf= o=20 from the UVC/PWC driver. Check output from "webcamd -s". =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 22:20:35 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8D4D106564A for ; Tue, 3 Jan 2012 22:20:35 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id A5C008FC18 for ; Tue, 3 Jan 2012 22:20:35 +0000 (UTC) Received: from [93.104.70.38] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RiCif-0005FY-BC; Tue, 03 Jan 2012 23:20:33 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q03MKWcs003804; Tue, 3 Jan 2012 23:20:32 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q03MKVeW003803; Tue, 3 Jan 2012 23:20:31 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 3 Jan 2012 23:20:31 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120103222031.GA3748@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <201201030924.08045.hselasky@c2i.net> <20120103181538.GA3129@tinyCurrent> <201201032228.19293.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201032228.19293.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.70.38 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 22:20:36 -0000 El día Tuesday, January 03, 2012 a las 10:28:18PM +0100, Hans Petter Selasky escribió: > > The failing ioctls are (only 2 are sent down from Skype): > > > > Creating /dev/video0 > > mydebug: v4b_open fflags: 00000003 > > mydebug: linux_open: handle=28c08600 > > mydebug: v4b_ioctl: handle=28c08600 cmd=0x40047601 > > mydebug: linux_ioctl returns: error=ffffffea > > mydebug: v4b_convert_error: CUSE_ERR_INVALID > > #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format) > > #define VIDIOC_S_CROP _IOW('V', 60, struct v4l2_crop) Hi, 'V' (capital V) is 0x56, while small 'v' is 0x76, i.e. Skype is sending V4L IOCTL's; I did a cross-check with pwcview, it sends IOCTL as: cmd=0x40685600, ... i.e. pwcview uses V4L2; and now? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 01:11:24 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF09A1065670 for ; Wed, 4 Jan 2012 01:11:24 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepi203.cox.net (eastrmfepi203.cox.net [68.230.241.207]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5728FC08 for ; Wed, 4 Jan 2012 01:11:24 +0000 (UTC) Received: from eastrmimpo305.cox.net ([68.230.241.237]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120104005546.WGBE3177.eastrmfepo102.cox.net@eastrmimpo305.cox.net> for ; Tue, 3 Jan 2012 19:55:46 -0500 Received: from serene.no-ip.org ([98.164.86.55]) by eastrmimpo305.cox.net with bizsmtp id HCvk1i0051BeFqy02CvlNt; Tue, 03 Jan 2012 19:55:45 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A02020B.4F03A391.00D0,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=5NIuvhVWHzt3D08YIQVCWCT0D+J982xUH/jHreRN8to= c=1 sm=1 a=tqu2XHy3O_8A:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=fdHYxQQoAueMHNSmXppgDg==:17 a=t0Zm2Zi0AAAA:8 a=kviXuzpPAAAA:8 a=3LkIp8QnG0OQJfsX1EAA:9 a=7zKZJAP8rqEXgf6vyjgA:7 a=CjuIK1q_8ugA:10 a=4vB-4DCPJfMA:10 a=fdHYxQQoAueMHNSmXppgDg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q040tiJX082971 for ; Tue, 3 Jan 2012 18:55:44 -0600 (CST) (envelope-from conrads@cox.net) Date: Tue, 3 Jan 2012 18:55:38 -0600 From: "Conrad J. Sabatier" To: freebsd-multimedia@FreeBSD.org Message-ID: <20120103185538.49140809@cox.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Sound intermittently stops working 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, 04 Jan 2012 01:11:24 -0000 Anyone have any clues as to what might cause sound to suddenly stop working? Every so often, for no apparent reason, my audio output just stops abruptly and cannot be restored without a reboot. No error messages from either the kernel or whatever audio app I may be running at the time (which will continue playing, blissfully unaware that anything out of the ordinary is happening). For all outward appearances (other than aurally), everything seems to still be working perfectly normally. # uname -a FreeBSD serene.no-ip.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1: Sun Jan 1 18:03:55 CST 2012 conrads@serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64 # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play/rec) default pcm1: (play/rec) pcm2: (play) pcm3: (play) Sorry I don't have any more useful diagnostic-type information. Does anyone else ever experience this sort of thing? Is there any way to get the sound going again, other than rebooting? Thanks! -- Conrad J. Sabatier conrads@cox.net From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 07:09:16 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01B37106566C for ; Wed, 4 Jan 2012 07:09:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 804A68FC08 for ; Wed, 4 Jan 2012 07:09:14 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 223053332; Wed, 04 Jan 2012 08:09:12 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Wed, 4 Jan 2012 08:06:45 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <201201032228.19293.hselasky@c2i.net> <20120103222031.GA3748@tinyCurrent> In-Reply-To: <20120103222031.GA3748@tinyCurrent> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201201040806.46076.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype 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, 04 Jan 2012 07:09:16 -0000 On Tuesday 03 January 2012 23:20:31 Matthias Apitz wrote: > El d=EDa Tuesday, January 03, 2012 a las 10:28:18PM +0100, Hans Petter Se= lasky=20 escribi=F3: > > > The failing ioctls are (only 2 are sent down from Skype): > > >=20 > > > Creating /dev/video0 > > > mydebug: v4b_open fflags: 00000003 > > > mydebug: linux_open: handle=3D28c08600 > > > mydebug: v4b_ioctl: handle=3D28c08600 cmd=3D0x40047601 > > > mydebug: linux_ioctl returns: error=3Dffffffea > > > mydebug: v4b_convert_error: CUSE_ERR_INVALID > >=20 > > #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format) > >=20 > > #define VIDIOC_S_CROP _IOW('V', 60, struct v4l2_crop) >=20 > Hi, >=20 > 'V' (capital V) is 0x56, while small 'v' is 0x76, i.e. Skype is sending > V4L IOCTL's; >=20 > I did a cross-check with pwcview, it sends IOCTL as: > cmd=3D0x40685600, ... i.e. pwcview uses V4L2; Hi, > and now? Webcamd supports both, maybe it shouldn't? In the webcamd port do: make extract patch Then in work/webcamd*/config you find: CONFIG_VIDEO_V4L1_COMPAT=3Dy Change this to =3Dn Then cd tools/linux_make make all install clean cd ../.. make configure Then build the port. =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 10:21:45 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE30A1065672 for ; Wed, 4 Jan 2012 10:21:45 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 85B178FC13 for ; Wed, 4 Jan 2012 10:21:45 +0000 (UTC) Received: from [82.113.121.196] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RiNyZ-0001Uk-Vf; Wed, 04 Jan 2012 11:21:44 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q04ALmfB001106; Wed, 4 Jan 2012 11:21:48 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q04ALlVb001105; Wed, 4 Jan 2012 11:21:47 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 4 Jan 2012 11:21:46 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120104102146.GA1098@tiny> References: <20120101164408.GA2389@tinyCurrent> <201201032228.19293.hselasky@c2i.net> <20120103222031.GA3748@tinyCurrent> <201201040806.46076.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201040806.46076.hselasky@c2i.net> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 82.113.121.196 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 10:21:45 -0000 El día Wednesday, January 04, 2012 a las 08:06:45AM +0100, Hans Petter Selasky escribió: > On Tuesday 03 January 2012 23:20:31 Matthias Apitz wrote: > > > > 'V' (capital V) is 0x56, while small 'v' is 0x76, i.e. Skype is sending > > V4L IOCTL's; > > > > I did a cross-check with pwcview, it sends IOCTL as: > > cmd=0x40685600, ... i.e. pwcview uses V4L2; > > Hi, > > > and now? > > Webcamd supports both, maybe it shouldn't? Hi, Why it should not? I think it is better to do that conversion in FreeBSD source land, than in Linux binary packages on which we have zero influence; thanks for your work on this! > In the webcamd port do: > > make extract patch > ... thanks, I will test this over the long weekend and report back; matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 22:58:42 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF81D106566C for ; Wed, 4 Jan 2012 22:58:42 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9348FC13 for ; Wed, 4 Jan 2012 22:58:42 +0000 (UTC) Received: from mart.js.berklix.net (pD9FBF5E0.dip.t-dialin.net [217.251.245.224]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id q04MMFO4007679; Wed, 4 Jan 2012 22:22:16 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id q04MM4U7009665; Wed, 4 Jan 2012 23:22:04 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id q04MLqEa018426; Wed, 4 Jan 2012 23:21:58 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201201042221.q04MLqEa018426@fire.js.berklix.net> To: "Conrad J. Sabatier" From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Tue, 03 Jan 2012 18:55:38 CST." <20120103185538.49140809@cox.net> Date: Wed, 04 Jan 2012 23:21:52 +0100 Sender: jhs@berklix.com Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound intermittently stops working 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, 04 Jan 2012 22:58:43 -0000 "Conrad J. Sabatier" wrote: > Anyone have any clues as to what might cause sound to suddenly stop > working? Every so often, for no apparent reason, my audio output just > stops abruptly and cannot be restored without a reboot. No error > messages from either the kernel or whatever audio app I may be running > at the time (which will continue playing, blissfully unaware that > anything out of the ordinary is happening). For all outward appearances > (other than aurally), everything seems to still be working perfectly > normally. > > # uname -a > FreeBSD serene.no-ip.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1: Sun Jan > 1 18:03:55 CST 2012 > conrads@serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64 > > # cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) > Installed devices: > pcm0: (play/rec) default > pcm1: (play/rec) > pcm2: (play) > pcm3: (play) > > Sorry I don't have any more useful diagnostic-type information. > > Does anyone else ever experience this sort of thing? Is there any way > to get the sound going again, other than rebooting? > > Thanks! You could save good status with sysctl -a > sysctl.good mixer > mixer.good then what it goes wrong, sysctl -a > sysctl.bad mixer > mixer.bad diff -c sysctl.good sysctl.bad ; diff -c mixer.good mixer.bad & if anything Has changed do a find & grep on the variable name. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 00:40:55 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01371106566C for ; Thu, 5 Jan 2012 00:40:55 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by mx1.freebsd.org (Postfix) with ESMTP id 8C9288FC1E for ; Thu, 5 Jan 2012 00:40:54 +0000 (UTC) Received: from eastrmimpo109.cox.net ([68.230.241.222]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120105004048.RPUA3177.eastrmfepo102.cox.net@eastrmimpo109.cox.net>; Wed, 4 Jan 2012 19:40:48 -0500 Received: from serene.no-ip.org ([98.164.86.55]) by eastrmimpo109.cox.net with bizsmtp id Hcgn1i00M1BeFqy02cgo46; Wed, 04 Jan 2012 19:40:48 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020208.4F04F190.0043,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=v7GbILHnR1xQ6JOQ0tpByaeo/qX3otcUiWK95upJFOE= c=1 sm=1 a=zJWgz3WpvRcA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=fdHYxQQoAueMHNSmXppgDg==:17 a=NRF7K_vUAAAA:8 a=t0Zm2Zi0AAAA:8 a=kviXuzpPAAAA:8 a=-V7h70AX7hDm3bkotysA:9 a=ByyBY2ofHX6fdXTGOJMA:7 a=CjuIK1q_8ugA:10 a=MFc6XYY7ANoA:10 a=4vB-4DCPJfMA:10 a=fdHYxQQoAueMHNSmXppgDg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q050ekPv053449; Wed, 4 Jan 2012 18:40:47 -0600 (CST) (envelope-from conrads@cox.net) Date: Wed, 4 Jan 2012 18:40:41 -0600 From: "Conrad J. Sabatier" To: "Julian H. Stacey" Message-ID: <20120104184041.0b964a41@cox.net> In-Reply-To: <201201042221.q04MLqEa018426@fire.js.berklix.net> References: <20120103185538.49140809@cox.net> <201201042221.q04MLqEa018426@fire.js.berklix.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound intermittently stops working 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, 05 Jan 2012 00:40:55 -0000 On Wed, 04 Jan 2012 23:21:52 +0100 "Julian H. Stacey" wrote: > "Conrad J. Sabatier" wrote: > > Anyone have any clues as to what might cause sound to suddenly stop > > working? Every so often, for no apparent reason, my audio output > > just stops abruptly and cannot be restored without a reboot. No > > error messages from either the kernel or whatever audio app I may > > be running at the time (which will continue playing, blissfully > > unaware that anything out of the ordinary is happening). For all > > outward appearances (other than aurally), everything seems to still > > be working perfectly normally. > > > > # uname -a > > FreeBSD serene.no-ip.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1: Sun > > Jan 1 18:03:55 CST 2012 > > conrads@serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64 > > > > # cat /dev/sndstat > > FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) > > Installed devices: > > pcm0: (play/rec) default > > pcm1: (play/rec) > > pcm2: (play) > > pcm3: (play) > > > > Sorry I don't have any more useful diagnostic-type information. > > > > Does anyone else ever experience this sort of thing? Is there any > > way to get the sound going again, other than rebooting? > > > > Thanks! > > You could save good status with > sysctl -a > sysctl.good > mixer > mixer.good > then what it goes wrong, > sysctl -a > sysctl.bad > mixer > mixer.bad > diff -c sysctl.good sysctl.bad ; diff -c mixer.good mixer.bad > & if anything Has changed do a find & grep on the variable name. > > Cheers, > Julian Good idea. I'll do that. Thanks! -- Conrad J. Sabatier conrads@cox.net From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 13:26:30 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BED331065675 for ; Thu, 5 Jan 2012 13:26:30 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 4DEFE8FC1D for ; Thu, 5 Jan 2012 13:26:30 +0000 (UTC) Received: from [82.113.106.193] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RinKu-0001kq-Au; Thu, 05 Jan 2012 14:26:28 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q05DQZTA001274; Thu, 5 Jan 2012 14:26:35 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q05DQYUK001273; Thu, 5 Jan 2012 14:26:34 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 5 Jan 2012 14:26:34 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120105132633.GA1264@tiny> References: <20120101164408.GA2389@tinyCurrent> <201201032228.19293.hselasky@c2i.net> <20120103222031.GA3748@tinyCurrent> <201201040806.46076.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201040806.46076.hselasky@c2i.net> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 82.113.106.193 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 13:26:30 -0000 El día Wednesday, January 04, 2012 a las 08:06:45AM +0100, Hans Petter Selasky escribió: > Hi, > > > and now? > > Webcamd supports both, maybe it shouldn't? > > In the webcamd port do: > > make extract patch > Then in work/webcamd*/config you find: > > CONFIG_VIDEO_V4L1_COMPAT=y > > Change this to =n > > Then cd tools/linux_make > make all install clean > > cd ../.. > > make configure > > Then build the port. Hi I followed exact your procedure; if I compile with HAL it fails with the erros below; I disabled HAL, it compiled fine and when I start # cd work/webcamd* # ./webcamd it gives the same ioctl's failing from Skype; I checked the source tree for 'CONFIG_VIDEO_V4L1_COMPAT' but it is only mentioned as #undef CONFIG_VIDEO_V4L1_COMPAT in build/config.h, no further places; so I don't know where to look if some additional lib is compiled and linked static to webcamd (ldd does not show any additional shared lib); I'm a bit clueless; please help thanks matthias HAL compile error: ... webcamd.c:268: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long unsigned int' webcamd_hal.c: In function 'hal_add_device': webcamd_hal.c:129: error: storage size of 'v1cap' isn't known webcamd_hal.c:171: error: 'VIDIOCGCAP' undeclared (first use in this function) webcamd_hal.c:171: error: (Each undeclared identifier is reported only once webcamd_hal.c:171: error: for each function it appears in.) webcamd_hal.c:178: error: 'VID_TYPE_CAPTURE' undeclared (first use in this function) webcamd_hal.c:180: error: 'VID_TYPE_OVERLAY' undeclared (first use in this function) webcamd_hal.c:184: error: 'VID_TYPE_TUNER' undeclared (first use in this function) *** Error code 1 1 error *** Error code 1 Stop in /usr/ports/multimedia/webcamd. *** Error code 1 Stop in /usr/ports/multimedia/webcamd. -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 15:55:43 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D6C4106564A for ; Thu, 5 Jan 2012 15:55:43 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id A0E0B8FC13 for ; Thu, 5 Jan 2012 15:55:42 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 226833514; Thu, 05 Jan 2012 16:55:39 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 5 Jan 2012 16:53:15 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <201201040806.46076.hselasky@c2i.net> <20120105132633.GA1264@tiny> In-Reply-To: <20120105132633.GA1264@tiny> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201201051653.15808.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype 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, 05 Jan 2012 15:55:43 -0000 On Thursday 05 January 2012 14:26:34 Matthias Apitz wrote: > El d=EDa Wednesday, January 04, 2012 a las 08:06:45AM +0100, Hans Petter= =20 Selasky escribi=F3: > > Hi, > >=20 > > > and now? > >=20 > > Webcamd supports both, maybe it shouldn't? > >=20 > > In the webcamd port do: > >=20 > > make extract patch > > Then in work/webcamd*/config you find: > >=20 > > CONFIG_VIDEO_V4L1_COMPAT=3Dy > >=20 > > Change this to =3Dn > >=20 > > Then cd tools/linux_make > > make all install clean > >=20 > > cd ../.. > >=20 > > make configure > >=20 > > Then build the port. >=20 > Hi >=20 > I followed exact your procedure; if I compile with HAL it fails with the > erros below; I disabled HAL, it compiled fine and when I start >=20 > # cd work/webcamd* > # ./webcamd >=20 > it gives the same ioctl's failing from Skype; >=20 > I checked the source tree for 'CONFIG_VIDEO_V4L1_COMPAT' but it is only > mentioned as #undef CONFIG_VIDEO_V4L1_COMPAT in build/config.h, no > further places; so I don't know where to look if some additional lib is > compiled and linked static to webcamd (ldd does not show any additional > shared lib); I'm a bit clueless; please help >=20 > thanks >=20 > matthias >=20 > HAL compile error: >=20 > ... > webcamd.c:268: warning: format '%08x' expects type 'unsigned int', but > argument 3 has type 'long unsigned int' webcamd_hal.c: In function > 'hal_add_device': > webcamd_hal.c:129: error: storage size of 'v1cap' isn't known > webcamd_hal.c:171: error: 'VIDIOCGCAP' undeclared (first use in this > function) webcamd_hal.c:171: error: (Each undeclared identifier is > reported only once webcamd_hal.c:171: error: for each function it appears > in.) > webcamd_hal.c:178: error: 'VID_TYPE_CAPTURE' undeclared (first use in this > function) webcamd_hal.c:180: error: 'VID_TYPE_OVERLAY' undeclared (first > use in this function) webcamd_hal.c:184: error: 'VID_TYPE_TUNER' > undeclared (first use in this function) *** Error code 1 > 1 error If fails because HAL depends on some V4L1 ioctls. I could #ifdef that. =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 17:11:24 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 684801065673 for ; Thu, 5 Jan 2012 17:11:24 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id 05CB28FC16 for ; Thu, 5 Jan 2012 17:11:24 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id A958658022; Thu, 5 Jan 2012 18:11:22 +0100 (CET) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.5/8.14.5) with ESMTP id q05HBBVP075897 for ; Thu, 5 Jan 2012 18:11:11 +0100 (CET) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.5/8.14.5/Submit) id q05HBBeC075896 for multimedia@freebsd.org; Thu, 5 Jan 2012 18:11:11 +0100 (CET) (envelope-from schweikh) Date: Thu, 5 Jan 2012 18:11:11 +0100 From: Jens Schweikhardt To: multimedia@freebsd.org Message-ID: <20120105171111.GB3008@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Problems getting an HP Photosmart C4180 to scan with SANE 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, 05 Jan 2012 17:11:24 -0000 hello, world\n I'm trying to get an HP Photosmart C4180 to scan with 9-STABLE. I've read the relevant section in the handbook and installed /usr/ports/graphics/sane-backend. The printer is conected via USB cable and it probes as da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present The scanner is found with # sane-find-scanner -q found USB scanner (vendor=0x03f0 [HP], product=0x5711 [Photosmart C4100 series]) at libusb:/dev/usb:/dev/ugen3.2 However, I can't get scanimage to work: # scanimage --list-devices No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). I tried frobbing various parts of /usr/local/etc/sane.d/hp.conf but to no avail. Does anyone know the magic spell/place/file/tweak? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 17:55:09 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D37741065673 for ; Thu, 5 Jan 2012 17:55:09 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 90B178FC0C for ; Thu, 5 Jan 2012 17:55:09 +0000 (UTC) Received: from [88.217.13.199] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RirWt-0007s9-Ca; Thu, 05 Jan 2012 18:55:07 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q05Ht6tM002197; Thu, 5 Jan 2012 18:55:06 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q05Ht5GD002196; Thu, 5 Jan 2012 18:55:05 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 5 Jan 2012 18:55:05 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120105175505.GA2167@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <201201040806.46076.hselasky@c2i.net> <20120105132633.GA1264@tiny> <201201051653.15808.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201051653.15808.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.13.199 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 17:55:09 -0000 El día Thursday, January 05, 2012 a las 04:53:15PM +0100, Hans Petter Selasky escribió: > > Hi > > > > I followed exact your procedure; if I compile with HAL it fails with the > > erros below; I disabled HAL, it compiled fine and when I start > > > > # cd work/webcamd* > > # ./webcamd > > > > it gives the same ioctl's failing from Skype; > > > > I checked the source tree for 'CONFIG_VIDEO_V4L1_COMPAT' but it is only > > mentioned as #undef CONFIG_VIDEO_V4L1_COMPAT in build/config.h, no > > further places; so I don't know where to look if some additional lib is > > compiled and linked static to webcamd (ldd does not show any additional > > shared lib); I'm a bit clueless; please help Hi, OK concerning HAL, but the main question is why the V4L IOCTL are not translated into V4L2? where should I look? thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 18:01:38 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B85E106566C for ; Thu, 5 Jan 2012 18:01:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id F001C8FC0A for ; Thu, 5 Jan 2012 18:01:37 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 224437044 for freebsd-multimedia@freebsd.org; Thu, 05 Jan 2012 19:01:31 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Thu, 5 Jan 2012 18:59:08 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201112122008.14723.hselasky@c2i.net> In-Reply-To: <201112122008.14723.hselasky@c2i.net> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201201051859.08416.hselasky@c2i.net> Subject: New version of Webcamd up to date with Linux v3.2 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, 05 Jan 2012 18:01:38 -0000 Hi, There is a new version of webcamd, now webcamd-3.2.0.1.tar.bz2, ready for testing. Port can be found here: svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b/trunk/ports MD5 (webcamd-3.2.0.1.tar.bz2) = 7f1356f5b861a961a97089ae2e8a54af Please test and report back! A few new drivers have been added to the default build. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 18:02:27 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2CBA106564A for ; Thu, 5 Jan 2012 18:02:27 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 3FF1F8FC1C for ; Thu, 5 Jan 2012 18:02:26 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 222463800; Thu, 05 Jan 2012 19:02:25 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 5 Jan 2012 19:00:01 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <201201051653.15808.hselasky@c2i.net> <20120105175505.GA2167@tinyCurrent> In-Reply-To: <20120105175505.GA2167@tinyCurrent> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201201051900.01903.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype 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, 05 Jan 2012 18:02:27 -0000 On Thursday 05 January 2012 18:55:05 Matthias Apitz wrote: > El d=EDa Thursday, January 05, 2012 a las 04:53:15PM +0100, Hans Petter=20 Selasky escribi=F3: > > > Hi > > >=20 > > > I followed exact your procedure; if I compile with HAL it fails with > > > the erros below; I disabled HAL, it compiled fine and when I start > > >=20 > > > # cd work/webcamd* > > > # ./webcamd > > >=20 > > > it gives the same ioctl's failing from Skype; > > >=20 > > > I checked the source tree for 'CONFIG_VIDEO_V4L1_COMPAT' but it is on= ly > > > mentioned as #undef CONFIG_VIDEO_V4L1_COMPAT in build/config.h, no > > > further places; so I don't know where to look if some additional lib = is > > > compiled and linked static to webcamd (ldd does not show any addition= al > > > shared lib); I'm a bit clueless; please help >=20 > Hi, >=20 > OK concerning HAL, but the main question is why the V4L IOCTL are not > translated into V4L2? where should I look? thanks They are, but probably the structure size is wrong. =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 18:03:41 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35FFC1065672 for ; Thu, 5 Jan 2012 18:03:41 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id 89B598FC13 for ; Thu, 5 Jan 2012 18:03:40 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 50809056; Thu, 05 Jan 2012 19:03:38 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Thu, 5 Jan 2012 19:01:14 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120105171111.GB3008@schweikhardt.net> In-Reply-To: <20120105171111.GB3008@schweikhardt.net> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201201051901.14834.hselasky@c2i.net> Cc: multimedia@freebsd.org, Jens Schweikhardt Subject: Re: Problems getting an HP Photosmart C4180 to scan with SANE 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, 05 Jan 2012 18:03:41 -0000 On Thursday 05 January 2012 18:11:11 Jens Schweikhardt wrote: > hello, world\n > > I'm trying to get an HP Photosmart C4180 to scan with 9-STABLE. > I've read the relevant section in the handbook and installed > /usr/ports/graphics/sane-backend. > The printer is conected via USB cable and it probes as > > da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not present > > The scanner is found with > # sane-find-scanner -q > found USB scanner (vendor=0x03f0 [HP], product=0x5711 [Photosmart C4100 > series]) at libusb:/dev/usb:/dev/ugen3.2 > > However, I can't get scanimage to work: > > # scanimage --list-devices > > No scanners were identified. If you were expecting something different, > check that the scanner is plugged in, turned on and detected by the > sane-find-scanner tool (if appropriate). Please read the documentation > which came with this software (README, FAQ, manpages). > > I tried frobbing various parts of /usr/local/etc/sane.d/hp.conf > but to no avail. Does anyone know the magic spell/place/file/tweak? Hi, Try to eject using cdcontrol, da0. Maybe it is an auto-installer, or see with usbconfig if there is multiple configurations. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 18:13:42 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A23A1106564A for ; Thu, 5 Jan 2012 18:13:42 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2CE378FC12 for ; Thu, 5 Jan 2012 18:13:41 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 50809056; Thu, 05 Jan 2012 19:03:38 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Thu, 5 Jan 2012 19:01:14 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120105171111.GB3008@schweikhardt.net> In-Reply-To: <20120105171111.GB3008@schweikhardt.net> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201201051901.14834.hselasky@c2i.net> Cc: multimedia@freebsd.org, Jens Schweikhardt Subject: Re: Problems getting an HP Photosmart C4180 to scan with SANE 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, 05 Jan 2012 18:13:42 -0000 On Thursday 05 January 2012 18:11:11 Jens Schweikhardt wrote: > hello, world\n > > I'm trying to get an HP Photosmart C4180 to scan with 9-STABLE. > I've read the relevant section in the handbook and installed > /usr/ports/graphics/sane-backend. > The printer is conected via USB cable and it probes as > > da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not present > > The scanner is found with > # sane-find-scanner -q > found USB scanner (vendor=0x03f0 [HP], product=0x5711 [Photosmart C4100 > series]) at libusb:/dev/usb:/dev/ugen3.2 > > However, I can't get scanimage to work: > > # scanimage --list-devices > > No scanners were identified. If you were expecting something different, > check that the scanner is plugged in, turned on and detected by the > sane-find-scanner tool (if appropriate). Please read the documentation > which came with this software (README, FAQ, manpages). > > I tried frobbing various parts of /usr/local/etc/sane.d/hp.conf > but to no avail. Does anyone know the magic spell/place/file/tweak? Hi, Try to eject using cdcontrol, da0. Maybe it is an auto-installer, or see with usbconfig if there is multiple configurations. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 12:07:26 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD6F2106564A for ; Fri, 6 Jan 2012 12:07:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 6FCCA8FC0A for ; Fri, 6 Jan 2012 12:07:25 +0000 (UTC) Received: from [93.104.82.184] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Rj8Zu-0007og-HU; Fri, 06 Jan 2012 13:07:22 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q06C7MpV005794; Fri, 6 Jan 2012 13:07:22 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q06C7LJO005793; Fri, 6 Jan 2012 13:07:21 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 6 Jan 2012 13:07:20 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120106120720.GA5779@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <201201051653.15808.hselasky@c2i.net> <20120105175505.GA2167@tinyCurrent> <201201051900.01903.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201051900.01903.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.82.184 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 12:07:26 -0000 El día Thursday, January 05, 2012 a las 07:00:01PM +0100, Hans Petter Selasky escribió: > > OK concerning HAL, but the main question is why the V4L IOCTL are not > > translated into V4L2? where should I look? thanks > > They are, but probably the structure size is wrong. > > --HPS Hello Hans, I have below a gdb session of the 1st failing IOCTL after the open; does not look like a problem of the structure size; the error is returned from the call ret = vdev->fops->unlocked_ioctl(filp, cmd, arg); let me know if you need more details of the gdb session; thanks matthias # gdb work/webcamd-3.2.0.1/webcamd ... (gdb) br v4b_ioctl Breakpoint 1 at 0x82f2c96: file webcamd.c, line 265. (gdb) r Starting program: /usr/ports/multimedia/webcamd/work/webcamd-3.2.0.1/webcamd (now Skype in another session) mydebug: v4b_open fflags: 00000003 mydebug: linux_open gives: handle=28c08600 [Switching to Thread 28805180 (LWP 100240)] Breakpoint 1, v4b_ioctl (cdev=0x2882c0c0, fflags=7, cmd=1074034177, peer_data=0x10000) at webcamd.c:265 265 printf("mydebug: v4b_ioctl: cmd=0x%08x\n", cmd); (gdb) n mydebug: v4b_ioctl: cmd=0x40047601 266 handle = cuse_dev_get_per_file_handle(cdev); (gdb) n 267 printf("mydebug: v4b_ioctl: handle=%08x cmd=0x%08x\n", handle, cmd); (gdb) n mydebug: v4b_ioctl: handle=28c08600 cmd=0x40047601 270 if (cmd == FIONBIO || cmd == FIOASYNC) (gdb) n 274 error = linux_ioctl(handle, fflags & CUSE_FFLAG_NONBLOCK, (gdb) s linux_ioctl (handle=0x28c08600, fflags=4, cmd=1074034177, arg=0x10000) at kernel/linux_file.c:114 114 if (handle == NULL) (gdb) n 117 linux_fix_f_flags(&handle->fixed_file, fflags); (gdb) n 119 if (handle->fixed_file.f_op->unlocked_ioctl != NULL) (gdb) n 120 return (handle->fixed_file.f_op->unlocked_ioctl(&handle->fixed_file, (gdb) s v4l2_ioctl (filp=0x28c08608, cmd=1074034177, arg=65536) at media_tree/drivers/media/video/v4l2-dev.c:333 333 struct video_device *vdev = video_devdata(filp); (gdb) n 334 int ret = -ENODEV; (gdb) n 336 if (vdev->fops->unlocked_ioctl) { (gdb) n 337 if (vdev->lock && mutex_lock_interruptible(vdev->lock)) (gdb) n 339 if (video_is_registered(vdev)) (gdb) n 340 ret = vdev->fops->unlocked_ioctl(filp, cmd, arg); (gdb) n 341 if (vdev->lock) (gdb) p ret $1 = -22 (gdb) n 379 if (ret == 0 && cmd == VIDIOC_ENUMINPUT) { (gdb) n 397 return ret; (gdb) n 398 } (gdb) n linux_ioctl (handle=0x28c08600, fflags=4, cmd=1074034177, arg=0x10000) at kernel/linux_file.c:127 127 } (gdb) n v4b_ioctl (cdev=0x2882c0c0, fflags=7, cmd=1074034177, peer_data=0x10000) at webcamd.c:276 276 printf("mydebug: linux_ioctl returns: error=%08x\n", error); (gdb) n mydebug: linux_ioctl returns: error=ffffffea -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 13:48:15 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C52B3106564A for ; Fri, 6 Jan 2012 13:48:15 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 564F28FC17 for ; Fri, 6 Jan 2012 13:48:15 +0000 (UTC) Received: from [93.104.82.184] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RjA9U-00044Y-CF; Fri, 06 Jan 2012 14:48:12 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q06DmC5b006201; Fri, 6 Jan 2012 14:48:12 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q06DmBc7006200; Fri, 6 Jan 2012 14:48:11 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 6 Jan 2012 14:48:11 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120106134811.GA6168@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <201201051653.15808.hselasky@c2i.net> <20120105175505.GA2167@tinyCurrent> <201201051900.01903.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201051900.01903.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.82.184 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 13:48:15 -0000 El día Thursday, January 05, 2012 a las 07:00:01PM +0100, Hans Petter Selasky escribió: > > > > I checked the source tree for 'CONFIG_VIDEO_V4L1_COMPAT' but it is only > > > > mentioned as #undef CONFIG_VIDEO_V4L1_COMPAT in build/config.h, no > > > > further places; so I don't know where to look if some additional lib is > > > > compiled and linked static to webcamd (ldd does not show any additional > > > > shared lib); I'm a bit clueless; please help > > > > Hi, > > > > OK concerning HAL, but the main question is why the V4L IOCTL are not > > translated into V4L2? where should I look? thanks > > They are, but probably the structure size is wrong. Hi, Sorry for disagreeing; webcamd goes with a V4L cmd (0x40047601) into the routines of media_tree/drivers/media/video/v4l2-ioctl.c and tries to find a match there; the source reads: static int check_array_args(unsigned int cmd, void *parg, size_t *array_size, void * __user *user_ptr, void ***kernel_ptr) { int ret = 0; switch (cmd) { case VIDIOC_QUERYBUF: case VIDIOC_QBUF: case VIDIOC_DQBUF: { struct v4l2_buffer *buf = parg; ... and I have it in GDB as: (gdb) s check_array_args (cmd=1074034177, parg=0xbf4f9d94, array_size=0xbf4f9d80, user_ptr=0xbf4f9d7c, kernel_ptr=0xbf4f9d78) at media_tree/drivers/media/video/v4l2-ioctl.c:2202 2202 int ret = 0; (gdb) n 2204 switch (cmd) { (gdb) 2239 return ret; (gdb) p ret $8 = 0 (gdb) p /x cmd $9 = 0x40047601 i.e. it can not find any match with cmd=0x40047601 in the defines of /usr/local/include/linux/videodev2.h /* * I O C T L C O D E S F O R V I D E O D E V I C E S * */ #define VIDIOC_QUERYCAP _IOR('V', 0, struct v4l2_capability) #define VIDIOC_RESERVED _IO('V', 1) #define VIDIOC_ENUM_FMT _IOWR('V', 2, struct v4l2_fmtdesc) #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format) #define VIDIOC_S_FMT _IOWR('V', 5, struct v4l2_format) #define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers) ... they are all there with capital 'V' while we have 'v' (0x76) im the cmd; this can not work; somewhere the conversion from V4L to V4L2 is missed; where this should be done, please point me to the source file to check and set a breakpoint there; thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:50:13 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95260106567C for ; Fri, 6 Jan 2012 15:50:13 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1E87E8FC20 for ; Fri, 6 Jan 2012 15:50:12 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 226117709; Fri, 06 Jan 2012 16:50:09 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Fri, 6 Jan 2012 16:47:46 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <201201051900.01903.hselasky@c2i.net> <20120106134811.GA6168@tinyCurrent> In-Reply-To: <20120106134811.GA6168@tinyCurrent> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201201061647.46539.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 15:50:13 -0000 On Friday 06 January 2012 14:48:11 Matthias Apitz wrote: > El d=EDa Thursday, January 05, 2012 a las 07:00:01PM +0100, Hans Petter=20 Selasky escribi=F3: > > > > > I checked the source tree for 'CONFIG_VIDEO_V4L1_COMPAT' but it is > > > > > only mentioned as #undef CONFIG_VIDEO_V4L1_COMPAT in > > > > > build/config.h, no further places; so I don't know where to look > > > > > if some additional lib is compiled and linked static to webcamd > > > > > (ldd does not show any additional shared lib); I'm a bit clueless; > > > > > please help > > >=20 > > > Hi, > > >=20 > > > OK concerning HAL, but the main question is why the V4L IOCTL are not > > > translated into V4L2? where should I look? thanks > >=20 > > They are, but probably the structure size is wrong. >=20 > Hi, >=20 > Sorry for disagreeing; webcamd goes with a V4L cmd (0x40047601) into the > routines of media_tree/drivers/media/video/v4l2-ioctl.c and tries to > find a match there; the source reads: >=20 > static int check_array_args(unsigned int cmd, void *parg, size_t > *array_size, void * __user *user_ptr, void ***kernel_ptr) { > int ret =3D 0; >=20 > switch (cmd) { > case VIDIOC_QUERYBUF: > case VIDIOC_QBUF: > case VIDIOC_DQBUF: { > struct v4l2_buffer *buf =3D parg; > ... >=20 > and I have it in GDB as: >=20 > (gdb) s > check_array_args (cmd=3D1074034177, parg=3D0xbf4f9d94, > array_size=3D0xbf4f9d80, > user_ptr=3D0xbf4f9d7c, kernel_ptr=3D0xbf4f9d78) > at media_tree/drivers/media/video/v4l2-ioctl.c:2202 > 2202 int ret =3D 0; > (gdb) n > 2204 switch (cmd) { > (gdb) > 2239 return ret; > (gdb) p ret > $8 =3D 0 > (gdb) p /x cmd > $9 =3D 0x40047601 >=20 > i.e. it can not find any match with cmd=3D0x40047601 in the defines of >=20 > /usr/local/include/linux/videodev2.h >=20 > /* > * I O C T L C O D E S F O R V I D E O D E V I C E S > * > */ > #define VIDIOC_QUERYCAP _IOR('V', 0, struct v4l2_capability) > #define VIDIOC_RESERVED _IO('V', 1) > #define VIDIOC_ENUM_FMT _IOWR('V', 2, struct v4l2_fmtdesc) > #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format) > #define VIDIOC_S_FMT _IOWR('V', 5, struct v4l2_format) > #define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers) > ... >=20 > they are all there with capital 'V' while we have 'v' (0x76) im the cmd; > this can not work; somewhere the conversion from V4L to V4L2 is missed; > where this should be done, please point me to the source file to check > and set a breakpoint there; thanks >=20 Hi, Could you try with the latest 3.2 port of webcamd which I posted? BTW: I'm busy all weekend. Will reply on Monday. =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 16:04:04 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB9E61065673 for ; Fri, 6 Jan 2012 16:04:04 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 6AB5D8FC13 for ; Fri, 6 Jan 2012 16:04:04 +0000 (UTC) Received: from [93.104.82.184] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RjCGw-00035e-Lw; Fri, 06 Jan 2012 17:04:02 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q06G411T087886; Fri, 6 Jan 2012 17:04:02 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q06G40n3087885; Fri, 6 Jan 2012 17:04:01 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 6 Jan 2012 17:04:00 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120106160400.GA87768@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <201201051900.01903.hselasky@c2i.net> <20120106134811.GA6168@tinyCurrent> <201201061647.46539.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201061647.46539.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.82.184 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 16:04:04 -0000 El día Friday, January 06, 2012 a las 04:47:46PM +0100, Hans Petter Selasky escribió: > > #define VIDIOC_RESERVED _IO('V', 1) > > #define VIDIOC_ENUM_FMT _IOWR('V', 2, struct v4l2_fmtdesc) > > #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format) > > #define VIDIOC_S_FMT _IOWR('V', 5, struct v4l2_format) > > #define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers) > > ... > > > > they are all there with capital 'V' while we have 'v' (0x76) im the cmd; > > this can not work; somewhere the conversion from V4L to V4L2 is missed; > > where this should be done, please point me to the source file to check > > and set a breakpoint there; thanks > > > > Hi, > > Could you try with the latest 3.2 port of webcamd which I posted? Hi, All tests and gdb traces of today are based on 3.2 port; see # gdb work/webcamd-3.2.0.1/webcamd ... (gdb) br v4b_ioctl Breakpoint 1 at 0x82f2c96: file webcamd.c, line 265. (gdb) r Starting program: /usr/ports/multimedia/webcamd/work/webcamd-3.2.0.1/webcamd > BTW: I'm busy all weekend. Will reply on Monday. OK, I'm in no hurry with this; the built-in webcam in this laptop is not working for more than one year and can wait even a bit more :-) Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 19:55:24 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A206D1065672 for ; Fri, 6 Jan 2012 19:55:24 +0000 (UTC) (envelope-from me@janh.de) Received: from mxchg03.rrz.uni-hamburg.de (mxchg03.rrz.uni-hamburg.de [134.100.38.113]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC968FC17 for ; Fri, 6 Jan 2012 19:55:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTP id 2EA731EE2AC; Fri, 6 Jan 2012 20:40:19 +0100 (CET) X-Virus-Scanned: by University of Hamburg ( RRZ / mgw02.rrz.uni-hamburg.de ) Received: from mxchg03.rrz.uni-hamburg.de ([127.0.0.1]) by localhost (mxchg03.rrz.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10324) with ESMTP id 8VNaysv-SH8o; Fri, 6 Jan 2012 20:40:19 +0100 (CET) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.38.99]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTPS; Fri, 6 Jan 2012 20:40:19 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 1876E9004A; Fri, 6 Jan 2012 20:40:19 +0100 (CET) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cSJZpMiZCMwE; Fri, 6 Jan 2012 20:40:19 +0100 (CET) Received: from nb981.math (g224007063.adsl.alicedsl.de [92.224.7.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id CF8E590006; Fri, 6 Jan 2012 20:40:18 +0100 (CET) Message-ID: <4F074E1D.6080207@janh.de> Date: Fri, 06 Jan 2012 20:40:13 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: multimedia-list freebsd Content-Type: multipart/mixed; boundary="------------020306050208020208090007" Subject: multimedia/avidemux2 and audio/liba52 have legacy restrictions for PACKAGE_BUILDING X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 19:55:24 -0000 This is a multi-part message in MIME format. --------------020306050208020208090007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit audio/liba52 avoids math/djbfft, if PACKAGE_BUILDING is defined, but math/djbfft is not restricted anymore: http://www.freebsd.org/cgi/getmsg.cgi?fetch=252187+0+/usr/local/www/db/text/2008/cvs-ports/20080810.cvs-ports multimedia/avidemux2 avoids audio/opencore-amr, if PACKAGE_BUILDING is defined, but audio/opencore-amr is not restricted, only audio/libamrwb is restricted, which has been replaced as the AMR dependency: http://www.freebsd.org/cgi/getmsg.cgi?fetch=1161222+0+/usr/local/www/db/text/2010/cvs-ports/20101219.cvs-ports Remark: WITHOUT_LAME and WITHOUT_FAAC are still valid for PACKAGE_BUILDING in multimedia/avidemux2/Makefile.common. Cheers, Jan Henrik --------------020306050208020208090007 Content-Type: text/plain; name="patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch.txt" --- audio/liba52/Makefile.orig 2011-09-24 00:21:04.000000000 +0200 +++ audio/liba52/Makefile 2012-01-06 20:35:45.000000000 +0100 @@ -25,7 +25,7 @@ CONFIGURE_ARGS= --disable-oss --enable-shared USE_LDCONFIG= yes -.if !defined(WITHOUT_DJBFFT) && !defined(PACKAGE_BUILDING) +.if !defined(WITHOUT_DJBFFT) BUILD_DEPENDS+= ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft RUN_DEPENDS+= ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft --- multimedia/avidemux2/Makefile.common.orig 2011-12-21 09:48:26.000000000 +0100 +++ multimedia/avidemux2/Makefile.common 2012-01-06 20:35:05.000000000 +0100 @@ -62,7 +62,6 @@ .if defined(PACKAGE_BUILDING) WITHOUT_LAME= yes WITHOUT_FAAC= yes -WITHOUT_AMR= yes .endif # for libexecinfo: (so that __builtin_frame_address() finds the top --------------020306050208020208090007-- From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 02:25:56 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B951106564A for ; Sat, 7 Jan 2012 02:25:56 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id D1BA28FC12 for ; Sat, 7 Jan 2012 02:25:55 +0000 (UTC) Received: from roxette.lamaiziere.net (79.176.97.84.rev.sfr.net [84.97.176.79]) by smtp.lamaiziere.net (Postfix) with ESMTPA id C7B76FAA2D08; Sat, 7 Jan 2012 03:09:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by roxette.lamaiziere.net (Postfix) with ESMTP id 40862A41F; Sat, 7 Jan 2012 03:09:40 +0100 (CET) Date: Sat, 7 Jan 2012 03:09:39 +0100 From: Patrick Lamaiziere To: Jens Schweikhardt Message-ID: <20120107030939.67eeb65d@davenulle.org> In-Reply-To: <20120105171111.GB3008@schweikhardt.net> References: <20120105171111.GB3008@schweikhardt.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: multimedia@freebsd.org Subject: Re: Problems getting an HP Photosmart C4180 to scan with SANE 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, 07 Jan 2012 02:25:56 -0000 Le Thu, 5 Jan 2012 18:11:11 +0100, Jens Schweikhardt a écrit : > hello, world\n Hello, > I'm trying to get an HP Photosmart C4180 to scan with 9-STABLE. > I've read the relevant section in the handbook and installed > /usr/ports/graphics/sane-backend. Did you install hplip? As far I remember this is needed to scan. The port has few options for scan, you may have to turn them on. Regards. From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 08:28:23 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB91D10656AB for ; Sat, 7 Jan 2012 08:28:23 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id BBABE8FC24 for ; Sat, 7 Jan 2012 08:28:23 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.4/8.14.4) with ESMTP id q078SNxv064535 for ; Sat, 7 Jan 2012 08:28:23 GMT (envelope-from linimon@FreeBSD.org) Date: Sat, 7 Jan 2012 08:28:23 GMT Message-Id: <201201070828.q078SNxv064535@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: multimedia@FreeBSD.org Cc: Subject: FreeBSD ports that you maintain which are currently marked broken X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 08:28:23 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc4.2, which is much stricter than older versions. The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 7.x/8.x/9.x/-current with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: audio/gstreamer-plugins-flite broken because: Doesn't work due to link problem in audio/flite build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=audio&portname=gstreamer-plugins-flite If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 22:47:19 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9F8E1065675 for ; Sat, 7 Jan 2012 22:47:19 +0000 (UTC) (envelope-from marcelbonnet@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8EA5D8FC0A for ; Sat, 7 Jan 2012 22:47:19 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so4239544obb.13 for ; Sat, 07 Jan 2012 14:47:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PHeeDUGwzK44v1jf80K1TlATIeq05D1BtkTr9751Pfw=; b=OYyyWjt/srZw3ap5ghk5oNLeMiNK4N0+UeS3VR4WJawdt4icSW+uFzX1j7428Llrk+ 8U77YztO24BeYDjLX3tdq7M8jVR6eINSgrVWU/3nj08neRpZA+2phtu10Tx9BHB7Ce66 U9pQjqS8w+JCgGnzPNXk8OF8Y5eVpl4uxQi/8= MIME-Version: 1.0 Received: by 10.182.95.207 with SMTP id dm15mr1010941obb.60.1325974699066; Sat, 07 Jan 2012 14:18:19 -0800 (PST) Received: by 10.182.121.104 with HTTP; Sat, 7 Jan 2012 14:18:19 -0800 (PST) In-Reply-To: <20120107030939.67eeb65d@davenulle.org> References: <20120105171111.GB3008@schweikhardt.net> <20120107030939.67eeb65d@davenulle.org> Date: Sat, 7 Jan 2012 20:18:19 -0200 Message-ID: From: Marcel Bonnet To: Patrick Lamaiziere Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: multimedia@freebsd.org, Jens Schweikhardt Subject: Re: Problems getting an HP Photosmart C4180 to scan with SANE 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, 07 Jan 2012 22:47:20 -0000 On 7 January 2012 00:09, Patrick Lamaiziere wrote: > Le Thu, 5 Jan 2012 18:11:11 +0100, > Jens Schweikhardt a =E9crit : > > > hello, world\n > > Hello, > > > I'm trying to get an HP Photosmart C4180 to scan with 9-STABLE. > > I've read the relevant section in the handbook and installed > > /usr/ports/graphics/sane-backend. > > Did you install hplip? As far I remember this is needed to scan. > The port has few options for scan, you may have to turn them on. > > > Maybe this http://forums.freebsd.org/archive/index.php/t-21312.html help a little bit: it seems some HP printers have a umass storage for the windows installer, and some are not supported by hplip. A device using HPLIP must be detected with ugen driver. --=20 Marcel Bonnet "No princ=EDpio era o caos... e no meio tamb=E9m." From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 23:09:48 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA3CA106564A for ; Sat, 7 Jan 2012 23:09:48 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id 6A73A8FC13 for ; Sat, 7 Jan 2012 23:09:48 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id 00EFE5800A; Sun, 8 Jan 2012 00:09:46 +0100 (CET) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.5/8.14.5) with ESMTP id q07N3lXX006427; Sun, 8 Jan 2012 00:03:47 +0100 (CET) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.5/8.14.5/Submit) id q07N3lm8006426; Sun, 8 Jan 2012 00:03:47 +0100 (CET) (envelope-from schweikh) Date: Sun, 8 Jan 2012 00:03:47 +0100 From: Jens Schweikhardt To: Marcel Bonnet Message-ID: <20120107230347.GA2922@schweikhardt.net> References: <20120105171111.GB3008@schweikhardt.net> <20120107030939.67eeb65d@davenulle.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: multimedia@freebsd.org Subject: Re: Problems getting an HP Photosmart C4180 to scan with SANE 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, 07 Jan 2012 23:09:48 -0000 On Sat, Jan 07, 2012 at 08:18:19PM -0200, Marcel Bonnet wrote: # On 7 January 2012 00:09, Patrick Lamaiziere wrote: # # > Le Thu, 5 Jan 2012 18:11:11 +0100, # > Jens Schweikhardt a écrit : # > # > > hello, world\n # > # > Hello, # > # > > I'm trying to get an HP Photosmart C4180 to scan with 9-STABLE. # > > I've read the relevant section in the handbook and installed # > > /usr/ports/graphics/sane-backend. # > # > Did you install hplip? As far I remember this is needed to scan. # > The port has few options for scan, you may have to turn them on. # > # > # > Maybe this http://forums.freebsd.org/archive/index.php/t-21312.html help # a little bit: it seems some HP printers have a umass storage for the # windows installer, and some are not supported by hplip. # A device using HPLIP must be detected with ugen driver. Thanks for pointing me to hplip, that's the part I was mising. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)