From owner-freebsd-multimedia Sun Jun 17 19:58: 5 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 1EA7B37B401 for ; Sun, 17 Jun 2001 19:57:48 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (root@spare0.gsoft.com.au [203.38.152.114]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id MAA12234; Mon, 18 Jun 2001 12:27:40 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.7 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 18 Jun 2001 12:27:39 +0930 (CST) From: "Daniel O'Connor" To: Gregory W Lovell Subject: RE: Recording TV using a BT878 based card Cc: multimedia@freebsd.org Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 16-Jun-2001 Gregory W Lovell wrote: > I'm in the process of building a FreeBSD server which will act as an > internet gateway for my network. While doing this, I've come up with the > idea of using the server to record programs off free-to-air TV to be > watched on other computers. Does software exist which would allow me to > program what I would like to record in advance? As the system resources > are quite limited, I don't really want to use an X-based application. > Would this kind of thing be possible on a Pentium 133 (simply capturing TV > at approx. VCD resolution in uncompressed form, for later encoding) ? Any > help would be greatly appreciated. Well there is a program for linux which does this, but unfortunatly it uses the Video4Linux API which FreeBSD doesn't support :( I guess a P133 would be too slow to dump the data to disk but I'm not sure. You would definatly need DMA capable disks, and compressing it first would help (but then you'd need more CPU and RAM :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jun 17 20:17:18 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from boromir.vpop.net (dns1.vpop.net [206.117.147.2]) by hub.freebsd.org (Postfix) with ESMTP id 42EF937B408 for ; Sun, 17 Jun 2001 20:17:05 -0700 (PDT) (envelope-from mreimer@vpop.net) Received: from vpop.net ([209.102.16.48]) by boromir.vpop.net (8.11.2/8.11.2) with ESMTP id f5I3H0E80581 for ; Sun, 17 Jun 2001 20:17:00 -0700 (PDT) (envelope-from mreimer@vpop.net) Message-ID: <3B2D72D2.ABCE4C0B@vpop.net> Date: Sun, 17 Jun 2001 20:17:38 -0700 From: Matthew Reimer Organization: VPOP Technologies, Inc. X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: multimedia@freebsd.org Subject: bktr and svideo audio Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Does anyone know if the bktr driver supports svideo audio in? Using fxtv with my camcorder hooked up to the svideo port, I can see the video but I don't get any audio. Switching between fxtv's audio setting "audio internal" and "audio auto" makes no difference. I'm using 4.3-stable. Matt bktr0: mem 0xf0410000-0xf0410fff irq 11 at device 19.0 on pci0 Using 430 FX chipset compatibilty mode brooktree0: PCI bus latency is 10. bktr0: buffer size 3555328, addr 0x48d000 bktr0: GPIO is 0x00ffffdb bktr0: subsystem 0x0070 0x13eb bktr0: Hauppauge Model 61381 D123 bktr0: Detected a MSP3430G-A1 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, remo te control. pci0: (vendor=0x109e, dev=0x0878) at 19.1 irq 11 pcm0: at port 0x534-0x537,0x388-0x38f,0x220-0x22f irq 5 drq 1,0 on isa0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jun 17 20:23:21 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from femail10.sdc1.sfba.home.com (femail10.sdc1.sfba.home.com [24.0.95.106]) by hub.freebsd.org (Postfix) with ESMTP id 5186937B405 for ; Sun, 17 Jun 2001 20:23:10 -0700 (PDT) (envelope-from garycor@home.com) Received: from home.com ([24.3.185.85]) by femail10.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010618032309.XXLT14779.femail10.sdc1.sfba.home.com@home.com>; Sun, 17 Jun 2001 20:23:09 -0700 Message-ID: <3B2D7424.2C34DD49@home.com> Date: Sun, 17 Jun 2001 23:23:16 -0400 From: "Gary T. Corcoran" X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Reimer Cc: multimedia@FreeBSD.ORG Subject: Re: bktr and svideo audio References: <3B2D72D2.ABCE4C0B@vpop.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Matthew Reimer wrote: > > Does anyone know if the bktr driver supports svideo audio in? S-Video is only for video. You have to hook up audio separately with any S-Video system. That is, the audio connections should be no different than when you use composite video, in general. Whether this info solves your bktr problem I wouldn't know... Gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jun 17 20:35: 2 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from boromir.vpop.net (dns1.vpop.net [206.117.147.2]) by hub.freebsd.org (Postfix) with ESMTP id 6520F37B401 for ; Sun, 17 Jun 2001 20:34:50 -0700 (PDT) (envelope-from mreimer@vpop.net) Received: from vpop.net ([209.102.16.48]) by boromir.vpop.net (8.11.2/8.11.2) with ESMTP id f5I3YjE81455 for ; Sun, 17 Jun 2001 20:34:45 -0700 (PDT) (envelope-from mreimer@vpop.net) Message-ID: <3B2D76FB.DA4A89FD@vpop.net> Date: Sun, 17 Jun 2001 20:35:23 -0700 From: Matthew Reimer Organization: VPOP Technologies, Inc. X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: multimedia@freebsd.org Subject: Re: bktr and svideo audio References: <3B2D72D2.ABCE4C0B@vpop.net> <3B2D7424.2C34DD49@home.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Gary T. Corcoran" wrote: > > Matthew Reimer wrote: > > > > Does anyone know if the bktr driver supports svideo audio in? > > S-Video is only for video. You have to hook up audio separately > with any S-Video system. That is, the audio connections should > be no different than when you use composite video, in general. > Whether this info solves your bktr problem I wouldn't know... > > Gary That answers it -- I wrongly thought S-Video carried audio as well. Thanks Gary! Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jun 18 11:59:50 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from revolt.poohsticks.org (revolt.poohsticks.org [63.227.60.74]) by hub.freebsd.org (Postfix) with ESMTP id 5AF9B37B401 for ; Mon, 18 Jun 2001 11:59:48 -0700 (PDT) (envelope-from drew@revolt.poohsticks.org) Received: from revolt.poohsticks.org (localhost [127.0.0.1]) by revolt.poohsticks.org (8.11.3/8.11.3) with ESMTP id f5IIxUV72754; Mon, 18 Jun 2001 12:59:31 -0600 (MDT) (envelope-from drew@revolt.poohsticks.org) Message-Id: <200106181859.f5IIxUV72754@revolt.poohsticks.org> To: Matthew Reimer Cc: multimedia@FreeBSD.ORG Subject: Re: bktr and svideo audio In-reply-to: Your message of "Sun, 17 Jun 2001 20:17:38 PDT." <3B2D72D2.ABCE4C0B@vpop.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <72751.992890770.1@revolt.poohsticks.org> Date: Mon, 18 Jun 2001 12:59:30 -0600 From: Drew Eckhardt Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message <3B2D72D2.ABCE4C0B@vpop.net>, mreimer@vpop.net writes: >Does anyone know if the bktr driver supports svideo audio in? > >Using fxtv with my camcorder hooked up to the svideo port, S-Video is video only (the two pairs are used for luma and chroma). If you don't hook up separate audio cables, you won't get any. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jun 18 22:54:13 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 7F55137B403 for ; Mon, 18 Jun 2001 22:54:10 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from bfg ([213.104.231.143]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with SMTP id <20010619055407.XEEL298.mta03-svc.ntlworld.com@bfg>; Tue, 19 Jun 2001 06:54:07 +0100 Message-ID: <026501c0f884$47dfe180$0200000a@bfg> From: "Roger Hardiman" To: "Tim Pozar" Cc: References: <20010616134206.D11726@lns.com> Subject: Re: Recording TV using a BT878 based card Date: Tue, 19 Jun 2001 06:54:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Tim wrote > Hmmm... It would be cool if there was support for Hauppauge's PVR > card: > > http://www.hauppauge.com/html/wintvpvr_datasheet.htm Excellent, a volunteer. I'm in the process of getting the PVR working on FreeBSD. Hauppauge are supplying information to me on a 1 to 1 basis but I've been swamped by work in the last 4 weeks. I really want to get the PVR card probed, detected and initialised by the end of next week. Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jun 19 2:44: 8 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mach.unseen.org (mach.unseen.org [194.159.240.178]) by hub.freebsd.org (Postfix) with ESMTP id 13F5537B401 for ; Tue, 19 Jun 2001 02:43:57 -0700 (PDT) (envelope-from kevin@unseen.org) Received: from kevin (helo=localhost) by mach.unseen.org with local-esmtp (Exim 3.03 #1) id 15CI3A-0009JJ-00; Tue, 19 Jun 2001 10:43:56 +0100 Date: Tue, 19 Jun 2001 10:43:56 +0100 (BST) From: Kevin Walton To: Cc: Tim Pozar Subject: BKTR Audio/Tuning problems Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-739785457-992943836=:27265" Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-739785457-992943836=:27265 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi Im running: FreeBSD 4.0-RELEASE #4: Tue May 22 20:11:05 BST 2001 kevin@quota.unseen.org:/usr/src/sys/compile/QUOTA on a: CPU: Pentium III/Pentium III Xeon (746.76-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 with a: bktr0: mem 0xf4301000-0xf4301fff irq 9 at device 15.0 on pci0 bktr0: Detected a DPL34193?-\M-G8 at 0x84 bktr0: Pinnacle/Miro TV, Temic NTSC tuner, dpl3518a dolby. full dmesg attached. It is an early Hauppauge WinTV/FM Radio card. It has an FM aerial, a TV Aerial, a comp video and an external audio source pluged into it. I am having problems tunning frequencies on it both TV and Radio, however ill stick to trying to solve the simpler radio issue here. I have taken Tim's tuneradio program. It compiles relativly cleanly: 9 root@quota:/usr/local/src/tuneradio/ > cc -o tr tr.c tr.c: In function `main': tr.c:86: warning: passing arg 2 of `signal' from incompatible pointer type tr.c:86: warning: comparison between pointer and integer tr.c:90: warning: passing arg 2 of `signal' from incompatible pointer type tr.c:90: warning: comparison between pointer and integer I added some debuging to it (attached) and here is the output, and some comentry of what I hear: 10 root@quota:/usr/local/src/tuneradio/ > ./tr DEBUG: Opening dsp device # lots of static at normal volume DEBUG: Set internal audio # silence DEBUG: Get mode # silence DEBUG: Set mode - mono/afc # silence DEBUG: Set frequency # 1/2 a second of the line in then silence ^CShutting down... DEBUG: Set internal audio # lots of static at normal volume DEBUG: Set unmute audio # lots of static at normal volume DEBUG: close device # silence I set the default station to 95.8 (int frequency = 9580;) a very local station that could be recieved even if the aerial wasnt plugged in. So im very confused! Any help, suggestions, ideas appretiated! Thanks Kevin -- Kevin Walton Fax: +44 (0)870 1640411 UnSeen.org --0-739785457-992943836=:27265 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="tr.c" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="tr.c" LyogDQogKiAgDQogKiAgVFVORVJBRElPDQogKiAgDQogKiAgT3BlbnMgdGhl IHRoZSB0dW5lciBkZXZpY2UgKGllLiAvZGV2L3R1bmVyKSBzZXRzIHRoZSBm cmVxdWVuY3ksDQogKiAgc3RlcmVvL21vbm8gYW5kIEFGQyBtb2Rlcy4gIEl0 IHRoZW4gc2l0cyBpbiBhIHdoaWxlIGxvb3AgdG8NCi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gfQ0K ICAgICAgICAgICAgYnJlYWs7DQogICAgICAgICBjYXNlICdIJzogICAvKiBI ZWxwLi4uICovDQogICAgICAgICBjYXNlICdoJzoNCiAgICAgICAgICAgIGJh bm5lcigpOw0KICAgICAgICAgICAgZXhpdCgwKTsNCiAgICAgICAgIGNhc2Ug J00nOiAgIC8qIFJ1biBpbiBtb25vLi4uICovDQogICAgICAgICBjYXNlICdt JzoNCiAgICAgICAgICAgIG1vbm8gPSBUUlVFOw0KICAgICAgICAgICAgYnJl YWs7ICANCiAgICAgICAgIGRlZmF1bHQ6DQogICAgICAgICAgICBwcmludGYo IkkgZG9uJ3Qga25vdyB0aGUgbWVhbmluZyBvZiB0aGUgY29tbWFuZCBsaW5l IGFyZ3VtZW50OiBcIiVzXCIuXG4iLGFyZ3ZbaV0pOw0KICAgICAgICAgICAg YmFubmVyKCk7DQogICAgICAgICAgICBleGl0KDEpOw0KICAgICAgfQ0KICAg fQ0KDQogICBpZiAoYXRleGl0IChjbGVhbnVwKSA9PSAtMSkNCiAgICAgIHBl cnJvciAoImF0ZXhpdCIpOw0KDQogICBpZiAoc2lnbmFsIChTSUdJTlQsIGNu dGxjX2hhbmRsZXIpID09IC0xKSB7DQogICAgICBwZXJyb3IgKCJTaWduYWwg SU5ULi4uIik7DQogICAgICBleGl0ICgxKTsNCiAgIH0NCiAgIGlmIChzaWdu YWwgKFNJR0hVUCwgY250bGNfaGFuZGxlcikgPT0gLTEpIHsNCiAgICAgIHBl cnJvciAoIlNpZ25hbCBIVVAuLi4iKTsNCiAgICAgIGV4aXQgKDEpOw0KICAg fSAgIA0KDQogICBpZihERUJVRykgeyBwcmludGYoIkRFQlVHOiBPcGVuaW5n IGRzcCBkZXZpY2VcbiIpOyBjID0gZ2V0Y2hhcigpO30NCiAgIGlmKChkZXZm aCA9IG9wZW4oZGV2aWNlLCBPX1JET05MWSkpID09IC0xKXsNCiAgICAgIHBl cnJvcigib3BlbmluZyBkc3AgZGV2aWNlIik7DQogICAgICBleGl0KDEpOw0K ICAgfQ0KDQogICBpZihERUJVRykgeyBwcmludGYoIkRFQlVHOiBTZXQgaW50 ZXJuYWwgYXVkaW9cbiIpOyBjID0gZ2V0Y2hhcigpO30NCiAgIHNldGF1ZGlv ID0gQVVESU9fSU5URVJOOyANCiAgIGlmKGlvY3RsKGRldmZoLCBCVDg0OF9T QVVESU8sICZzZXRhdWRpbykgPT0gLTEpew0KICAgICAgcGVycm9yKCJzZXQg aW50ZXJuYWwgYXVkaW8gIik7DQogICAgICBleGl0KDEpOw0KICAgfQ0KDQog ICBpZihERUJVRykgeyBwcmludGYoIkRFQlVHOiBHZXQgbW9kZVxuIik7IGMg PSBnZXRjaGFyKCk7fQ0KICAgaWYoaW9jdGwoZGV2ZmgsIFJBRElPX0dFVE1P REUsICZnb3RtYXNrKSA9PSAtMSl7DQogICAgICBwZXJyb3IoImdldCBtb2Rl Iik7DQogICAgICBleGl0KDEpOw0KICAgfQ0KICAgc2V0bWFzayA9IGdvdG1h c2s7DQoNCiAgIGlmKG1vbm8pDQogICAgICBzZXRtYXNrIHw9IFJBRElPX01P Tk87ICAgIA0KICAgZWxzZQ0KICAgICAgc2V0bWFzayAmPSB+UkFESU9fTU9O TzsNCg0KICAgaWYoYWZjKQ0KICAgICAgc2V0bWFzayB8PSBSQURJT19BRkM7 ICAgIA0KICAgZWxzZQ0KICAgICAgc2V0bWFzayAmPSB+UkFESU9fQUZDOw0K DQogICBpZihERUJVRykgeyBwcmludGYoIkRFQlVHOiBTZXQgbW9kZSAtIG1v bm8vYWZjXG4iKTsgYyA9IGdldGNoYXIoKTt9DQogICBpZihpb2N0bChkZXZm aCwgUkFESU9fU0VUTU9ERSwgJnNldG1hc2spID09IC0xKXsNCiAgICAgIHBl cnJvcigic2V0IG1vZGUgLSBtb25vL2FmYyIpOw0KICAgICAgZXhpdCgxKTsN CiAgIH0NCg0KICAgaWYoREVCVUcpIHsgcHJpbnRmKCJERUJVRzogU2V0IGZy ZXF1ZW5jeVxuIik7IG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hhbmRsZXIoKQ0KICoNCiAqIHJ1bnMgd2hl biBhIHVzZXIgZG9lcyBhIENOVEwtQy4uLg0KICoNCiAqLw0KDQp2b2lkDQpj bnRsY19oYW5kbGVyICgpDQp7DQogIGV4aXQgKDApOw0KfQ0KDQovKg0KICog Y2xlYW51cCgpDQogKg0KICogcnVucyBvbiBleGl0Li4uDQogKg0KICovDQoN CnZvaWQNCmNsZWFudXAgKCkNCnsNCg0KaW50IGM7DQoNCiAgIHByaW50ZiAo IlNodXR0aW5nIGRvd24uLi5cbiIpOw0KICAgaWYoREVCVUcpIHsgcHJpbnRm KCJERUJVRzogU2V0IGludGVybmFsIGF1ZGlvXG4iKTsgYyA9IGdldGNoYXIo KTt9DQogICBzZXRhdWRpbyA9IEFVRElPX0VYVEVSTjsgDQogICBpZihpb2N0 bChkZXZmaCwgQlQ4NDhfU0FVRElPLCAmc2V0YXVkaW8pID09IC0xKXsNCiAg ICAgIHBlcnJvcigic2V0IGludGVybmFsIGF1ZGlvICIpOw0KICAgfQ0KICAg aWYoREVCVUcpIHsgcHJpbnRmKCJERUJVRzogU2V0IHVubXV0ZSBhdWRpb1xu Iik7IGMgPSBnZXRjaGFyKCk7fQ0KICAgc2V0YXVkaW8gPSBBVURJT19VTk1V VEU7IA0KICAgaWYoaW9jdGwoZGV2ZmgsIEJUODQ4X1NBVURJTywgJnNldGF1 ZGlvKSA9PSAtMSl7DQogICAgICBwZXJyb3IoInNldCB1bm11dGUgYXVkaW8g Iik7DQogICB9DQogIGNsb3NlIChkZXZmaCk7DQp9ICANCg0K --0-739785457-992943836=:27265 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=d Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=d Q29weXJpZ2h0IChjKSAxOTkyLTIwMDAgVGhlIEZyZWVCU0QgUHJvamVjdC4N CkNvcHlyaWdodCAoYykgMTk4MiwgMTk4NiwgMTk4OSwgMTk5MSwgMTk5Mw0K CVRoZSBSZWdlb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1bmtub3duMDogPE9QTDMtU0EyIFNvdW5kIEJv YXJkPiBhdCBwb3J0IDB4MjAxIG9uIGlzYTANCmFkMDogMTIzNjBNQiA8TWF4 dG9yIDkxMjk2RDY+IFsyNTExMy8xNi82M10gYXQgYXRhMC1tYXN0ZXIgdXNp bmcgVURNQTMzDQphZDE6IDMyNjM0TUIgPElCTS1EUFRBLTM3MzQyMD4gWzY2 MzA1LzE2LzYzXSBhdCBhdGEwLXNsYXZlIHVzaW5nIFVETUEzMw0KYWNkMDog Q0RST00gPFRPU0hJQkEgQ0QtUk9NIFhNLTYxMDJCPiBhdCBhdGExLW1hc3Rl ciB1c2luZyBQSU8zDQpNb3VudGluZyByb290IGZyb20gdWZzOi9kZXYvYWQw czFhDQo= --0-739785457-992943836=:27265-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jun 19 4:13:18 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mach.unseen.org (mach.unseen.org [194.159.240.178]) by hub.freebsd.org (Postfix) with ESMTP id 1F75B37B406 for ; Tue, 19 Jun 2001 04:13:16 -0700 (PDT) (envelope-from kevin@unseen.org) Received: from kevin (helo=localhost) by mach.unseen.org with local-esmtp (Exim 3.03 #1) id 15CJRZ-0009VG-00; Tue, 19 Jun 2001 12:13:13 +0100 Date: Tue, 19 Jun 2001 12:13:13 +0100 (BST) From: Kevin Walton To: "Roman Y. Bogdanov" Cc: Subject: Re: BKTR Audio/Tuning problems In-Reply-To: <583190892.20010619184111@ktk.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 19 Jun 2001, Roman Y. Bogdanov wrote: > ... np: workstation and server coolers > > Tuesday, June 19, 2001, 5:43:56 PM, you wrote: > > KW> FreeBSD 4.0-RELEASE #4: Tue May 22 20:11:05 BST 2001 > KW> kevin@quota.unseen.org:/usr/src/sys/compile/QUOTA > > For use FM tuner I use http://jumbo.narod.ru/fmio.html > > Try it. May be you like this prg. I get the same results, running it as: fmio -f 95.8 I get a brief 1/2 second of line in audio doing a scan: fmio -D -l 95.7 -h 95.9 -c 1 I get: 74 root@quota:/usr/local/src/fmio/fmio-1.2.12/ > fmio -D -l 95.7 -h 95.9 -c 1 Probing ports, please wait... Brooktree Bt848 (Video4Linux) Driver port 0x248: GemTek FM Radio Card done fmio: Port access error: Bad file descriptor However I only have the one radio card, which is the Hauppauge one? Cheers Kev -- Kevin Walton Fax: +44 (0)870 1640411 UnSeen.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jun 19 10:20:55 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from kumr.lns.com (kumr.lns.com [140.174.7.1]) by hub.freebsd.org (Postfix) with ESMTP id CB2D137B401 for ; Tue, 19 Jun 2001 10:20:42 -0700 (PDT) (envelope-from pozar@kumr.lns.com) Received: (from pozar@localhost) by kumr.lns.com (8.11.3/8.9.3) id f5JHKZg14572; Tue, 19 Jun 2001 10:20:35 -0700 (PDT) (envelope-from pozar) Date: Tue, 19 Jun 2001 10:20:35 -0700 From: Tim Pozar To: Kevin Walton Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: BKTR Audio/Tuning problems Message-ID: <20010619102035.A14261@lns.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from kevin@unseen.org on Tue, Jun 19, 2001 at 10:43:56AM +0100 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org One thing I thought you were running into was the fact you were tuning to an even frequency of a station. In the States they are all odd, ie 95.7, 95.9, 96.1, etc. Then I noticed you domain is in the UK were stations are on even frequencies. Oh well... What happens if you run without AFC, and in mono? Can you just plug into the output of the Tuner card with head phones? What do you hear? Tim On Tue, Jun 19, 2001 at 10:43:56AM +0100, Kevin Walton wrote: > Hi > > Im running: > > FreeBSD 4.0-RELEASE #4: Tue May 22 20:11:05 BST 2001 > kevin@quota.unseen.org:/usr/src/sys/compile/QUOTA > > on a: > > CPU: Pentium III/Pentium III Xeon (746.76-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x681 Stepping = 1 > > with a: > > bktr0: mem 0xf4301000-0xf4301fff irq 9 at device 15.0 on pci0 > bktr0: Detected a DPL34193?-\M-G8 at 0x84 > bktr0: Pinnacle/Miro TV, Temic NTSC tuner, dpl3518a dolby. > > full dmesg attached. > > It is an early Hauppauge WinTV/FM Radio card. It has an FM aerial, a TV > Aerial, a comp video and an external audio source pluged into it. > > I am having problems tunning frequencies on it both TV and Radio, however > ill stick to trying to solve the simpler radio issue here. > > I have taken Tim's tuneradio program. It compiles relativly cleanly: > > 9 root@quota:/usr/local/src/tuneradio/ > cc -o tr tr.c > tr.c: In function `main': > tr.c:86: warning: passing arg 2 of `signal' from incompatible pointer type > tr.c:86: warning: comparison between pointer and integer > tr.c:90: warning: passing arg 2 of `signal' from incompatible pointer type > tr.c:90: warning: comparison between pointer and integer > > I added some debuging to it (attached) and here is the output, and some > comentry of what I hear: > > 10 root@quota:/usr/local/src/tuneradio/ > ./tr > DEBUG: Opening dsp device > # lots of static at normal volume > DEBUG: Set internal audio > # silence > DEBUG: Get mode > # silence > DEBUG: Set mode - mono/afc > # silence > DEBUG: Set frequency > # 1/2 a second of the line in then silence > > > ^CShutting down... > DEBUG: Set internal audio > # lots of static at normal volume > DEBUG: Set unmute audio > # lots of static at normal volume > DEBUG: close device > # silence > > I set the default station to 95.8 (int frequency = 9580;) a very local > station that could be recieved even if the aerial wasnt plugged in. > > So im very confused! Any help, suggestions, ideas appretiated! > > Thanks > Kevin > > -- > Kevin Walton Fax: +44 (0)870 1640411 > UnSeen.org > > /* > * > * TUNERADIO > * > * Opens the the tuner device (ie. /dev/tuner) sets the frequency, > * stereo/mono and AFC modes. It then sits in a while loop to > * keep the device open. > * > * I needed this program to run on remote computers that stream > * MP3 streams out to the net of radio stations. This program > * assumes the Brooktree 848 card and interface for *BSD. > * > * Copyright (C) 2000 Timothy Pozar pozar@lns.com > * > * $Id: tuneradio.c,v 1.2 2000/02/22 19:20:02 pozar Exp pozar $ > * > */ > > #include > #include > #include > #include > #include > #include > > #define TRUE 1 > #define FALSE 0 > #define BUF_SIZE 4096 > > #define DEBUG 1 > > char device[BUF_SIZE] = "/dev/tuner"; > int mono = FALSE; > int afc = FALSE; > int frequency = 9580; /* 8850 = 88.5Mhz */ > int devfh; > int setaudio; > static void cleanup (void); > static void cntlc_handler (void); > > int main(argc,argv) > int argc; > char *argv[]; > { > int gotmask, setmask, gotfreq, setfreq, i, c; > > /* scan command line arguments, and look for files to work on. */ > for (i = 1; i < argc; i++) { > switch (argv[i][1]){ /* be case indepenent... */ > case 'A': /* Run with AFC... */ > case 'a': > afc = TRUE; > break; > case 'D': /* dsp file name... */ > case 'd': > i++; > strncpy(device,argv[i],BUF_SIZE); > break; > case 'F': /* Frequency in 10 KHz... */ > case 'f': > i++; > frequency = atoi(argv[i]); > if((frequency < 8800) || (frequency > 10800)){ > printf("Frequency %i is out of range of 8800 to 10800\n",frequency); > exit(1); > } > break; > case 'H': /* Help... */ > case 'h': > banner(); > exit(0); > case 'M': /* Run in mono... */ > case 'm': > mono = TRUE; > break; > default: > printf("I don't know the meaning of the command line argument: \"%s\".\n",argv[i]); > banner(); > exit(1); > } > } > > if (atexit (cleanup) == -1) > perror ("atexit"); > > if (signal (SIGINT, cntlc_handler) == -1) { > perror ("Signal INT..."); > exit (1); > } > if (signal (SIGHUP, cntlc_handler) == -1) { > perror ("Signal HUP..."); > exit (1); > } > > if(DEBUG) { printf("DEBUG: Opening dsp device\n"); c = getchar();} > if((devfh = open(device, O_RDONLY)) == -1){ > perror("opening dsp device"); > exit(1); > } > > if(DEBUG) { printf("DEBUG: Set internal audio\n"); c = getchar();} > setaudio = AUDIO_INTERN; > if(ioctl(devfh, BT848_SAUDIO, &setaudio) == -1){ > perror("set internal audio "); > exit(1); > } > > if(DEBUG) { printf("DEBUG: Get mode\n"); c = getchar();} > if(ioctl(devfh, RADIO_GETMODE, &gotmask) == -1){ > perror("get mode"); > exit(1); > } > setmask = gotmask; > > if(mono) > setmask |= RADIO_MONO; > else > setmask &= ~RADIO_MONO; > > if(afc) > setmask |= RADIO_AFC; > else > setmask &= ~RADIO_AFC; > > if(DEBUG) { printf("DEBUG: Set mode - mono/afc\n"); c = getchar();} > if(ioctl(devfh, RADIO_SETMODE, &setmask) == -1){ > perror("set mode - mono/afc"); > exit(1); > } > > if(DEBUG) { printf("DEBUG: Set frequency\n"); c = getchar();} > if(ioctl(devfh, RADIO_SETFREQ, &frequency) == -1){ > perror("set frequency"); > exit(1); > } > > while(1){ > ioctl(devfh, RADIO_SETFREQ, &frequency); > /* sleep(1); */ > } > > exit(0); > } > > banner() > { > printf("tuneradio: Set \"%s\" frequency, AFC and stereo/mono mode,\n",device); > printf(" and then keep the tuner open.\n"); > printf(" -a Sets tuner to run with AFC. Default is off.\n"); > printf(" -d device Sets device name for the tuner. Default is \"%s\".\n",device); > printf(" -f frequency Sets tuner frequency (10Khz ie 88.1Mhz = 8810).\n"); > printf(" Default is \"%i\".\n",frequency); > printf(" -m Sets tuner to run in mono. Default is stereo.\n"); > return; > } > > /* > * cntlc_handler() > * > * runs when a user does a CNTL-C... > * > */ > > void > cntlc_handler () > { > exit (0); > } > > /* > * cleanup() > * > * runs on exit... > * > */ > > void > cleanup () > { > > int c; > > printf ("Shutting down...\n"); > if(DEBUG) { printf("DEBUG: Set internal audio\n"); c = getchar();} > setaudio = AUDIO_EXTERN; > if(ioctl(devfh, BT848_SAUDIO, &setaudio) == -1){ > perror("set internal audio "); > } > if(DEBUG) { printf("DEBUG: Set unmute audio\n"); c = getchar();} > setaudio = AUDIO_UNMUTE; > if(ioctl(devfh, BT848_SAUDIO, &setaudio) == -1){ > perror("set unmute audio "); > } > close (devfh); > } > > Copyright (c) 1992-2000 The FreeBSD Project. > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > FreeBSD 4.0-RELEASE #4: Tue May 22 20:11:05 BST 2001 > kevin@quota.unseen.org:/usr/src/sys/compile/QUOTA > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium III/Pentium III Xeon (746.76-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x681 Stepping = 1 > Features=0x387f9ff > real memory = 402653184 (393216K bytes) > avail memory = 387268608 (378192K bytes) > Preloaded elf kernel "kernel" at 0xc0308000. > Pentium Pro MTRR support enabled > md0: Malloc disk > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: <3Dfx Voodoo 3 graphics accelerator> at 0.0 irq 10 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0x1040-0x104f at device 7.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0x1000-0x101f irq 9 at device 7.2 on pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > ugen0: OmniVision OV511 Camera, rev 1.00/1.00, addr 2 > chip1: port 0x7000-0x700f at device 7.3 on pci0 > fxp0: port 0x1020-0x103f mem 0xf4000000-0xf40fffff,0xf4300000-0xf4300fff irq 5 at device 14.0 on pci0 > fxp0: Ethernet address 00:90:27:1a:70:7b > bktr0: mem 0xf4301000-0xf4301fff irq 9 at device 15.0 on pci0 > bktr0: Detected a DPL34193?-\M-G8 at 0x84 > bktr0: Pinnacle/Miro TV, Temic NTSC tuner, dpl3518a dolby. > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: at port 0x60-0x6f on isa0 > atkbd0: irq 1 on atkbdc0 > psm0: irq 12 on atkbdc0 > psm0: model IntelliMouse, device ID 3 > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: on isa0 > sc0: VGA <16 virtual consoles, flags=0x200> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1: configured irq 3 not in bitmap of probed irqs 0 > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/7 bytes threshold > ppi0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppc1: at port 0x278-0x27f irq 11 on isa0 > ppc1: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > ppi1: on ppbus1 > lpt1: on ppbus1 > lpt1: Interrupt-driven port > pcm0: at port 0x240-0x24f,0xe80-0xe87,0x388-0x38b,0x300-0x301,0x100-0x101 irq 10 drq 0,1 on isa0 > unknown0: at port 0x201 on isa0 > ad0: 12360MB [25113/16/63] at ata0-master using UDMA33 > ad1: 32634MB [66305/16/63] at ata0-slave using UDMA33 > acd0: CDROM at ata1-master using PIO3 > Mounting root from ufs:/dev/ad0s1a -- Snail: Tim Pozar / LNS / 1978 45th Ave / San Francisco CA 94116 / USA POTS: +1 415 665 3790 Radio: KC6GNJ / KAE6247 "It's a damn poor mind that can only think of one way to spell a word." - Andrew Jackson "What is wanted is not the will to believe, but the will to find out, which is the exact opposite." - Bertrand Russell, "Skeptical_Essays" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jun 19 11:39: 9 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mach.unseen.org (mach.unseen.org [194.159.240.178]) by hub.freebsd.org (Postfix) with ESMTP id 718F437B403 for ; Tue, 19 Jun 2001 11:38:55 -0700 (PDT) (envelope-from kevin@unseen.org) Received: from kevin (helo=localhost) by mach.unseen.org with local-esmtp (Exim 3.03 #1) id 15CQOr-000AU2-00; Tue, 19 Jun 2001 19:38:53 +0100 Date: Tue, 19 Jun 2001 19:38:53 +0100 (BST) From: Kevin Walton To: Tim Pozar Cc: Subject: Re: BKTR Audio/Tuning problems In-Reply-To: <20010619102035.A14261@lns.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for the thoughts.... 95.8 is the right freq. The default is Not Mono and and Not AFC Setting AFC, Mono or both on makes no difference. Plugging directly into the speakers, without going through the sound card gives exactly the same result. To add some more to the story from the TV side. I can seem to tune any TV stations in either, useing xawtv or fxtv. I can get a TV picture from the compsite input onto screen using xawtv or fxtv, however the sound is odd. The sound comes into the tv card on the TV cards line in connector, out of the TV card on it's line out connector, and into the line in of the sound card. Using xawtv I need use it's mute function to get the correct sound source, leaving it unmuted gives full volume static? Any more ideas? Thanks Kev On Tue, 19 Jun 2001, Tim Pozar wrote: > One thing I thought you were running into was the fact you were > tuning to an even frequency of a station. In the States they are > all odd, ie 95.7, 95.9, 96.1, etc. Then I noticed you domain is > in the UK were stations are on even frequencies. Oh well... > > What happens if you run without AFC, and in mono? Can you just > plug into the output of the Tuner card with head phones? What do > you hear? > > Tim > > On Tue, Jun 19, 2001 at 10:43:56AM +0100, Kevin Walton wrote: > > Hi > > > > Im running: > > > > FreeBSD 4.0-RELEASE #4: Tue May 22 20:11:05 BST 2001 > > kevin@quota.unseen.org:/usr/src/sys/compile/QUOTA > > > > on a: > > > > CPU: Pentium III/Pentium III Xeon (746.76-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0x681 Stepping = 1 > > > > with a: > > > > bktr0: mem 0xf4301000-0xf4301fff irq 9 at device 15.0 on pci0 > > bktr0: Detected a DPL34193?-\M-G8 at 0x84 > > bktr0: Pinnacle/Miro TV, Temic NTSC tuner, dpl3518a dolby. > > > > full dmesg attached. > > > > It is an early Hauppauge WinTV/FM Radio card. It has an FM aerial, a TV > > Aerial, a comp video and an external audio source pluged into it. > > > > I am having problems tunning frequencies on it both TV and Radio, however > > ill stick to trying to solve the simpler radio issue here. > > > > I have taken Tim's tuneradio program. It compiles relativly cleanly: > > > > 9 root@quota:/usr/local/src/tuneradio/ > cc -o tr tr.c > > tr.c: In function `main': > > tr.c:86: warning: passing arg 2 of `signal' from incompatible pointer type > > tr.c:86: warning: comparison between pointer and integer > > tr.c:90: warning: passing arg 2 of `signal' from incompatible pointer type > > tr.c:90: warning: comparison between pointer and integer > > > > I added some debuging to it (attached) and here is the output, and some > > comentry of what I hear: > > > > 10 root@quota:/usr/local/src/tuneradio/ > ./tr > > DEBUG: Opening dsp device > > # lots of static at normal volume > > DEBUG: Set internal audio > > # silence > > DEBUG: Get mode > > # silence > > DEBUG: Set mode - mono/afc > > # silence > > DEBUG: Set frequency > > # 1/2 a second of the line in then silence > > > > > > ^CShutting down... > > DEBUG: Set internal audio > > # lots of static at normal volume > > DEBUG: Set unmute audio > > # lots of static at normal volume > > DEBUG: close device > > # silence > > > > I set the default station to 95.8 (int frequency = 9580;) a very local > > station that could be recieved even if the aerial wasnt plugged in. > > > > So im very confused! Any help, suggestions, ideas appretiated! > > > > Thanks > > Kevin > > > > -- > > Kevin Walton Fax: +44 (0)870 1640411 > > UnSeen.org > > > > > /* > > * > > * TUNERADIO > > * > > * Opens the the tuner device (ie. /dev/tuner) sets the frequency, > > * stereo/mono and AFC modes. It then sits in a while loop to > > * keep the device open. > > * > > * I needed this program to run on remote computers that stream > > * MP3 streams out to the net of radio stations. This program > > * assumes the Brooktree 848 card and interface for *BSD. > > * > > * Copyright (C) 2000 Timothy Pozar pozar@lns.com > > * > > * $Id: tuneradio.c,v 1.2 2000/02/22 19:20:02 pozar Exp pozar $ > > * > > */ > > > > #include > > #include > > #include > > #include > > #include > > #include > > > > #define TRUE 1 > > #define FALSE 0 > > #define BUF_SIZE 4096 > > > > #define DEBUG 1 > > > > char device[BUF_SIZE] = "/dev/tuner"; > > int mono = FALSE; > > int afc = FALSE; > > int frequency = 9580; /* 8850 = 88.5Mhz */ > > int devfh; > > int setaudio; > > static void cleanup (void); > > static void cntlc_handler (void); > > > > int main(argc,argv) > > int argc; > > char *argv[]; > > { > > int gotmask, setmask, gotfreq, setfreq, i, c; > > > > /* scan command line arguments, and look for files to work on. */ > > for (i = 1; i < argc; i++) { > > switch (argv[i][1]){ /* be case indepenent... */ > > case 'A': /* Run with AFC... */ > > case 'a': > > afc = TRUE; > > break; > > case 'D': /* dsp file name... */ > > case 'd': > > i++; > > strncpy(device,argv[i],BUF_SIZE); > > break; > > case 'F': /* Frequency in 10 KHz... */ > > case 'f': > > i++; > > frequency = atoi(argv[i]); > > if((frequency < 8800) || (frequency > 10800)){ > > printf("Frequency %i is out of range of 8800 to 10800\n",frequency); > > exit(1); > > } > > break; > > case 'H': /* Help... */ > > case 'h': > > banner(); > > exit(0); > > case 'M': /* Run in mono... */ > > case 'm': > > mono = TRUE; > > break; > > default: > > printf("I don't know the meaning of the command line argument: \"%s\".\n",argv[i]); > > banner(); > > exit(1); > > } > > } > > > > if (atexit (cleanup) == -1) > > perror ("atexit"); > > > > if (signal (SIGINT, cntlc_handler) == -1) { > > perror ("Signal INT..."); > > exit (1); > > } > > if (signal (SIGHUP, cntlc_handler) == -1) { > > perror ("Signal HUP..."); > > exit (1); > > } > > > > if(DEBUG) { printf("DEBUG: Opening dsp device\n"); c = getchar();} > > if((devfh = open(device, O_RDONLY)) == -1){ > > perror("opening dsp device"); > > exit(1); > > } > > > > if(DEBUG) { printf("DEBUG: Set internal audio\n"); c = getchar();} > > setaudio = AUDIO_INTERN; > > if(ioctl(devfh, BT848_SAUDIO, &setaudio) == -1){ > > perror("set internal audio "); > > exit(1); > > } > > > > if(DEBUG) { printf("DEBUG: Get mode\n"); c = getchar();} > > if(ioctl(devfh, RADIO_GETMODE, &gotmask) == -1){ > > perror("get mode"); > > exit(1); > > } > > setmask = gotmask; > > > > if(mono) > > setmask |= RADIO_MONO; > > else > > setmask &= ~RADIO_MONO; > > > > if(afc) > > setmask |= RADIO_AFC; > > else > > setmask &= ~RADIO_AFC; > > > > if(DEBUG) { printf("DEBUG: Set mode - mono/afc\n"); c = getchar();} > > if(ioctl(devfh, RADIO_SETMODE, &setmask) == -1){ > > perror("set mode - mono/afc"); > > exit(1); > > } > > > > if(DEBUG) { printf("DEBUG: Set frequency\n"); c = getchar();} > > if(ioctl(devfh, RADIO_SETFREQ, &frequency) == -1){ > > perror("set frequency"); > > exit(1); > > } > > > > while(1){ > > ioctl(devfh, RADIO_SETFREQ, &frequency); > > /* sleep(1); */ > > } > > > > exit(0); > > } > > > > banner() > > { > > printf("tuneradio: Set \"%s\" frequency, AFC and stereo/mono mode,\n",device); > > printf(" and then keep the tuner open.\n"); > > printf(" -a Sets tuner to run with AFC. Default is off.\n"); > > printf(" -d device Sets device name for the tuner. Default is \"%s\".\n",device); > > printf(" -f frequency Sets tuner frequency (10Khz ie 88.1Mhz = 8810).\n"); > > printf(" Default is \"%i\".\n",frequency); > > printf(" -m Sets tuner to run in mono. Default is stereo.\n"); > > return; > > } > > > > /* > > * cntlc_handler() > > * > > * runs when a user does a CNTL-C... > > * > > */ > > > > void > > cntlc_handler () > > { > > exit (0); > > } > > > > /* > > * cleanup() > > * > > * runs on exit... > > * > > */ > > > > void > > cleanup () > > { > > > > int c; > > > > printf ("Shutting down...\n"); > > if(DEBUG) { printf("DEBUG: Set internal audio\n"); c = getchar();} > > setaudio = AUDIO_EXTERN; > > if(ioctl(devfh, BT848_SAUDIO, &setaudio) == -1){ > > perror("set internal audio "); > > } > > if(DEBUG) { printf("DEBUG: Set unmute audio\n"); c = getchar();} > > setaudio = AUDIO_UNMUTE; > > if(ioctl(devfh, BT848_SAUDIO, &setaudio) == -1){ > > perror("set unmute audio "); > > } > > close (devfh); > > } > > > > > Copyright (c) 1992-2000 The FreeBSD Project. > > Copyright (c) 1982, 1986, 1989, 1991, 1993 > > The Regents of the University of California. All rights reserved. > > FreeBSD 4.0-RELEASE #4: Tue May 22 20:11:05 BST 2001 > > kevin@quota.unseen.org:/usr/src/sys/compile/QUOTA > > Timecounter "i8254" frequency 1193182 Hz > > CPU: Pentium III/Pentium III Xeon (746.76-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0x681 Stepping = 1 > > Features=0x387f9ff > > real memory = 402653184 (393216K bytes) > > avail memory = 387268608 (378192K bytes) > > Preloaded elf kernel "kernel" at 0xc0308000. > > Pentium Pro MTRR support enabled > > md0: Malloc disk > > npx0: on motherboard > > npx0: INT 16 interface > > pcib0: on motherboard > > pci0: on pcib0 > > pcib1: at device 1.0 on pci0 > > pci1: on pcib1 > > pci1: <3Dfx Voodoo 3 graphics accelerator> at 0.0 irq 10 > > isab0: at device 7.0 on pci0 > > isa0: on isab0 > > atapci0: port 0x1040-0x104f at device 7.1 on pci0 > > ata0: at 0x1f0 irq 14 on atapci0 > > ata1: at 0x170 irq 15 on atapci0 > > uhci0: port 0x1000-0x101f irq 9 at device 7.2 on pci0 > > usb0: on uhci0 > > usb0: USB revision 1.0 > > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub0: 2 ports with 2 removable, self powered > > ugen0: OmniVision OV511 Camera, rev 1.00/1.00, addr 2 > > chip1: port 0x7000-0x700f at device 7.3 on pci0 > > fxp0: port 0x1020-0x103f mem 0xf4000000-0xf40fffff,0xf4300000-0xf4300fff irq 5 at device 14.0 on pci0 > > fxp0: Ethernet address 00:90:27:1a:70:7b > > bktr0: mem 0xf4301000-0xf4301fff irq 9 at device 15.0 on pci0 > > bktr0: Detected a DPL34193?-\M-G8 at 0x84 > > bktr0: Pinnacle/Miro TV, Temic NTSC tuner, dpl3518a dolby. > > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > > fdc0: FIFO enabled, 8 bytes threshold > > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > > atkbdc0: at port 0x60-0x6f on isa0 > > atkbd0: irq 1 on atkbdc0 > > psm0: irq 12 on atkbdc0 > > psm0: model IntelliMouse, device ID 3 > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > > sc0: on isa0 > > sc0: VGA <16 virtual consoles, flags=0x200> > > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > > sio0: type 16550A > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > ppc0: at port 0x378-0x37f irq 7 on isa0 > > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > > ppc0: FIFO with 16/16/7 bytes threshold > > ppi0: on ppbus0 > > lpt0: on ppbus0 > > lpt0: Interrupt-driven port > > ppc1: at port 0x278-0x27f irq 11 on isa0 > > ppc1: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > > ppi1: on ppbus1 > > lpt1: on ppbus1 > > lpt1: Interrupt-driven port > > pcm0: at port 0x240-0x24f,0xe80-0xe87,0x388-0x38b,0x300-0x301,0x100-0x101 irq 10 drq 0,1 on isa0 > > unknown0: at port 0x201 on isa0 > > ad0: 12360MB [25113/16/63] at ata0-master using UDMA33 > > ad1: 32634MB [66305/16/63] at ata0-slave using UDMA33 > > acd0: CDROM at ata1-master using PIO3 > > Mounting root from ufs:/dev/ad0s1a > > > -- Kevin Walton Fax: +44 (0)870 1640411 UnSeen.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jun 20 3:56:10 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from f1node03.rhrz.uni-bonn.de (node03.rhrz.uni-bonn.de [131.220.18.133]) by hub.freebsd.org (Postfix) with ESMTP id E465637B403 for ; Wed, 20 Jun 2001 03:56:07 -0700 (PDT) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Received: from moritz.alleswirdgelber (ascend-tk-p166.dialin.uni-bonn.de [131.220.244.166]) by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id MAA33730; Wed, 20 Jun 2001 12:56:05 +0200 Received: from localhost (uzs106@localhost [127.0.0.1]) by moritz.alleswirdgelber (8.9.3/8.9.3) with ESMTP id MAA00253; Wed, 20 Jun 2001 12:33:26 +0200 (CEST) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Wed, 20 Jun 2001 12:33:26 +0200 (CEST) From: Heiko Recktenwald X-Sender: uzs106@moritz.alleswirdgelber To: Roger Hardiman Cc: multimedia@FreeBSD.ORG Subject: Re: Recording TV using a BT878 based card In-Reply-To: <026501c0f884$47dfe180$0200000a@bfg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I really want to get the PVR card probed, detected and initialised > by the end of next week. Could bey a reason to buy it ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jun 20 10:46:17 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from jamus.xpert.com (jamus.xpert.com [199.203.132.17]) by hub.freebsd.org (Postfix) with ESMTP id 3420737B403 for ; Wed, 20 Jun 2001 10:46:08 -0700 (PDT) (envelope-from roman@xpert.com) Received: from roman (helo=localhost) by jamus.xpert.com with local-esmtp (Exim 3.13 #1) id 15Cm3x-0004DX-00 for freebsd-multimedia@freebsd.org; Wed, 20 Jun 2001 20:46:45 +0300 Date: Wed, 20 Jun 2001 20:46:45 +0300 (IDT) From: Roman Shterenzon To: Subject: xine 0.5 _partly_ working on freebsd - call for developers (fwd) Message-ID: Organization: Xpert UNIX Systems Ltd. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org CALL FOR HELP: Can anyone assist those noble gentlemen? Please? --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] ---------- Forwarded message ---------- Date: Sun, 17 Jun 2001 15:20:28 +0200 (CEST) From: Guenter Bartsch To: xine-dev Cc: Roman Shterenzon , D J Hawkey Jr , xine-user Subject: xine 0.5 _partly_ working on freebsd - call for developers Hi folks, xine 0.5 is partly working on freebsd now. What's working: - mpeg 1/2 playback, at least for most files (sometimes video playback is not there, but this problem is not fbsd-specific but a small demuxer problem, I hope to solve that soon) - seeking - Xv output (YUV and YUY2) including scaling - XShm output (YUV only) including scaling (MMX processors only) what still causes headaches: - win32codec support is very unreliable, there seems to be a problem with fbsd's thread implementation ("return from sigreturn/longjmp" panic). This problem occured with libmpeg2 too and seemed to be related to the cpuid/mmx detection code, after commenting out asm ("pushfl\n\t" "popl %0\n\t" "movl %0,%1\n\t" "xorl $0x200000,%0\n\t" "pushl %0\n\t" "popfl\n\t" "pushfl\n\t" "popl %0" : "=a" (eax), "=b" (ebx) : : "cc"); libmpeg2 works quite stable now - aaxine doesn't have working audio yet - reading directly from dvd devices is very slow; reading data in greater chunks should solve the problem and can be done now without memcpys (new architecture) well, I hope you understand I don't have the time resources to fully support FreeBSD so after spending quite a few hours to get xine0.5 to this state on FreeBSD (yeah, thanks to heiko I finally have a working FreeBSD installation here :-) ) I'd like to focus on xine on linux again - so this is once again a _call for developers_: Who is willing to spend some time on the FreeBSD port of xine? Who's willing to create a port for xine 0.5 and perhaps do a little debugging, who's familiar with freebsd, knows where to find information, is present on the fbsd mailing lists, who's willing to do testing for this platform? Hope to hear from you, Guenter -- time is a funny concept To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jun 20 11:17:31 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from f1node03.rhrz.uni-bonn.de (node03.rhrz.uni-bonn.de [131.220.18.133]) by hub.freebsd.org (Postfix) with ESMTP id EF69D37B406 for ; Wed, 20 Jun 2001 11:17:27 -0700 (PDT) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Received: from moritz.alleswirdgelber (ascend-tk-p89.dialin.uni-bonn.de [131.220.244.89]) by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id UAA31108; Wed, 20 Jun 2001 20:17:08 +0200 Received: from localhost (uzs106@localhost [127.0.0.1]) by moritz.alleswirdgelber (8.9.3/8.9.3) with ESMTP id TAA00988; Wed, 20 Jun 2001 19:57:48 +0200 (CEST) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Wed, 20 Jun 2001 19:57:48 +0200 (CEST) From: Heiko Recktenwald X-Sender: uzs106@moritz.alleswirdgelber To: Kevin Walton Cc: Tim Pozar , freebsd-multimedia@FreeBSD.ORG Subject: Re: BKTR Audio/Tuning problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Any more ideas? Are you shure you have radio on your card ? Here is my dmesg output, I think I dont have radio here, xmradio doesnt work: bktr0: mem 0xe2000000-0xe2000fff irq 9 at device 10.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only smbus0: on bti2c0 Miro TV, Temic PAL tuner. This is with FreeBSD 4.0-RELEASE #0: Mon Jun 18 15:38:54 CEST 2001. And I saw nothing for radio on Windows. The card is some MIROTV/PCI. H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jun 20 11:24:25 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from moo.sysabend.org (moo.sysabend.org [63.86.88.201]) by hub.freebsd.org (Postfix) with ESMTP id C463637B401 for ; Wed, 20 Jun 2001 11:24:22 -0700 (PDT) (envelope-from ragnar@sysabend.org) Received: by moo.sysabend.org (Postfix, from userid 1004) id 03E7A755D; Wed, 20 Jun 2001 11:25:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by moo.sysabend.org (Postfix) with ESMTP id F33821D94; Wed, 20 Jun 2001 11:25:00 -0700 (PDT) Date: Wed, 20 Jun 2001 11:25:00 -0700 (PDT) From: Jamie Bowden To: Heiko Recktenwald Cc: Kevin Walton , Tim Pozar , freebsd-multimedia@FreeBSD.ORG Subject: Re: BKTR Audio/Tuning problems In-Reply-To: Message-ID: Approved: yep X-representing: Only myself. X-badge: We don't need no stinking badges. X-obligatory-profanity: Fuck X-moo: Moo. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 20 Jun 2001, Heiko Recktenwald wrote: :> Any more ideas? : :Are you shure you have radio on your card ? : :Here is my dmesg output, I think I dont have radio here, xmradio doesnt :work: : :bktr0: mem 0xe2000000-0xe2000fff irq 9 at device 10.0 on pci0 :iicbb0: on bti2c0 :iicbus0: on iicbb0 master-only :smbus0: on bti2c0 :Miro TV, Temic PAL tuner. : :This is with FreeBSD 4.0-RELEASE #0: Mon Jun 18 15:38:54 CEST 2001. : :And I saw nothing for radio on Windows. The card is some MIROTV/PCI. I have a Studio PCTV Pro PCI with an FM tuner on it. FreeBSD sees it, but calls it an unkown device. Jamie Bowden -- "It was half way to Rivendell when the drugs began to take hold" Hunter S Tolkien "Fear and Loathing in Barad Dur" Iain Bowen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jun 20 13:25:50 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mach.unseen.org (mach.unseen.org [194.159.240.178]) by hub.freebsd.org (Postfix) with ESMTP id B11EB37B403 for ; Wed, 20 Jun 2001 13:25:44 -0700 (PDT) (envelope-from kevin@unseen.org) Received: from kevin (helo=localhost) by mach.unseen.org with local-esmtp (Exim 3.03 #1) id 15CoXi-000EFz-00; Wed, 20 Jun 2001 21:25:38 +0100 Date: Wed, 20 Jun 2001 21:25:37 +0100 (BST) From: Kevin Walton To: Heiko Recktenwald Cc: Tim Pozar , Subject: Re: BKTR Audio/Tuning problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 20 Jun 2001, Heiko Recktenwald wrote: > > Any more ideas? > > Are you shure you have radio on your card ? Yup, it works fine under Windows! Thanks for trying :) Kev -- Kevin Walton Fax: +44 (0)870 1640411 UnSeen.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jun 20 13:42: 3 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 925FB37B401 for ; Wed, 20 Jun 2001 13:41:59 -0700 (PDT) (envelope-from john@utzweb.net) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.0/8.11.0) with ESMTP id f5KKgrR09871; Wed, 20 Jun 2001 15:42:53 -0500 Date: Wed, 20 Jun 2001 15:42:53 -0500 (CDT) From: John Utz X-X-Sender: To: Jamie Bowden Cc: Heiko Recktenwald , Kevin Walton , Tim Pozar , Subject: Re: BKTR Audio/Tuning problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org speaking *generally* FreeBSD looks for the unique id associated with the chip during the probe and if it isnt a magic number that it knows about, or chooses to look in the wrong place for some reason, then it never discovers the device properly. so, my usual hack in cases like this is to: 1. look at what the pc reports on boot up for the pci devices and jot down the string ie: "Foobar Technologies Frobish Device" 2. let the box boot to fbsd, su root and run pnpinfo andd look for the id associated with the string. 3. decide which device i am playing with and go to that code in the ksource. 4. a. hack that number into the detection code ( look for a big switch statement with weird numbers for each case ) b. put a kerror or kprintf or whatever it is as the first statement in the case so i can see if i actually hit the thing during boot. c. copy the implementation for *another* device in the same switch block in to the entry i just created. 5. rebuild the kernel, fixing compiler errors, and putting the kernel in the root with a weird name so that i remember to reboot with it when i feel like working on it. 6. reboot the box with my new weirdly named kernel 7. watch the bottmsg and wait to see if a. my string comes up b. the kernel panics because the chip is incompatible with the code that i just asked it to run when i cut and pasted in the other probe code :-) or c. it actually sort of half assed works :-) that's why it's called kernel hacking..... On Wed, 20 Jun 2001, Jamie Bowden wrote: > On Wed, 20 Jun 2001, Heiko Recktenwald wrote: > > :> Any more ideas? > : > :Are you shure you have radio on your card ? > : > :Here is my dmesg output, I think I dont have radio here, xmradio doesnt > :work: > : > :bktr0: mem 0xe2000000-0xe2000fff irq 9 at device 10.0 on pci0 > :iicbb0: on bti2c0 > :iicbus0: on iicbb0 master-only > :smbus0: on bti2c0 > :Miro TV, Temic PAL tuner. > : > :This is with FreeBSD 4.0-RELEASE #0: Mon Jun 18 15:38:54 CEST 2001. > : > :And I saw nothing for radio on Windows. The card is some MIROTV/PCI. > > I have a Studio PCTV Pro PCI with an FM tuner on it. FreeBSD sees it, but > calls it an unkown device. > > Jamie Bowden > > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jun 20 15: 4:23 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from w2xo.pgh.pa.us (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by hub.freebsd.org (Postfix) with ESMTP id 15D9137B407 for ; Wed, 20 Jun 2001 15:04:16 -0700 (PDT) (envelope-from durham@w2xo.pgh.pa.us) Received: from w2xo (w2xo [192.168.5.1]) by w2xo.pgh.pa.us (8.11.3/8.11.3) with ESMTP id f5KM0GQ33814 for ; Wed, 20 Jun 2001 22:00:16 GMT (envelope-from durham@w2xo.pgh.pa.us) Date: Wed, 20 Jun 2001 22:00:16 +0000 (GMT) From: Jim Durham X-Sender: durham@w2xo.int To: freebsd-multimedia@freebsd.org Subject: LCD/CRT Switching on Inspiron 4000 under X Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I can't seem to find any info on this problem.. I bought a "Port Replicator" for my Inspiron 4000 Dell Laptop. I have 4.3-RELEASE and XFree86 4.0.3 installed on it. It runs very well, sound works, etc. At the office, I use an external monitor. The LCD/CRT switching was always difficult. I would have to hit the "Fn-F8" combination many times to get it to switch to an external monitor plugged in the 15 pin VGA plug on the back of the laptop. Now, when I plug it in to the port replicator, I can't coax it to switch at all to the external monitor. There is only one driver in Xfree86 4.0.3, just "Xfree86". Is there some flag I need to set in the XF86Config to make this thing let go of the CRT? It "tries" to switch and apparently goes right back to the CRT. The external monitor flickers momentarily and that's all. Thanks, Jim Durham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jun 20 15:21:36 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from f1node03.rhrz.uni-bonn.de (node03.rhrz.uni-bonn.de [131.220.18.133]) by hub.freebsd.org (Postfix) with ESMTP id 399B037B403 for ; Wed, 20 Jun 2001 15:21:32 -0700 (PDT) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Received: from moritz.alleswirdgelber (ascend-tk-p8.dialin.uni-bonn.de [131.220.244.8]) by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id AAA29036; Thu, 21 Jun 2001 00:21:30 +0200 Received: from localhost (uzs106@localhost [127.0.0.1]) by moritz.alleswirdgelber (8.9.3/8.9.3) with ESMTP id WAA01531; Wed, 20 Jun 2001 22:19:00 +0200 (CEST) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Wed, 20 Jun 2001 22:18:59 +0200 (CEST) From: Heiko Recktenwald X-Sender: uzs106@moritz.alleswirdgelber To: Jamie Bowden Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: BKTR Audio/Tuning problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Jamie, On Wed, 20 Jun 2001, Jamie Bowden wrote: > I have a Studio PCTV Pro PCI with an FM tuner on it. FreeBSD sees it, but > calls it an unkown device. I think I have the same minus the "Pro". Did symlink /dev/tuner0 to /dev/tuner and xmradio starts. Then, all I see is the xmradio interface with a picture of Thomas Runge (Hi!;-) and the message: Warning: Name: frequency Class: XmScale The specified scale value is less than the minimum scale value. So I think I dont have a radio tuner. But I am not shure ;-) Best, H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jun 20 15:27:33 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from moo.sysabend.org (moo.sysabend.org [63.86.88.201]) by hub.freebsd.org (Postfix) with ESMTP id 8DE6B37B401 for ; Wed, 20 Jun 2001 15:27:30 -0700 (PDT) (envelope-from ragnar@sysabend.org) Received: by moo.sysabend.org (Postfix, from userid 1004) id 9162B758D; Wed, 20 Jun 2001 15:28:08 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by moo.sysabend.org (Postfix) with ESMTP id 8EC8D1D93; Wed, 20 Jun 2001 15:28:08 -0700 (PDT) Date: Wed, 20 Jun 2001 15:28:08 -0700 (PDT) From: Jamie Bowden To: Heiko Recktenwald Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: BKTR Audio/Tuning problems In-Reply-To: Message-ID: Approved: yep X-representing: Only myself. X-badge: We don't need no stinking badges. X-obligatory-profanity: Fuck X-moo: Moo. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 20 Jun 2001, Heiko Recktenwald wrote: :Hi Jamie, : :On Wed, 20 Jun 2001, Jamie Bowden wrote: : :> I have a Studio PCTV Pro PCI with an FM tuner on it. FreeBSD sees it, but :> calls it an unkown device. : :I think I have the same minus the "Pro". Did symlink /dev/tuner0 to :/dev/tuner and xmradio starts. Then, all I see is the xmradio interface :with a picture of Thomas Runge (Hi!;-) and the message: If you don't have the Pro, you don't have the FM Tuner. That's the main difference, at least in North America. Jamie Bowden -- "It was half way to Rivendell when the drugs began to take hold" Hunter S Tolkien "Fear and Loathing in Barad Dur" Iain Bowen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 3:46: 3 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.RWTH-Aachen.DE [137.226.46.168]) by hub.freebsd.org (Postfix) with ESMTP id 7F17237B407 for ; Thu, 21 Jun 2001 03:46:00 -0700 (PDT) (envelope-from kuku@gilberto.physik.rwth-aachen.de) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.11.1/8.9.3) id f5LAjim57814 for multimedia@freebsd.org; Thu, 21 Jun 2001 12:45:44 +0200 (CEST) (envelope-from kuku) Date: Thu, 21 Jun 2001 12:45:44 +0200 (CEST) From: Christoph Kukulies Message-Id: <200106211045.f5LAjim57814@gilberto.physik.rwth-aachen.de> To: multimedia@freebsd.org Subject: ripit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I tried to build the ripit port. It built a bunch of openmotif stuff and such and as a result all I could find was a ripit.pl script. What is the GUI tool that is built with the ripit port? Running ripit as a perl script - I have nothing against command line scripts, moreover, I like them and prefer them over GUI stuff - results in a program or script not being found: cdparanoia. Does anyone know what's the matter with this port (ripit)? Anyone knowing other tools for reading CD audio tracks? -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 3:47: 8 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.RWTH-Aachen.DE [137.226.46.168]) by hub.freebsd.org (Postfix) with ESMTP id 744AC37B403 for ; Thu, 21 Jun 2001 03:47:06 -0700 (PDT) (envelope-from kuku@gilberto.physik.rwth-aachen.de) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.11.1/8.9.3) id f5LAl5d57834 for multimedia@freebsd.org; Thu, 21 Jun 2001 12:47:05 +0200 (CEST) (envelope-from kuku) Date: Thu, 21 Jun 2001 12:47:05 +0200 (CEST) From: Christoph Kukulies Message-Id: <200106211047.f5LAl5d57834@gilberto.physik.rwth-aachen.de> To: multimedia@freebsd.org Subject: .ra to .wav Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org All I could locate in the Internet was wrsetup.exe, a DOS/Windows based tool to convert .ra to .wav files. Anyone knowing a tool for the unix world? -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 8:32:33 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.toppoint.de (bender.toppoint.de [195.244.243.2]) by hub.freebsd.org (Postfix) with ESMTP id 8BDAC37B407 for ; Thu, 21 Jun 2001 08:32:26 -0700 (PDT) (envelope-from hscholz@mail.toppoint.de) Received: (from uucp@localhost) by mail.toppoint.de (8.9.3/8.9.3) id RAA13591; Thu, 21 Jun 2001 17:32:19 +0200 (MET DST) >Received: (from root@localhost) by perikles.lan.raisdorf.net (8.11.3/8.11.1) id f5LFbR691705; Thu, 21 Jun 2001 17:37:27 +0200 (CEST) (envelope-from hscholz) Received: (from hscholz@localhost) by perikles.lan.raisdorf.net (8.11.3/8.11.1virus) id f5LFbOR91697; Thu, 21 Jun 2001 17:37:24 +0200 (CEST) (envelope-from hscholz) Date: Thu, 21 Jun 2001 17:37:24 +0200 From: Hendrik Scholz To: freebsd-multimedia@freebsd.org Subject: Help needed with XFree4/DRI/Matrox G450 Message-ID: <20010621173724.B91091@perikles.lan.raisdorf.net> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Virus-Scanned: by AMaViS perl-10 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi! I'm running a G450 with two independent screens (Xinerama would be better but that seems to not support DRI) Is there any tutorial how to set up the card so I can play Quakeforge or Prdoom with Opengl-support ? I followed a tutorial for XFree 4.0.1 and now have the drm-module, but that seems not to help: Preloaded elf module "agp.ko" at 0xc03bb09c. Preloaded elf module "mga.ko" at 0xc03bb138. Preloaded elf module "drm.ko" at 0xc03bb1d4. [...] agp0: mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 [...] drm0: mem 0xdf000000-0xdf7fffff,0xdf800000-0xdf803fff,0xe2000000-0xe3ffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe4000000 64MB info: [drm] Initialized mga 2.0.0 19991213 on minor 0 Note: I have a G450, not a G400 ! glxinfo showed "direct rendering: Yes" but when I compiled and started glclock from the ports the box freezed reproducable. I used cvs to checkout the ports from 2. June 2001. There was still 4.0.3 in there: pkg_info |grep -i -e mesa -e xfree Mesa-3.4.2_1 A graphics library similar to SGI's OpenGL XFree86-4.0.3_3 X11R6.4/XFree86 core distribution (complete) What can I do to enable DRI ? Will there be support for xawtv or mplayer/gtv/xine on the secondary screen with xinerama in the future ? Why isn't DRI supported with Xinerama ? Thanks, Hendrik -- Hendrik Scholz http://www.toppoint.de/~hscholz/ Where do you want to be tomorrow ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 8:43:56 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from melete.ch.intel.com (chfdns02.ch.intel.com [143.182.246.25]) by hub.freebsd.org (Postfix) with ESMTP id 0D4E937B406 for ; Thu, 21 Jun 2001 08:43:53 -0700 (PDT) (envelope-from jreynold@sedona.ch.intel.com) Received: from sedona.intel.com (sedona.ch.intel.com [143.182.218.21]) by melete.ch.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.40 2001/06/06 21:14:49 root Exp $) with ESMTP id PAA29976; Thu, 21 Jun 2001 15:42:19 GMT Received: from hip186.ch.intel.com (hip186.ch.intel.com [143.182.225.68]) by sedona.intel.com (8.9.1a/8.9.1/d: sendmail.cf,v 1.14 2001/01/02 18:39:59 steved Exp $) with ESMTP id IAA05208; Thu, 21 Jun 2001 08:42:18 -0700 (MST) X-Envelope-From: jreynold@sedona.ch.intel.com Received: (from jreynold@localhost) by hip186.ch.intel.com (8.9.1a/8.9.1/d: client.m4,v 1.3 1998/09/29 16:36:11 sedayao Exp sedayao $) id LAA26127; Thu, 21 Jun 2001 11:42:19 -0400 (EDT) X-Authentication-Warning: hip186.ch.intel.com: jreynold set sender to jreynold@sedona.ch.intel.com using -f From: John Reynolds~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15154.5594.988979.583264@hip186.ch.intel.com> Date: Thu, 21 Jun 2001 08:42:18 -0700 To: Christoph Kukulies Cc: multimedia@FreeBSD.ORG Subject: Re: ripit In-Reply-To: <200106211045.f5LAjim57814@gilberto.physik.rwth-aachen.de> References: <200106211045.f5LAjim57814@gilberto.physik.rwth-aachen.de> X-Mailer: VM 6.92 under Emacs 20.7.2 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [ On Thursday, June 21, Christoph Kukulies wrote: ] > I tried to build the ripit port. It built a bunch of openmotif stuff > and such and as a result all I could find was a ripit.pl script. > > What is the GUI tool that is built with the ripit port? > It requires xmcd because of the "cda" utility that comes with it for accessing the CDDB database for a disc. Nothing else out of the xmcd port is used. Seems kind of a freaking waste, but that's life. > Running ripit as a perl script - I have nothing against command line scripts, > moreover, I like them and prefer them over GUI stuff - results in a program > or script not being found: cdparanoia. You need to use a different ripper. ripit was originally written under linux with cdparanoia as the ripper. It can deal with tosha and also cdda2wav. See the beginning of the perl script to grok the correct "number" of the ripper. > Does anyone know what's the matter with this port (ripit)? see the above. > Anyone knowing other tools for reading CD audio tracks? I like this one best (ripit) ... but only after I hacked on it a bit to remove some oddities and put needed functionality in there (like reading a .ripitrc file, etc.). I have patches if anybody is interested. -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | John Reynolds WCCG, CCE, (space for rent, cheap!) | | Intel Corporation MS: CH6-210 Phone: 480-554-9092 pgr: 602-868-6512 | | jreynold@sedona.ch.intel.com http://www-aec.ch.intel.com/~jreynold/ | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 8:59:11 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from f1node03.rhrz.uni-bonn.de (node03.rhrz.uni-bonn.de [131.220.18.133]) by hub.freebsd.org (Postfix) with ESMTP id CA32B37B401 for ; Thu, 21 Jun 2001 08:59:07 -0700 (PDT) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Received: from moritz.alleswirdgelber (ascend-tk-p14.dialin.uni-bonn.de [131.220.244.14]) by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id RAA57000; Thu, 21 Jun 2001 17:59:05 +0200 Received: from localhost (uzs106@localhost [127.0.0.1]) by moritz.alleswirdgelber (8.9.3/8.9.3) with ESMTP id NAA00833; Thu, 21 Jun 2001 13:51:38 +0200 (CEST) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Thu, 21 Jun 2001 13:51:38 +0200 (CEST) From: Heiko Recktenwald X-Sender: uzs106@moritz.alleswirdgelber To: Christoph Kukulies Cc: multimedia@FreeBSD.ORG Subject: Re: ripit In-Reply-To: <200106211045.f5LAjim57814@gilberto.physik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Anyone knowing other tools for reading CD audio tracks? tosha ;-) But you must have a Toshiba scsi drive. Very easy, very efficient, H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 9:13:51 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtpproxy1.mitre.org (mb-20-100.mitre.org [129.83.20.100]) by hub.freebsd.org (Postfix) with ESMTP id 8FF4E37B401 for ; Thu, 21 Jun 2001 09:13:46 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.9.3/8.9.3) with ESMTP id MAA18089; Thu, 21 Jun 2001 12:09:29 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv1.mitre.org (8.9.3/8.9.3) with ESMTP id MAA05098; Thu, 21 Jun 2001 12:09:28 -0400 (EDT) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub2.mitre.org with SMTP id 6976123; Thu, 21 Jun 2001 12:09:26 -0400 Message-ID: <3B321C39.60DD6EA2@mitre.org> Date: Thu, 21 Jun 2001 12:09:29 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Heiko Recktenwald Cc: Christoph Kukulies , multimedia@freebsd.org Subject: Re: ripit References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Heiko Recktenwald wrote: > > > Anyone knowing other tools for reading CD audio tracks? > > tosha ;-) > > But you must have a Toshiba scsi drive. > > Very easy, very efficient, Really? I thought tosha worked with any SCSI CD-ROM. I know I've gotten audio out of old SONY CDU-300s with tosha (although the lack of jitter correction at the time made the rip useless). You might want to look into cdrecord. For a nifty gui frontend grip works nicely. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 9:17:46 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by hub.freebsd.org (Postfix) with ESMTP id 4F38237B406 for ; Thu, 21 Jun 2001 09:17:43 -0700 (PDT) (envelope-from ktsin@acm.org) Received: from sr71.Singapore.Sun.COM ([129.158.72.11]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id JAA18566; Thu, 21 Jun 2001 09:17:39 -0700 (PDT) Received: from acm.org (melati [129.158.72.183]) by sr71.Singapore.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id f5LGHcK11404; Fri, 22 Jun 2001 00:17:38 +0800 (SGT) Message-ID: <3B321E21.4675F4CD@acm.org> Date: Fri, 22 Jun 2001 00:17:37 +0800 From: KT Sin X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en, zh-TW, zh-CN, ko, ja MIME-Version: 1.0 To: Hendrik Scholz Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Help needed with XFree4/DRI/Matrox G450 References: <20010621173724.B91091@perikles.lan.raisdorf.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I keep getting the same problem too. My card is a G400. When I checked using top, the glclock process was usually hung at the mgal2 or drmlk state and could not be killed even with -9. kt Hendrik Scholz wrote: > > Hi! > > I'm running a G450 with two independent screens (Xinerama would be better > but that seems to not support DRI) > > Is there any tutorial how to set up the card so I can play Quakeforge > or Prdoom with Opengl-support ? > > I followed a tutorial for XFree 4.0.1 and now have the drm-module, but > that seems not to help: > Preloaded elf module "agp.ko" at 0xc03bb09c. > Preloaded elf module "mga.ko" at 0xc03bb138. > Preloaded elf module "drm.ko" at 0xc03bb1d4. > [...] > agp0: mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 > [...] > drm0: mem 0xdf000000-0xdf7fffff,0xdf800000-0xdf803fff,0xe2000000-0xe3ffffff irq 11 at device 0.0 on pci1 > info: [drm] AGP at 0xe4000000 64MB > info: [drm] Initialized mga 2.0.0 19991213 on minor 0 > > Note: I have a G450, not a G400 ! > > glxinfo showed "direct rendering: Yes" but when I compiled and started > glclock from the ports the box freezed reproducable. > > I used cvs to checkout the ports from 2. June 2001. There was still 4.0.3 > in there: > pkg_info |grep -i -e mesa -e xfree > Mesa-3.4.2_1 A graphics library similar to SGI's OpenGL > XFree86-4.0.3_3 X11R6.4/XFree86 core distribution (complete) > > What can I do to enable DRI ? > Will there be support for xawtv or mplayer/gtv/xine on the secondary screen > with xinerama in the future ? > Why isn't DRI supported with Xinerama ? > > Thanks, Hendrik > > -- > Hendrik Scholz > http://www.toppoint.de/~hscholz/ > Where do you want to be tomorrow ? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 9:23:11 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mule.aciri.org (mule.aciri.org [192.150.187.28]) by hub.freebsd.org (Postfix) with ESMTP id C979D37B403 for ; Thu, 21 Jun 2001 09:23:08 -0700 (PDT) (envelope-from hodson@mule.aciri.org) Received: from mule.aciri.org (localhost [127.0.0.1]) by mule.aciri.org (8.11.3/8.11.1) with ESMTP id f5LGLet45368; Thu, 21 Jun 2001 09:21:40 -0700 (PDT) (envelope-from hodson@mule.aciri.org) Message-Id: <200106211621.f5LGLet45368@mule.aciri.org> To: Christoph Kukulies Cc: multimedia@FreeBSD.ORG Subject: Re: ripit In-Reply-To: Message from Heiko Recktenwald of "Thu, 21 Jun 2001 13:51:38 +0200." Date: Thu, 21 Jun 2001 09:21:40 -0700 From: Orion Hodson Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message ,Heik o Recktenwald writes: > > Anyone knowing other tools for reading CD audio tracks? > > tosha ;-) > > But you must have a Toshiba scsi drive. > > Very easy, very efficient, > If you have an atapi drive you can cat tracks from /dev. Device entries are needed for each track: cd /dev ./MAKEDEV acd0t100 From then on you can cat /dev/acd0t1, /dev/acd0t2, etc. The output is 44.1kHz stereo, 16bit linear samples. If you want to add headers sox will do this. - Orion. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 9:36:47 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from kumr.lns.com (kumr.lns.com [140.174.7.1]) by hub.freebsd.org (Postfix) with ESMTP id 4597B37B403 for ; Thu, 21 Jun 2001 09:36:44 -0700 (PDT) (envelope-from pozar@kumr.lns.com) Received: (from pozar@localhost) by kumr.lns.com (8.11.3/8.9.3) id f5LGaAL01148; Thu, 21 Jun 2001 09:36:10 -0700 (PDT) (envelope-from pozar) Date: Thu, 21 Jun 2001 09:36:10 -0700 From: Tim Pozar To: Orion Hodson Cc: Christoph Kukulies , multimedia@FreeBSD.ORG Subject: Re: ripit Message-ID: <20010621093610.B720@lns.com> References: <200106211621.f5LGLet45368@mule.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106211621.f5LGLet45368@mule.aciri.org>; from hodson@aciri.org on Thu, Jun 21, 2001 at 09:21:40AM -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 21, 2001 at 09:21:40AM -0700, Orion Hodson wrote: > In message ,Heik > o Recktenwald writes: > > > Anyone knowing other tools for reading CD audio tracks? > > > > tosha ;-) > > > > But you must have a Toshiba scsi drive. > > > > Very easy, very efficient, > > > > If you have an atapi drive you can cat tracks from /dev. Device > entries are needed for each track: > > cd /dev > ./MAKEDEV acd0t100 > > >From then on you can cat /dev/acd0t1, /dev/acd0t2, etc. The output is > 44.1kHz stereo, 16bit linear samples. If you want to add headers sox > will do this. Cool... But this argument is not in my MAKEDEV script. I am running 4.3-STABLE. Is this for 5.0? Tim -- Snail: Tim Pozar / LNS / 1978 45th Ave / San Francisco CA 94116 / USA POTS: +1 415 665 3790 Radio: KC6GNJ / KAE6247 "It's a damn poor mind that can only think of one way to spell a word." - Andrew Jackson "What is wanted is not the will to believe, but the will to find out, which is the exact opposite." - Bertrand Russell, "Skeptical_Essays" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 10:30:27 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from f1node03.rhrz.uni-bonn.de (node03.rhrz.uni-bonn.de [131.220.18.133]) by hub.freebsd.org (Postfix) with ESMTP id 1518337B403 for ; Thu, 21 Jun 2001 10:30:24 -0700 (PDT) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Received: from moritz.alleswirdgelber (ascend-tk-p99.dialin.uni-bonn.de [131.220.244.99]) by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id TAA81720; Thu, 21 Jun 2001 19:30:22 +0200 Received: from localhost (uzs106@localhost [127.0.0.1]) by moritz.alleswirdgelber (8.9.3/8.9.3) with ESMTP id TAA01217; Thu, 21 Jun 2001 19:11:05 +0200 (CEST) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Thu, 21 Jun 2001 19:11:05 +0200 (CEST) From: Heiko Recktenwald X-Sender: uzs106@moritz.alleswirdgelber To: Jason Andresen Cc: Christoph Kukulies , multimedia@FreeBSD.ORG Subject: Re: ripit In-Reply-To: <3B321C39.60DD6EA2@mitre.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > But you must have a Toshiba scsi drive. > > > > Very easy, very efficient, > > Really? I thought tosha worked with any SCSI CD-ROM. I know I've > gotten > audio out of old SONY CDU-300s with tosha (although the lack of jitter So you were lucky. It doesnt work with the Panasonic 10x drive here. There is a list of drives with which it should work. Audio over SCSI, not all drives support this. But I did oversimplify, sorry. Currently, I use tosha and pcmplay to listen to audiocds. Same procedure on the Indy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 10:32: 5 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from kumr.lns.com (kumr.lns.com [140.174.7.1]) by hub.freebsd.org (Postfix) with ESMTP id 51E1D37B401 for ; Thu, 21 Jun 2001 10:32:02 -0700 (PDT) (envelope-from pozar@kumr.lns.com) Received: (from pozar@localhost) by kumr.lns.com (8.11.3/8.9.3) id f5LHVo503752; Thu, 21 Jun 2001 10:31:50 -0700 (PDT) (envelope-from pozar) Date: Thu, 21 Jun 2001 10:31:50 -0700 From: Tim Pozar To: Orion Hodson Cc: Christoph Kukulies , multimedia@FreeBSD.ORG Subject: Re: ripit Message-ID: <20010621103150.B3355@lns.com> References: <200106211621.f5LGLet45368@mule.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106211621.f5LGLet45368@mule.aciri.org>; from hodson@aciri.org on Thu, Jun 21, 2001 at 09:21:40AM -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 21, 2001 at 09:21:40AM -0700, Orion Hodson wrote: > In message ,Heik > o Recktenwald writes: > > > Anyone knowing other tools for reading CD audio tracks? > > > > tosha ;-) > > > > But you must have a Toshiba scsi drive. > > > > Very easy, very efficient, > > > > If you have an atapi drive you can cat tracks from /dev. Device > entries are needed for each track: > > cd /dev > ./MAKEDEV acd0t100 > > >From then on you can cat /dev/acd0t1, /dev/acd0t2, etc. The output is > 44.1kHz stereo, 16bit linear samples. If you want to add headers sox > will do this. Thanks folks... I found I had to update my MAKEDEV from /usr/src/etc as I have one too old to understand "acd0t0". I wrote a quicky script that uses this facility and it works well... I will roll this into my regular rip script that does the track name/cut tile, etc and MP3 encoding. Thanks again! Tim -- #!/usr/local/bin/perl $tracks = 0; # Read in the table of contents to cound how many tracks and to # clue in the kernel there is an audio CD out there... open (TOC,"/usr/sbin/cdcontrol -f /dev/acd0 info|"); while(){ print; if(m/audio/){ $tracks = $tracks + 1; } } print "\n"; print "Number of tracks = $tracks\n"; # Start to rip! $i = 1; while ($i <= $tracks) { `dd if=/dev/acd0t$i of=/tmp/track_$i.wav bs=2352`; $i = $i + 1; } -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 15:37:30 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.numachi.com (numachi.numachi.com [198.175.254.2]) by hub.freebsd.org (Postfix) with SMTP id 9D8B537B401 for ; Thu, 21 Jun 2001 15:37:27 -0700 (PDT) (envelope-from reichert@natto.numachi.com) Received: (qmail 27129 invoked by uid 3001); 21 Jun 2001 22:37:25 -0000 Received: from natto.numachi.com (198.175.254.216) by numachi.numachi.com with SMTP; 21 Jun 2001 22:37:25 -0000 Received: (qmail 28232 invoked by uid 1001); 21 Jun 2001 22:37:25 -0000 Date: Thu, 21 Jun 2001 18:37:25 -0400 From: Brian Reichert To: Orion Hodson Cc: Christoph Kukulies , multimedia@FreeBSD.ORG Subject: Re: ripit Message-ID: <20010621183725.E27055@numachi.com> References: <200106211621.f5LGLet45368@mule.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106211621.f5LGLet45368@mule.aciri.org>; from hodson@aciri.org on Thu, Jun 21, 2001 at 09:21:40AM -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 21, 2001 at 09:21:40AM -0700, Orion Hodson wrote: > If you have an atapi drive you can cat tracks from /dev. Device > entries are needed for each track: > > cd /dev > ./MAKEDEV acd0t100 > > From then on you can cat /dev/acd0t1, /dev/acd0t2, etc. The output is > 44.1kHz stereo, 16bit linear samples. If you want to add headers sox > will do this. Does this automagically contend with jitter? > - Orion. -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 16:30:19 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mule.aciri.org (mule.aciri.org [192.150.187.28]) by hub.freebsd.org (Postfix) with ESMTP id BF50537B403 for ; Thu, 21 Jun 2001 16:30:17 -0700 (PDT) (envelope-from hodson@mule.aciri.org) Received: from mule.aciri.org (localhost [127.0.0.1]) by mule.aciri.org (8.11.3/8.11.1) with ESMTP id f5LNTOt49391; Thu, 21 Jun 2001 16:29:24 -0700 (PDT) (envelope-from hodson@mule.aciri.org) Message-Id: <200106212329.f5LNTOt49391@mule.aciri.org> To: Brian Reichert Cc: Christoph Kukulies , multimedia@FreeBSD.ORG In-reply-to: Your message of Thu, 21 Jun 2001 18:37:25 -0400 Subject: Re: " ripit " Date: Thu, 21 Jun 2001 16:29:24 -0700 From: Orion Hodson Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message <20010621183725.E27055@numachi.com>,Brian Reichert writes: > On Thu, Jun 21, 2001 at 09:21:40AM -0700, Orion Hodson wrote: > > If you have an atapi drive you can cat tracks from /dev. Device > > entries are needed for each track: > > > > cd /dev > > ./MAKEDEV acd0t100 > > > > From then on you can cat /dev/acd0t1, /dev/acd0t2, etc. The output is > > 44.1kHz stereo, 16bit linear samples. If you want to add headers sox > > will do this. > > Does this automagically contend with jitter? AFAIK (AIANAE ;-) there is nothing specific in the driver to deal with jitter and doesn't really need to be. Dumping the tracks uses digital audio extraction. Absence of jitter is a design feature of most drives that support digital audio extraction (http://www.cdrfaq.org/faq02.html#S2-15). FWIW, I've not found differences (using cmp) between consecutive rippings of the same track...I've done a significant fraction of my CD collection with this method and been very happy with the results (thanks Soren!) Kind Regards - Orion To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 17: 1:23 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from revolt.poohsticks.org (revolt.poohsticks.org [63.227.60.74]) by hub.freebsd.org (Postfix) with ESMTP id 7E44137B403 for ; Thu, 21 Jun 2001 17:01:20 -0700 (PDT) (envelope-from drew@revolt.poohsticks.org) Received: from revolt.poohsticks.org (localhost [127.0.0.1]) by revolt.poohsticks.org (8.11.3/8.11.3) with ESMTP id f5LNvpV90178; Thu, 21 Jun 2001 17:57:51 -0600 (MDT) (envelope-from drew@revolt.poohsticks.org) Message-Id: <200106212357.f5LNvpV90178@revolt.poohsticks.org> To: Orion Hodson Cc: Brian Reichert , Christoph Kukulies , multimedia@FreeBSD.ORG Subject: Re: " ripit " In-reply-to: Your message of "Thu, 21 Jun 2001 16:29:24 PDT." <200106212329.f5LNTOt49391@mule.aciri.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <90175.993167871.1@revolt.poohsticks.org> Date: Thu, 21 Jun 2001 17:57:51 -0600 From: Drew Eckhardt Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message <200106212329.f5LNTOt49391@mule.aciri.org>, hodson@aciri.org writes: >AFAIK (AIANAE ;-) there is nothing specific in the driver to deal with >jitter and doesn't really need to be. Dumping the tracks uses digital >audio extraction. Absence of jitter is a design feature of most >drives that support digital audio extraction (http://www.cdrfaq.org/faq02.html >#S2-15). jitter only exists once you send the data over a connection which derives its clock from the data, like S/PDIF. -- Home Page For those who do, no explanation is necessary. For those who don't, no explanation is possible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jun 21 17:47: 5 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from arthur.caimis.com (arthur.caimis.com [209.69.150.2]) by hub.freebsd.org (Postfix) with ESMTP id 2A8ED37B401 for ; Thu, 21 Jun 2001 17:47:03 -0700 (PDT) (envelope-from dwm@arthur.caimis.com) Received: from arthur.caimis.com (localhost.caida.org [127.0.0.1]) by arthur.caimis.com (8.9.0/8.9.0.Beta5) with ESMTP id UAA20320; Thu, 21 Jun 2001 20:45:35 -0400 (EDT) Message-Id: <200106220045.UAA20320@arthur.caimis.com> Location: Ann Arbor, MI To: Heiko Recktenwald Cc: Jason Andresen , Christoph Kukulies , multimedia@FreeBSD.ORG Subject: Re: ripit In-reply-to: Message from of Thu Jun 21, 2001 19:11 +0200 Date: Thu, 21 Jun 2001 20:45:34 -0400 From: Daniel McRobb Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > > But you must have a Toshiba scsi drive. > > > > > > Very easy, very efficient, > > > > Really? I thought tosha worked with any SCSI CD-ROM. I know I've > > gotten > > audio out of old SONY CDU-300s with tosha (although the lack of jitter > > So you were lucky. It doesnt work with the Panasonic 10x drive here. > There is a list of drives with which it should work. Audio over SCSI, not > all drives support this. But I did oversimplify, sorry. I've been using tosha for several years on several brands of CD-ROM and have yet to have trouble. Yes, I've used it with Toshiba drives. But I've also used it with HP drives, and currently use it with Plextor drives. I should note that I love tosha. It was one of the first tools that didn't force me to abuse my hard drive by writing .wav files I had no interest in keeping when encoding mp3s. It's nice to have a CDDA->mp3 pipeline that runs at 4X play speed on a fairly whimpy machine and doesn't put 65+M temporary files on disk. :-) Daniel ~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Jun 22 14:48:12 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.numachi.com (numachi.numachi.com [198.175.254.2]) by hub.freebsd.org (Postfix) with SMTP id 12A6B37B406 for ; Fri, 22 Jun 2001 14:48:09 -0700 (PDT) (envelope-from reichert@natto.numachi.com) Received: (qmail 10662 invoked by uid 3001); 22 Jun 2001 21:48:07 -0000 Received: from natto.numachi.com (198.175.254.216) by numachi.numachi.com with SMTP; 22 Jun 2001 21:48:07 -0000 Received: (qmail 44199 invoked by uid 1001); 22 Jun 2001 21:48:06 -0000 Date: Fri, 22 Jun 2001 17:48:06 -0400 From: Brian Reichert To: Tim Pozar Cc: Orion Hodson , Christoph Kukulies , multimedia@FreeBSD.ORG Subject: Re: ripit Message-ID: <20010622174806.P23601@numachi.com> References: <200106211621.f5LGLet45368@mule.aciri.org> <20010621093610.B720@lns.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010621093610.B720@lns.com>; from pozar@lns.com on Thu, Jun 21, 2001 at 09:36:10AM -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 21, 2001 at 09:36:10AM -0700, Tim Pozar wrote: > > If you have an atapi drive you can cat tracks from /dev. Device > > entries are needed for each track: > > > > cd /dev > > ./MAKEDEV acd0t100 > > > > >From then on you can cat /dev/acd0t1, /dev/acd0t2, etc. The output is > > 44.1kHz stereo, 16bit linear samples. If you want to add headers sox > > will do this. > > Cool... But this argument is not in my MAKEDEV script. I am > running 4.3-STABLE. Is this for 5.0? I just gave this a shot. It did work out-of-the-box under 4.3-RELEASE, but, when I tried it as a non-root user, it took my box down. Seemed to work when I ran things as root. FWIW - running as root 'cdda2wav -p 0' (from the cdrecord package) plays some scheduling games, and was able rip tracks _much_ faster... > > Tim -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Jun 23 12:30:59 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from f1node03.rhrz.uni-bonn.de (node03.rhrz.uni-bonn.de [131.220.18.133]) by hub.freebsd.org (Postfix) with ESMTP id 62A1537B440 for ; Sat, 23 Jun 2001 12:30:44 -0700 (PDT) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Received: from moritz.alleswirdgelber (ascend-tk-p57.dialin.uni-bonn.de [131.220.244.57]) by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id VAA54024 for ; Sat, 23 Jun 2001 21:30:41 +0200 Received: from localhost (uzs106@localhost [127.0.0.1]) by moritz.alleswirdgelber (8.9.3/8.9.3) with ESMTP id VAA00817 for ; Sat, 23 Jun 2001 21:23:35 +0200 (CEST) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Sat, 23 Jun 2001 21:23:35 +0200 (CEST) From: Heiko Recktenwald X-Sender: uzs106@moritz.alleswirdgelber To: multimedia@FreeBSD.ORG Subject: Icecast Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, just got icecast running. I modified icecast.conf a little bit and saved it as ~/icecast.conf, and started it by typing icecast in ~. It runs on moritz:8000. Modified shoutrc.example, the password, and copied it to ~/.shoutrc. Then: shout moritz -b 24000 -r -p wawa.m3u . 24000 is the bitrate of the mp3 files in wawa.m3u. Now: xaudio http://moritz:8000 , it runs without end...wow and well: What is the exact name of the URL ? Like http://moritz:8000/default.mp3 . What should I try next ? Is there an easy way to test livecast with wav files, how to use it live ? I think the audio driver on 4.0 R doesnt support it yet ;-) Hope I can do this all on one machine, with 24000 bitrate, which seems fair for modern modems and has enough quality for me. H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message