From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 14 13:36:49 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABDB4106566C for ; Sun, 14 Feb 2010 13:36:49 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 35B678FC08 for ; Sun, 14 Feb 2010 13:36:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 48DB690110; Sun, 14 Feb 2010 14:36:47 +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 mqxIH6csifBh; Sun, 14 Feb 2010 14:36:47 +0100 (CET) Received: from jeee.freebsd (e177254121.adsl.alicedsl.de [85.177.254.121]) (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 B8FC1900C0; Sun, 14 Feb 2010 14:36:46 +0100 (CET) Message-ID: <4B77FC79.5040106@janh.de> Date: Sun, 14 Feb 2010 14:36:57 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100207 Thunderbird/3.0.1 MIME-Version: 1.0 To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: multimedia-list freebsd Subject: DVB-T with Cuse4BSD: bad signal quality 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, 14 Feb 2010 13:36:49 -0000 After I tried video4bsd last weekend for the first time and was able to make my webcam work, but not my DVB-T device. This weekend, I found Cuse4BSD on your homepage replacing video4bsd. Now my DVB-T stick basically work. Thanks a lot for all your effort! I wanted to complain about the firmware path being /, but since you added the '-f' switch that comes down to the rather unimportant default being / and not -- for example -- /boot/modules/. Having to call webcamd twice, once to load the firmware and once to actually do its job is a little counter intuitive. My major problem at the moment is the quality of the signal. That has always been dependent on the location of the antenna in my apartment, but I just tried Raaf's dvbusb driver under FreeBSD 7 without having any distortions and immediately booted back into FreeBSD 8: The distortions are so high that it is unwatchable and after a few seconds audio and video are out of sync using Raaf's typhony (Kaffeine seems a little better at keeping the streams at sync even with a bad signal). I already checked the system load on my atom based system: 15% user, 10% system, 70% idle (8% python, 8% mplayer, 4% webcamd) or 15% user, 20% system, 60% idle (20% kaffeine, 7% webcamd, 5% Xorg) -- that does not seem problematic. (I thought with the driver now partially in user space there might be higher load than before due to context switching.) I am currently on FreeBSD 8.0-RELEASE with the libusb patch you advertised last week on your homepage. I would not like to bring my atom based system to 8-STABLE or 9-CURRENT. Would that help? Any idea or fix for my distortions? Cheers, Jan Henrik From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 14 13:45:43 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C1F41065670 for ; Sun, 14 Feb 2010 13:45:43 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id DB9A88FC0C for ; Sun, 14 Feb 2010 13:45:42 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=eFX8sH5iCjsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=hLKnTLUe39QJFeRg6BAA:9 a=ksDyEKfQFmMQiAYvoTYA:7 a=bXdDES9XJd8-U_aqNP3ibmH3UrIA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1340778537; Sun, 14 Feb 2010 14:45:41 +0100 From: Hans Petter Selasky To: Jan Henrik Sylvester Date: Sun, 14 Feb 2010 14:44:13 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <4B77FC79.5040106@janh.de> In-Reply-To: <4B77FC79.5040106@janh.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002141444.13674.hselasky@c2i.net> Cc: multimedia-list freebsd Subject: Re: DVB-T with Cuse4BSD: bad signal quality 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, 14 Feb 2010 13:45:43 -0000 On Sunday 14 February 2010 14:36:57 Jan Henrik Sylvester wrote: > After I tried video4bsd last weekend for the first time and was able to > make my webcam work, but not my DVB-T device. This weekend, I found > Cuse4BSD on your homepage replacing video4bsd. > > Now my DVB-T stick basically work. Thanks a lot for all your effort! > > I wanted to complain about the firmware path being /, but since you > added the '-f' switch that comes down to the rather unimportant default > being / and not -- for example -- /boot/modules/. Having to call webcamd > twice, once to load the firmware and once to actually do its job is a > little counter intuitive. > > My major problem at the moment is the quality of the signal. That has > always been dependent on the location of the antenna in my apartment, > but I just tried Raaf's dvbusb driver under FreeBSD 7 without having any > distortions and immediately booted back into FreeBSD 8: The distortions > are so high that it is unwatchable and after a few seconds audio and > video are out of sync using Raaf's typhony (Kaffeine seems a little > better at keeping the streams at sync even with a bad signal). > > I already checked the system load on my atom based system: 15% user, 10% > system, 70% idle (8% python, 8% mplayer, 4% webcamd) or 15% user, 20% > system, 60% idle (20% kaffeine, 7% webcamd, 5% Xorg) -- that does not > seem problematic. (I thought with the driver now partially in user space > there might be higher load than before due to context switching.) > > I am currently on FreeBSD 8.0-RELEASE with the libusb patch you > advertised last week on your homepage. I would not like to bring my atom > based system to 8-STABLE or 9-CURRENT. Would that help? > > Any idea or fix for my distortions? It might be that the Linux driver is setting up to small buffers. I have some patches for some of the V4L drivers, but not all. What is the VID+PID of your device? usbconfig -u X -a Y dump_device_desc --HPS From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 14 13:49:22 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2609B1065679 for ; Sun, 14 Feb 2010 13:49:22 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id AA3ED8FC17 for ; Sun, 14 Feb 2010 13:49:21 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=eFX8sH5iCjsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=28QuaqFW8Egqn1sOH6cA:9 a=Nibu4zg3rs-XY8FMZzGjyn8Vww0A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1167524619; Sun, 14 Feb 2010 14:49:20 +0100 From: Hans Petter Selasky To: Jan Henrik Sylvester Date: Sun, 14 Feb 2010 14:47:52 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <4B77FC79.5040106@janh.de> In-Reply-To: <4B77FC79.5040106@janh.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002141447.52525.hselasky@c2i.net> Cc: multimedia-list freebsd Subject: Re: DVB-T with Cuse4BSD: bad signal quality 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, 14 Feb 2010 13:49:22 -0000 On Sunday 14 February 2010 14:36:57 Jan Henrik Sylvester wrote: > I wanted to complain about the firmware path being /, but since you > added the '-f' switch that comes down to the rather unimportant default > being / and not -- for example -- /boot/modules/. Having to call webcamd > twice, once to load the firmware and once to actually do its job is a > little counter intuitive. > Fixed. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 14 14:11:42 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 950011065670 for ; Sun, 14 Feb 2010 14:11:42 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9438FC0A for ; Sun, 14 Feb 2010 14:11:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 37CDA90158; Sun, 14 Feb 2010 15:11:41 +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 7fkl89SOs36Z; Sun, 14 Feb 2010 15:11:41 +0100 (CET) Received: from jeee.freebsd (e177254121.adsl.alicedsl.de [85.177.254.121]) (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 C1AA49015C; Sun, 14 Feb 2010 15:11:40 +0100 (CET) Message-ID: <4B7804B3.4000903@janh.de> Date: Sun, 14 Feb 2010 15:12:03 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100207 Thunderbird/3.0.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <4B77FC79.5040106@janh.de> <201002141444.13674.hselasky@c2i.net> In-Reply-To: <201002141444.13674.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: multimedia-list freebsd Subject: Re: DVB-T with Cuse4BSD: bad signal quality 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, 14 Feb 2010 14:11:42 -0000 On 02/14/2010 14:44, Hans Petter Selasky wrote: > On Sunday 14 February 2010 14:36:57 Jan Henrik Sylvester wrote: >> After I tried video4bsd last weekend for the first time and was able to >> make my webcam work, but not my DVB-T device. This weekend, I found >> Cuse4BSD on your homepage replacing video4bsd. >> >> Now my DVB-T stick basically work. Thanks a lot for all your effort! >> >> I wanted to complain about the firmware path being /, but since you >> added the '-f' switch that comes down to the rather unimportant default >> being / and not -- for example -- /boot/modules/. Having to call webcamd >> twice, once to load the firmware and once to actually do its job is a >> little counter intuitive. >> >> My major problem at the moment is the quality of the signal. That has >> always been dependent on the location of the antenna in my apartment, >> but I just tried Raaf's dvbusb driver under FreeBSD 7 without having any >> distortions and immediately booted back into FreeBSD 8: The distortions >> are so high that it is unwatchable and after a few seconds audio and >> video are out of sync using Raaf's typhony (Kaffeine seems a little >> better at keeping the streams at sync even with a bad signal). >> >> I already checked the system load on my atom based system: 15% user, 10% >> system, 70% idle (8% python, 8% mplayer, 4% webcamd) or 15% user, 20% >> system, 60% idle (20% kaffeine, 7% webcamd, 5% Xorg) -- that does not >> seem problematic. (I thought with the driver now partially in user space >> there might be higher load than before due to context switching.) >> >> I am currently on FreeBSD 8.0-RELEASE with the libusb patch you >> advertised last week on your homepage. I would not like to bring my atom >> based system to 8-STABLE or 9-CURRENT. Would that help? >> >> Any idea or fix for my distortions? > > It might be that the Linux driver is setting up to small buffers. I have some > patches for some of the V4L drivers, but not all. What is the VID+PID of your > device? > > usbconfig -u X -a Y dump_device_desc ugen4.4: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x14aa idProduct = 0x0226 bcdDevice = 0x0521 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <20060503> bNumConfigurations = 0x0001 (I will not be able to answer anymore for a few hours.) Cheers, Jan Henrik From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 14 14:41:33 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D3C6106566B for ; Sun, 14 Feb 2010 14:41:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.tele2.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 035468FC16 for ; Sun, 14 Feb 2010 14:41:32 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=eFX8sH5iCjsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=q-t6vbWu-WmBxvYPPzsA:9 a=4bjtYzNHM5EbEpM-c8wA:7 a=5cJ7yOd8vVVjmy1g1JE1E_hFyA8A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 600514822; Sun, 14 Feb 2010 15:41:30 +0100 From: Hans Petter Selasky To: Jan Henrik Sylvester Date: Sun, 14 Feb 2010 15:40:03 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <4B77FC79.5040106@janh.de> <201002141444.13674.hselasky@c2i.net> <4B7804B3.4000903@janh.de> In-Reply-To: <4B7804B3.4000903@janh.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002141540.03164.hselasky@c2i.net> Cc: multimedia-list freebsd Subject: Re: DVB-T with Cuse4BSD: bad signal quality 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, 14 Feb 2010 14:41:33 -0000 On Sunday 14 February 2010 15:12:03 Jan Henrik Sylvester wrote: > On 02/14/2010 14:44, Hans Petter Selasky wrote: > > On Sunday 14 February 2010 14:36:57 Jan Henrik Sylvester wrote: > >> After I tried video4bsd last weekend for the first time and was able to > >> make my webcam work, but not my DVB-T device. This weekend, I found > >> Cuse4BSD on your homepage replacing video4bsd. > >> > >> Now my DVB-T stick basically work. Thanks a lot for all your effort! > >> > >> I wanted to complain about the firmware path being /, but since you > >> added the '-f' switch that comes down to the rather unimportant default > >> being / and not -- for example -- /boot/modules/. Having to call webcamd > >> twice, once to load the firmware and once to actually do its job is a > >> little counter intuitive. > >> > >> My major problem at the moment is the quality of the signal. That has > >> always been dependent on the location of the antenna in my apartment, > >> but I just tried Raaf's dvbusb driver under FreeBSD 7 without having any > >> distortions and immediately booted back into FreeBSD 8: The distortions > >> are so high that it is unwatchable and after a few seconds audio and > >> video are out of sync using Raaf's typhony (Kaffeine seems a little > >> better at keeping the streams at sync even with a bad signal). > >> > >> I already checked the system load on my atom based system: 15% user, 10% > >> system, 70% idle (8% python, 8% mplayer, 4% webcamd) or 15% user, 20% > >> system, 60% idle (20% kaffeine, 7% webcamd, 5% Xorg) -- that does not > >> seem problematic. (I thought with the driver now partially in user space > >> there might be higher load than before due to context switching.) > >> > >> I am currently on FreeBSD 8.0-RELEASE with the libusb patch you > >> advertised last week on your homepage. I would not like to bring my atom > >> based system to 8-STABLE or 9-CURRENT. Would that help? > >> > >> Any idea or fix for my distortions? > > > > It might be that the Linux driver is setting up to small buffers. I have > > some patches for some of the V4L drivers, but not all. What is the > > VID+PID of your device? > > > > usbconfig -u X -a Y dump_device_desc > > ugen4.4: at usbus4, cfg=0 > md=HOST spd=HIGH (480Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x14aa > idProduct = 0x0226 > bcdDevice = 0x0521 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 <20060503> > bNumConfigurations = 0x0001 > Hi, It looks like this driver, linux/drivers/media/dvb/dvb-usb/dtt200u.c, uses BULK transfers. We would need to add some debug prints to the code to figure out what is going on. Meanwhile, try to get your system to 8-STABLE. There are some libusb fixes in there, if you didn't install the latest version of libusb already. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 15 02:32:39 2010 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADD6B1065672; Mon, 15 Feb 2010 02:32:39 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8407D8FC0A; Mon, 15 Feb 2010 02:32:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1F2Wd4b092711; Mon, 15 Feb 2010 02:32:39 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1F2Wdki092707; Mon, 15 Feb 2010 02:32:39 GMT (envelope-from linimon) Date: Mon, 15 Feb 2010 02:32:39 GMT Message-Id: <201002150232.o1F2Wdki092707@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/143945: multimedia/win32-codecs: update from 20061022 to 20071007 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, 15 Feb 2010 02:32:39 -0000 Old Synopsis: update from 20061022 to 20071007 New Synopsis: multimedia/win32-codecs: update from 20061022 to 20071007 Class-Changed-From-To: sw-bug->change-request Class-Changed-By: linimon Class-Changed-When: Mon Feb 15 02:30:50 UTC 2010 Class-Changed-Why: Fix synopsis and assign. Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia Responsible-Changed-By: linimon Responsible-Changed-When: Mon Feb 15 02:30:50 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=143945 From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 15 11:07:05 2010 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 865E51065670 for ; Mon, 15 Feb 2010 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 73B1B8FC2E for ; Mon, 15 Feb 2010 11:07:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1FB75mV070383 for ; Mon, 15 Feb 2010 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1FB74Z5070381 for freebsd-multimedia@FreeBSD.org; Mon, 15 Feb 2010 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Feb 2010 11:07:04 GMT Message-Id: <201002151107.o1FB74Z5070381@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, 15 Feb 2010 11:07:05 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/143945 multimedia multimedia/win32-codecs: update from 20061022 to 20071 o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o ports/143141 multimedia [PATCH] net/minisapserver: update rc script & use SUB_ o ports/142522 multimedia [patch] audio/libsndfile upgrade 1.0.20 to 1.0.21 o kern/141826 multimedia [snd_hda] load of snd_hda module fails o ports/140999 multimedia [PATCH] audio/wavpack: update to 4.60.0, take maintain o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/140453 multimedia [sound] No sound inside Virtualbox on 50% volume o ports/138213 multimedia Apply SqueezeCenter patches to audio/faad that enable o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o ports/133462 multimedia multimedia/x264 build fails on powerpc o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron o ports/127084 multimedia multimedia/linux-realplayer is vulnerable s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt f kern/115666 multimedia [sound] Microphone does not work o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/98167 multimedia [sound] [es137x] [patch] ES1370 mixer volumes incorrec o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup s kern/83697 multimedia [sound] [snd_mss] [patch] support, docs added for full o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 62 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 15 14:35:56 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D6411065670 for ; Mon, 15 Feb 2010 14:35:56 +0000 (UTC) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.freebsd.org (Postfix) with ESMTP id B80FD8FC1D for ; Mon, 15 Feb 2010 14:35:55 +0000 (UTC) Received: from mailhost.frm2.tum.de (localhost [127.0.0.1]) by mailhost.frm2.tum.de (8.14.3/8.14.3) with ESMTP id o1FEYsBF021673; Mon, 15 Feb 2010 15:35:52 +0100 (CET) (envelope-from jpulz@frm2.tum.de) X-Virus-Scanned: at mailhost.frm2.tum.de Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10]) by mailhost.frm2.tum.de (8.14.3/8.14.3) with ESMTP id o1FEZoIx021714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 Feb 2010 15:35:50 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (localhost [127.0.0.1]) by hades.admin.frm2 (8.14.3/8.14.3) with ESMTP id o1FEZngF055641; Mon, 15 Feb 2010 15:35:49 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: (from jpulz@localhost) by hades.admin.frm2 (8.14.3/8.14.3/Submit) id o1FEZn8M055640; Mon, 15 Feb 2010 15:35:49 +0100 (CET) (envelope-from jpulz) Date: Mon, 15 Feb 2010 15:35:46 +0100 (CET) From: Joerg Pulz To: freebsd-multimedia@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (mailhost.frm2.tum.de [129.187.179.12]); Mon, 15 Feb 2010 15:35:50 +0100 (CET) Cc: Subject: DVB-T (siano sms1xxx) w Video4BSD/Cuse4BSD 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, 15 Feb 2010 14:35:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, today i found some time to try the latest stuff regarding Video4BSD and DVB-T USB devices. My system is: FreeBSD hades.admin.frm2 8.0-STABLE FreeBSD 8.0-STABLE #2: Thu Jan 21 12:42:55 CET 2010 root@hades.admin.frm2:/usr/obj/usr/src/sys/GENERIC amd64 My device is a Hauupauge WinTV MiniStick: usbconfig -u 7 -a 3 dump_device_desc ugen7.3: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x2040 idProduct = 0x5500 bcdDevice = 0x0001 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 bNumConfigurations = 0x0001 I svn up'ed the sources (revision 1469) and recompiled. So far everything wnet fine. I kldload'ed video4bsd and cuse4bsd without errors. After plugging in the DVB-T stick i tried to start webcamd and it just bails out with a segmentation fault: ./webcamd Attached ugen7.3[0] to cuse unit 0 Segmentation fault (core dumped) After recompiling webcamd with "-g" and using gdb i found that it faults at: v4l-dvb-82bbb3bd0f0a/linux/drivers/media/dvb/siano/smsusb.c (line 358) Which is the following line: snprintf(params.devpath, sizeof(params.devpath), "usb\\%d-%s", dev->udev->bus->busnum, dev->udev->devpath); As i'm not that deep inside Video4BSD i'm lost at this point. The only thing i already tried was uncommentig the above line and trying again. This in fact, solved the segmentation fault and results in the following output: ./webcamd -f /tmp Attached ugen7.3[0] to cuse unit 0 Loading firmware at '/tmp/sms1xxx-hcw-55xxx-dvbt-02.fw', f=7 Creating /dev/dvb/adapter0/demux0 Creating /dev/dvb/adapter0/dvr0 Creating /dev/dvb/adapter0/frontend0 So it seems the device should work but it doesn't. Whatever i try no application identifies it as a usable device. A simple 'cat /dev/dvb/adapter0/dvr0' results in "Device not configured". May be this is due to uncommenting the code in smsusb.c, i don't know. What i found by doing a simple 'ls -l /dev/dvb/adapter0' is that the above mentioned devices (demux0, dvr0 and frontend0) exist twice! ls -l /dev/dvb/adapter0 crw-r--r-- 1 root operator 0, 224 Feb 15 15:25 demux0 crw-r--r-- 1 root operator 0, 224 Feb 15 15:25 demux0 crw------- 1 root operator 0, 225 Feb 15 15:25 demux_daemon0 crw-r--r-- 1 root operator 0, 226 Feb 15 15:25 dvr0 crw-r--r-- 1 root operator 0, 226 Feb 15 15:25 dvr0 crw------- 1 root operator 0, 227 Feb 15 15:25 dvr_daemon0 crw-r--r-- 1 root operator 0, 228 Feb 15 15:25 frontend0 crw-r--r-- 1 root operator 0, 228 Feb 15 15:25 frontend0 crw------- 1 root operator 0, 229 Feb 15 15:25 frontend_daemon0 I don't know how this is possible? Anyway, any help is much appreciated. Thanks and kind regards Joerg - -- The beginning is the most important part of the work. -Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFLeVvFSPOsGF+KA+MRAqq4AJ9NXdIKICWeixPyDXhRSAEvnQjQ2gCghmqN fKBiIlhpdSek5vDFzDfmxDQ= =A6f8 -----END PGP SIGNATURE----- From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 15 14:38:50 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94FBE1065780 for ; Mon, 15 Feb 2010 14:38:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id F1D038FC2D for ; Mon, 15 Feb 2010 14:38:49 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=KO_5GujDXrcA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=PgnWpsbSguqmrfsmZSUA:9 a=Rk0bFRzFnJMxcdmZ7wkA:7 a=E7PnnhV-3tkfn179pNsPhwR-tN8A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1338976129; Mon, 15 Feb 2010 15:38:48 +0100 From: Hans Petter Selasky To: Joerg Pulz Date: Mon, 15 Feb 2010 15:37:19 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002151537.19382.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: DVB-T (siano sms1xxx) w Video4BSD/Cuse4BSD 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, 15 Feb 2010 14:38:50 -0000 On Monday 15 February 2010 15:35:46 Joerg Pulz wrote: > Hi, > > today i found some time to try the latest stuff regarding Video4BSD and > DVB-T USB devices. > My system is: > FreeBSD hades.admin.frm2 8.0-STABLE FreeBSD 8.0-STABLE #2: Thu Jan 21 > 12:42:55 CET 2010 root@hades.admin.frm2:/usr/obj/usr/src/sys/GENERIC > amd64 > > My device is a Hauupauge WinTV MiniStick: > usbconfig -u 7 -a 3 dump_device_desc > > ugen7.3: at usbus7, cfg=0 > md=HOST spd=HIGH (480Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x2040 > idProduct = 0x5500 > bcdDevice = 0x0001 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 > bNumConfigurations = 0x0001 > > I svn up'ed the sources (revision 1469) and recompiled. So far everything > wnet fine. I kldload'ed video4bsd and cuse4bsd without errors. > After plugging in the DVB-T stick i tried to start webcamd and it just > bails out with a segmentation fault: > ./webcamd > Attached ugen7.3[0] to cuse unit 0 > Segmentation fault (core dumped) > > After recompiling webcamd with "-g" and using gdb i found that it faults > at: v4l-dvb-82bbb3bd0f0a/linux/drivers/media/dvb/siano/smsusb.c (line 358) > Which is the following line: > snprintf(params.devpath, sizeof(params.devpath), > "usb\\%d-%s", dev->udev->bus->busnum, dev->udev->devpath); > > As i'm not that deep inside Video4BSD i'm lost at this point. > > The only thing i already tried was uncommentig the above line and trying > again. This in fact, solved the segmentation fault and results in the > following output: > > ./webcamd -f /tmp > Attached ugen7.3[0] to cuse unit 0 > Loading firmware at '/tmp/sms1xxx-hcw-55xxx-dvbt-02.fw', f=7 > Creating /dev/dvb/adapter0/demux0 > Creating /dev/dvb/adapter0/dvr0 > Creating /dev/dvb/adapter0/frontend0 > > So it seems the device should work but it doesn't. Whatever i try no > application identifies it as a usable device. > A simple 'cat /dev/dvb/adapter0/dvr0' results in "Device not configured". > May be this is due to uncommenting the code in smsusb.c, i don't know. > What i found by doing a simple 'ls -l /dev/dvb/adapter0' is that the above > mentioned devices (demux0, dvr0 and frontend0) exist twice! > > ls -l /dev/dvb/adapter0 > > crw-r--r-- 1 root operator 0, 224 Feb 15 15:25 demux0 > crw-r--r-- 1 root operator 0, 224 Feb 15 15:25 demux0 > crw------- 1 root operator 0, 225 Feb 15 15:25 demux_daemon0 > crw-r--r-- 1 root operator 0, 226 Feb 15 15:25 dvr0 > crw-r--r-- 1 root operator 0, 226 Feb 15 15:25 dvr0 > crw------- 1 root operator 0, 227 Feb 15 15:25 dvr_daemon0 > crw-r--r-- 1 root operator 0, 228 Feb 15 15:25 frontend0 > crw-r--r-- 1 root operator 0, 228 Feb 15 15:25 frontend0 > crw------- 1 root operator 0, 229 Feb 15 15:25 frontend_daemon0 > > > I don't know how this is possible? Hi, Try to kldload video4bsd, and only have cuse4bsd in the kernel. I will try to fix that segmentation fault. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 15 14:40:25 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA8CE106566C for ; Mon, 15 Feb 2010 14:40:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 6E7348FC27 for ; Mon, 15 Feb 2010 14:40:25 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=KO_5GujDXrcA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=kwFPDP-AenyhZnexHrIA:9 a=g6QgQKWnnA6RWP9CGBntyvomArAA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1340994083; Mon, 15 Feb 2010 15:40:23 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Mon, 15 Feb 2010 15:38:55 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201002151537.19382.hselasky@c2i.net> In-Reply-To: <201002151537.19382.hselasky@c2i.net> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002151538.55287.hselasky@c2i.net> Cc: Subject: Re: DVB-T (siano sms1xxx) w Video4BSD/Cuse4BSD 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, 15 Feb 2010 14:40:25 -0000 On Monday 15 February 2010 15:37:19 Hans Petter Selasky wrote: > kldload > I mean: kldunload --HPS From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 17 16:00:17 2010 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 988F31065692 for ; Wed, 17 Feb 2010 16:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7BDB08FC14 for ; Wed, 17 Feb 2010 16:00:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1HG0HAR086096 for ; Wed, 17 Feb 2010 16:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1HG0HF3086095; Wed, 17 Feb 2010 16:00:17 GMT (envelope-from gnats) Date: Wed, 17 Feb 2010 16:00:17 GMT Message-Id: <201002171600.o1HG0HF3086095@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: "b. f." Cc: Subject: Re: ports/140999: [PATCH] audio/wavpack: update to 4.60.0, take maintainership X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "b. f." List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 16:00:17 -0000 The following reply was made to PR ports/140999; it has been noted by GNATS. From: "b. f." To: bug-followup@FreeBSD.org Cc: sunpoet@sunpoet.net Subject: Re: ports/140999: [PATCH] audio/wavpack: update to 4.60.0, take maintainership Date: Wed, 17 Feb 2010 10:57:56 -0500 --0016e6da7d7df05638047fcde95c Content-Type: text/plain; charset=ISO-8859-1 4.60.1 has been out for some time, so please use the attached patch instead. As with the original submission, please note that there is a shared library version bump, requiring changes in dependent ports. --0016e6da7d7df05638047fcde95c Content-Type: text/plain; charset=US-ASCII; name="wavpack_4601_diff.txt" Content-Disposition: attachment; filename="wavpack_4601_diff.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 ZGlmZiAtcnVOIC14ICdvbGQuKicgLXggJ25ldy4qJyB3YXZwYWNrLm9yaWcvTWFrZWZpbGUgd2F2 cGFjay9NYWtlZmlsZQotLS0gd2F2cGFjay5vcmlnL01ha2VmaWxlCTIwMTAtMDItMTcgMTA6MjU6 MTkuMDAwMDAwMDAwIC0wNTAwCisrKyB3YXZwYWNrL01ha2VmaWxlCTIwMTAtMDItMTcgMDg6NTE6 MzQuMDAwMDAwMDAwIC0wNTAwCkBAIC02LDcgKzYsNyBAQAogIwogCiBQT1JUTkFNRT0Jd2F2cGFj awotUE9SVFZFUlNJT049CTQuNTAuMQorUE9SVFZFUlNJT049CTQuNjAuMQogQ0FURUdPUklFUz0J YXVkaW8KIE1BU1RFUl9TSVRFUz0JaHR0cDovL3d3dy53YXZwYWNrLmNvbS8KIApAQCAtMTgsMTEg KzE4LDE1IEBACiBVU0VfSUNPTlY9CXllcwogVVNFX0xEQ09ORklHPQl5ZXMKIEdOVV9DT05GSUdV UkU9CXllcwotQ09ORklHVVJFX0VOVj0JQ1BQRkxBR1M9Ii1JJHtMT0NBTEJBU0V9L2luY2x1ZGUi IFwKLQkJTERGTEFHUz0iLUwke0xPQ0FMQkFTRX0vbGliIgorQ1BQRkxBR1MrPQktSSR7TE9DQUxC QVNFfS9pbmNsdWRlCitMREZMQUdTKz0JLUwke0xPQ0FMQkFTRX0vbGliCitDT05GSUdVUkVfRU5W PQlDUFBGTEFHUz0iJHtDUFBGTEFHU30iIFwKKwkJTERGTEFHUz0iJHtMREZMQUdTfSIKIAogT1BU SU9OUz0JTU1YICJFbmFibGUgTU1YIG9wdGltaXphdGlvbnMgKHg4NiBvbmx5KSIgT2ZmCiAKK01B TjE9CXdhdnBhY2suMSB3dmdhaW4uMSB3dnVucGFjay4xCisKIC5pbmNsdWRlIDxic2QucG9ydC5w cmUubWs+CiAKICMgR0NDIDMueCBmYWlscyB3aXRoIGludGVybmFsIGNvbXBpbGVyIGVycnJvcgpk aWZmIC1ydU4gLXggJ29sZC4qJyAteCAnbmV3LionIHdhdnBhY2sub3JpZy9kaXN0aW5mbyB3YXZw YWNrL2Rpc3RpbmZvCi0tLSB3YXZwYWNrLm9yaWcvZGlzdGluZm8JMjAxMC0wMi0xNyAxMDoyNTox OS4wMDAwMDAwMDAgLTA1MDAKKysrIHdhdnBhY2svZGlzdGluZm8JMjAxMC0wMi0xNyAwODozNzo0 Mi4wMDAwMDAwMDAgLTA1MDAKQEAgLTEsMyArMSwzIEBACi1NRDUgKHdhdnBhY2stNC41MC4xLnRh ci5iejIpID0gMmM5ZDdlMzY3MmY2MDA3MGQ0ZmQyYzg2YzkyNGEzYjQKLVNIQTI1NiAod2F2cGFj ay00LjUwLjEudGFyLmJ6MikgPSAyOWMwMzZkMTBmYjhiY2I2ZGFhNTg3MThkMTEyMzk0MjkxODg3 ZmMwZTliMTA4ODUxMDE3MjE4MTg0NDgzOTU0Ci1TSVpFICh3YXZwYWNrLTQuNTAuMS50YXIuYnoy KSA9IDM3NTc5MgorTUQ1ICh3YXZwYWNrLTQuNjAuMS50YXIuYnoyKSA9IDdiYjE1MjhmOTEwZTRk MDAwMzQyNmMwMmRiODU2MDYzCitTSEEyNTYgKHdhdnBhY2stNC42MC4xLnRhci5iejIpID0gMTc1 ZWU0ZjJlZmZkNmY1MWU2ZWM0ODc5NTZmNDExNzcyNTZiZjg5MmMyZThlMDdkZTVkMjdlZDRlZTY4 ODhjNQorU0laRSAod2F2cGFjay00LjYwLjEudGFyLmJ6MikgPSAzOTQ0MzQKZGlmZiAtcnVOIC14 ICdvbGQuKicgLXggJ25ldy4qJyB3YXZwYWNrLm9yaWcvcGtnLXBsaXN0IHdhdnBhY2svcGtnLXBs aXN0Ci0tLSB3YXZwYWNrLm9yaWcvcGtnLXBsaXN0CTIwMTAtMDItMTcgMTA6MjU6MTkuMDAwMDAw MDAwIC0wNTAwCisrKyB3YXZwYWNrL3BrZy1wbGlzdAkyMDEwLTAyLTE3IDA4OjQ1OjE2LjAwMDAw MDAwMCAtMDUwMApAQCAtNSw2ICs1LDYgQEAKIGxpYi9saWJ3YXZwYWNrLmEKIGxpYi9saWJ3YXZw YWNrLmxhCiBsaWIvbGlid2F2cGFjay5zbwotbGliL2xpYndhdnBhY2suc28uMQorbGliL2xpYndh dnBhY2suc28uMgogbGliZGF0YS9wa2djb25maWcvd2F2cGFjay5wYwogQGRpcnJtIGluY2x1ZGUv d2F2cGFjawo= --0016e6da7d7df05638047fcde95c-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 17 20:29:25 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B6F21065672 for ; Wed, 17 Feb 2010 20:29:25 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.freebsd.org (Postfix) with ESMTP id A54D78FC13 for ; Wed, 17 Feb 2010 20:29:24 +0000 (UTC) Received: from vampire.homelinux.org (dslb-088-064-176-235.pools.arcor-ip.net [88.64.176.235]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0LqpOw-1ODJez1oig-00eGpt; Wed, 17 Feb 2010 21:29:23 +0100 Received: (qmail 24142 invoked from network); 17 Feb 2010 20:29:23 -0000 Received: from f8x64.laiers.local (192.168.4.188) by ns1.laiers.local with SMTP; 17 Feb 2010 20:29:23 -0000 From: Max Laier Organization: FreeBSD To: freebsd-multimedia@freebsd.org Date: Wed, 17 Feb 2010 21:29:22 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE-p2; KDE/4.3.5; amd64; ; ) References: <201001201615.10671.max@love2party.net> In-Reply-To: <201001201615.10671.max@love2party.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002172129.23012.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19gvF3+e9+x9GacUHnckGrSY7U59XndVkyYvCD vZ8cS3jlvGCiZ2VRimFeJUYCbMJU7TujIbcSVNU8caJg1Zu5wY C8XE6sHjcZW54Hmef8LZA== Cc: Manu Abraham Subject: Re: DVB-S support on FreeBSD 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, 17 Feb 2010 20:29:25 -0000 All, it was pointed out to me that I conveyed the impression that the driver for the Mantis cards was my original work. This is not the case. The driver is based heavily on the excellent work of Manu Abraham! The tarball that was previously available on the net neglected to mention Manu's Copyright in the .c file for the driver. This was an oversight on my part and by no means intentional. I greatly appreciate Manu's work and did not mean to disregard his contribution! I hereby extend my sincerest apologies to Manu for this oversight! Best Regards, Max From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 17 20:38:57 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E269A1065670; Wed, 17 Feb 2010 20:38:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id B93428FC08; Wed, 17 Feb 2010 20:38:56 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=uJWmglzsLAgA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Lt-vM3cS9r3j_m2B2ZsA:9 a=QNvqGkBH2OBjHunDvtkA:7 a=KOhH291llilY6yQ8apL35LyFWmcA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1353935862; Wed, 17 Feb 2010 21:38:54 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org, lme@freebsd.org Date: Wed, 17 Feb 2010 21:37:25 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <20091204223126.00005392@unknown> <20100112124621.59fa3747@shibato.opal.com> <201001121849.48833.hselasky@c2i.net> In-Reply-To: <201001121849.48833.hselasky@c2i.net> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201002172137.25396.hselasky@c2i.net> Cc: emulation@freebsd.org, Alexander Leidinger , "J.R. Oldroyd" , multimedia@freebsd.org Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now [panic] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 20:38:58 -0000 On Tuesday 12 January 2010 18:49:48 Hans Petter Selasky wrote: > Re: FYI: v4l-linuxulator support in FreeBSD-current now > Hi, Some panics have cropped up when using linux-V4L with webcamd. 1st) panic: freeing memory in linux_v4l_cliplist_free() which is not allocated, but there seems to be more which needs to be done. I tried to fix something, but it was not enough. Help appreciated. We are currently debugging this issue @ #bsdusb on efnet. --HPS --- linux_ioctl.c.orig 2010-02-17 20:42:53.000000000 +0100 +++ linux_ioctl.c 2010-02-17 21:03:10.000000000 +0100 @@ -2711,7 +2711,7 @@ /* XXX: If there can be no concurrency: s/M_NOWAIT/M_WAITOK/ */ if ((*ppvc = malloc(sizeof(**ppvc), M_LINUX, M_NOWAIT)) == NULL) return (ENOMEM); /* XXX: linux has no ENOMEM here */ - memcpy(&vclip, *ppvc, sizeof(vclip)); + memcpy(*ppvc, &vclip, sizeof(vclip)); (*ppvc)->next = NULL; return (0); } @@ -2719,13 +2719,15 @@ static int linux_v4l_cliplist_free(struct video_window *vw) { - struct video_clip **ppvc; - struct video_clip **ppvc_next; + struct video_clip *ppvc; + struct video_clip *ppvc_next; - for (ppvc = &(vw->clips); *ppvc != NULL; ppvc = ppvc_next) { - ppvc_next = &((*ppvc)->next); - free(*ppvc, M_LINUX); + for (ppvc = vw->clips; ppvc != NULL; ppvc = ppvc_next) { + ppvc_next = ppvc->next; + free(ppvc, M_LINUX); } + vw->clips = NULL; + return (0); } From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 17 20:38:57 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E269A1065670; Wed, 17 Feb 2010 20:38:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id B93428FC08; Wed, 17 Feb 2010 20:38:56 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=uJWmglzsLAgA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Lt-vM3cS9r3j_m2B2ZsA:9 a=QNvqGkBH2OBjHunDvtkA:7 a=KOhH291llilY6yQ8apL35LyFWmcA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1353935862; Wed, 17 Feb 2010 21:38:54 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org, lme@freebsd.org Date: Wed, 17 Feb 2010 21:37:25 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <20091204223126.00005392@unknown> <20100112124621.59fa3747@shibato.opal.com> <201001121849.48833.hselasky@c2i.net> In-Reply-To: <201001121849.48833.hselasky@c2i.net> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201002172137.25396.hselasky@c2i.net> Cc: emulation@freebsd.org, Alexander Leidinger , "J.R. Oldroyd" , multimedia@freebsd.org Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now [panic] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 20:38:58 -0000 On Tuesday 12 January 2010 18:49:48 Hans Petter Selasky wrote: > Re: FYI: v4l-linuxulator support in FreeBSD-current now > Hi, Some panics have cropped up when using linux-V4L with webcamd. 1st) panic: freeing memory in linux_v4l_cliplist_free() which is not allocated, but there seems to be more which needs to be done. I tried to fix something, but it was not enough. Help appreciated. We are currently debugging this issue @ #bsdusb on efnet. --HPS --- linux_ioctl.c.orig 2010-02-17 20:42:53.000000000 +0100 +++ linux_ioctl.c 2010-02-17 21:03:10.000000000 +0100 @@ -2711,7 +2711,7 @@ /* XXX: If there can be no concurrency: s/M_NOWAIT/M_WAITOK/ */ if ((*ppvc = malloc(sizeof(**ppvc), M_LINUX, M_NOWAIT)) == NULL) return (ENOMEM); /* XXX: linux has no ENOMEM here */ - memcpy(&vclip, *ppvc, sizeof(vclip)); + memcpy(*ppvc, &vclip, sizeof(vclip)); (*ppvc)->next = NULL; return (0); } @@ -2719,13 +2719,15 @@ static int linux_v4l_cliplist_free(struct video_window *vw) { - struct video_clip **ppvc; - struct video_clip **ppvc_next; + struct video_clip *ppvc; + struct video_clip *ppvc_next; - for (ppvc = &(vw->clips); *ppvc != NULL; ppvc = ppvc_next) { - ppvc_next = &((*ppvc)->next); - free(*ppvc, M_LINUX); + for (ppvc = vw->clips; ppvc != NULL; ppvc = ppvc_next) { + ppvc_next = ppvc->next; + free(ppvc, M_LINUX); } + vw->clips = NULL; + return (0); } From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 18 14:49:25 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EFD110657AE for ; Thu, 18 Feb 2010 14:49:25 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-qy0-f189.google.com (mail-qy0-f189.google.com [209.85.221.189]) by mx1.freebsd.org (Postfix) with ESMTP id 581EF8FC14 for ; Thu, 18 Feb 2010 14:49:24 +0000 (UTC) Received: by qyk27 with SMTP id 27so5582215qyk.3 for ; Thu, 18 Feb 2010 06:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MJSMmweaZqfgDDO1nN8ZA8+0rUc9bSVBvPRSsagHyYo=; b=tGR7OxB51HMcGHGPaMlkw2w7TCipkMxiGvqWp87gP/dfF5fw9/RvexgednnSs+kHiR Tk5Ni/FuHbNWv9JFlnTqFhPO38eboKeqNa6d94pVXFOlmXokf83PXX2yoa03RWiWMXJN yzKOSDjqdb0UFa5Mv+eWHoyuG1ghfgA1OdDXk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=G+j1HHA4Zz0eGs64D0XU/b1pPZvkHcTKoqDf6tQVp1TQ2zIvVfl/ta1ISnipA/eLPt a2LaISvXxsywPMs3QTTl4quRwBsgWK9jVSEM7Oe4FyTdt4mmrMyMEk4qluw7hpf2m7pX 1lmv/mWFKyxnZNhJbLIjr4KUgRySvnNmwcaCE= MIME-Version: 1.0 Received: by 10.229.230.4 with SMTP id jk4mr3249215qcb.1.1266504563284; Thu, 18 Feb 2010 06:49:23 -0800 (PST) In-Reply-To: <20100218134245.GA3743@current.Sisis.de> References: <20100217105517.GA3757@current.Sisis.de> <20100217131922.GA2848@current.Sisis.de> <53a1e0711002180438h30883686ib580d9781b19241c@mail.gmail.com> <20100218134245.GA3743@current.Sisis.de> Date: Thu, 18 Feb 2010 22:49:22 +0800 Message-ID: <53a1e0711002180649x49c719aet6e85785ebe3b904b@mail.gmail.com> From: Henry Hu To: Matthias Apitz , freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: using USB based micro and speaker with FreeBSD / 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, 18 Feb 2010 14:49:25 -0000 On Thu, Feb 18, 2010 at 9:42 PM, Matthias Apitz wrote: > El d=EDa Thursday, February 18, 2010 a las 08:38:08PM +0800, Henry Hu esc= ribi=F3: > >> Hello, have you tried snd_uaudio? >> >> Cheers, >> Henry > > Thanks; this gives: > >> tail -f /var/log/messages > Feb 18 14:37:24 current root: Unknown USB device: vendor 0x0556 product 0= x0001 bus uhub7 > Feb 18 14:37:24 current kernel: ugen4.3: at us= bus4 > Feb 18 14:37:24 current kernel: uaudio1: on usbus4 > Feb 18 14:37:24 current kernel: uaudio1: No playback! > Feb 18 14:37:24 current kernel: uaudio1: No recording! > Feb 18 14:37:24 current kernel: uaudio1: No midi sequencer > Feb 18 14:37:24 current kernel: pcm4: on uaudio1 > Feb 18 14:37:24 current root: Unknown USB device: vendor 0x0556 product 0= x0001 bus uhub7 > Feb 18 14:38:10 current wpa_supplicant[434]: CTRL-EVENT-SCAN-RESULTS > >> cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at cad 0 nid 1 on hdac0 kld > snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default) > pcm1: at cad 0 nid 1 on hdac0 kld > snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) > pcm2: at cad 0 nid 1 on hdac0 kld > snd_hda [MPSAFE] (1p:1v/0r:0v channels) > pcm3: at ? kld snd_uaudio [GIANT] (0p:0v/1r:1v channels) It seems like that this device has recording capabilities. It should be dsp= 3. Have you verified that the volume levels are normal? > pcm4: at ? kld snd_uaudio [GIANT] (mixer only) > > but I can't figure out how to make it work with Skype; none of the > /dev/dsp[1,2,3] works; only the internal mic is recording; > > any idea? > > =A0 =A0 =A0 =A0matthias > > > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ > Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu > Cheers, Henry From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 18 17:08:20 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0B8C106566C; Thu, 18 Feb 2010 17:08:20 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.freebsd.org (Postfix) with ESMTP id 17F858FC17; Thu, 18 Feb 2010 17:08:19 +0000 (UTC) Received: from 153.78.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.78.153]) by smtp.vzavenue.net with ESMTP; 18 Feb 2010 12:08:17 -0500 X-REPUTATION: None X-REMOTE-IP: 66.171.78.153 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEANgBfUtCq06Z/2dsb2JhbACbB3S9ToRnBIMVGg X-IronPort-AV: i="4.49,498,1262581200"; d="asc'?scan'208"; a="214960883:sNHT36914580" Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.3/8.14.3) with ESMTP id o1IH8GOj023974 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Feb 2010 12:08:16 -0500 (EST) (envelope-from fbsd@opal.com) Received: from shibato.opal.com ([2001:5c0:1100:f103:221:63ff:fe5a:c9a7] helo=shibato.opal.com) with IPv6:587 by opal.com; 18 Feb 2010 12:08:16 -0500 Date: Thu, 18 Feb 2010 12:08:12 -0500 From: "J.R. Oldroyd" To: Hans Petter Selasky Message-ID: <20100218120812.2224f6bf@shibato.opal.com> In-Reply-To: <201002172137.25396.hselasky@c2i.net> References: <20091204223126.00005392@unknown> <20100112124621.59fa3747@shibato.opal.com> <201001121849.48833.hselasky@c2i.net> <201002172137.25396.hselasky@c2i.net> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/q6wfV9dmVu6L0DVac4rl6oH"; protocol="application/pgp-signature" Cc: freebsd-multimedia@freebsd.org, lme@freebsd.org, emulation@freebsd.org, multimedia@freebsd.org, Alexander Leidinger Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now [panic] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 17:08:20 -0000 --Sig_/q6wfV9dmVu6L0DVac4rl6oH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 17 Feb 2010 21:37:25 +0100, Hans Petter Selasky = wrote: > > On Tuesday 12 January 2010 18:49:48 Hans Petter Selasky wrote: > > Re: FYI: v4l-linuxulator support in FreeBSD-current now > >=20 >=20 > Hi, >=20 > Some panics have cropped up when using linux-V4L with webcamd. >=20 > 1st) panic: freeing memory in linux_v4l_cliplist_free() which is not=20 > allocated, but there seems to be more which needs to be done. >=20 > I tried to fix something, but it was not enough. >=20 > Help appreciated. >=20 > We are currently debugging this issue @ #bsdusb on efnet. >=20 > --HPS >=20 > --- linux_ioctl.c.orig 2010-02-17 20:42:53.000000000 +0100 > +++ linux_ioctl.c 2010-02-17 21:03:10.000000000 +0100 > @@ -2711,7 +2711,7 @@ > /* XXX: If there can be no concurrency: s/M_NOWAIT/M_WAITOK/ */ > if ((*ppvc =3D malloc(sizeof(**ppvc), M_LINUX, M_NOWAIT)) =3D=3D = NULL) > return (ENOMEM); /* XXX: linux has no ENOMEM here */ > - memcpy(&vclip, *ppvc, sizeof(vclip)); > + memcpy(*ppvc, &vclip, sizeof(vclip)); > (*ppvc)->next =3D NULL; > return (0); > } > @@ -2719,13 +2719,15 @@ > static int > linux_v4l_cliplist_free(struct video_window *vw) > { > - struct video_clip **ppvc; > - struct video_clip **ppvc_next; > + struct video_clip *ppvc; > + struct video_clip *ppvc_next; > =20 > - for (ppvc =3D &(vw->clips); *ppvc !=3D NULL; ppvc =3D ppvc_next) { > - ppvc_next =3D &((*ppvc)->next); > - free(*ppvc, M_LINUX); > + for (ppvc =3D vw->clips; ppvc !=3D NULL; ppvc =3D ppvc_next) { > + ppvc_next =3D ppvc->next; > + free(ppvc, M_LINUX); > } > + vw->clips =3D NULL; > + > return (0); > } > =20 I wrote the video_clip support but was unable to test it due to lack of either a driver that supported it or an application that used it. I did this based on very sparse documentation on what a video clip list actually is. Looks like the memcpy in linux_v4l_clip_copy is indeed backwards, so sorry about that. Simplifying the double pointers in linux_v4l_cliplist_free is probably also OK, but in that case, you should also rename the pointers to "pvc" rather than "ppvc". If it is still failing with these changes, it would help to know if the failure is happening during the cliplist build, during the ioctl that uses the cliplist, or when tearing down the cliplist after the call. You could try instrumenting LINUX_VIDIOCSWIN to see how far it is getting. -jr --Sig_/q6wfV9dmVu6L0DVac4rl6oH Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkt9c/wACgkQls33urr0k4md+gCfThu0FwXq9Hw145yRlJDgDeLE VvkAn084uy/VFuKPLfCISdhiD0PfU6uY =hAoZ -----END PGP SIGNATURE----- --Sig_/q6wfV9dmVu6L0DVac4rl6oH-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 18 17:08:20 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0B8C106566C; Thu, 18 Feb 2010 17:08:20 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.freebsd.org (Postfix) with ESMTP id 17F858FC17; Thu, 18 Feb 2010 17:08:19 +0000 (UTC) Received: from 153.78.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.78.153]) by smtp.vzavenue.net with ESMTP; 18 Feb 2010 12:08:17 -0500 X-REPUTATION: None X-REMOTE-IP: 66.171.78.153 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEANgBfUtCq06Z/2dsb2JhbACbB3S9ToRnBIMVGg X-IronPort-AV: i="4.49,498,1262581200"; d="asc'?scan'208"; a="214960883:sNHT36914580" Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.3/8.14.3) with ESMTP id o1IH8GOj023974 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Feb 2010 12:08:16 -0500 (EST) (envelope-from fbsd@opal.com) Received: from shibato.opal.com ([2001:5c0:1100:f103:221:63ff:fe5a:c9a7] helo=shibato.opal.com) with IPv6:587 by opal.com; 18 Feb 2010 12:08:16 -0500 Date: Thu, 18 Feb 2010 12:08:12 -0500 From: "J.R. Oldroyd" To: Hans Petter Selasky Message-ID: <20100218120812.2224f6bf@shibato.opal.com> In-Reply-To: <201002172137.25396.hselasky@c2i.net> References: <20091204223126.00005392@unknown> <20100112124621.59fa3747@shibato.opal.com> <201001121849.48833.hselasky@c2i.net> <201002172137.25396.hselasky@c2i.net> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/q6wfV9dmVu6L0DVac4rl6oH"; protocol="application/pgp-signature" Cc: freebsd-multimedia@freebsd.org, lme@freebsd.org, emulation@freebsd.org, multimedia@freebsd.org, Alexander Leidinger Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now [panic] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 17:08:20 -0000 --Sig_/q6wfV9dmVu6L0DVac4rl6oH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 17 Feb 2010 21:37:25 +0100, Hans Petter Selasky = wrote: > > On Tuesday 12 January 2010 18:49:48 Hans Petter Selasky wrote: > > Re: FYI: v4l-linuxulator support in FreeBSD-current now > >=20 >=20 > Hi, >=20 > Some panics have cropped up when using linux-V4L with webcamd. >=20 > 1st) panic: freeing memory in linux_v4l_cliplist_free() which is not=20 > allocated, but there seems to be more which needs to be done. >=20 > I tried to fix something, but it was not enough. >=20 > Help appreciated. >=20 > We are currently debugging this issue @ #bsdusb on efnet. >=20 > --HPS >=20 > --- linux_ioctl.c.orig 2010-02-17 20:42:53.000000000 +0100 > +++ linux_ioctl.c 2010-02-17 21:03:10.000000000 +0100 > @@ -2711,7 +2711,7 @@ > /* XXX: If there can be no concurrency: s/M_NOWAIT/M_WAITOK/ */ > if ((*ppvc =3D malloc(sizeof(**ppvc), M_LINUX, M_NOWAIT)) =3D=3D = NULL) > return (ENOMEM); /* XXX: linux has no ENOMEM here */ > - memcpy(&vclip, *ppvc, sizeof(vclip)); > + memcpy(*ppvc, &vclip, sizeof(vclip)); > (*ppvc)->next =3D NULL; > return (0); > } > @@ -2719,13 +2719,15 @@ > static int > linux_v4l_cliplist_free(struct video_window *vw) > { > - struct video_clip **ppvc; > - struct video_clip **ppvc_next; > + struct video_clip *ppvc; > + struct video_clip *ppvc_next; > =20 > - for (ppvc =3D &(vw->clips); *ppvc !=3D NULL; ppvc =3D ppvc_next) { > - ppvc_next =3D &((*ppvc)->next); > - free(*ppvc, M_LINUX); > + for (ppvc =3D vw->clips; ppvc !=3D NULL; ppvc =3D ppvc_next) { > + ppvc_next =3D ppvc->next; > + free(ppvc, M_LINUX); > } > + vw->clips =3D NULL; > + > return (0); > } > =20 I wrote the video_clip support but was unable to test it due to lack of either a driver that supported it or an application that used it. I did this based on very sparse documentation on what a video clip list actually is. Looks like the memcpy in linux_v4l_clip_copy is indeed backwards, so sorry about that. Simplifying the double pointers in linux_v4l_cliplist_free is probably also OK, but in that case, you should also rename the pointers to "pvc" rather than "ppvc". If it is still failing with these changes, it would help to know if the failure is happening during the cliplist build, during the ioctl that uses the cliplist, or when tearing down the cliplist after the call. You could try instrumenting LINUX_VIDIOCSWIN to see how far it is getting. -jr --Sig_/q6wfV9dmVu6L0DVac4rl6oH Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkt9c/wACgkQls33urr0k4md+gCfThu0FwXq9Hw145yRlJDgDeLE VvkAn084uy/VFuKPLfCISdhiD0PfU6uY =hAoZ -----END PGP SIGNATURE----- --Sig_/q6wfV9dmVu6L0DVac4rl6oH-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 18 18:43:00 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A237C1065679; Thu, 18 Feb 2010 18:43:00 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 1C7928FC15; Thu, 18 Feb 2010 18:42:59 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id 9120E39DFE; Thu, 18 Feb 2010 19:23:36 +0100 (CET) Date: Thu, 18 Feb 2010 19:23:36 +0100 From: Lars Engels To: "J.R. Oldroyd" Message-ID: <20100218182336.GJ27126@e.0x20.net> References: <20091204223126.00005392@unknown> <20100112124621.59fa3747@shibato.opal.com> <201001121849.48833.hselasky@c2i.net> <201002172137.25396.hselasky@c2i.net> <20100218120812.2224f6bf@shibato.opal.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GEl8M6OaEs83Y7Jz" Content-Disposition: inline In-Reply-To: <20100218120812.2224f6bf@shibato.opal.com> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: emulation@freebsd.org, freebsd-multimedia@freebsd.org, multimedia@freebsd.org, lme@freebsd.org, Alexander Leidinger Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now [panic] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 18:43:00 -0000 --GEl8M6OaEs83Y7Jz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 18, 2010 at 12:08:12PM -0500, J.R. Oldroyd wrote: > On Wed, 17 Feb 2010 21:37:25 +0100, Hans Petter Selasky wrote: > > > > On Tuesday 12 January 2010 18:49:48 Hans Petter Selasky wrote: > > > Re: FYI: v4l-linuxulator support in FreeBSD-current now > > >=20 > >=20 > > Hi, > >=20 > > Some panics have cropped up when using linux-V4L with webcamd. > >=20 > > 1st) panic: freeing memory in linux_v4l_cliplist_free() which is not=20 > > allocated, but there seems to be more which needs to be done. > >=20 > > I tried to fix something, but it was not enough. > >=20 > > Help appreciated. > >=20 > > We are currently debugging this issue @ #bsdusb on efnet. > >=20 > > --HPS > >=20 > > --- linux_ioctl.c.orig 2010-02-17 20:42:53.000000000 +0100 > > +++ linux_ioctl.c 2010-02-17 21:03:10.000000000 +0100 > > @@ -2711,7 +2711,7 @@ > > /* XXX: If there can be no concurrency: s/M_NOWAIT/M_WAITOK/ */ > > if ((*ppvc =3D malloc(sizeof(**ppvc), M_LINUX, M_NOWAIT)) =3D= =3D NULL) > > return (ENOMEM); /* XXX: linux has no ENOMEM here */ > > - memcpy(&vclip, *ppvc, sizeof(vclip)); > > + memcpy(*ppvc, &vclip, sizeof(vclip)); > > (*ppvc)->next =3D NULL; > > return (0); > > } > > @@ -2719,13 +2719,15 @@ > > static int > > linux_v4l_cliplist_free(struct video_window *vw) > > { > > - struct video_clip **ppvc; > > - struct video_clip **ppvc_next; > > + struct video_clip *ppvc; > > + struct video_clip *ppvc_next; > > =20 > > - for (ppvc =3D &(vw->clips); *ppvc !=3D NULL; ppvc =3D ppvc_next= ) { > > - ppvc_next =3D &((*ppvc)->next); > > - free(*ppvc, M_LINUX); > > + for (ppvc =3D vw->clips; ppvc !=3D NULL; ppvc =3D ppvc_next) { > > + ppvc_next =3D ppvc->next; > > + free(ppvc, M_LINUX); > > } > > + vw->clips =3D NULL; > > + > > return (0); > > } > > =20 >=20 > I wrote the video_clip support but was unable to test it due to lack > of either a driver that supported it or an application that used it. > I did this based on very sparse documentation on what a video clip > list actually is. >=20 > Looks like the memcpy in linux_v4l_clip_copy is indeed backwards, > so sorry about that. >=20 > Simplifying the double pointers in linux_v4l_cliplist_free is > probably also OK, but in that case, you should also rename the > pointers to "pvc" rather than "ppvc". >=20 > If it is still failing with these changes, it would help to know if > the failure is happening during the cliplist build, during the > ioctl that uses the cliplist, or when tearing down the cliplist > after the call. You could try instrumenting LINUX_VIDIOCSWIN to see > how far it is getting. >=20 Hi jr, would you like to join us at #bsdusb at EFNet? --GEl8M6OaEs83Y7Jz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkt9hagACgkQKc512sD3afj61wCdEK1olE82TXzul66DQV0frDcK VZQAniLsMfoc8CkNa5yqwA8UAYN7ecrI =aPfL -----END PGP SIGNATURE----- --GEl8M6OaEs83Y7Jz-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 18 18:43:00 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A237C1065679; Thu, 18 Feb 2010 18:43:00 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 1C7928FC15; Thu, 18 Feb 2010 18:42:59 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id 9120E39DFE; Thu, 18 Feb 2010 19:23:36 +0100 (CET) Date: Thu, 18 Feb 2010 19:23:36 +0100 From: Lars Engels To: "J.R. Oldroyd" Message-ID: <20100218182336.GJ27126@e.0x20.net> References: <20091204223126.00005392@unknown> <20100112124621.59fa3747@shibato.opal.com> <201001121849.48833.hselasky@c2i.net> <201002172137.25396.hselasky@c2i.net> <20100218120812.2224f6bf@shibato.opal.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GEl8M6OaEs83Y7Jz" Content-Disposition: inline In-Reply-To: <20100218120812.2224f6bf@shibato.opal.com> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: emulation@freebsd.org, freebsd-multimedia@freebsd.org, multimedia@freebsd.org, lme@freebsd.org, Alexander Leidinger Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now [panic] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 18:43:00 -0000 --GEl8M6OaEs83Y7Jz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 18, 2010 at 12:08:12PM -0500, J.R. Oldroyd wrote: > On Wed, 17 Feb 2010 21:37:25 +0100, Hans Petter Selasky wrote: > > > > On Tuesday 12 January 2010 18:49:48 Hans Petter Selasky wrote: > > > Re: FYI: v4l-linuxulator support in FreeBSD-current now > > >=20 > >=20 > > Hi, > >=20 > > Some panics have cropped up when using linux-V4L with webcamd. > >=20 > > 1st) panic: freeing memory in linux_v4l_cliplist_free() which is not=20 > > allocated, but there seems to be more which needs to be done. > >=20 > > I tried to fix something, but it was not enough. > >=20 > > Help appreciated. > >=20 > > We are currently debugging this issue @ #bsdusb on efnet. > >=20 > > --HPS > >=20 > > --- linux_ioctl.c.orig 2010-02-17 20:42:53.000000000 +0100 > > +++ linux_ioctl.c 2010-02-17 21:03:10.000000000 +0100 > > @@ -2711,7 +2711,7 @@ > > /* XXX: If there can be no concurrency: s/M_NOWAIT/M_WAITOK/ */ > > if ((*ppvc =3D malloc(sizeof(**ppvc), M_LINUX, M_NOWAIT)) =3D= =3D NULL) > > return (ENOMEM); /* XXX: linux has no ENOMEM here */ > > - memcpy(&vclip, *ppvc, sizeof(vclip)); > > + memcpy(*ppvc, &vclip, sizeof(vclip)); > > (*ppvc)->next =3D NULL; > > return (0); > > } > > @@ -2719,13 +2719,15 @@ > > static int > > linux_v4l_cliplist_free(struct video_window *vw) > > { > > - struct video_clip **ppvc; > > - struct video_clip **ppvc_next; > > + struct video_clip *ppvc; > > + struct video_clip *ppvc_next; > > =20 > > - for (ppvc =3D &(vw->clips); *ppvc !=3D NULL; ppvc =3D ppvc_next= ) { > > - ppvc_next =3D &((*ppvc)->next); > > - free(*ppvc, M_LINUX); > > + for (ppvc =3D vw->clips; ppvc !=3D NULL; ppvc =3D ppvc_next) { > > + ppvc_next =3D ppvc->next; > > + free(ppvc, M_LINUX); > > } > > + vw->clips =3D NULL; > > + > > return (0); > > } > > =20 >=20 > I wrote the video_clip support but was unable to test it due to lack > of either a driver that supported it or an application that used it. > I did this based on very sparse documentation on what a video clip > list actually is. >=20 > Looks like the memcpy in linux_v4l_clip_copy is indeed backwards, > so sorry about that. >=20 > Simplifying the double pointers in linux_v4l_cliplist_free is > probably also OK, but in that case, you should also rename the > pointers to "pvc" rather than "ppvc". >=20 > If it is still failing with these changes, it would help to know if > the failure is happening during the cliplist build, during the > ioctl that uses the cliplist, or when tearing down the cliplist > after the call. You could try instrumenting LINUX_VIDIOCSWIN to see > how far it is getting. >=20 Hi jr, would you like to join us at #bsdusb at EFNet? --GEl8M6OaEs83Y7Jz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkt9hagACgkQKc512sD3afj61wCdEK1olE82TXzul66DQV0frDcK VZQAniLsMfoc8CkNa5yqwA8UAYN7ecrI =aPfL -----END PGP SIGNATURE----- --GEl8M6OaEs83Y7Jz-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 18 20:59:14 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A29FB1065670; Thu, 18 Feb 2010 20:59:14 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.freebsd.org (Postfix) with ESMTP id 131D18FC1D; Thu, 18 Feb 2010 20:59:12 +0000 (UTC) Received: from 153.78.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.78.153]) by smtp.vzavenue.net with ESMTP; 18 Feb 2010 15:59:09 -0500 X-REPUTATION: None X-REMOTE-IP: 66.171.78.153 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAP8rfUtCq06Z/2dsb2JhbACbCHS9HYRnBIMV X-IronPort-AV: i="4.49,498,1262581200"; d="asc'?scan'208"; a="214969583:sNHT22695174" Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.3/8.14.3) with ESMTP id o1IKx94h030061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Feb 2010 15:59:09 -0500 (EST) (envelope-from fbsd@opal.com) Received: from shibato.opal.com ([2001:5c0:1100:f103:221:63ff:fe5a:c9a7] helo=shibato.opal.com) with IPv6:587 by opal.com; 18 Feb 2010 15:59:09 -0500 Date: Thu, 18 Feb 2010 15:59:05 -0500 From: "J.R. Oldroyd" To: Lars Engels Message-ID: <20100218155905.4aaa57bb@shibato.opal.com> In-Reply-To: <20100218182336.GJ27126@e.0x20.net> References: <20091204223126.00005392@unknown> <20100112124621.59fa3747@shibato.opal.com> <201001121849.48833.hselasky@c2i.net> <201002172137.25396.hselasky@c2i.net> <20100218120812.2224f6bf@shibato.opal.com> <20100218182336.GJ27126@e.0x20.net> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/3vDh+5+WP8WOtWbY1XpqQ.+"; protocol="application/pgp-signature" Cc: emulation@FreeBSD.org, freebsd-multimedia@FreeBSD.org, multimedia@FreeBSD.org, lme@FreeBSD.org, Leidinger , Alexander Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now [panic] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 20:59:14 -0000 --Sig_/3vDh+5+WP8WOtWbY1XpqQ.+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 18 Feb 2010 19:23:36 +0100, Lars Engels wrote: > > > >=20 > > > 1st) panic: freeing memory in linux_v4l_cliplist_free() which is not= =20 > > > allocated, but there seems to be more which needs to be done. > >=20 >=20 > Hi jr, >=20 > would you like to join us at #bsdusb at EFNet? Sorry, not set up for IRC here. Not sure how much help I would be. Never used video clip lists myself. The only reason that code is there is to try to offer more-or-less complete functionality rather than partial code. The intent of this code is to copy the cliplist in, creating new structures as it goes. This is necessary because the Linux list nodes contain Linux pointers to the next node and the pointers cannot be assumed to be the same size as FreeBSD pointers, especially on 64-bit archs. So the code walks the list creating a new list, then does the ioctl using that new list, then frees the new list again. What I do recall is that some Linux applications apparently do not use the cliplist but they also do not initialize the clips pointer to NULL nor do they initialize clipcount. They just assume the driver will ignore them, so don't bother setting them. Could the failure you're experiencing be due to the fact that the FreeBSD linuxulator code is trying to copy a list which is, in fact, not a valid list? I tried to avoid that, by only copying the list if clipcount <=3D 16384, a value Alexander found in one of the Linux drivers that does support cliplists. But if clipcount is > 0 && <=3D 16384, the clips pointer is followed, and this will fail if the application has not initialized it. The fix for this would be to either fix the Linux application code to initialize the list properly, or to add some form of pointer validation in the linuxulator code. Oh, and I remembered why I used the double pointer in cliplist_free, too. The cliplist_copy code uses a double pointer when creating the list because the head pointer needs to be changed. For code symmetry I therefore used the same double pointer when freeing the list. -jr --Sig_/3vDh+5+WP8WOtWbY1XpqQ.+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkt9qhkACgkQls33urr0k4npdwCgjHY32FMDjl6Fpbfu5guoZRKy ARkAoIdbOMD/0JWvRxUigDR/rxi7aU+7 =5RKd -----END PGP SIGNATURE----- --Sig_/3vDh+5+WP8WOtWbY1XpqQ.+-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 18 20:59:14 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A29FB1065670; Thu, 18 Feb 2010 20:59:14 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.freebsd.org (Postfix) with ESMTP id 131D18FC1D; Thu, 18 Feb 2010 20:59:12 +0000 (UTC) Received: from 153.78.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.78.153]) by smtp.vzavenue.net with ESMTP; 18 Feb 2010 15:59:09 -0500 X-REPUTATION: None X-REMOTE-IP: 66.171.78.153 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAP8rfUtCq06Z/2dsb2JhbACbCHS9HYRnBIMV X-IronPort-AV: i="4.49,498,1262581200"; d="asc'?scan'208"; a="214969583:sNHT22695174" Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.3/8.14.3) with ESMTP id o1IKx94h030061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Feb 2010 15:59:09 -0500 (EST) (envelope-from fbsd@opal.com) Received: from shibato.opal.com ([2001:5c0:1100:f103:221:63ff:fe5a:c9a7] helo=shibato.opal.com) with IPv6:587 by opal.com; 18 Feb 2010 15:59:09 -0500 Date: Thu, 18 Feb 2010 15:59:05 -0500 From: "J.R. Oldroyd" To: Lars Engels Message-ID: <20100218155905.4aaa57bb@shibato.opal.com> In-Reply-To: <20100218182336.GJ27126@e.0x20.net> References: <20091204223126.00005392@unknown> <20100112124621.59fa3747@shibato.opal.com> <201001121849.48833.hselasky@c2i.net> <201002172137.25396.hselasky@c2i.net> <20100218120812.2224f6bf@shibato.opal.com> <20100218182336.GJ27126@e.0x20.net> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/3vDh+5+WP8WOtWbY1XpqQ.+"; protocol="application/pgp-signature" Cc: emulation@FreeBSD.org, freebsd-multimedia@FreeBSD.org, multimedia@FreeBSD.org, lme@FreeBSD.org, Leidinger , Alexander Subject: Re: FYI: v4l-linuxulator support in FreeBSD-current now [panic] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 20:59:14 -0000 --Sig_/3vDh+5+WP8WOtWbY1XpqQ.+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 18 Feb 2010 19:23:36 +0100, Lars Engels wrote: > > > >=20 > > > 1st) panic: freeing memory in linux_v4l_cliplist_free() which is not= =20 > > > allocated, but there seems to be more which needs to be done. > >=20 >=20 > Hi jr, >=20 > would you like to join us at #bsdusb at EFNet? Sorry, not set up for IRC here. Not sure how much help I would be. Never used video clip lists myself. The only reason that code is there is to try to offer more-or-less complete functionality rather than partial code. The intent of this code is to copy the cliplist in, creating new structures as it goes. This is necessary because the Linux list nodes contain Linux pointers to the next node and the pointers cannot be assumed to be the same size as FreeBSD pointers, especially on 64-bit archs. So the code walks the list creating a new list, then does the ioctl using that new list, then frees the new list again. What I do recall is that some Linux applications apparently do not use the cliplist but they also do not initialize the clips pointer to NULL nor do they initialize clipcount. They just assume the driver will ignore them, so don't bother setting them. Could the failure you're experiencing be due to the fact that the FreeBSD linuxulator code is trying to copy a list which is, in fact, not a valid list? I tried to avoid that, by only copying the list if clipcount <=3D 16384, a value Alexander found in one of the Linux drivers that does support cliplists. But if clipcount is > 0 && <=3D 16384, the clips pointer is followed, and this will fail if the application has not initialized it. The fix for this would be to either fix the Linux application code to initialize the list properly, or to add some form of pointer validation in the linuxulator code. Oh, and I remembered why I used the double pointer in cliplist_free, too. The cliplist_copy code uses a double pointer when creating the list because the head pointer needs to be changed. For code symmetry I therefore used the same double pointer when freeing the list. -jr --Sig_/3vDh+5+WP8WOtWbY1XpqQ.+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkt9qhkACgkQls33urr0k4npdwCgjHY32FMDjl6Fpbfu5guoZRKy ARkAoIdbOMD/0JWvRxUigDR/rxi7aU+7 =5RKd -----END PGP SIGNATURE----- --Sig_/3vDh+5+WP8WOtWbY1XpqQ.+--