From owner-freebsd-multimedia Sun Sep 10 5:40: 0 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from rr.com (rdu25-12-060.nc.rr.com [24.25.12.60]) by hub.freebsd.org (Postfix) with ESMTP id 6DEB637B422 for ; Sun, 10 Sep 2000 05:39:53 -0700 (PDT) Received: (from rhh@localhost) by rr.com (8.9.3/8.9.3) id IAA01401; Sun, 10 Sep 2000 08:40:02 -0400 (EDT) (envelope-from aa8vb@nc.rr.com) Date: Sun, 10 Sep 2000 08:40:02 -0400 From: Randall Hopper To: Christian Gusenbauer Cc: multimedia@freebsd.org Subject: Re: One more time: fxtv and audio problems Message-ID: <20000910084002.A1300@nc.rr.com> References: <39B97CD0.2E2A6A34@vpop.net> <00090907485300.00322@bones.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <00090907485300.00322@bones.my.domain>; from Christian.Gusenbauer@netway.at on Sat, Sep 09, 2000 at 07:48:00AM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christian Gusenbauer: |Matthew Reimer: |> Christian Gusenbauer wrote: |> > Yesterday, I bought a WinTV PCI-FM card and installed |> > it. Unfortunately the sound output does not work :-(. I verified that |> > the line-in on the soundcard is working properly and I found out, |> > that the WinTV card does not output any sound with exception to the 1 |> > KHZ test tone which I enabled to verify the right connection of the |> > WinTV and sound cards. |> > |> > ..."fxtv -inputFormat pal -debug startup". I'm using current ... |> |> Play with the synth volume. For some reason, on CS423x cards the line in |> and synth controls are reversed. | |I did that - no change :-(! Ok, let's start at the top. What sound card input do you have your TV card plugged into? Most use Line, some use CD, others use other strange inputs. Have you ever plugged anything into this input before and heard audio with your recently-installed -current FreeBSD installation? Run xmix. Is the volume cranked up to max on that channel before you start fxtv? Is it still cranked up after you start fxtv? You'll need to move your cursor into the xmix window to check. Some folks have reported a few PCM oddities with sound, but these have been with the volume creeping down; not being mute altogether. These are the Fxtv variables to tweak to select the appropriate audio channel on your soundcard for volume (put them in your ~/.Xdefaults and then xrdb -load ~/.Xdefaults to enable): ! Method to override audio device !Fxtv.doSound: true !Fxtv.dspDevice: /dev/dsp !Fxtv.mixerDevice: /dev/mixer Fxtv.mixerChannel: line Valid values for the latter are: cd, mic, line, line1, line2, line3. This is primarily just so you can control the right volume channel in Fxtv. Next, the driver/TV card has a number of possible ports to slurp off audio from. This sets it: Fxtv.defaultAudioInput: auto ! tuner, external, internal, auto auto is usually right (let the driver decide). In case it's not, override and set to external, then internal, then tuner. Flip the volume around in each case. See what you find. -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 10 8: 3:29 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail1.i-one.at (ns1.i-one.at [194.24.128.100]) by hub.freebsd.org (Postfix) with ESMTP id 68C1037B422 for ; Sun, 10 Sep 2000 08:03:25 -0700 (PDT) Received: from bones.my.domain ([194.24.140.138]) by mail1.i-one.at (Netscape Messaging Server 4.1) with SMTP id G0OF5M00.UK2; Sun, 10 Sep 2000 17:03:22 +0200 From: Christian Gusenbauer Reply-To: Christian.Gusenbauer@netway.at To: Randall Hopper Subject: Re: One more time: fxtv and audio problems Date: Sun, 10 Sep 2000 16:51:10 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: multimedia@FreeBSD.ORG References: <00090907485300.00322@bones.my.domain> <20000910084002.A1300@nc.rr.com> In-Reply-To: <20000910084002.A1300@nc.rr.com> MIME-Version: 1.0 Message-Id: <00091017021600.00346@bones.my.domain> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Randall! AFAIR Randall Hopper wrote on So , 10 Sep 2000: > |> Play with the synth volume. For some reason, on CS423x cards the line in > |> and synth controls are reversed. > | > |I did that - no change :-(! > > Ok, let's start at the top. What sound card input do you have your TV card > plugged into? Most use Line, some use CD, others use other strange inputs. > Have you ever plugged anything into this input before and heard audio with > your recently-installed -current FreeBSD installation? The TV card is connected to the line-in on the soundcard. Yes, I plugged various sources into the line-in (eg. Walkman, stereo, TV) and everything worked. Remember, currently my TV card is connected with the line-in on the soundcard and I can hear the 1 KHz test tone of the TV card when I activate it. If I connect my speakers directly to the line-out of the TV card, I can't hear anything, too (except to the test tone if activated). > Run xmix. Is the volume cranked up to max on that channel before you start > fxtv? Is it still cranked up after you start fxtv? You'll need to move > your cursor into the xmix window to check. I checked this and all is on max before and after starting fxtv. > Some folks have reported a few PCM oddities with sound, but these have been > with the volume creeping down; not being mute altogether. > > These are the Fxtv variables to tweak to select the appropriate audio > channel on your soundcard for volume (put them in your ~/.Xdefaults and > then xrdb -load ~/.Xdefaults to enable): > > ! Method to override audio device > !Fxtv.doSound: true > !Fxtv.dspDevice: /dev/dsp > !Fxtv.mixerDevice: /dev/mixer > Fxtv.mixerChannel: line > > Valid values for the latter are: cd, mic, line, line1, line2, line3. > This is primarily just so you can control the right volume channel in Fxtv. > > Next, the driver/TV card has a number of possible ports to slurp off audio > from. This sets it: > > Fxtv.defaultAudioInput: auto > ! tuner, external, internal, auto > > auto is usually right (let the driver decide). In case it's not, override > and set to external, then internal, then tuner. Flip the volume around in > each case. See what you find. I tested all these settings and combinations without success. Basically, I think the problem is, that the TV card doesn't output sound, the soundcard seems to work properly. Thanks, Christian. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 10 8:16:58 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailrouter1.strath.ac.uk (orkney.cc.strath.ac.uk [130.159.248.40]) by hub.freebsd.org (Postfix) with ESMTP id 87D0D37B42C for ; Sun, 10 Sep 2000 08:16:55 -0700 (PDT) Received: from m657-mp1-cvx1c.edi.ntl.com ([62.253.14.145] helo=cs.strath.ac.uk) by mailrouter1.strath.ac.uk with esmtp (Exim 3.12 #2) id 13Y8qS-0006px-00; Sun, 10 Sep 2000 16:16:36 +0100 Message-ID: <39BBA652.447F8902@cs.strath.ac.uk> Date: Sun, 10 Sep 2000 16:18:42 +0100 From: Roger Hardiman Organization: Strathclyde University X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 4.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Christian.Gusenbauer@netway.at Cc: Randall Hopper , multimedia@FreeBSD.ORG Subject: Re: One more time: fxtv and audio problems References: <00090907485300.00322@bones.my.domain> <20000910084002.A1300@nc.rr.com> <00091017021600.00346@bones.my.domain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christian > I tested all these settings and combinations without success. Basically, I > think the problem is, that the TV card doesn't output sound, the soundcard > seems to work properly. I'd agree. There was a warning in the DMESG about your tuner not being detected properly and it defaulted to an NTSC type. You are the first person to have a Hauppauge card with the all new Temic tuner on and I've not checked the data sheets for this tuner yet to see how I must drive it. (it is probably a Philips clone) So, can you try something for me please. Can you edit bktr_card.c Look for these lines case 0x1d: case 0x23: select_tuner( bktr, PHILIPS_PALI ); goto checkDBX; and change it to this case 0x1d: case 0x23: case 0x2c: select_tuner( bktr, PHILIPS_PALI ); goto checkDBX; and recompile the kernel. Let me know what happens. Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 10 8:34:44 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from rr.com (rdu25-12-060.nc.rr.com [24.25.12.60]) by hub.freebsd.org (Postfix) with ESMTP id B31AB37B422 for ; Sun, 10 Sep 2000 08:34:41 -0700 (PDT) Received: (from rhh@localhost) by rr.com (8.9.3/8.9.3) id LAA03663; Sun, 10 Sep 2000 11:25:09 -0400 (EDT) (envelope-from aa8vb@nc.rr.com) Date: Sun, 10 Sep 2000 11:25:09 -0400 From: Randall Hopper To: Christian Gusenbauer Cc: Roger Hardiman , multimedia@FreeBSD.ORG Subject: Re: One more time: fxtv and audio problems Message-ID: <20000910112509.A3646@nc.rr.com> References: <00090907485300.00322@bones.my.domain> <20000910084002.A1300@nc.rr.com> <00091017021600.00346@bones.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <00091017021600.00346@bones.my.domain>; from Christian.Gusenbauer@netway.at on Sun, Sep 10, 2000 at 04:51:10PM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christian Gusenbauer: |Yesterday, I bought a WinTV PCI-FM card and installed it. Unfortunately the ... |The TV card is connected to the line-in on the soundcard. Yes, I plugged |various sources into the line-in (eg. Walkman, stereo, TV) and everything |worked. Remember, currently my TV card is connected with the line-in on |the soundcard and I can hear the 1 KHz test tone of the TV card when I |activate it. | |If I connect my speakers directly to the line-out of the TV card, I can't |hear anything, too (except to the test tone if activated). ... |Randall Hopper: |> Fxtv.mixerChannel: line ... |> Fxtv.defaultAudioInput: auto |> ! tuner, external, internal, auto |> |> auto is usually right (let the driver decide). In case it's not, override |> and set to external, then internal, then tuner. Flip the volume around in |> each case. See what you find. | |I tested all these settings and combinations without success. Basically, I |think the problem is, that the TV card doesn't output sound, the soundcard |seems to work properly. I agree. Sounds like this one may be a bktr-driver or tv-card issue. If you get audio in MSWin, then it's probably the former. Hopefully Roger will have some more ideas for you. This line in your dmesg may be a good starting point: bktr0: Warning - Unknown Hauppauge Tuner 0x2a -- Randall Hopper aa8vb@nc.rr.com |bktr0: mem 0xe2000000-0xe2000fff irq 11 at device 12.0 on pci0 |bti2c0: |iicbb0: on bti2c0 |iicbus0: on iicbb0 master-only |smbus1: on bti2c0 |smb1: on smbus1 |bktr0: Hauppauge Model 44354 A342 |bktr0: Warning - Unknown Hauppauge Tuner 0x2a |bktr0: Detected a MSP3415D-B3 at 0x80 |bktr0: Hauppauge WinCast/TV, Philips NTSC tuner, msp3400c stereo, remote control. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 10 9:31: 3 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id A66C037B423 for ; Sun, 10 Sep 2000 09:31:00 -0700 (PDT) Received: from ganerc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 13YA0Q-00076s-01; Sun, 10 Sep 2000 18:30:58 +0200 Received: (from daemon@localhost) by ganerc.mips.inka.de (8.11.0/8.11.0) id e8AFaSo82892 for freebsd-multimedia@freebsd.org; Sun, 10 Sep 2000 17:36:28 +0200 (CEST) (envelope-from daemon) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Joystick support? Date: 10 Sep 2000 17:36:27 +0200 Message-ID: <8pg9pr$2gu0$1@ganerc.mips.inka.de> To: freebsd-multimedia@freebsd.org Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What's the extend of our joystick support (in -STABLE)? joy(4) supports a traditional analog joystick on ISA, port 0x201. That probably works for game ports on ISA sound cards. What about game ports on PCI sound cards? I have a Soundblaster 64V/128PCI in one machine, and there's no sign that the game port is recognized. Also, analog PC joysticks seem to be dead technology, all currently available ones are USB. Are these supported in any way? What would the API be anyway? Some friends tell me, that Linux has a kind of bridge device that maps a USB HID joystick to a traditional analog PC joystick device. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 10 9:31: 9 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id A5E9B37B422 for ; Sun, 10 Sep 2000 09:31:00 -0700 (PDT) Received: from ganerc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 13YA0Q-00076s-00; Sun, 10 Sep 2000 18:30:58 +0200 Received: (from daemon@localhost) by ganerc.mips.inka.de (8.11.0/8.11.0) id e8AFIF882271 for freebsd-multimedia@freebsd.org; Sun, 10 Sep 2000 17:18:15 +0200 (CEST) (envelope-from daemon) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: Gravis Ultrasound PnP Date: 10 Sep 2000 17:18:14 +0200 Message-ID: <8pg8nm$2gah$1@ganerc.mips.inka.de> References: <200009090320.e893KlG14383@bloop.craftncomp.com> <20000908221946.A24990@panzer.kdm.org> To: freebsd-multimedia@freebsd.org Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Kenneth D. Merry wrote: > I wonder if there are any ISA cards that actually work well. That might > tell us something. My ISA PnP Vibra16C seems to work well here. That's on an almost-PRE_SMPNG 5.0-CURRENT/alpha. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 10 10:35:19 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail2.i-one.at (ns2.i-one.at [194.24.128.102]) by hub.freebsd.org (Postfix) with ESMTP id 40B0F37B422 for ; Sun, 10 Sep 2000 10:35:16 -0700 (PDT) Received: from bones.my.domain ([194.24.140.229]) by mail2.i-one.at (Netscape Messaging Server 4.1) with SMTP id G0OM6P00.OD4; Sun, 10 Sep 2000 19:35:13 +0200 From: Christian Gusenbauer Reply-To: Christian.Gusenbauer@netway.at To: Roger Hardiman Subject: Re: One more time: fxtv and audio problems Date: Sun, 10 Sep 2000 19:23:39 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: Randall Hopper , multimedia@FreeBSD.ORG References: <00091017021600.00346@bones.my.domain> <39BBA652.447F8902@cs.strath.ac.uk> In-Reply-To: <39BBA652.447F8902@cs.strath.ac.uk> MIME-Version: 1.0 Message-Id: <00091019305200.00275@bones.my.domain> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Roger, hello Randall! AFAIR Roger Hardiman wrote on So , 10 Sep 2000: > You are the first person to have a Hauppauge card with the > all new Temic tuner on and I've not checked the data > sheets for this tuner yet to see how I must drive it. > (it is probably a Philips clone) I love it to be the number one ;-)! > > So, can you try something for me please. > > Can you edit bktr_card.c > Look for these lines > case 0x1d: > case 0x23: > select_tuner( bktr, PHILIPS_PALI ); > goto checkDBX; > > and change it to this > case 0x1d: > case 0x23: > case 0x2c: > select_tuner( bktr, PHILIPS_PALI ); > goto checkDBX; > > and recompile the kernel. I think I should add a 'case 0x2a' and not the '0x2c'. Anyway, I tried both and none of them worked :-(. The TV card seems to work fine in Win98. Thanks, Christian. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 2:54:19 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from rr.com (rdu25-12-060.nc.rr.com [24.25.12.60]) by hub.freebsd.org (Postfix) with ESMTP id DF56F37B424 for ; Mon, 11 Sep 2000 02:54:16 -0700 (PDT) Received: (from rhh@localhost) by rr.com (8.9.3/8.9.3) id FAA00926 for freebsd-multimedia@freebsd.org; Mon, 11 Sep 2000 05:51:20 -0400 (EDT) (envelope-from aa8vb@nc.rr.com) Date: Mon, 11 Sep 2000 05:51:20 -0400 From: Randall Hopper To: freebsd-multimedia@freebsd.org Subject: Re: DRI + G400 Message-ID: <20000911055120.A912@nc.rr.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from joeo@cracktown.com on Fri, Sep 08, 2000 at 01:54:48PM -0400 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org joeo@cracktown.com: |Is ayone using a very recent DRI head branch checkout from sourceforge |with the G400? | |Looks like there my have been some lockup fixes/workarounds in the linux |kernel modules as well as the addition of 24 and 32 bit render modes that |haven't been ported over to the freebsd drm/mga kernel module yet. | |Has anyone spent any effort trying to port those fixes/functionality? I'd sure love to see this too (DRI for G200/G400)! -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 2:54:26 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from rr.com (rdu25-12-060.nc.rr.com [24.25.12.60]) by hub.freebsd.org (Postfix) with ESMTP id 0005537B423 for ; Mon, 11 Sep 2000 02:54:24 -0700 (PDT) Received: (from rhh@localhost) by rr.com (8.9.3/8.9.3) id FAA01001; Mon, 11 Sep 2000 05:55:25 -0400 (EDT) (envelope-from aa8vb@nc.rr.com) Date: Mon, 11 Sep 2000 05:55:25 -0400 From: Randall Hopper To: Christian Weisgerber Cc: freebsd-multimedia@freebsd.org Subject: Re: Joystick support? Message-ID: <20000911055525.B912@nc.rr.com> References: <8pg9pr$2gu0$1@ganerc.mips.inka.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <8pg9pr$2gu0$1@ganerc.mips.inka.de>; from naddy@mips.inka.de on Sun, Sep 10, 2000 at 05:36:27PM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christian Weisgerber: |Also, analog PC joysticks seem to be dead technology, all currently |available ones are USB. Are these supported in any way? Definitely not dead. Everyone I know has one; nobody has USB. No reason to buy another once you've got one. Games support 'em. Don't write us all off yet. ;-) -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 4: 6:32 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailrouter1.strath.ac.uk (orkney.cc.strath.ac.uk [130.159.248.40]) by hub.freebsd.org (Postfix) with ESMTP id 7B43537B423 for ; Mon, 11 Sep 2000 04:06:29 -0700 (PDT) Received: from m96-mp1-cvx1b.ren.ntl.com ([62.252.136.96] helo=cs.strath.ac.uk) by mailrouter1.strath.ac.uk with esmtp (Exim 3.12 #2) id 13YRPe-0005LH-00 for multimedia@freebsd.org; Mon, 11 Sep 2000 12:06:10 +0100 Message-ID: <39BCBD21.626881FC@cs.strath.ac.uk> Date: Mon, 11 Sep 2000 12:08:17 +0100 From: Roger Hardiman Organization: Strathclyde University X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 4.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: multimedia@freebsd.org Subject: New BKTR driver loadable modules Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-RBL-Warning: (dul.maps.vix.com) See Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I've changed the way the bktr Bt848/Bt878 driver works when it is a loadable Kernel Module. (KLD) Previously there was just one module to load, bktr.ko You either put "bktr_load=YES" in your /boot/loader.conf file OR you put "kldload bktr" in your rc.local. Now the bktr driver is split in two bktr_mem (contains a memory holder function) bktr (the main bktr driver) So, you need to load bktr_mem AND bktr to get a working driver. In -CURRENT the dependency facility should work so just load 'bktr'and 'bktr_mem' should auto-load for you. In 4.1-STABLE you do have to load both bktr_mem AND bktr yourself as module dependencies are not implemented yet. I've updated the default loader.conf as an example. What it does ------------ bktr_mem holds onto the bktr_driver's precious contiguously allocated memory if/when the bktr driver is unloaded. This makes it much much easier to test driver changes and even install an updated bktr driver without rebooting the system. Reboots are now only required if you change the amount of contiguous memory the driver needs to allocate. Please report any problems or bugs to me, roger@freebsd.org or roger@cs.strath.ac.uk Cheers Roger -- Roger Hardiman Strathclyde Uni Telepresence Research Group, Glasgow, Scotland. http://www.telepresence.strath.ac.uk 0141 548 2897 roger@cs.strath.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 6:19:56 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from picnic.chuckr.org (picnic.chuckr.org [216.254.96.118]) by hub.freebsd.org (Postfix) with ESMTP id 39CB837B42C for ; Mon, 11 Sep 2000 06:19:54 -0700 (PDT) Received: from localhost (chuckr@localhost) by picnic.chuckr.org (8.11.0/8.9.3) with ESMTP id e8BDKFr70113 for ; Mon, 11 Sep 2000 09:20:16 -0400 (EDT) (envelope-from chuckr@picnic.chuckr.org) Date: Mon, 11 Sep 2000 09:20:15 -0400 (EDT) From: Chuck Robey To: multimedia@FreeBSD.ORG Subject: FM Radio Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I went and bought some nice speakers, got the FM radio working pretty well via XMradio and my Hauppage card, now I want the mixer to finally work. I have a Intel DK440LX mobo, it has an on-board CS4236, so I guessed that I needed the csa driver. I don't have that in my config, so I wanted to kldload it, but then I looked at the available modules in current, there were two of them: snd_csa.ko and snd_csapcm.ko. There's no mention of either of them in the csa manpage, so I don't know which (or both?) to load, especially since my kernel has pcm in it already. Anyone know which one I need to move me towards getting the mixer working? Thanks. ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.chuckr.org| electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 10:52:37 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailhub.teliauk.com (mailhub.teliauk.com [195.12.225.36]) by hub.freebsd.org (Postfix) with ESMTP id CBF4237B423 for ; Mon, 11 Sep 2000 10:52:34 -0700 (PDT) Received: from d1o314.teliauk.com (root@d1o314.teliauk.com [195.12.237.81]) by mailhub.teliauk.com (8.10.1/8.10.1) with ESMTP id e8BIBWA16121; Mon, 11 Sep 2000 19:11:37 +0100 (BST) Received: from vilnya.demon.co.uk (t1o315p116.teliauk.com [195.12.242.116]) by d1o314.teliauk.com (8.8.8/8.8.8) with ESMTP id SAA02965; Mon, 11 Sep 2000 18:52:08 +0100 (GMT/BST) Received: from haveblue (haveblue.rings [10.2.4.5]) by vilnya.demon.co.uk (Postfix) with SMTP id 092C3D908; Mon, 11 Sep 2000 18:52:05 +0100 (BST) Message-ID: <003701c01c18$f5955010$0504020a@haveblue> From: "Cameron Grant" To: "Chuck Robey" , References: Subject: Re: FM Radio Date: Mon, 11 Sep 2000 18:51:48 +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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I went and bought some nice speakers, got the FM radio working pretty well > via XMradio and my Hauppage card, now I want the mixer to finally work. I > have a Intel DK440LX mobo, it has an on-board CS4236, so I guessed that I > needed the csa driver. I don't have that in my config, so I wanted to > kldload it, but then I looked at the available modules in current, there > were two of them: snd_csa.ko and snd_csapcm.ko. There's no mention of > either of them in the csa manpage, so I don't know which (or both?) to > load, especially since my kernel has pcm in it already. > > Anyone know which one I need to move me towards getting the mixer working? > Thanks. neither, csa is for pci crystal chips and cs4236 is isa. -cg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 12:48:41 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mayn.de (airbus.mayn.de [194.145.150.13]) by hub.freebsd.org (Postfix) with SMTP id 5108437B422 for ; Mon, 11 Sep 2000 12:48:37 -0700 (PDT) Received: (qmail 1968 invoked from network); 11 Sep 2000 19:48:30 -0000 Received: from comppp-048.wuerzburg.dialin.mayn.de (HELO mayn.de) (194.145.151.112) by airbus.mayn.de with SMTP; 11 Sep 2000 19:48:30 -0000 Message-ID: <39BCF58E.F56E80AB@mayn.de> Date: Mon, 11 Sep 2000 17:09:02 +0200 From: Tobias Reifenberger X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: multimedia@freebsd.org Subject: Make Opti930 working Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi My old laptop has a builtin opti930 chip, which is normally not working with newpcm. But I noticed, when I boot W95 and then reboot to FBSD the chip is detected as CS4231 and it's working flawlessly! After reading the 'Opti930 Data Book' I think that I know what to do for initializing the chip - but I'm somewhat confused by the newpcm code (kernel in general). So, can someone give me some (useful) hints how and where I must add the initialization code? How can I read the values for irq,dma,...? bye -- Tobias Reifenberger -- treif@mayn.de -- DG1NGT GEE e* dpu s:- a-- C+++ UB+++ L- W+ N+ w--- Y+ tv+ b++ D++ h++ r--- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 13:11:46 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from machaut.medieval.org (machaut.medieval.org [216.240.37.117]) by hub.freebsd.org (Postfix) with ESMTP id 3CA5337B423 for ; Mon, 11 Sep 2000 13:11:44 -0700 (PDT) Received: (from todd@localhost) by machaut.medieval.org (8.8.8/8.8.5) id NAA01690 for multimedia@freebsd.org; Mon, 11 Sep 2000 13:11:41 -0700 (PDT) Date: Mon, 11 Sep 2000 13:11:41 -0700 (PDT) From: Todd Michel McComb Message-Id: <200009112011.NAA01690@machaut.medieval.org> To: multimedia@freebsd.org Subject: 2.2.8 PCI Sound Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello. A question for an "antique" system. I was told some time ago (right about the time they were done) that PCI sound support and specifically the ES1370 chipset were retrofitted into the last revs of 2.2.8. Is this true? How do I use it? I have totally failed in my attempt to find instructions. Thank you. Todd McComb mccomb@medieval.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 15:35:32 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from picnic.chuckr.org (picnic.chuckr.org [216.254.96.118]) by hub.freebsd.org (Postfix) with ESMTP id 1F19E37B424 for ; Mon, 11 Sep 2000 15:35:30 -0700 (PDT) Received: from localhost (chuckr@localhost) by picnic.chuckr.org (8.11.0/8.9.3) with ESMTP id e8BMZq872281; Mon, 11 Sep 2000 18:35:52 -0400 (EDT) (envelope-from chuckr@picnic.chuckr.org) Date: Mon, 11 Sep 2000 18:35:52 -0400 (EDT) From: Chuck Robey To: Cameron Grant Cc: multimedia@FreeBSD.ORG Subject: Re: FM Radio In-Reply-To: <003701c01c18$f5955010$0504020a@haveblue> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 11 Sep 2000, Cameron Grant wrote: > > I went and bought some nice speakers, got the FM radio working pretty well > > via XMradio and my Hauppage card, now I want the mixer to finally work. I > > have a Intel DK440LX mobo, it has an on-board CS4236, so I guessed that I > > needed the csa driver. I don't have that in my config, so I wanted to > > kldload it, but then I looked at the available modules in current, there > > were two of them: snd_csa.ko and snd_csapcm.ko. There's no mention of > > either of them in the csa manpage, so I don't know which (or both?) to > > load, especially since my kernel has pcm in it already. > > > > Anyone know which one I need to move me towards getting the mixer working? > > Thanks. > > neither, csa is for pci crystal chips and cs4236 is isa. Thanks, Cameron. I can't get either the mic or cd inputs to the audio to work (line input works fine, and catting to /dev/audio is great). I think this is because /dev/mixer seems not to work (at least all apps complain about it). I have to use patchcords to switch from listening to FM to listening to CD (both patched to line input now). Should this work? I have the audio line from the cd to the motherboard connector plugged in; no tones input on the external mic line cause any sound out. I have been using xmix to set the mixer levels; maybe that's somehow wrong? ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.chuckr.org| electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 15:49:15 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from picnic.chuckr.org (picnic.chuckr.org [216.254.96.118]) by hub.freebsd.org (Postfix) with ESMTP id 19FAB37B43E for ; Mon, 11 Sep 2000 15:49:13 -0700 (PDT) Received: from localhost (chuckr@localhost) by picnic.chuckr.org (8.11.0/8.9.3) with ESMTP id e8BMnRe72364; Mon, 11 Sep 2000 18:49:27 -0400 (EDT) (envelope-from chuckr@picnic.chuckr.org) Date: Mon, 11 Sep 2000 18:49:27 -0400 (EDT) From: Chuck Robey To: Cameron Grant Cc: multimedia@FreeBSD.ORG Subject: Re: FM Radio In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 11 Sep 2000, Chuck Robey wrote: > Thanks, Cameron. I can't get either the mic or cd inputs to the audio to > work (line input works fine, and catting to /dev/audio is great). I think > this is because /dev/mixer seems not to work (at least all apps complain > about it). I have to use patchcords to switch from listening to FM to > listening to CD (both patched to line input now). > > Should this work? I have the audio line from the cd to the motherboard > connector plugged in; no tones input on the external mic line cause any > sound out. > > I have been using xmix to set the mixer levels; maybe that's somehow > wrong? Replying to my own message, I just decided to try using cdcontrol instead of xcdplayer to play cd's. Sound is finally coming out where I want it, as I want it. Sorry to bother you. ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.chuckr.org| electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 15:50:48 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailhub.teliauk.com (mailhub.teliauk.com [195.12.225.36]) by hub.freebsd.org (Postfix) with ESMTP id 2FA4337B423 for ; Mon, 11 Sep 2000 15:50:46 -0700 (PDT) Received: from d1o314.teliauk.com (root@d1o314.teliauk.com [195.12.237.81]) by mailhub.teliauk.com (8.10.1/8.10.1) with ESMTP id e8BN9nA01482; Tue, 12 Sep 2000 00:09:49 +0100 (BST) Received: from vilnya.demon.co.uk (t1o316p98.teliauk.com [195.12.246.98]) by d1o314.teliauk.com (8.8.8/8.8.8) with ESMTP id XAA19444; Mon, 11 Sep 2000 23:50:39 +0100 (GMT/BST) Received: from haveblue (haveblue.rings [10.2.4.5]) by vilnya.demon.co.uk (Postfix) with SMTP id D13D0D908; Mon, 11 Sep 2000 23:50:36 +0100 (BST) Message-ID: <014f01c01c42$a8374e70$0504020a@haveblue> From: "Cameron Grant" To: "Chuck Robey" Cc: References: Subject: Re: FM Radio Date: Mon, 11 Sep 2000 23:50: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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Thanks, Cameron. I can't get either the mic or cd inputs to the audio to > work (line input works fine, and catting to /dev/audio is great). I think > this is because /dev/mixer seems not to work (at least all apps complain > about it). I have to use patchcords to switch from listening to FM to > listening to CD (both patched to line input now). > > Should this work? I have the audio line from the cd to the motherboard > connector plugged in; no tones input on the external mic line cause any > sound out. > > I have been using xmix to set the mixer levels; maybe that's somehow > wrong? what does 'mixer' report? -cg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 11 18:40:11 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from rr.com (rdu25-12-060.nc.rr.com [24.25.12.60]) by hub.freebsd.org (Postfix) with ESMTP id CA05637B423 for ; Mon, 11 Sep 2000 18:40:05 -0700 (PDT) Received: (from rhh@localhost) by rr.com (8.9.3/8.9.3) id VAA17526 for multimedia@freebsd.org; Mon, 11 Sep 2000 21:29:10 -0400 (EDT) (envelope-from aa8vb@nc.rr.com) Date: Mon, 11 Sep 2000 21:29:10 -0400 From: Randall Hopper To: multimedia@freebsd.org Subject: Re: New BKTR driver loadable modules Message-ID: <20000911212910.A17518@nc.rr.com> References: <39BCBD21.626881FC@cs.strath.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39BCBD21.626881FC@cs.strath.ac.uk>; from roger@cs.strath.ac.uk on Mon, Sep 11, 2000 at 12:08:17PM +0100 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Roger Hardiman: | I've changed the way the bktr Bt848/Bt878 driver works | when it is a loadable Kernel Module. (KLD) ... | Now the bktr driver is split in two | bktr_mem (contains a memory holder function) | bktr (the main bktr driver) ... | bktr_mem holds onto the bktr_driver's precious contiguously | allocated memory if/when the bktr driver is unloaded. Very nice Roger! I know the times I've been hacking bktr I've wished for this. Those dreaded reboots killed lots of time in testing and experimentation. -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Sep 12 8: 3:46 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from spirit.jaded.net (shortbus.jaded.net [216.94.132.8]) by hub.freebsd.org (Postfix) with ESMTP id 9106637B42C for ; Tue, 12 Sep 2000 08:03:44 -0700 (PDT) Received: (from dan@localhost) by spirit.jaded.net (8.9.3/8.9.3) id LAA01146 for multimedia@freebsd.org; Tue, 12 Sep 2000 11:04:56 -0400 (EDT) (envelope-from dan) Date: Tue, 12 Sep 2000 11:04:56 -0400 From: Dan Moschuk To: multimedia@freebsd.org Subject: Anyone with i810 hardware? Message-ID: <20000912110456.A986@spirit.jaded.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ Appologies if this message goes through twice, I don't believe that the first one made it. ] My motherboard that I was using to develop a driver for the 82801 sound chip was fried a little over a month ago. I was continuing development on my only other box with the i810 chipset, only remotely, which if any of you have actually tried driver development remotely you know how ridiculous and frustrating it gets. So, if any of you have any spare i810 based motherboards kicking around, I am accepting dontations and loans. :) Thanks! -Dan -- Man is a rational animal who always loses his temper when he is called upon to act in accordance with the dictates of reason. -- Oscar Wilde To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Sep 12 14:14:32 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from tomsbase.homeip.net (p3EE20E7B.dip0.t-ipconnect.de [62.226.14.123]) by hub.freebsd.org (Postfix) with ESMTP id A046737B422 for ; Tue, 12 Sep 2000 14:14:18 -0700 (PDT) Received: (from root@localhost) by tomsbase.homeip.net (8.11.0/8.11.0) id e8CNBcJ03296 for freebsd-multimedia@freebsd.org; Tue, 12 Sep 2000 23:11:38 GMT From: Thomas Koper Message-Id: <200009122311.e8CNBcJ03296@tomsbase.homeip.net> Subject: Compiling Glide3 from sourceforge To: freebsd-multimedia@freebsd.org Date: Tue, 12 Sep 2000 23:11:37 +0000 (GMT) X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I download via cvs the CVS Glide3 tree from sourceforge and tried to compile it. I did everything as it is said in the INSTALL file, but as I run ./build.3dfx all | tee make.hst I get the following error message: ... "makefile.autoconf", line 471: Missing dependency operator "makefile.autoconf", line 474: Need an operator "makefile.autoconf", line 478: Need an operator "makefile.autoconf", line 492: Missing dependency operator "makefile.autoconf", line 496: Need an operator "makefile.autoconf", line 498: Missing dependency operator "makefile.autoconf", line 503: Need an operator "makefile.autoconf", line 505: Missing dependency operator "makefile.autoconf", line 510: Need an operator make: fatal errors encountered -- cannot continue ... these are the line which say : ifeq ("false","true") 472 GLIDE_DEBUG_GCFLAGS = -g -O and so on. What am I doing wrong at this case?? Do I have to configure something before starting it? Question to Coleman Kane: You have released a port of Glide, does it work with a voodoo3?? Because I've heard that it woorks great with voodoo2 but not so well with voodoo3. I would be very glad if someone could help me to get this thing to work. I'm also offering my help for testing something, but I have to say that I'm not that familiar with programming. Regards Thomas Koper To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Sep 12 14:17:44 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from itchy.serv.net (itchy.serv.net [205.153.153.233]) by hub.freebsd.org (Postfix) with ESMTP id 35B8E37B424 for ; Tue, 12 Sep 2000 14:17:39 -0700 (PDT) Received: from localhost (utz@localhost) by itchy.serv.net (8.8.5/8.8.5) with SMTP id OAA49605; Tue, 12 Sep 2000 14:17:25 -0700 (PDT) Date: Tue, 12 Sep 2000 14:17:23 -0700 (PDT) From: The Utz Family To: Thomas Koper Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Compiling Glide3 from sourceforge In-Reply-To: <200009122311.e8CNBcJ03296@tomsbase.homeip.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You need gmake (gnu make) instead of the standard bsd make. it's available in the packages or you can go get the src and compile it yourself. hmm, upon further inspection. you might want to grab autoconf as well just to be sure...it's available in the same place, i believe.... HTH! johnu On Tue, 12 Sep 2000, Thomas Koper wrote: > Hi, > > I download via cvs the CVS Glide3 tree from sourceforge and tried to > compile it. I did everything as it is said in the INSTALL file, but > as I run ./build.3dfx all | tee make.hst I get the following error message: > > ... > "makefile.autoconf", line 471: Missing dependency operator > "makefile.autoconf", line 474: Need an operator > "makefile.autoconf", line 478: Need an operator > "makefile.autoconf", line 492: Missing dependency operator > "makefile.autoconf", line 496: Need an operator > "makefile.autoconf", line 498: Missing dependency operator > "makefile.autoconf", line 503: Need an operator > "makefile.autoconf", line 505: Missing dependency operator > "makefile.autoconf", line 510: Need an operator > make: fatal errors encountered -- cannot continue > ... > > these are the line which say : > ifeq ("false","true") > 472 GLIDE_DEBUG_GCFLAGS = -g -O > and so on. > What am I doing wrong at this case?? > Do I have to configure something before starting it? > > Question to Coleman Kane: > You have released a port of Glide, does it work with a voodoo3?? Because I've > heard that it woorks great with voodoo2 but not so well with voodoo3. > > I would be very glad if someone could help me to get this thing to work. > I'm also offering my help for testing something, but I have to say that > I'm not that familiar with programming. > > Regards Thomas Koper > > > > 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 Wed Sep 13 14:40:46 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from m08.alpha-net.ne.jp (m08.alpha-net.ne.jp [210.229.64.38]) by hub.freebsd.org (Postfix) with ESMTP id A4B3C37B422 for ; Wed, 13 Sep 2000 14:40:43 -0700 (PDT) Received: from kyoto-tc012-p35.alpha-net.ne.jp (kyoto-tc012-p35.alpha-net.ne.jp [210.237.119.163]) by m08.alpha-net.ne.jp (8.9.3/3.7W) with ESMTP id GAA17739 for ; Thu, 14 Sep 2000 06:40:17 +0900 (JST) Received: from souffle.bogus-local.net (souffle.bogus-local.net [192.168.1.1]) by kyoto-tc012-p35.alpha-net.ne.jp (Postfix) with ESMTP id 3D4843D78 for ; Thu, 14 Sep 2000 06:39:57 +0900 (JST) From: FUJISHIMA Satsuki Date: Thu, 14 Sep 2000 06:39:56 +0900 Message-ID: <86ya0w3r9v.wl@cheerful.com> qFrom: FUJISHIMA Satsuki To: freebsd-multimedia@freebsd.org Subject: Re: [panic: no feed] FreeBSD 4.1-STABLE and Creative SB AWE64 In-Reply-To: In your message of "Sat, 2 Sep 2000 13:55:24 -0500" <20000902135523.A581@hamlet.nectar.com> References: <20000901163123.B19985@hamlet.nectar.com> <20000902135523.A581@hamlet.nectar.com> User-Agent: Wanderlust/1.1.1 (Purple Rain) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I can reproduce quite similar panic on 5.0-CURRENT. built with tag=PRE_SMPNG. pcm0: port 0xee80-0xeebf irq 11 at device 13.0 on pci0 sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm1: on sbc0 $ sox -t ossdsp -w -s /dev/dsp1 foo.wav and panics randomly. -w can be replaced with -b or something. The same command but recording from /dev/dsp0(AudioPCI) have done flawlessly. (kgdb) where #0 dumpsys () at ../../kern/kern_shutdown.c:461 #1 0xc017b490 in boot (howto=256) at ../../kern/kern_shutdown.c:302 #2 0xc017b83d in panic (fmt=0xc02a4a7f "no feed") at ../../kern/kern_shutdown.c:550 #3 0xc015761c in chn_rdfeed2nd (c=0xc15b8200, buf=0xce80dee8) at ../../dev/sound/pcm/channel.c:634 #4 0xc0157783 in chn_read (c=0xc15b8200, buf=0xce80dee8) at ../../dev/sound/pcm/channel.c:740 #5 0xc015889e in dsp_read (d=0xc1617800, chan=0, buf=0xce80dee8, flag=4521984) at ../../dev/sound/pcm/dsp.c:181 #6 0xc015aecb in sndread (i_dev=0xc1616780, buf=0xce80dee8, flag=4521984) at ../../dev/sound/pcm/sound.c:474 #7 0xc01b7ce4 in spec_read (ap=0xce80de7c) at ../../miscfs/specfs/spec_vnops.c:261 #8 0xc0245480 in ufsspec_read (ap=0xce80de7c) at ../../ufs/ufs/ufs_vnops.c:1802 #9 0xc02459a5 in ufs_vnoperatespec (ap=0xce80de7c) at ../../ufs/ufs/ufs_vnops.c:2281 #10 0xc01b2b6c in vn_read (fp=0xc182cc80, uio=0xce80dee8, cred=0xc16e2800, flags=0, p=0xce7b8260) at vnode_if.h:334 #11 0xc018d40b in dofileread (p=0xce7b8260, fp=0xc182cc80, fd=3, buf=0x28147f83, nbyte=1, offset=-1, flags=0) at ../../sys/file.h:141 #12 0xc018d2ea in read (p=0xce7b8260, uap=0xce80df80) at ../../kern/sys_generic.c:110 #13 0xc0285399 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134856771, tf_esi = 672431936, tf_ebp = 1981, tf_isp = -830414892, tf_ebx = 672356492, tf_edx = 672432003, tf_ecx = 0, tf_eax = 3, tf_trapno = 12, tf_err = 2, tf_eip = 672310484, tf_cs = 31, tf_eflags = 659, tf_esp = -1077938296, tf_ss = 47}) at ../../i386/i386/trap.c:1150 #14 0xc0279915 in Xint0x80_syscall () Cannot access memory at address 0x7bd. (kgdb) -- FUJISHIMA Satsuki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Sep 14 6:27:55 2000 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 93BB337B423 for ; Thu, 14 Sep 2000 06:27:52 -0700 (PDT) Received: from moritz.alleswirdgelber (ascend-tk-p165.dialin.uni-bonn.de [131.220.244.165]) by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id PAA404274 for ; Thu, 14 Sep 2000 15:25:14 +0200 Received: from localhost (localhost [127.0.0.1]) by moritz.alleswirdgelber (8.9.3/8.9.3) with ESMTP id OAA00786 for ; Thu, 14 Sep 2000 14:53:18 +0200 (CEST) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Thu, 14 Sep 2000 14:53:18 +0200 (CEST) From: Heiko Recktenwald X-Sender: uzs106@moritz.alleswirdgelber To: multimedia@FreeBSD.ORG Subject: video/mpegurl.. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, maybe its to special for the newsgroup, and its not specifically FBSD, anyway: I want to play with an video/mpegurl like thing in the lan, as there is audio/mpegurl, m3u files for mp3. Lets call it the mgu file, containing the URL of an mpg file. BUT: I dont know any mpgplayer, that can read such "mgu" files. mtvp could play any mpg file anywhere, mtvp http://bla/bla.mpg would be no problem. Now: How can I write a shellscript, to make this possible anyway (and how should I put this into my .mailcap file) ? Or does anybody know another player that I should use ? Maybe this "mgu" thing exist allready under another name, maybe it would work with the realplayer somehow (grep -y mime * in the realplayer help directory showed nothing but an audio/bla Type, maybe they organise their Video in another way..), anyway, I want to try the "classical" way, ok ? ;-) Sorry for my poor englisch.. Heiko To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Sep 14 8:50:35 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 4867F37B423; Thu, 14 Sep 2000 08:50:09 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.9.3/1.13) id SAA51386; Thu, 14 Sep 2000 18:50:03 +0300 (EEST) Date: Thu, 14 Sep 2000 18:50:03 +0300 From: Ruslan Ermilov To: Dan Moschuk Cc: multimedia@freebsd.org Subject: Re: Anyone with i810 hardware? Message-ID: <20000914185003.D46076@sunbay.com> Mail-Followup-To: Dan Moschuk , multimedia@freebsd.org References: <20000912110456.A986@spirit.jaded.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000912110456.A986@spirit.jaded.net>; from dan@freebsd.org on Tue, Sep 12, 2000 at 11:04:56AM -0400 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Sep 12, 2000 at 11:04:56AM -0400, Dan Moschuk wrote: > > [ Appologies if this message goes through twice, I don't believe that the > first one made it. ] > > My motherboard that I was using to develop a driver for the 82801 sound chip > was fried a little over a month ago. I was continuing development on my > only other box with the i810 chipset, only remotely, which if any of you > have actually tried driver development remotely you know how ridiculous > and frustrating it gets. > > So, if any of you have any spare i810 based motherboards kicking around, > I am accepting dontations and loans. :) > There is already a working version of the i810 sound driver: http://www.katsurajima.seya.yokohama.jp/ich/ Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Sep 14 11:45:15 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from spirit.jaded.net (shortbus.jaded.net [216.94.132.8]) by hub.freebsd.org (Postfix) with ESMTP id 1872137B422; Thu, 14 Sep 2000 11:45:12 -0700 (PDT) Received: (from dan@localhost) by spirit.jaded.net (8.9.3/8.9.3) id OAA12603; Thu, 14 Sep 2000 14:45:09 -0400 (EDT) (envelope-from dan) Date: Thu, 14 Sep 2000 14:45:09 -0400 From: Dan Moschuk To: multimedia@freebsd.org Cc: ru@freebsd.org Subject: Re: Anyone with i810 hardware? Message-ID: <20000914144509.A12565@spirit.jaded.net> References: <20000912110456.A986@spirit.jaded.net> <20000914185003.D46076@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000914185003.D46076@sunbay.com>; from ru@FreeBSD.org on Thu, Sep 14, 2000 at 06:50:03PM +0300 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org | > So, if any of you have any spare i810 based motherboards kicking around, | > I am accepting dontations and loans. :) | > | There is already a working version of the i810 sound driver: | | http://www.katsurajima.seya.yokohama.jp/ich/ Even easier. :) -- Man is a rational animal who always loses his temper when he is called upon to act in accordance with the dictates of reason. -- Oscar Wilde To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Sep 14 15:49:37 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailhub.teliauk.com (mailhub.teliauk.com [195.12.225.36]) by hub.freebsd.org (Postfix) with ESMTP id 0C1C037B423; Thu, 14 Sep 2000 15:49:34 -0700 (PDT) Received: from d1o314.teliauk.com (root@d1o314.teliauk.com [195.12.237.81]) by mailhub.teliauk.com (8.10.1/8.10.1) with ESMTP id e8EN6aA22101; Fri, 15 Sep 2000 00:06:37 +0100 (BST) Received: from vilnya.demon.co.uk (t1o316p140.teliauk.com [195.12.246.140]) by d1o314.teliauk.com (8.8.8/8.8.8) with ESMTP id XAA00786; Thu, 14 Sep 2000 23:49:30 +0100 (GMT/BST) Received: from haveblue (haveblue.rings [10.2.4.5]) by vilnya.demon.co.uk (Postfix) with SMTP id 8714BD908; Thu, 14 Sep 2000 23:49:28 +0100 (BST) Message-ID: <000d01c01e9e$0638ddb0$0504020a@haveblue> From: "Cameron Grant" To: "Dan Moschuk" , Cc: References: <20000912110456.A986@spirit.jaded.net> <20000914185003.D46076@sunbay.com> <20000914144509.A12565@spirit.jaded.net> Subject: Re: Anyone with i810 hardware? Date: Thu, 14 Sep 2000 23:49:22 +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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > | There is already a working version of the i810 sound driver: > | > | http://www.katsurajima.seya.yokohama.jp/ich/ > > Even easier. :) it would be nice if people informed me about newpcm drivers they have written or are working on so that i can get them committed to the tree. -cg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Sep 14 15:59:40 2000 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 E746737B423 for ; Thu, 14 Sep 2000 15:59:38 -0700 (PDT) Received: from moritz.alleswirdgelber (ascend-tk-p31.dialin.uni-bonn.de [131.220.244.31]) by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id AAA138068 for ; Fri, 15 Sep 2000 00:57:01 +0200 Received: from localhost (localhost [127.0.0.1]) by moritz.alleswirdgelber (8.9.3/8.9.3) with ESMTP id AAA00969 for ; Fri, 15 Sep 2000 00:34:52 +0200 (CEST) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Fri, 15 Sep 2000 00:34:52 +0200 (CEST) From: Heiko Recktenwald X-Sender: uzs106@moritz.alleswirdgelber To: multimedia@FreeBSD.ORG Subject: Re: video/mpegurl.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > BUT: I dont know any mpgplayer, that can read such "mgu" files. mtvp could > play any mpg file anywhere, mtvp http://bla/bla.mpg would be no problem. > > Now: How can I write a shellscript, to make this possible anyway (and how > should I put this into my .mailcap file) ? Or does anybody know another > player that I should use ? For the record: yes, it did work and is big fun, how can I register a MIME type ? Its regulated in some RFC..forgot which one. The script to make mtvp read "mgu" files is very short: cat $1 | xargs -n 1 mtvp And thanks again to Russia ;-) H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 5:30:50 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from rnocserv.urc.ac.ru (rnocserv.urc.ac.ru [193.233.85.2]) by hub.freebsd.org (Postfix) with ESMTP id 1CD8037B422 for ; Fri, 15 Sep 2000 05:30:38 -0700 (PDT) Received: from urc.ac.ru (belle.rnoc.urc.ac.ru [193.233.85.10]) by rnocserv.urc.ac.ru (8.11.0/8.9.3) with ESMTP id e8FCUQN63368 for ; Fri, 15 Sep 2000 18:30:29 +0600 (ESS) (envelope-from anton@urc.ac.ru) Message-ID: <39C2165F.28CBAFBE@urc.ac.ru> Date: Fri, 15 Sep 2000 18:30:24 +0600 From: Anton Voronin Organization: URC FREEnet X-Mailer: Mozilla 4.74 [ru ] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: multimedia@freebsd.org Subject: pcm & full-duplex Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I just wish to ask, is it a bug or an intended behaviour of ioctl's SNDCTL_DSP_GETCAPS command, that it reports full-duplex capability only when applied to file descriptor opened with O_RDWR but not with O_RDONLY? Some applications (like rat) check for full-duplex using O_RDONLY, and so fail to operate with it... Regards, Anton -- Anton Voronin Ural Regional Center of FREEnet, Southern Ural State University, Chelyabinsk, Russia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 6:40:51 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from bells.cs.ucl.ac.uk (bells.cs.ucl.ac.uk [128.16.5.31]) by hub.freebsd.org (Postfix) with SMTP id 331BB37B423 for ; Fri, 15 Sep 2000 06:40:49 -0700 (PDT) Received: from scary.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP id ; Fri, 15 Sep 2000 14:39:59 +0100 From: Orion Hodson X-Organisation: University College London, CS Dept. X-Phone: +44 (0)20 7679 3704 To: Anton Voronin Cc: multimedia@freebsd.org, rat-trap@cs.ucl.ac.uk Subject: Re: pcm & full-duplex In-reply-to: Your message of "Fri, 15 Sep 2000 18:30:24 +0600." <39C2165F.28CBAFBE@urc.ac.ru> Date: Fri, 15 Sep 2000 14:39:57 +0100 Message-ID: <2641.969025197@cs.ucl.ac.uk> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org <39C2165F.28CBAFBE@urc.ac.ru>Anton Voronin writes: > Hi all, > I just wish to ask, is it a bug or an intended behaviour of ioctl's > SNDCTL_DSP_GETCAPS command, that it reports full-duplex capability only when > applied to file descriptor opened with O_RDWR but not with O_RDONLY? This sounds like the right behaviour - the device is in half duplex mode so the current capability is half duplex. It's not going to become full duplex without being re-opened. > Some applications (like rat) check for full-duplex using O_RDONLY, > and so fail to operate with it... I'm not sure if other applications open O_RDONLY and check for full duplex with SNDCTL_DSP_GETCAPS, but AFAIK rat on FreeBSD never has in the "full duplex only" versions (3.2 onwards). However, there is a problem with older rat versions and newpcm. There was a time with the previous pcm driver when some half duplex cards successfully opened O_RDWR, so an AIOGCAP call with AFMT_FULLDUPLEX check was necessary to determine if the card really was full duplex. Under newpcm open O_RDWR fails for half duplex cards. However, the use of AFMT_FULLDUPLEX is deprecated (or forgotten) under newpcm so applications using this test fail to realize the device is full duplex, e.g. rat. The current rat source code probes for which pcm is present and acts accordingly. The current ports version of rat needs updating to reflect the changes as does the rat web page. We'll try to do this soon. - Orion. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 7:14:43 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from rnocserv.urc.ac.ru (rnocserv.urc.ac.ru [193.233.85.2]) by hub.freebsd.org (Postfix) with ESMTP id 2DB6637B422 for ; Fri, 15 Sep 2000 07:14:14 -0700 (PDT) Received: from urc.ac.ru (belle.rnoc.urc.ac.ru [193.233.85.10]) by rnocserv.urc.ac.ru (8.11.0/8.9.3) with ESMTP id e8FEDjN28971 for ; Fri, 15 Sep 2000 20:14:10 +0600 (ESS) (envelope-from anton@urc.ac.ru) Message-ID: <39C22E96.C4469170@urc.ac.ru> Date: Fri, 15 Sep 2000 20:13:42 +0600 From: Anton Voronin Organization: URC FREEnet X-Mailer: Mozilla 4.74 [ru ] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: multimedia@freebsd.org Subject: Re: pcm & full-duplex Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Orion Hodson wrote: > <39C2165F.28CBAFBE@urc.ac.ru>Anton Voronin writes: > > Hi all, > > I just wish to ask, is it a bug or an intended behaviour of ioctl's > > SNDCTL_DSP_GETCAPS command, that it reports full-duplex capability only when > > applied to file descriptor opened with O_RDWR but not with O_RDONLY? > > This sounds like the right behaviour - the device is in half duplex > mode so the current capability is half duplex. It's not going to > become full duplex without being re-opened. Ok, anyway I had to fix rat ;) > > Some applications (like rat) check for full-duplex using O_RDONLY, > > and so fail to operate with it... > > I'm not sure if other applications open O_RDONLY and check for full > duplex with SNDCTL_DSP_GETCAPS, but AFAIK rat on FreeBSD never has in > the "full duplex only" versions (3.2 onwards). At least 4.0.4 seems to do so: int vox_audio_duplex(int audio_fd) { /* Find out if the device supports full-duplex operation. The device mu * be open to do this, so if we're passed -1 as a file-descriptor we op * the device, do the ioctl, and then close it again... */ int options; if (audio_fd == -1) { audio_fd = vox_audio_open_rw(O_RDONLY); if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &options) == -1) { vox_audio_close(audio_fd); return FALSE; } vox_audio_close(audio_fd); return (options & DSP_CAP_DUPLEX); } /* Audio device already open */ if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &options) == -1 ) { return FALSE; } return (options & DSP_CAP_DUPLEX); } > However, there is a > problem with older rat versions and newpcm. > There was a time with the previous pcm driver when some half duplex > cards successfully opened O_RDWR, so an AIOGCAP call with > AFMT_FULLDUPLEX check was necessary to determine if the card really > was full duplex. Under newpcm open O_RDWR fails for half duplex > cards. However, the use of AFMT_FULLDUPLEX is deprecated (or > forgotten) under newpcm so applications using this test fail to > realize the device is full duplex, e.g. rat. rat-3.0.35 right the one I've fixed to work with newpcm, used AIOGFMT with AFMT_FULLDUPLEX, not AIOGCAP. But the problem was in O_RDONLY rather than in deprecated calls (because I tried both). > The current rat source code probes for which pcm is present and acts > accordingly. The current ports version of rat needs updating to > reflect the changes as does the rat web page. We'll try to do this > soon. That would be great (I still haven't seen 4.2.9 sources, because it takes too long to fetch them ;) Hope your new port will solve all problems! > - Orion. Regards, Anton -- Anton Voronin Ural Regional Center of FREEnet, Southern Ural State University, Chelyabinsk, Russia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 8: 2:44 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from bells.cs.ucl.ac.uk (bells.cs.ucl.ac.uk [128.16.5.31]) by hub.freebsd.org (Postfix) with SMTP id B20C737B42C for ; Fri, 15 Sep 2000 08:02:41 -0700 (PDT) Received: from scary.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP id ; Fri, 15 Sep 2000 16:02:37 +0100 From: Orion Hodson X-Organisation: University College London, CS Dept. X-Phone: +44 (0)20 7679 3704 To: multimedia@freebsd.org Cc: rat-trap@cs.ucl.ac.uk Subject: Re: pcm & full-duplex In-reply-to: Your message of "Fri, 15 Sep 2000 20:13:42 +0600." <39C22E96.C4469170@urc.ac.ru> Date: Fri, 15 Sep 2000 16:02:35 +0100 Message-ID: <16633.969030155@cs.ucl.ac.uk> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org <39C22E96.C4469170@urc.ac.ru>Anton Voronin writes: > Orion Hodson wrote: > > <39C2165F.28CBAFBE@urc.ac.ru>Anton Voronin writes: > > > > I'm not sure if other applications open O_RDONLY and check for full > > duplex with SNDCTL_DSP_GETCAPS, but AFAIK rat on FreeBSD never has in > > the "full duplex only" versions (3.2 onwards). > > At least 4.0.4 seems to do so: > > int vox_audio_duplex(int audio_fd) > { > /* Find out if the device supports full-duplex operation. The device mu > * be open to do this, so if we're passed -1 as a file-descriptor we op > * the device, do the ioctl, and then close it again... > */ > int options; > if (audio_fd == -1) { > audio_fd = vox_audio_open_rw(O_RDONLY); > if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &options) == -1) { > vox_audio_close(audio_fd); > return FALSE; > } > vox_audio_close(audio_fd); > return (options & DSP_CAP_DUPLEX); > } > /* Audio device already open */ > if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &options) == -1 ) { > return FALSE; > } > return (options & DSP_CAP_DUPLEX); > } The code above is from the file for Voxware/OSS (confusingly called auddev_freebsd.c - a throwback to when there was only one sound driver interface). With Voxware/OSS the correct way to detect full duplex is to open the card half-duplex first and probe for full duplex. The device can then be made full duplex using ioctl SNDCTL_DSP_SETDUPLEX or by re-opening it. The file used on FreeBSD since rat-3.2 is auddev_luigi.c for pcm/newpcm, and unless you hack the configure script you'll be using this file. cheers - Orion. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 14:53:34 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from lunatic.oneinsane.net (lunatic.oneinsane.net [207.113.133.231]) by hub.freebsd.org (Postfix) with ESMTP id 2DC3F37B423 for ; Fri, 15 Sep 2000 14:53:32 -0700 (PDT) Received: by lunatic.oneinsane.net (Postfix, from userid 1000) id EB10A15551; Fri, 15 Sep 2000 14:53:30 -0700 (PDT) Date: Fri, 15 Sep 2000 14:53:30 -0700 From: Ron 'The InSaNe One' Rosson To: freebsd-multimedia@freebsd.org Subject: Cool input plugin for xmms Message-ID: <20000915145330.A95632@lunatic.oneinsane.net> Reply-To: Ron Rosson Mail-Followup-To: freebsd-multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD lunatic.oneinsane.net 4.1-STABLE X-Moon: The Moon is Waning Gibbous (96% of Full) X-Opinion: What you read here is my IMHO X-WWW: http://www.oneinsane.net X-GPG-FINGERPRINT: 3F11 DB43 F080 C037 96F0 F8D3 5BD2 652B 171C 86DB X-Uptime: 2:52PM up 1 day, 3:33, 1 user, load averages: 1.08, 1.06, 1.06 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This makes our xmms act as a digital DJ. Anyone up for seeing if they can get it to work on FreeBSD. ;-) I will be your test rat ;-) -- ------------------------------------------------------------------------------ Ron Rosson ... and a UNIX user said ... The InSaNe One rm -rf * insane@oneinsane.net and all was /dev/null and *void() ------------------------------------------------------------------------------ DM Advice: Lead figurines do not taste very good. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 14:55:26 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from lunatic.oneinsane.net (lunatic.oneinsane.net [207.113.133.231]) by hub.freebsd.org (Postfix) with ESMTP id C7D9B37B423 for ; Fri, 15 Sep 2000 14:55:24 -0700 (PDT) Received: by lunatic.oneinsane.net (Postfix, from userid 1000) id 1FB1715551; Fri, 15 Sep 2000 14:55:24 -0700 (PDT) Date: Fri, 15 Sep 2000 14:55:24 -0700 From: Ron 'The InSaNe One' Rosson To: freebsd-multimedia@freebsd.org Subject: Cool input plugin for xmms Message-ID: <20000915145524.B95632@lunatic.oneinsane.net> Reply-To: Ron Rosson Mail-Followup-To: freebsd-multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD lunatic.oneinsane.net 4.1-STABLE X-Moon: The Moon is Waning Gibbous (96% of Full) X-Opinion: What you read here is my IMHO X-WWW: http://www.oneinsane.net X-GPG-FINGERPRINT: 3F11 DB43 F080 C037 96F0 F8D3 5BD2 652B 171C 86DB X-Uptime: 2:53PM up 1 day, 3:35, 1 user, load averages: 1.08, 1.05, 1.06 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ooops.. Forgot to put the URL in http://dbmix.sourceforge.net/ This makes our xmms act as a digital DJ. Anyone up for seeing if they can get it to work on FreeBSD. ;-) I will be your test rat ;-) -- ------------------------------------------------------------------------------ Ron Rosson ... and a UNIX user said ... The InSaNe One rm -rf * insane@oneinsane.net and all was /dev/null and *void() ------------------------------------------------------------------------------ DM Advice: Lead figurines do not taste very good. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 17:19:50 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from flux.ptc.spbu.ru (flux.ptc.spbu.ru [195.19.225.195]) by hub.freebsd.org (Postfix) with ESMTP id 9861537B43E for ; Fri, 15 Sep 2000 17:19:47 -0700 (PDT) Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by flux.ptc.spbu.ru (8.9.3/8.9.3/cf-1.0.rbl) with ESMTP id EAA84663 for ; Sat, 16 Sep 2000 04:19:45 +0400 (MSD) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id EAA27978 for freebsd-multimedia@FreeBSD.ORG; Sat, 16 Sep 2000 04:19:45 +0400 (MSD) Date: Sat, 16 Sep 2000 04:19:44 +0400 From: "Valeriy E. Ushakov" To: freebsd-multimedia@FreeBSD.ORG Subject: Reading VCD's Message-ID: <20000916041944.C27897@snark.ptc.spbu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is there any reason why ATAPI CD driver patch to read VCD &c from http://people.freebsd.org/~luoqi/ is not in stable yet after more than an year??? I have couple of cartoons on VCD for my 8 years old and I have to boot to 9x to play them. It gives him bad impression about FreeBSD (his previous systems were Ultrix on uVAX2k and NetBSD/sparc on SS1 :-) I know it's easy to apply the patch myself, but I track -STABLE and reappling patch is a PITA. Recent /dev/acd*t* commit was MFC'ed to 4-STABLE but MAKEDEV is still not updated and when I manully created devices and tried to grab a VCD track it barfed. (I tried to grab an audio track from an audio CD and it dumped 550+ megs on me). In any event luoqi's CDIOCREADCD looks like a reasonable interface and with his patch Linux MTV can play VCD directly off the CD (not that I use MTV, though). Thanks. SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 17:38:57 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.montana.com (mailA.montana.com [199.2.139.116]) by hub.freebsd.org (Postfix) with ESMTP id 3211C37B423 for ; Fri, 15 Sep 2000 17:38:52 -0700 (PDT) Received: from destruo.lama (boz3-190.montana.com [207.40.45.190]) by mail.montana.com (8.10.1/8.10.1) with SMTP id e8G0c9P18967 for ; Fri, 15 Sep 2000 18:38:10 -0600 (MDT) From: Matthew Sos To: freebsd-multimedia@FreeBSD.ORG Subject: pcm strangeness on Athlon Date: Fri, 15 Sep 2000 18:42:25 +0000 X-Mailer: KMail [version 1.1.90] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00091518422500.00806@destruo.lama> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm having some odd problems with audio on my new Athlon box. I've tried two cards so far (serperately, of course) -- an Ensoniq 1371 and an older ISA Sound Blaster 16. Both cards pop and click while playing mp3s or wav sounds. The Ensoniq also tends to periodically emit an awful schreeching noise while the cpu is under high load. I never had this problem on my old Pentium II. Sound output was good until I upgraded :( I'm running a recent build of 4.1 stable and using the newpcm sound drivers. Has any other Athlon user out there experienced this? I'd be glad for any suggestions. Thanks! Matt -- Matthew Sos Bozeman, MT msos@avicom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 18:11:47 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by hub.freebsd.org (Postfix) with ESMTP id ECBA837B42C for ; Fri, 15 Sep 2000 18:11:44 -0700 (PDT) Received: from fwd01.sul.t-online.com by mailout01.sul.t-online.com with smtp id 13a6W7-0000Pe-01; Sat, 16 Sep 2000 03:11:43 +0200 Received: from giskard.foundation.hs (320048919767-0001@[62.155.180.57]) by fwd01.sul.t-online.com with esmtp id 13a6Vw-0V0x0aC; Sat, 16 Sep 2000 03:11:32 +0200 Received: from daneel.foundation.hs (daneel.foundation.hs [192.168.20.2]) by giskard.foundation.hs (8.9.3/8.9.3) with ESMTP id DAA19124 for ; Sat, 16 Sep 2000 03:12:42 +0200 (CEST) (envelope-from hschaefer@fto.de) Date: Sat, 16 Sep 2000 03:11:17 +0200 (CEST) From: 320048919767-0001@t-online.de (Heiko Schaefer) To: freebsd-multimedia@freebsd.org Subject: shared video memory trouble Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 320048919767-0001@t-dialin.net Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi everyone! for some days i have been trying to figure out why i can't allocate any substantial amount of memory by using either the XvShmCreateImage or the XShmCreateImage calls. i am using freebsd 4.1-release with xfree-4.0.1 (i tried the package first, then compiled xfree by hand just to be sure the port wasn't the cause). my graphics card is a matrox g400 agp with 32mb of ram. i can allocate 6 frames of memory at 720x576x16bpp on freebsd, while on a test linux installation on the same box i can allocate nearly 100 of these frames. the problem seems to be freebsd-related i figured. a friend of mine reproduced the effect on another freebsd 4.1 box. any hints/pointers are appreciated! regards, Heiko To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 20:50:13 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 1961D37B422; Fri, 15 Sep 2000 20:50:11 -0700 (PDT) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id UAA50828; Fri, 15 Sep 2000 20:46:42 -0700 (PDT) Received: (from ambrisko@localhost) by whistle.com (8.9.3/8.9.1) id UAA30857; Fri, 15 Sep 2000 20:46:08 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200009160346.UAA30857@whistle.com> Subject: Re: Anyone with i810 hardware? In-Reply-To: <000d01c01e9e$0638ddb0$0504020a@haveblue> from Cameron Grant at "Sep 14, 2000 11:49:22 pm" To: Cameron Grant Date: Fri, 15 Sep 2000 20:46:07 -0700 (PDT) Cc: Dan Moschuk , multimedia@FreeBSD.ORG, ru@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Cameron Grant writes: | > | There is already a working version of the i810 sound driver: | > | | > | http://www.katsurajima.seya.yokohama.jp/ich/ | > | > Even easier. :) | | it would be nice if people informed me about newpcm drivers they have | written or are working on so that i can get them committed to the tree. BTW, I sent the author a patch to make it work on the IBM machines we have here based on the 810E & 840 chipsets. I also added the AD1881 AC'97 id's to ac97.c. BTW I have a question on in the ac97.c. In ac97.c their is the ac97mixtable_entry. This maps various things to the real parts. Now I have a reason to want to change SOUND_MIXER_VOLUME from using AC97_MIX_MASTER to AC97_MIX_MONO. I can do this and it basically works except in ac97.c it uses AC97_MIX_MASTER explicitly. Now I changed that to use the structure and that works fine so now changing the mixer SOUND_MIXER_VOLUME changes the Mono output. However, during intialization in ich.c it uses AC97_MIX_MASTER directly I would prefer it use ac97mixtable_entry structure. This currently isn't possible since the ac97mixtable_entry structure is static. I guess I could just change the #define of AC97_MIX_MASTER to AC97_MIX_MONO. I think if would be cleaner if it could be remapped via ac97mixtable_entry since it understand the offset, width and various capabilities of that register. Any ideas on this. Lastly, using the prior and current version of ich.c mpg123 works fine but RealPlayer plays 2X the speed it should. I did a quick hack that does a divide by 2 passed to the frequency register and that fixed the problem. I need to investigate it more. Any ideas on this as well. In any case I think this is usefull as is and should be commited. BTW I like AC'97 it finally looks like a sound standard that should just work with new devices without much work. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 20:57:40 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by hub.freebsd.org (Postfix) with ESMTP id 1A1AE37B422 for ; Fri, 15 Sep 2000 20:57:38 -0700 (PDT) Received: from ix.netcom.com (user-2ini9a5.dialup.mindspring.com [165.121.37.69]) by tisch.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id XAA27080 for ; Fri, 15 Sep 2000 23:57:34 -0400 (EDT) Message-ID: <39C2EFAB.48D57D2B@ix.netcom.com> Date: Fri, 15 Sep 2000 20:57:32 -0700 From: Ben Speirs X-Mailer: Mozilla 4.73 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: multimedia Subject: Can't open MIDI device Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm running an old SoundBlaster AWE32 under FreeBSD 4.0-Stable from July 11. I get this message when I run some programs. Can't open MIDI device '/dev/sequencer', errno 6 (Device not configured) ! Is this typical for all sound cards? Can I chuck this one and just buy something else that works. Do I need new sound drivers or do I need to update my sources? I remember reading about development of the "newmidi" several months back. Is it still going or did it die? FWIW here is my setup PPro200 device pcm device sbc -- -Ben Speirs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 15 22:44:17 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailrouter1.strath.ac.uk (orkney.cc.strath.ac.uk [130.159.248.40]) by hub.freebsd.org (Postfix) with ESMTP id 0A14F37B42C for ; Fri, 15 Sep 2000 22:44:15 -0700 (PDT) Received: from m492-mp1-cvx1c.edi.ntl.com ([62.253.13.236] helo=cs.strath.ac.uk) by mailrouter1.strath.ac.uk with esmtp (Exim 3.12 #2) id 13aAlV-000053-00; Sat, 16 Sep 2000 06:43:54 +0100 Message-ID: <39C30923.73F3878B@cs.strath.ac.uk> Date: Sat, 16 Sep 2000 06:46:11 +0100 From: Roger Hardiman Organization: Strathclyde University X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 4.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Ben Speirs Cc: multimedia Subject: Re: Can't open MIDI device References: <39C2EFAB.48D57D2B@ix.netcom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ben > Can't open MIDI device '/dev/sequencer', errno 6 (Device not configured) > Is this typical for all sound cards? > I remember reading about development of the > "newmidi" several months back. Is it still going or did it die? There is no 'midi' or 'sequencer' support in FreeBSD 4.x yet for any sound card in the newpcm driver so you will get this with all sound cards. As for newmidi, the code is already in -current undergoing testing. I've not tried it myself so I've no idea how good it is but I'm sure it will be merged in to the 4.x-stable branch at some point in the future. Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Sep 16 2:37:57 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 05DCB37B424 for ; Sat, 16 Sep 2000 02:37:51 -0700 (PDT) Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #20) id 13aEPt-00012Z-00; Sat, 16 Sep 2000 11:37:49 +0200 Received: from a3462.pppool.de ([213.6.52.98] helo=Magelan.Leidinger.net) by mx1.freenet.de with esmtp (Exim 3.16 #20) id 13aEPs-0005l1-00; Sat, 16 Sep 2000 11:37:48 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.0/8.11.0) with ESMTP id e8G8mEt01576; Sat, 16 Sep 2000 10:48:15 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200009160848.e8G8mEt01576@Magelan.Leidinger.net> Date: Sat, 16 Sep 2000 10:48:13 +0200 (CEST) From: Alexander Leidinger Subject: Re: shared video memory trouble To: 320048919767-0001@t-online.de Cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 16 Sep, Heiko Schaefer wrote: > for some days i have been trying to figure out why i can't allocate any > substantial amount of memory by using either the XvShmCreateImage or the > XShmCreateImage calls. [...] > any hints/pointers are appreciated! Search for "SHM" in /sys/i386/conf/LINT. Bye, Alexander. -- If Bill Gates had a dime for every time a Windows box crashed... ...Oh, wait a minute, he already does. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Sep 16 7:46:23 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from pixy.netlab.is.tsukuba.ac.jp (netlab-83.netlab.is.tsukuba.ac.jp [130.158.83.243]) by hub.freebsd.org (Postfix) with SMTP id 974DF37B42C for ; Sat, 16 Sep 2000 07:46:17 -0700 (PDT) Received: (qmail 63526 invoked from network); 16 Sep 2000 14:46:16 -0000 Received: from unicorn.netlab.is.tsukuba.ac.jp (HELO localhost) (130.158.85.5) by pixy.netlab.is.tsukuba.ac.jp with SMTP; 16 Sep 2000 14:46:16 -0000 To: multimedia@freebsd.org Subject: Re: Anyone with i810 hardware? In-Reply-To: <20000914185003.D46076@sunbay.com> References: <20000912110456.A986@spirit.jaded.net> <20000914185003.D46076@sunbay.com> X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000916234616A.ush@netlab.is.tsukuba.ac.jp> Date: Sat, 16 Sep 2000 23:46:16 +0900 From: Ushine Hiroyuki X-Dispatcher: imput version 20000228(IM140) Lines: 39 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ru> There is already a working version of the i810 sound driver: ru> ru> http://www.katsurajima.seya.yokohama.jp/ich/ This driver(September 8,2000) have following problems yet. *PROBLEMS 1) It is designed for 4.1-stable, not for -current. 2) It assume AC'97 codec have VSR (Variable Sample Rate) extension in AC'97 rev 2.1 Appendix A, but many codecs(YAMAHA's except YMF- 752, AvanceLogic ALC100, ...) don't have it. You can play and record 48KHz/16bit/2ch sound format only, if your chip don't have it. 3) When I/O load is heavy, it causes 'play interrupt timeout', and can't continue playing. * HOW TO INSTALL 1) download ich.c.gz(6632Bytes, MD5:edc8cda20a9330ffd8ad56cd850a43ad) http://www.katsurajima.seya.yokohama.jp/ich/ich.c.gz 2) extract and copy to src tree. gunzip ich.c.gz cp ich.c /usr/src/sys/dev/sound/pci 3) append following line to /usr/src/sys/conf/files. dev/sound/pci/ich.c optional pcm pci 4) build kernel and install (if you want to specify configfile, KERNEL=) cd /usr/src make buildkernel make installkernel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Sep 16 12:50:10 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 3AAED37B422 for ; Sat, 16 Sep 2000 12:50:08 -0700 (PDT) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id MAA17551; Sat, 16 Sep 2000 12:48:54 -0700 (PDT) Received: (from ambrisko@localhost) by whistle.com (8.9.3/8.9.1) id MAA43474; Sat, 16 Sep 2000 12:48:43 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200009161948.MAA43474@whistle.com> Subject: Re: AC97_MIXER_MONO (was Re: Anyone with i810 hardware?) In-Reply-To: from Taku YAMAMOTO at "Sep 16, 2000 01:28:45 pm" To: Taku YAMAMOTO Date: Sat, 16 Sep 2000 12:48:43 -0700 (PDT) Cc: Doug Ambrisko , Cameron Grant , multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Taku YAMAMOTO writes: | At Fri, 15 Sep 2000 20:46:07 -0700 (PDT), | Doug Ambrisko wrote: | > BTW I have a question on in the ac97.c. In ac97.c their is the | > ac97mixtable_entry. This maps various things to the real parts. | > Now I have a reason to want to change SOUND_MIXER_VOLUME from | > using AC97_MIX_MASTER to AC97_MIX_MONO. I can do this and it basically | | Why do you want to? We have this motherboard that needs to be embedded in a product. We would like to have sound builtin and the only internal header that is connected to the codec is the modem connector which has Mono out (or Phone out). To connect to the standard audio out we would have to connect to the ATX back connectors on the outside of the chasis. Also since we only have one speaker we don't need the stereo output. | > works except in ac97.c it uses AC97_MIX_MASTER explicitly. Now I changed | > that to use the structure and that works fine so now changing | > the mixer SOUND_MIXER_VOLUME changes the Mono output. However, during | > intialization in ich.c it uses AC97_MIX_MASTER directly I would prefer | > it use ac97mixtable_entry structure. This currently isn't possible | > since the ac97mixtable_entry structure is static. | (snip) | > Any ideas on this. | | How about mapping SOUND_MIXER_PHONEOUT to AC97_MIX_MONO? | With having SOUND_MIXER_PHONEOUT initial value in | snd_mixerdefaults[] (/sys/dev/sound/pcm/mixer.c) will work. Actually I have done that, and should work however it would require application level support, for example "mixer" doesn't support modifying that parameter: 770z% mixer Mixer synth is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer mix is currently set to 0:0 Mixer igain is currently set to 0:0 770z% It is something that I considered and may do however it requires application changes. Just mapping AC97_MIX_MONO to SOUND_MIXER_VOLUME then lets me adjust things via "mixer vol" and requires no application changes (but does require a small kernel change). Also the reason that I like the idea of using ac97mixtable_entry for everything is that it gives a clean consistant point of reference. I found in ac97.c that uses both the AC97_MIX_MASTER and ac97mixtable_entry[SOUND_MIXER_VOLUME]. It was a trivial change to switch AC97_MIX_MASTER to be ac97mixtable_entry[SOUND_MIXER_VOLUME].reg and then get rid of AC97_MIX_MASTER in the code. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message