From owner-freebsd-multimedia Mon May 13 5:58:39 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70]) by hub.freebsd.org (Postfix) with ESMTP id 7056237B403 for ; Mon, 13 May 2002 05:58:35 -0700 (PDT) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id g4DCwXF08756; Mon, 13 May 2002 08:58:33 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id g4DCwVw28972; Mon, 13 May 2002 08:58:31 -0400 (EDT) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub1.mitre.org with SMTP id 10173737; Mon, 13 May 2002 08:57:45 -0400 Message-ID: <3CDFB86E.D668E80D@mitre.org> Date: Mon, 13 May 2002 08:58:22 -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: Sperber Cc: multimedia@freebsd.org Subject: Re: microphone References: <200205120025.31292.sperber@gmx.at> 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 Sperber wrote: > > Hi > > I know this question sounds stupid - but are microphones supported? > I know they where because I used mine some time ago - but I wasn't able to > record audio data anymore. > I tried DAP and other sound-tools but it didn't work :-/ > Has someone any hints for me? > I use a Soundblaster Live! Player 5.1 > pcm0: port 0xe000-0xe01f irq 9 at device 16.0 on pci0 You may need to change your input source and set the mixer volume to get the microphone to work. IIRC the record volume is set to 0:0 by default. -- \ |_ _|__ __|_ \ __| 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 Mon May 13 6:54:34 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70]) by hub.freebsd.org (Postfix) with ESMTP id A599037B409 for ; Mon, 13 May 2002 06:54:26 -0700 (PDT) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id g4DDsMF20716; Mon, 13 May 2002 09:54:22 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id g4DDsKw11356; Mon, 13 May 2002 09:54:20 -0400 (EDT) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub1.mitre.org with SMTP id 10175372; Mon, 13 May 2002 09:53:24 -0400 Message-ID: <3CDFC576.CE61969@mitre.org> Date: Mon, 13 May 2002 09:53:58 -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: Sperber Cc: multimedia@freebsd.org Subject: Re: microphone References: <200205120025.31292.sperber@gmx.at> <3CDFB86E.D668E80D@mitre.org> <200205131531.01199.sperber@gmx.at> 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 Sperber wrote: > > On Monday 13 May 2002 14:58, Jason Andresen wrote: > > Sperber wrote: > > > Hi > > > > > > I know this question sounds stupid - but are microphones supported? > > > I know they where because I used mine some time ago - but I wasn't able > > > to record audio data anymore. > > > I tried DAP and other sound-tools but it didn't work :-/ > > > Has someone any hints for me? > > > I use a Soundblaster Live! Player 5.1 > > > pcm0: port 0xe000-0xe01f irq 9 at device 16.0 on pci0 > > > > You may need to change your input source and set the mixer volume to get > > the microphone to work. IIRC the record volume is set to 0:0 by > > default. > http://w3.brgkepler.asn-graz.ac.at/sperber/dap.jpg > this are the settings i use to record... Your "Rec" volume is set at 0. -- \ |_ _|__ __|_ \ __| 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 Mon May 13 8:18:28 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from oh.daemon.sh (L0819P30.dipool.highway.telekom.at [62.46.166.94]) by hub.freebsd.org (Postfix) with ESMTP id 7CD9737B404 for ; Mon, 13 May 2002 08:17:58 -0700 (PDT) Received: (from sperber@localhost) by oh.daemon.sh (8.12.2/8.11.6) id g4DDV2uD058907; Mon, 13 May 2002 15:31:02 +0200 (CEST) (envelope-from sperber) Content-Type: text/plain; charset="iso-8859-1" From: Sperber To: Jason Andresen Subject: Re: microphone Date: Mon, 13 May 2002 15:31:01 +0200 X-Mailer: KMail [version 1.4] Cc: multimedia@freebsd.org References: <200205120025.31292.sperber@gmx.at> <3CDFB86E.D668E80D@mitre.org> In-Reply-To: <3CDFB86E.D668E80D@mitre.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205131531.01199.sperber@gmx.at> 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 Monday 13 May 2002 14:58, Jason Andresen wrote: > Sperber wrote: > > Hi > > > > I know this question sounds stupid - but are microphones supported? > > I know they where because I used mine some time ago - but I wasn't ab= le > > to record audio data anymore. > > I tried DAP and other sound-tools but it didn't work :-/ > > Has someone any hints for me? > > I use a Soundblaster Live! Player 5.1 > > pcm0: port 0xe000-0xe01f irq 9 at device 16.0 on p= ci0 > > You may need to change your input source and set the mixer volume to ge= t > the microphone to work. IIRC the record volume is set to 0:0 by > default. http://w3.brgkepler.asn-graz.ac.at/sperber/dap.jpg this are the settings i use to record...=20 Sperber To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon May 13 8:28: 7 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id A7D1F37B40C for ; Mon, 13 May 2002 08:28:02 -0700 (PDT) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g4DFRwH49859 ; Mon, 13 May 2002 17:27:58 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id RAA62983 ; Mon, 13 May 2002 17:27:58 +0200 (CEST) Date: Mon, 13 May 2002 17:27:58 +0200 From: Rahul Siddharthan To: Sperber Cc: Jason Andresen , multimedia@FreeBSD.ORG Subject: Re: microphone Message-ID: <20020513172758.F48210@lpt.ens.fr> References: <200205120025.31292.sperber@gmx.at> <3CDFB86E.D668E80D@mitre.org> <200205131531.01199.sperber@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200205131531.01199.sperber@gmx.at>; from sperber@gmx.at on Mon, May 13, 2002 at 03:31:01PM +0200 X-Operating-System: FreeBSD 3.4-STABLE i386 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 Sperber said on May 13, 2002 at 15:31:01: > http://w3.brgkepler.asn-graz.ac.at/sperber/dap.jpg > this are the settings i use to record... I've had problems with the mixer in dap, on freebsd and also on linux. Try a standalone mixer program, eg mixer(8) in the base system, or the ones bundled with kde-multimedia or gnome-media. - Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon May 13 21:51: 3 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from localhost.b.lab.net (port-212-202-128-204.reverse.qsc.de [212.202.128.204]) by hub.freebsd.org (Postfix) with ESMTP id B31C637B406 for ; Mon, 13 May 2002 21:50:59 -0700 (PDT) Received: from localhost (localhost.b.lab.net [127.0.0.1]) by localhost.b.lab.net (8.11.6/8.11.6) with ESMTP id g4E4olE04923 for ; Tue, 14 May 2002 06:50:47 +0200 (CEST) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Tue, 14 May 2002 06:50:46 +0200 (CEST) From: Heiko Recktenwald X-X-Sender: To: Subject: Re: old laptop, 2.1.7-R and sound In-Reply-To: <20020511072844.E4036-100000@localhost.b.lab.net> Message-ID: <20020514064005.K4911-100000@localhost.b.lab.net> 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, this is abot the old driver, maybe somebody still knows what it means: > There is sound on board. Saw the many options. Do I have to go try and > error or is there a better strategy ? Could those old drivers record ? Did put the controller snd0 and the line with sb0 from LINT into MYKERNEL. The soundchip is recognised as SoundBlaster Pro 3.1. But mpg123 (compiled from source without error) makes not more than a short noise. When I stop it with contrl-c, I get allways get [0:13] Decoding of ..finished. Hmm, H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed May 15 9:18:40 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by hub.freebsd.org (Postfix) with SMTP id 0C00637B401 for ; Wed, 15 May 2002 09:18:36 -0700 (PDT) Received: (qmail 268 invoked by uid 1001); 15 May 2002 16:18:33 -0000 Date: Wed, 15 May 2002 12:18:33 -0400 From: Brian Reichert To: freebsd-multimedia@freebsd.org Subject: Re: ogle 0.8.2 killing sound? Message-ID: <20020515121833.A212@numachi.com> References: <20020508024759.A186@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020508024759.A186@numachi.com>; from reichert@numachi.com on Wed, May 08, 2002 at 02:47:59AM -0400 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, May 08, 2002 at 02:47:59AM -0400, Brian Reichert wrote: > I've _almost_ gotten ogle working from ports under 4.5-RELEASE, but > for sound. > > I keep getting the dreaded message: > > pcm0: play interrupt timeout, channel dead > > But yet, mp3s play quite nicely, even after I exit ogle. > > Does anyone have any idea why one application would work, but not > the other? > > I could supply kernel config, dmesg, etc., if any one thinks that > would help... I have found a workaround: change sound cards. What I had, that was failing only under ogle (so it would seem): FreeBSD Audio Driver (newpcm) May 8 2002 01:37:00 Installed devices: pcm0: at io 0x530 irq 5 drq 0:1 (1p/1r/0v channels duplex) What I chnaged to: FreeBSD Audio Driver (newpcm) May 8 2002 01:37:00 Installed devices: pcm0: at io 0x220 irq 5 drq 1:0 (1p/1r/0v channels) which now works... -- 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 May 16 12:12:34 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 683F837B403 for ; Thu, 16 May 2002 12:12:30 -0700 (PDT) Received: from pool0096.cvx14-bradley.dialup.earthlink.net ([209.179.38.96] helo=sm.socccd.cc.ca.us) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 178Qfs-0004Gg-00 for Freebsd-Multimedia@FreeBSD.ORG; Thu, 16 May 2002 12:12:29 -0700 Message-ID: <3CE4050F.234395FD@sm.socccd.cc.ca.us> Date: Thu, 16 May 2002 12:14:23 -0700 From: Farooq Mela X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.6-PRERELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Freebsd-Multimedia@FreeBSD.ORG Subject: FreeBSD & Webcams 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 Hello, So far, I've been able to surmise that if you want to use a webcam on FreeBSD, you have one of two options: 1) Use a webcam supported by cqcam, which includes the parallel port versions of the Connectix Color QuickCams and Color Quickcam 2's. Unfortunately these are hard to find these days. AFAICT, it is only possible to get them from e-bay etc. 2) Hook up a camcorder, X10 camera, or similar to a card supported by the BKTR driver and use bktr2jpeg or similar to capture frames. This is my current setup and I find it to be less than optimal. Are there any other options available? Is somebody working on support for any newer (USB) webcams? -- Farooq P.S. If anybody would like to sell/trade their cqcam-supported QuickCam I might be interested. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu May 16 12:23:14 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by hub.freebsd.org (Postfix) with ESMTP id 740B937B403; Thu, 16 May 2002 12:22:46 -0700 (PDT) Received: from [209.224.20.107] (helo=daggar.sbgnet.net) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 178Qpn-0001tg-00; Thu, 16 May 2002 14:22:44 -0500 Date: Thu, 16 May 2002 14:22:47 -0500 From: Stephen Hilton To: sobomax@freebsd.org, lx@matey.org Cc: freebsd-multimedia@freebsd.org, zietlow@securepipe.com Subject: Aureal-kmod port (updated port works fine) Message-Id: <20020516142247.3e3fa5d1.nospam@hiltonbsd.com> Organization: HiltonBSD.com X-Mailer: Sylpheed version 0.7.6 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 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 Alexander and Maxim, Saw the update to aureal-kmod on my cvsup today and updated my system to the new version. Built and installed fine. The card auto-detection seemed to be a problem, so I rebuilt the module as per the ports pkg-message: "cd /sys/modules/sound/pcm/ && make all install" And uncommented my card type in the aureal.sh rc.d file: CARD=8830 And now sound is working fine :-) ASUS P3B-1394 MB with on-board Vortex2 chip. 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Tue May 14 19:22:42 CDT 2002 i386 Card auto-detection was very slow (15-30 seconds) and audio never did work properly with auto-detection, but specifiying Vortex chip type fixes that. Also the quality of recording from my line-in has improved quite a bit, but still has some occasional pop/crackle during playback (every 5-10 seconds, mostly crackle). This is much improved over the last time I tried this with the previous version of the driver (au88x0-1.3_3). Thanks for the great driver support :-) Regards, Stephen Hilton nospam@hiltonbsd.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu May 16 12:43:28 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from www.example.org (ANice-103-1-4-132.abo.wanadoo.fr [80.13.156.132]) by hub.freebsd.org (Postfix) with SMTP id 242A037B413 for ; Thu, 16 May 2002 12:43:17 -0700 (PDT) Received: (qmail 7112 invoked by uid 1000); 16 May 2002 19:43:09 -0000 Message-ID: <20020516194309.7111.qmail@cobweb.example.org> Date: Thu, 16 May 2002 21:43:08 +0200 From: Marco Molteni To: freebsd-multimedia@freebsd.org Subject: writing a driver for the IBM ultraport camera (USB) X-Mailer: Sylpheed version 0.7.5 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 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 [resending to -multimedia after trying on -hackers] Hi, I have got a nifty IBM ultraport camera. It is an USB device that can plug directly on the lid of IBM laptops. http://commerce.www.ibm.com/cgi-bin/ncommerce/ProductDisplay?cntrfnbr=1&prmenbr=1&prnbr=04P6135&cntry=840&lang=en_US The only "technical" information in the documentation that comes with the camera is: IBM UltraPort camera II, USB, VGA. Then it says that the Windows driver is a TWAIN camera driver. The Windows device manager puts it under "Imaging devices", without any detail. There is a Linux driver at http://www.gutwin.org/cam/source/ I would like to write a driver for FreeBSD, using the Linux driver as a reference. Since I am new to USB programming, could you give me some hints on where to start? Is there an existing FreeBSD USB driver in sys/dev/usb that I can use as a skeleton? thanks marco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message ----- End forwarded message ----- -- Computers are like air conditioners. They stop working when you open Windows. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu May 16 13:51: 0 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from Danovitsch.dnsq.org (b74143.upc-b.chello.nl [212.83.74.143]) by hub.freebsd.org (Postfix) with ESMTP id 1563137B405 for ; Thu, 16 May 2002 13:50:56 -0700 (PDT) Received: from FreeBSD.Danovitsch.LAN (b83007.upc-b.chello.nl [212.83.83.7]) by Danovitsch.dnsq.org (8.11.3/8.11.3) with SMTP id g4GJ3cJ40597; Thu, 16 May 2002 21:03:39 +0200 (CEST) (envelope-from Danovitsch@Danovitsch.dnsq.org) Content-Type: text/plain; charset="iso-8859-1" From: "Daan Vreeken [PA4DAN]" Reply-To: Danovitsch@Danovitsch.dnsq.org To: Farooq Mela Subject: Re: FreeBSD & Webcams Date: Thu, 16 May 2002 22:58:06 +0200 X-Mailer: KMail [version 1.2] References: <3CE4050F.234395FD@sm.socccd.cc.ca.us> In-Reply-To: <3CE4050F.234395FD@sm.socccd.cc.ca.us> Cc: FreeBSD-Multimedia@FreeBSD.org MIME-Version: 1.0 Message-Id: <02051622580601.09154@FreeBSD.Danovitsch.LAN> Content-Transfer-Encoding: 8bit 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 16 May 2002 21:14, you wrote: > Hello, > > So far, I've been able to surmise that if you want to use a webcam on > FreeBSD, you have one of two options: [ ..... ] > 2) Hook up a camcorder, X10 camera, or similar to a card supported by > the BKTR driver and use bktr2jpeg or similar to capture frames. This > is my current setup and I find it to be less than optimal. I wrote a program called "Danovitsch webcam". It captures images of a bktr-device, does JPEG-compression and has a build in HTTP-server to get these images out into the world. That's at least a bit more "optimal" than using bktr2jpeg to create your images. The webpage can be found here : http://www.danovitsch.dnsq.org/cgi-bin/gpl/ls.cgi?danovitschwebcam Or just download the latest version (V1.2) : http://www.danovitsch.dnsq.org/gpl/danovitschwebcam/1.2/danovitschwebcam-1.2.tar.gz grtz, Daan -- Control the lights in my room: http://www.Danovitsch.dnsq.org/webcam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu May 16 23:31:41 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id D3AD637B404 for ; Thu, 16 May 2002 23:31:36 -0700 (PDT) Received: (from sos@localhost) by freebsd.dk (8.12.2/8.12.2) id g4H6VZVx065660; Fri, 17 May 2002 08:31:35 +0200 (CEST) (envelope-from sos) From: Søren Schmidt Message-Id: <200205170631.g4H6VZVx065660@freebsd.dk> Subject: Re: FreeBSD & Webcams In-Reply-To: <3CE4050F.234395FD@sm.socccd.cc.ca.us> To: Farooq Mela Date: Fri, 17 May 2002 08:31:35 +0200 (CEST) Cc: Freebsd-Multimedia@FreeBSD.ORG Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 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 It seems Farooq Mela wrote: > Hello, > > So far, I've been able to surmise that if you want to use a webcam on > FreeBSD, you have one of two options: > > 1) Use a webcam supported by cqcam, which includes the parallel port > versions of the Connectix Color QuickCams and Color Quickcam 2's. > Unfortunately these are hard to find these days. AFAICT, it is only > possible to get them from e-bay etc. > > 2) Hook up a camcorder, X10 camera, or similar to a card supported by > the BKTR driver and use bktr2jpeg or similar to capture frames. This > is my current setup and I find it to be less than optimal. > > Are there any other options available? Is somebody working on support > for any newer (USB) webcams? I do have some code for using CPiA based webcams, for now it just graps a single image for an intrusion detection system, but it should be faily easy to get it to stream pictures if needed.. -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri May 17 0:27:58 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from www.example.org (dhcp-nic-val-26-84.cisco.com [64.103.26.84]) by hub.freebsd.org (Postfix) with SMTP id 99F4337B40B for ; Fri, 17 May 2002 00:27:42 -0700 (PDT) Received: (qmail 9473 invoked by uid 1000); 17 May 2002 07:27:41 -0000 Message-ID: <20020517072741.9472.qmail@cobweb.example.org> Date: Fri, 17 May 2002 09:27:41 +0200 From: Marco Molteni To: Carlos Ugarte Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: writing a driver for the IBM ultraport camera (USB) In-Reply-To: <15588.12506.65605.999864@pc-ugarte.research.att.com> References: <20020516091509.1671.qmail@cobweb.example.org> <15588.12506.65605.999864@pc-ugarte.research.att.com> X-Mailer: Sylpheed version 0.7.5 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 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 [Bcc to -multimedia] On Thu, 16 May 2002 18:21:14 -0400, Carlos Ugarte wrote: > I'm working on a similar project - a FreeBSD driver for the Philips > webcams based on the Linux pwc driver. It's nowhere near working yet, > but I've learned a few things that may help you along the way. [..] Hi Carlos, thanks for the detailed answer, and thanks for taking the time of writing a real answer instead of quickly jotted words :-) Thanks also for the suggestion on which driver to use as a starting point. I already thought of using USB snoopy to get a dump of the protocol exchange. Regarding the Philips webcam you are working on, I am wondering how you will handle the decompression part, which as you know is done in Linux by a binary only driver for NDA reasons. I have a question on the USB architecture. From my limited understanding the various USB devices are divided in "classes", for example storage, or human interface like a mouse. Each class of device is supposed to have a specific API in addition to the generic USB one. On the USB web site I was able to find the class document for still video cameras, but it seems there is nothing regarding, what's the english for it, continuous video cameras. Are you aware of any standard for these devices? > Further down the line there is the issue of what kind of interface > should be provided to user space. [..] Exactly! I know nothing about video, but I understand it would be crazy (or masochistic) to provide a different API per video driver. I am aware too of video4linux, which good or bad is at least a standard. Looking for a standard I found SANE (http://www.mostang.com/sane/) which is or tries to be the Unix (better?) equivalent of TWAIN. Although SANE means Scanner Access Now Easy, it talks also about video cameras. Any ideas on this? marco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri May 17 7:57:35 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from hindenburg.eboai.org (hindenburg.eboai.org [206.183.134.245]) by hub.freebsd.org (Postfix) with ESMTP id C906E37B404 for ; Fri, 17 May 2002 07:57:30 -0700 (PDT) Received: by hindenburg.eboai.org (Postfix, from userid 1000) id D81FA5E2E6; Fri, 17 May 2002 10:57:29 -0400 (EDT) Date: Fri, 17 May 2002 10:57:29 -0400 From: Chip Marshall To: Farooq Mela Cc: Freebsd-Multimedia@FreeBSD.ORG Subject: Re: FreeBSD & Webcams Message-ID: <20020517145729.GA33759@chocobo.cx> Reply-To: chip@chocobo.cx Mail-Followup-To: Farooq Mela , Freebsd-Multimedia@FreeBSD.ORG References: <3CE4050F.234395FD@sm.socccd.cc.ca.us> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <3CE4050F.234395FD@sm.socccd.cc.ca.us> User-Agent: Mutt/1.3.28i X-URL: http://www.chocobo.cx/chip/ X-OS: FreeBSD 4.2-RELEASE i386 up 222 days, 8:12 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 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On May 16, 2002, Farooq Mela sent me the following: > 2) Hook up a camcorder, X10 camera, or similar to a card supported by > the BKTR driver and use bktr2jpeg or similar to capture frames. This > is my current setup and I find it to be less than optimal. We've had a lot of luck using bktr cards with camserv. It provides a built-in web server and some basic image filtering, and can do streaming JPEG (only works in Netscape/Mozilla.) > Are there any other options available? Is somebody working on support > for any newer (USB) webcams? http://ovtvid-bsd.sourceforge.net/ has a program for reading images from various USB webcams. It should work without patches now, but I know it used to require patches to the USB kernel code to make it work, and it didn't work at all on OHCI controllers, but I think that's been fixed. --=20 Chip Marshall http://www.chocobo.cx/chip/ GCM/CS d+(-) s+:++ a20>? C++ UB++++$ P+++$ L- E--- W++ N@ o K- w O M+ V-- PS+ PE Y+ PGP++ t+@ R@ tv@ b++@ DI++++ D+(-) G++ e>++ h>++ r++ y? --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE85RpZ8vyTVl6qbdQRAusxAKCE7wCQUSTzKb6ZplPxWv3dPj+1WwCdEpsT /WmDyjD+dAWcgTqNcTpzKIc= =kALh -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat May 18 14:55:14 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from zeus.di.uoa.gr (zeus.di.uoa.gr [195.134.65.4]) by hub.freebsd.org (Postfix) with ESMTP id E9FB237B409 for ; Sat, 18 May 2002 14:55:07 -0700 (PDT) Received: from chania.di.uoa.gr (chania.di.uoa.gr [195.134.67.214]) by zeus.di.uoa.gr (8.12.1/8.12.1) with ESMTP id g4ILssS8000236 for ; Sun, 19 May 2002 00:54:54 +0300 (EEST) Received: from chania.di.uoa.gr (localhost [127.0.0.1]) by chania.di.uoa.gr (8.12.1/8.12.1) with ESMTP id g4ILslxu022304; Sun, 19 May 2002 00:54:47 +0300 (EET DST) Received: from localhost (tnu@localhost) by chania.di.uoa.gr (8.12.1/8.12.1/Submit) with ESMTP id g4ILsj0a022301; Sun, 19 May 2002 00:54:46 +0300 (EET DST) Date: Sun, 19 May 2002 00:54:45 +0300 (EET DST) From: tnu@chania.di.uoa.gr To: freebsd-multimedia@freebsd.org Subject: 4.6-PRERELEASE "Weird" Sound problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean 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 all. I 've come up against a rather "irritating" issue regarding my sound card and several sound applications. I cannot play sound files that have the following format: 11025Hz, 16(LSB), Mono. TO be exact, the only thing that I hear instead of the recorded content is a repeated sound reminding footsteps whose total length is equal to the proper length of the wave file. That happens with the "play" program (play is a front-end for sox). I tried to play the sample file with xwave, but it "hungs" completely. I can record at the specific format via "Save Audio As..." of the fxtv application, but: When I try to record (from the console) with "rec -r 11025 test.wav", I notice two things: 1. The size of test.wav refuses to grow at all (It remains at 0 bytes). 2. The "recording" can't be stopped with SIGINT (normal way) but only with SIGTERM ("impolite" way). The funny (whatever..) thing is that all the other possible combinations work in a happily normal way. Has any of you come up against such a weird problem? [ I hope the following are useful information. ] $ file /tmp/sample.wav /tmp/sample.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 11025 Hz $ uname -r 4.6-PRERELEASE $ dmesg | grep pcm pcm0: port 0xd800-0xd83f irq 9 at device 10.0 on pci2 $ cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd800 irq 9 (1p/1r/0v channels duplex) $ ls -l /dev/dsp* lrwxrwxrwx 1 root wheel 4 May 18 21:15 /dev/dsp -> dsp0 lrwxrwxrwx 1 root wheel 6 May 18 21:15 /dev/dsp0 -> dsp0.0 crw-rw-rw- 1 root wheel 30, 3 May 18 23:51 /dev/dsp0.0 crw-rw-rw- 1 root wheel 30, 0x00010003 May 18 21:15 /dev/dsp0.1 crw-rw-rw- 1 root wheel 30, 0x00020003 May 18 21:15 /dev/dsp0.2 crw-rw-rw- 1 root wheel 30, 0x00030003 May 18 21:15 /dev/dsp0.3 lrwxrwxrwx 1 root wheel 5 May 18 21:15 /dev/dspW -> dspW0 lrwxrwxrwx 1 root wheel 7 May 18 21:15 /dev/dspW0 -> dspW0.0 crw-rw-rw- 1 root wheel 30, 5 May 18 21:15 /dev/dspW0.0 crw-rw-rw- 1 root wheel 30, 0x00010005 May 18 21:15 /dev/dspW0.1 crw-rw-rw- 1 root wheel 30, 0x00020005 May 18 21:15 /dev/dspW0.2 crw-rw-rw- 1 root wheel 30, 0x00030005 May 18 21:15 /dev/dspW0.3 $ mpg123 -vvv one-nice-song.mp3 [snip] Audio capabilities: | s16 | u16 | u8 | s8 | ulaw | alaw | -------------------------------------------------------- 8000 | M/S | M/S | M/S | M/S | M/S | M/S | 11025 | M/S | M/S | M/S | M/S | M/S | M/S | 12000 | M/S | M/S | M/S | M/S | M/S | M/S | 16000 | M/S | M/S | M/S | M/S | M/S | M/S | 22050 | M/S | M/S | M/S | M/S | M/S | M/S | 24000 | M/S | M/S | M/S | M/S | M/S | M/S | 32000 | M/S | M/S | M/S | M/S | M/S | M/S | 44100 | M/S | M/S | M/S | M/S | M/S | M/S | 48000 | M/S | M/S | M/S | M/S | M/S | M/S | [snip] $ Note that I recently did a "buildworld" and I didn't have the problem with 4.5-STABLE. Thank you in advance. [ As soon I get this fixed, I can go on trying to play two mp3's simultaneously... ] -- [ Quote #14 from startrek collection. ] Another war ... must it always be so? How many comrades have we lost in this way? ... Obedience. Duty. Death, and more death ... -- Romulan Commander, "Balance of Terror", stardate 1709.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message