From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 23 01:49:08 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2791316A403 for ; Sun, 23 Apr 2006 01:49:08 +0000 (UTC) (envelope-from econn@nc.rr.com) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B621C43D45 for ; Sun, 23 Apr 2006 01:49:07 +0000 (GMT) (envelope-from econn@nc.rr.com) Received: from [192.168.0.11] (cpe-071-065-248-172.nc.res.rr.com [71.65.248.172]) by ms-smtp-02.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k3N1n5us021880; Sat, 22 Apr 2006 21:49:06 -0400 (EDT) Message-ID: <444ADD11.9060104@nc.rr.com> Date: Sat, 22 Apr 2006 21:49:05 -0400 From: Erin E Conn User-Agent: Thunderbird 1.5 (X11/20060409) MIME-Version: 1.0 To: "R. B. Riddick" References: <20060422211441.89853.qmail@web30315.mail.mud.yahoo.com> In-Reply-To: <20060422211441.89853.qmail@web30315.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-multimedia@freebsd.org Subject: Re: Rebooting problems with /dev/cxm0 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, 23 Apr 2006 01:49:08 -0000 R. B. Riddick wrote: > Hmm... U seem to have a much different problem than I had, because: The "dd" > command merely reads from /dev/cxm0 as fast as possible without any delay (e. > g. due to busy network or disc), since /dev/null is quite quick... So I did not > send my "cxm-network-transfer&buffering-tool", because one side of it does > nearly the same as the "dd" command, and because my box was able to do the "dd" > test for many hours... Actually, turns out the X server crashing was due to an xscreensaver upgrade and it was crashing whenever the screensaver kicked in. I reinstalled xscreensaver and that seems to have fixed it. It does appear that my system is more stable using dd to /dev/null, and indeed cat to /dev/null doesn't seem to cause any problems either. I got a lot of dma buffer warnings when using a blocksize of 1 byte, but 1m seemed to be fine. From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 23 04:37:45 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99FFB16A401 for ; Sun, 23 Apr 2006 04:37:45 +0000 (UTC) (envelope-from rperry@gti.net) Received: from apollo.gti.net (apollo.gti.net [199.171.27.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CAD943D45 for ; Sun, 23 Apr 2006 04:37:45 +0000 (GMT) (envelope-from rperry@gti.net) Received: from [192.168.1.15] (morr0615.gti.net [208.216.122.15]) by apollo.gti.net (mail) with ESMTP id 147D135AC4 for ; Sun, 23 Apr 2006 00:33:09 -0400 (EDT) Message-ID: <444B05AB.7020001@gti.net> Date: Sun, 23 Apr 2006 00:42:19 -0400 From: Bob Perry User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: PCI Video Capture Cards w/Tuner & FM Recommendations 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, 23 Apr 2006 04:37:45 -0000 Hello, Recently lost my TV and have been considering installing a TV card in my PC as a replacement. I have a 120GB HD servicing 3 operating systems (XP, SUSE Linux, and FreeBSD, 5.4), an ASUS P4P800-VM motherboard with 512 MB RAM and a 2.8GHz Intel CPU. The motherboard also has an integrated Intel Extreme Graphics 2 that provides 3D/2D graphics. So far, most, if not all, of the cards recommended in the bktr(4) man page point to Windows as the "required" OS. Is there a card more, or less, native to, or that was designed for use in UNIX? FM reception not absolutely necessary. I'm not a member of this particular mailing list. Please cc me with your response. thnx, Bob Perry From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 23 08:05:26 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A81416A401 for ; Sun, 23 Apr 2006 08:05:26 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30309.mail.mud.yahoo.com (web30309.mail.mud.yahoo.com [68.142.200.102]) by mx1.FreeBSD.org (Postfix) with SMTP id B914C43D45 for ; Sun, 23 Apr 2006 08:05:25 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 38123 invoked by uid 60001); 23 Apr 2006 08:05:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=5XFSYC6Z+9LLuWUTAS9AYIzf7Cv9vO/BJWXce4ClL9WksJSvo1NWJWSgIVyuum+kSwykuRXJyjJNVw18MWIwbipwfWXjWaFJe8mI4MAKzYArCCfbyNxhotgj9meQnWS5uUpQenQsUDYbPO/1gcWg6J4zQFGb/VQFSGxQToh0LK4= ; Message-ID: <20060423080525.38121.qmail@web30309.mail.mud.yahoo.com> Received: from [213.54.76.253] by web30309.mail.mud.yahoo.com via HTTP; Sun, 23 Apr 2006 01:05:25 PDT Date: Sun, 23 Apr 2006 01:05:25 -0700 (PDT) From: "R. B. Riddick" To: Erin E Conn In-Reply-To: <444ADD11.9060104@nc.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Rebooting problems with /dev/cxm0 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, 23 Apr 2006 08:05:26 -0000 --- Erin E Conn wrote: > Actually, turns out the X server crashing was due to an xscreensaver > upgrade and it was crashing whenever the screensaver kicked in. I > reinstalled xscreensaver and that seems to have fixed it. It does appear > that my system is more stable using dd to /dev/null, and indeed cat to > /dev/null doesn't seem to cause any problems either. I got a lot of dma > buffer warnings when using a blocksize of 1 byte, but 1m seemed to be fine. > Hmm... Does that mean, that the "dd" command can run for hours now? If yes, I would do a "dd if=/dev/cxm0 of=/path/to/huge/filesystem/movie.mpg bs=1m" for some hours (if the resolution is 720x576 it produces 4GB/h)... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 23 20:02:44 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6EC316A400 for ; Sun, 23 Apr 2006 20:02:44 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id A194243D53 for ; Sun, 23 Apr 2006 20:02:42 +0000 (GMT) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 8BE175643A for ; Sun, 23 Apr 2006 13:03:58 -0700 (PDT) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "satchel.alerce.com", Issuer "alerce.com" (verified OK)) by merlin.alerce.com (Postfix) with ESMTP id 3C25756436 for ; Sun, 23 Apr 2006 13:03:58 -0700 (PDT) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id k3NK2v4L020494 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 23 Apr 2006 13:02:58 -0700 (PDT) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id k3NK2vs9020489; Sun, 23 Apr 2006 13:02:57 -0700 (PDT) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17483.56689.60237.577718@satchel.alerce.com> Date: Sun, 23 Apr 2006 13:02:57 -0700 To: freebsd-multimedia@freebsd.org X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Subject: Has anyone looked into supporting the Griffin Radio Shark? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2006 20:02:44 -0000 I have a D-Link DSB-R100 USB FM receiver that I use via Warner Losh's ufmctl app. and the ufm driver. I can't find any DSB's for sale and have been looking for alternatives. (Let me know if you have one for sale!) The Griffin Radio Shark seems like a candidate, and there seems to be a Linux driver available for it. Has anyone built a freebsd driver for it? Does anyone have any other favorite FM receivers? g. From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 24 01:12:35 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC23416A404 for ; Mon, 24 Apr 2006 01:12:35 +0000 (UTC) (envelope-from econn@nc.rr.com) Received: from ms-smtp-04.southeast.rr.com (ms-smtp-04.southeast.rr.com [24.25.9.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36C3043D49 for ; Mon, 24 Apr 2006 01:12:34 +0000 (GMT) (envelope-from econn@nc.rr.com) Received: from [192.168.0.10] (cpe-071-065-248-172.nc.res.rr.com [71.65.248.172]) by ms-smtp-04.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k3O1CXQU026223; Sun, 23 Apr 2006 21:12:33 -0400 (EDT) Message-ID: <444C25D7.9050600@nc.rr.com> Date: Sun, 23 Apr 2006 21:11:51 -0400 From: Erin E Conn User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "R. B. Riddick" References: <20060423080525.38121.qmail@web30309.mail.mud.yahoo.com> In-Reply-To: <20060423080525.38121.qmail@web30309.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-multimedia@freebsd.org Subject: Re: Rebooting problems with /dev/cxm0 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, 24 Apr 2006 01:12:35 -0000 R. B. Riddick wrote: > > Hmm... Does that mean, that the "dd" command can run for hours now? > > If yes, I would do a "dd if=/dev/cxm0 of=/path/to/huge/filesystem/movie.mpg > bs=1m" for some hours (if the resolution is 720x576 it produces 4GB/h)... After some rebuilding and reinstalling of ports, I was able to cat /dev/cxm0 to a file in my home directory for about half an hour with no dma errors or lockups. I then stopped the cat and tried 'mplayer -cache 4096 /dev/cxm0', and my machine locked up after about 2 minutes. The display continues to update; my dockapps in fluxbox are still functioning and updating, but the machine does not respond to any network traffic or input devices and the video and audio from /dev/cxm0 have halted. Nothing is being logged to /var/log/messages at the time. I tried it again while keeping an eye on the console in case there are dma problems preventing anything being written to the log: cxm0:encoder dma status 0xb # MACHINE STOPPED RESPONDING HERE cmx0:encoder dma status 0xb ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=22069947 ad0: TIMEOUT - WRITE_DMA retrying (0 retries left) LBA=22069947 dc0: watchdog timeout dc0: failed to force tx and rx to idle state ad0: FAILURE - WRITE_DMA timed out LBA=22069947 ad0: FAILURE - READ_DMA timed out LBA=20487259 The above messages continue to be output to the console and I have to manually restart the computer. From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 24 05:54:22 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E7DC16A401 for ; Mon, 24 Apr 2006 05:54:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E54943D46 for ; Mon, 24 Apr 2006 05:54:19 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from [203.41.52.161] (dialup1.nimnet.asn.au [203.41.52.161]) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with ESMTP id PAA07331 for ; Mon, 24 Apr 2006 15:54:13 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Message-ID: <444C67F6.1010308@nimnet.asn.au> Date: Mon, 24 Apr 2006 15:53:58 +1000 From: Ian Smith Organization: Nimbin Network Association User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-au, en, en-us MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: /dev/speaker broken in 5.x? 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, 24 Apr 2006 05:54:22 -0000 Hoping it's not disrespectful to mention /dev/speaker in -multimedia :) but I've long found it very handy on the laptop for low-overhead sharp little sounds indicating battery charge state changes, generated by apmd events as per the examples in apmd.conf. This always worked fine in 4.5, and as far as I can tell from CVS, is unchanged in 4-STABLE. Since installing 5.4, I get the following always repeatable symptoms when using the speaker device to play tunes, shown here as root but it's just the same when run as a (wheel) user: paqi# echo "T250L8CE-GE-C" > /dev/speaker # works fine the 1st time .. paqi# fstat | grep speaker # but leaves speaker open .. root csh 1919 4 /dev 72 crw-rw---- speaker w root fstat 1918 4 /dev 72 crw-rw---- speaker w root csh 1116 4 /dev 72 crw-rw---- speaker w paqi# echo "T250L8CE-GE-C" > /dev/speaker # no sound every 2nd time .. /dev/speaker: Device busy. paqi# fstat | grep speaker # but frees the device again, paqi# echo "T250L8CE-GE-C" > /dev/speaker # to work again next time .. So I'm trying to figure out what's changed from 4.5 to 5.4 at http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/isa/Attic/spkr.c.diff?hideattic=0&r1=1.45%3ARELENG_4_5_0_RELEASE&tr1=1.1&r2=1.66.2.1%3ARELENG_5_4_0_RELEASE&tr2=1.69.2.1 Apart from fairly obvious changes for devfs and such, the addition of PC98 code and coding major functions as macros, I can't spot what might cause the device to be left open after playing a string, but assume there's some problem with spkrclose(), or it's not getting called at the end of the playstring (?), or maybe the fairly extensive looking updates to clock.c re TIMER2 have something to do with it .. it's way beyond me. FWIW, spkrtest(8) works fine (as long as the device was left in closed state, as above) to play one or multiple example tunes. I've searched the list and PRs as best I can, finding no mention of such a problem. There has been only one further (apparently purely cosmetic) change to spkr.c at 6-STABLE since 5.4. Does anyone have any ideas, or interest in this lowly 'legacy' function working properly again? Cheers, Ian From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 24 07:14:54 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEF0316A400 for ; Mon, 24 Apr 2006 07:14:54 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30314.mail.mud.yahoo.com (web30314.mail.mud.yahoo.com [68.142.201.232]) by mx1.FreeBSD.org (Postfix) with SMTP id 65B1343D45 for ; Mon, 24 Apr 2006 07:14:54 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 4679 invoked by uid 60001); 24 Apr 2006 07:14:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SvpxXoWYIgyYQqW4Jo4mRfxM5d5NuCf+LXUhxewmv3D3JgramGTZkA7M7werRHQs+H4Qb4y6dH/5mDfmcnPCfdBtszHHiqFVMyqcsV/Axcs+CFzHiU5ZOHU/+7XaEiZvCriUnDPco13laa6lhZbEV7MWJqVCp56ZchVajEfvNDs= ; Message-ID: <20060424071453.4677.qmail@web30314.mail.mud.yahoo.com> Received: from [213.54.80.26] by web30314.mail.mud.yahoo.com via HTTP; Mon, 24 Apr 2006 00:14:53 PDT Date: Mon, 24 Apr 2006 00:14:53 -0700 (PDT) From: "R. B. Riddick" To: Erin E Conn In-Reply-To: <444C25D7.9050600@nc.rr.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1614268909-1145862893=:4385" Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Rebooting problems with /dev/cxm0 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, 24 Apr 2006 07:14:54 -0000 --0-1614268909-1145862893=:4385 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline --- Erin E Conn wrote: > After some rebuilding and reinstalling of ports, I was able to cat > /dev/cxm0 to a file in my home directory for about half an hour with no > dma errors or lockups. I then stopped the cat and tried 'mplayer -cache > 4096 /dev/cxm0', and my machine locked up after about 2 minutes. The > display continues to update; my dockapps in fluxbox are still > functioning and updating, but the machine does not respond to any > network traffic or input devices and the video and audio from /dev/cxm0 > have halted. Nothing is being logged to /var/log/messages at the time. I > tried it again while keeping an eye on the console in case there are dma > problems preventing anything being written to the log: > > cxm0:encoder dma status 0xb > # MACHINE STOPPED RESPONDING HERE > cmx0:encoder dma status 0xb > ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=22069947 > ad0: TIMEOUT - WRITE_DMA retrying (0 retries left) LBA=22069947 > dc0: watchdog timeout > dc0: failed to force tx and rx to idle state > ad0: FAILURE - WRITE_DMA timed out LBA=22069947 > ad0: FAILURE - READ_DMA timed out LBA=20487259 > > The above messages continue to be output to the console and I have to > manually restart the computer. > That sounds familiar... :-) I attached a variation of my very special cxm-data-transfer-program, that just copies the data to your disc (hopefully in the right order... :-)). After examining some areas of the code (just in case I am evil), it can be compiled with c++ -o dd3 dd3.c -O3 and it can be tested with ./dd3 /dev/cxm0