sound driver
Hello, I have a little problem with my soundcard : [ttyp4] [20:57] [EMAIL PROTECTED]:~ dmesg | grep pcm pcm0: Yamaha OPL-SAx at port 0x370-0x371,0x330-0x331,0x388-0x38b,0x530-0x537,0x220-0x22f irq 5 drq 1,0 on isa0 1st 0xc17121c0 pcm0 (sound softc) @ dev/sound/isa/mss.c:179 2nd 0xc174f340 pcm0:play:0 (pcm channel) @ dev/sound/pcm/channel.c:440 -- Daniel Kanafa ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
-current and sound driver problem (maybe just Maestro)
Suddenly I cannot open the mixer device and the dsp device at once this means I cannot run xamp and xmix a the same time (for example) cvsupped as of last night dmesg: pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on pci0 The 2nd device to open the devices get's a 'busy' error. -- ++ __ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ [EMAIL PROTECTED] +--x USA\ a very strange | ( OZ)\___ ___ | country ! +- X_.---._/presently in San Francisco \_/ \\ v To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: sound driver breakage/megapatch
Apr 19 15:09:31 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead Apr 19 15:19:00 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead can anyone suffering from this problem confirm that the hardware is generating interrupts? use 'systat -vm 1' to watch while you try to play sound. -cg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: sound driver breakage/megapatch
Hello, When was this megapatch? I have a kernel world from evening of 18th CEST, and my SB 64 AWE rocks as usual. I even figured out, how to play Shoutcast streams with mpg123 which enabled me to listen to my favourite radio on the console:-) Doing it right now:-) -- Regards: Szilveszter ADAM Szeged University Szeged Hungary To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: sound driver breakage/megapatch
No, it's not generating interrupts. On Fri, 20 Apr 2001, Cameron Grant wrote: Date: Fri, 20 Apr 2001 17:06:58 +0100 From: Cameron Grant [EMAIL PROTECTED] To: Scott Hazen Mueller [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: sound driver breakage/megapatch Apr 19 15:09:31 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead Apr 19 15:19:00 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead can anyone suffering from this problem confirm that the hardware is generating interrupts? use 'systat -vm 1' to watch while you try to play sound. -cg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: sound driver breakage/megapatch
Apr 19 15:09:31 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead Apr 19 15:19:00 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead can anyone suffering from this problem confirm that the hardware is generating interrupts? use 'systat -vm 1' to watch while you try to play sound. Oh, sorry - yes, I can... I watched the pcm interrupt (irq 9 on my box) increment using vmstat -i. I had seen something in the archives about that not happening. \scott To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: sound driver breakage/megapatch
Oh, sorry - yes, I can... I watched the pcm interrupt (irq 9 on my box) increment using vmstat -i. I had seen something in the archives about that not happening. is there any other device using irq 9? -cg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: sound driver breakage/megapatch
Oh, sorry - yes, I can... I watched the pcm interrupt (irq 9 on my box) increment using vmstat -i. I had seen something in the archives about that not happening. is there any other device using irq 9? vmstat -i interrupt total rate stray irq0 10 stray irq6 10 stray irq7 10 stray irq15 10 ata0 irq14 212797 ata1 irq15 40 atkbd0 irq1 75692 psm0 irq12 27669 10 fdc0 irq6 10 clk irq0 272328 100 ep0 irq5 122422 44 Total 451276 165 [Sound driver is currently not loaded. Putting the .ko files into loader.conf.local hangs the system during boot? Dunno if this is a clue or no.] grep "irq.*9" /var/log/messages Apr 16 09:46:07 zorba /boot/kernel/kernel: pci0: NeoMagic MagicMedia 256AV SVGA controller at 8.0 irq 9 Apr 16 09:46:07 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 Apr 17 10:01:53 zorba /boot/kernel/kernel: pci0: NeoMagic MagicMedia 256AV SVGA controller at 8.0 irq 9 Apr 17 10:01:53 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 Apr 18 10:10:45 zorba /boot/kernel/kernel: pci0: NeoMagic MagicMedia 256AV SVGA controller at 8.0 irq 9 Apr 18 10:10:45 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 Apr 19 14:44:30 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 Apr 19 15:31:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 Apr 19 15:53:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 Apr 19 18:47:21 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 I'm pretty sure not. \scott To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: sound driver breakage/megapatch
I'm sorry, I was wrong, I have the same problem that Scott: # vmstat -i interrupt total rate stray irq0 10 stray irq6 10 stray irq7 10 ata0 irq14 337983 15 ata1 irq15 200 fdc0 irq6 10 atkbd0 irq1 462472 psm0 irq12 229981 clk irq0 2185682 99 rtc irq8 2797782 128 sio1 irq3 251802 11 ed1 irq11 317241 Total 5674242 259 # dmesg |grep "irq 9" pcm0: Yamaha DS-1E (YMF744) mem 0xfedf-0xfedf7fff irq 9 at device 9.0 on pci0 daniel.- On Fri, 20 Apr 2001, Daniel wrote: Date: Fri, 20 Apr 2001 17:40:45 -0300 (ART) From: Daniel [EMAIL PROTECTED] To: Cameron Grant [EMAIL PROTECTED] Cc: Scott Hazen Mueller [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: sound driver breakage/megapatch No, it's not generating interrupts. On Fri, 20 Apr 2001, Cameron Grant wrote: Date: Fri, 20 Apr 2001 17:06:58 +0100 From: Cameron Grant [EMAIL PROTECTED] To: Scott Hazen Mueller [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: sound driver breakage/megapatch Apr 19 15:09:31 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead Apr 19 15:19:00 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead can anyone suffering from this problem confirm that the hardware is generating interrupts? use 'systat -vm 1' to watch while you try to play sound. -cg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
sound driver breakage/megapatch
It looks like the recent sound driver megapatch broke (at least) the Neomagic 256AV driver. With a cvsup from yesterday, trying to do play mp3 files got trash that was vaguely recognizable as a seriously distorted version of the original piece. I did some trolling of the cvsweb and decided to roll back to a fixed date (2001.03.24.00.00.00) before the megapatch. I've rebuilt the .ko files and unloaded/reloaded them; I now have working sound. The failing sound also generated this error Apr 19 15:09:31 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead Apr 19 15:19:00 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead The probe message "before" (removing megapatch) - Apr 19 15:31:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 The probe message "after" (removing megapatch) - Apr 19 15:53:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 And, somewhere in here, "hwintr went backwards" went away. Hope this helps. \scott To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: sound driver breakage/megapatch
On Thu, Apr 19, 2001 at 04:02:18PM -0700, Scott Hazen Mueller wrote: It looks like the recent sound driver megapatch broke (at least) the Neomagic 256AV driver. With a cvsup from yesterday, trying to do play mp3 files got trash that was vaguely recognizable as a seriously distorted version of the original piece. I did some trolling of the cvsweb and decided to roll back to a fixed date (2001.03.24.00.00.00) before the megapatch. I've rebuilt the .ko files and unloaded/reloaded them; I now have working sound. The failing sound also generated this error Apr 19 15:09:31 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead Apr 19 15:19:00 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead The probe message "before" (removing megapatch) - Apr 19 15:31:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 The probe message "after" (removing megapatch) - Apr 19 15:53:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 And, somewhere in here, "hwintr went backwards" went away. Hope this helps. Same thing here with Creative AWE64 PnP ISA sound card. pcm1: play interrupt timeout, channel dead pcm1: play interrupt timeout, channel dead sbc0: Creative SB AWE64 at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 pcm1: SB16 DSP 4.16 on sbc0 FreeBSD enia.bastun.net 5.0-CURRENT FreeBSD 5.0-CURRENT #19: Thu Apr 19 19:40:03 EEST 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/ENIA i386 Boris Georgiev To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: sound driver breakage/megapatch
I have the same problem on a Sony VAIO PCG-XG38 running -current pcm0: Yamaha DS-1E (YMF744) mem 0xfedf-0xfedf7fff irq 9 at device 9.0 on pci0 daniel.- On Thu, 19 Apr 2001, Scott Hazen Mueller wrote: Date: Thu, 19 Apr 2001 16:02:18 -0700 (PDT) From: Scott Hazen Mueller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: sound driver breakage/megapatch It looks like the recent sound driver megapatch broke (at least) the Neomagic 256AV driver. With a cvsup from yesterday, trying to do play mp3 files got trash that was vaguely recognizable as a seriously distorted version of the original piece. I did some trolling of the cvsweb and decided to roll back to a fixed date (2001.03.24.00.00.00) before the megapatch. I've rebuilt the .ko files and unloaded/reloaded them; I now have working sound. The failing sound also generated this error Apr 19 15:09:31 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead Apr 19 15:19:00 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead The probe message "before" (removing megapatch) - Apr 19 15:31:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 The probe message "after" (removing megapatch) - Apr 19 15:53:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0 And, somewhere in here, "hwintr went backwards" went away. Hope this helps. \scott To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Panic within sound driver
I systematically get the following panic since the end of March at boot time: Kernel trap 12 with interrupt disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x65656e48XXX een8 XXX fault code = supervisor read, page not present instruction pointer = 0x8:0xc01aba3a stack pointer = 0x10:0xc03d66ac frame pointer = 0x10:0xc03d66b8 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, IOPL = 0 current process = 0 (swapper) Kernel: type 12 trap, code = 0 Stopped at _mtx_lock_sleep+0x2e2: movb 0x1d5(%edx),%al _mtx_lock_sleep snd_mtxlock ad1816_lock ad1816mix_set mixer_set ad1816_attach device_probe_and_attach isa_probe_children configure mi_startup Any idea? Source from a few hours ago. # # CAERDONN # # $Id: //depot/caerdonn/kernel/CAERDONN#14 $ machine i386 cpu I686_CPU ident CAERDONN maxusers48 makeoptions DEBUG="-g" options INET#InterNETworking options FFS #Berkeley Fast Filesystem options PROCFS options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE#Allow users to grab the console options CLK_USE_TSC_CALIBRATION options SYSVSHM options SYSVSEM options SYSVMSG options SHMMAXPGS=2048 options DEVFS options DDB options INVARIANTS options INVARIANT_SUPPORT options KTRACE options IPSEC options IPSEC_ESP options SOFTUPDATES options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L device isa device pci device miibus device fxp device fdc device ata device atapicd # A single entry for any of these controllers (ncr, ahb, ahc) is sufficient # for any number of installed devices. device ahc device scbus device da device sa device cd device pass #CAM passthrough driver device atkbdc 1 device atkbd device psm device vga device sc 1 device splash device random device npx device sio device ppc device ppbus device lpt device ppi device pcm device loop device ether device tun 2 device pty device gzip# Exec gzipped a.out's device bpf 4 device snp 4 -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED] FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan 3 15:52:00 CET 2001 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Panic within sound driver
On Tue, 10 Apr 2001, Ollivier Robert wrote: Stopped at _mtx_lock_sleep+0x2e2: movb 0x1d5(%edx),%al _mtx_lock_sleep snd_mtxlock ad1816_lock Following patch should fix, I'll commit this to -current later. - greid Index: ad1816.c === RCS file: /usr/home/ncvs/src/sys/dev/sound/isa/ad1816.c,v retrieving revision 1.17 diff -u -r1.17 ad1816.c --- ad1816.c2001/03/24 23:10:25 1.17 +++ ad1816.c2001/04/10 13:47:55 @@ -88,13 +88,13 @@ static void ad1816_lock(struct ad1816_info *ad1816) { - snd_mtxlock(ad1816); + snd_mtxlock(ad1816-lock); } static void ad1816_unlock(struct ad1816_info *ad1816) { - snd_mtxunlock(ad1816); + snd_mtxunlock(ad1816-lock); } static int To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Panic within sound driver
Stopped at _mtx_lock_sleep+0x2e2: movb 0x1d5(%edx),%al _mtx_lock_sleep snd_mtxlock ad1816_lock fix just committed, sys/dev/sound/isa/ad1816.c rev 1.18. you must be the only freebsd user on the planet with an ad1816. :) -cg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Panic within sound driver
According to Cameron Grant: fix just committed, sys/dev/sound/isa/ad1816.c rev 1.18. you must be the only freebsd user on the planet with an ad1816. :) That's what I was thinking :) Thanks, I'll just reboot now to test the patch. -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED] FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan 3 15:52:00 CET 2001 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Panic within sound driver
According to Cameron Grant: fix just committed, sys/dev/sound/isa/ad1816.c rev 1.18. you must be the only freebsd user on the planet with an ad1816. :) Works fine BTW, thanks to you two. -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED] FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan 3 15:52:00 CET 2001 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Sound driver broken
Sources as of a few minutes ago. cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../dev -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../dev/sound/pcm/channel.c ../../dev/sound/pcm/channel.c: In function `chn_lockinit': ../../dev/sound/pcm/channel.c:50: structure has no member named `mutex' ../../dev/sound/pcm/channel.c:50: structure has no member named `name' ../../dev/sound/pcm/channel.c:51: structure has no member named `mutex' The pcm_channel struct has no mutex field... -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED] FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan 3 15:52:00 CET 2001 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
modified ich sound driver for current?
Mixer stuff was modified couple days ago. Does anyone have working ich driver? I got original driver from http://www.katsurajima.seya.yokohama.jp/ich/index.en.html but now this site is dead. Does author (Katsurajima Naoto) of this driver read FreeBSD mailing lists? Could someone include this driver to current so it get updated? -- SUN Microsystems Oy PL 112, Lars Sonckin kaari 12, 02601 ESPOO, Finland Tomi Vainio (System Support Engineer) +358 9 52556300 hotline email: [EMAIL PROTECTED]+358 9 52556252 fax To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: modified ich sound driver for current?
Mixer stuff was modified couple days ago. Does anyone have working ich driver? I got original driver from more than that, a couple of weeks would be closer. http://www.katsurajima.seya.yokohama.jp/ich/index.en.html but now this site is dead. Does author (Katsurajima Naoto) of this driver read FreeBSD mailing lists? Could someone include this driver to current so it get updated? i'm not happy with some of the things the driver does, so until i can modify it i won't commit it. this necessitates having hardware to test with, which i should be getting in the near future. -cg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
RE: modified ich sound driver for current?
Howdy, I modified the mentioned driver when newpcm got kobjified and submitted the patches back to the author. I didn't get a reply. I haven't synced up my laptop to current since about the new year, so I don't know if it works with any changes made. Rather than send the patch to the list, I'll e-mail it to anyone that asks. Regards, Chris Knight Systems Administrator AIMS Independent Computer Professionals Tel: +61 3 6334 6664 Fax: +61 3 6331 7032 Mob: +61 419 528 795 Web: http://www.aims.com.au -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tomi Vainio - Sun Finland - Sent: Wednesday, 17 January 2001 8:56 To: [EMAIL PROTECTED] Subject: modified ich sound driver for current? Mixer stuff was modified couple days ago. Does anyone have working ich driver? I got original driver from http://www.katsurajima.seya.yokohama.jp/ich/index.en.html but now this site is dead. Does author (Katsurajima Naoto) of this driver read FreeBSD mailing lists? Could someone include this driver to current so it get updated? -- SUN Microsystems Oy PL 112, Lars Sonckin kaari 12, 02601 ESPOO, Finland Tomi Vainio (System Support Engineer) +358 9 52556300 hotline email: [EMAIL PROTECTED]+358 9 52556252 fax To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: modified ich sound driver for current?
Cameron Grant writes: i'm not happy with some of the things the driver does, so until i can modify it i won't commit it. this necessitates having hardware to test with, which i should be getting in the near future. Nice to know that someone is even thinking about what to do with this driver. Chris Knight writes: I modified the mentioned driver when newpcm got kobjified and submitted the patches back to the author. I didn't get a reply. I haven't synced up my laptop to current since about the new year, so I don't know if it works with any changes made. Rather than send the patch to the list, I'll e-mail it to anyone that asks. Your modification worked just fine and my laptop is back in business. Tomppa -- SUN Microsystems Oy PL 112, Lars Sonckin kaari 12, 02601 ESPOO, Finland Tomi Vainio (System Support Engineer) +358 9 52556300 hotline email: [EMAIL PROTECTED]+358 9 52556252 fax To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
FW: fm801 sound driver
Fellows, There is a Forte Media FM801 sound chip support attached (one file). I have browsed the handbook and could not find anything how to (and whom to) submit the source code. Anyway, the code should be in /usr/srs/sys/dev/sound/pci/fm801.c and the file /usr/src/sys/conf/files should contain the line as follows: dev/sound/pci/fm801.c optional pcm pci ... Ok, if somebody has this hardware, I'll be happy to get some comments and bug reports. Have fun, regards, Dmitry. -- ** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`)DataArt Enterprises, Inc. (_Y_.)' ._ ) `._ `. ``-..-' Serpukhovskaja street, 10 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 3261780, 5552490 ** fm801.c
Re: Sound driver
On Sun, 12 Mar 2000, Ron 'The InSaNe One' Rosson wrote: I am running CURRENT as of last week. I seem to be only able to get my sound to work when I use: option PNPBIOS device pcm0 Here is the dmesg output: unknown9: ESS0009 at port 0x800-0x807 on isa0 sbc0: ESS ES1879 at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,5 on isa0 pcm0: SB DSP 3.01 (ESS mode) on sbc0 unknown10: ESS0001 at port 0x201 on isa0 I would like to get rid of all the unknowns caused by the PNPBIOS option. If anyone has any ideas I am game to try. Sorry for the cross-post Don't worry about the unknowns. They are placeholders for attaching other standard devices (e.g. keyboard, mouse etc). Not all of the drivers were converted for various reasons but later releases will use these entries. -- Doug Rabson Mail: [EMAIL PROTECTED] Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Sound driver
Ron 'The InSaNe One' Rosson wrote: I am running CURRENT as of last week. I seem to be only able to get my sound to work when I use: option PNPBIOS device pcm0 Here is the dmesg output: unknown9: ESS0009 at port 0x800-0x807 on isa0 sbc0: ESS ES1879 at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,5 on isa0 pcm0: SB DSP 3.01 (ESS mode) on sbc0 unknown10: ESS0001 at port 0x201 on isa0 I would like to get rid of all the unknowns caused by the PNPBIOS option. If anyone has any ideas I am game to try. Try adding "device joy" to your configuration file. The ESS0001 looks like a game/joystick port. Someone might need to add device ID to the driver though. Jim Bloom [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Sound driver
I am running CURRENT as of last week. I seem to be only able to get my sound to work when I use: option PNPBIOS device pcm0 Here is the dmesg output: unknown9: ESS0009 at port 0x800-0x807 on isa0 sbc0: ESS ES1879 at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,5 on isa0 pcm0: SB DSP 3.01 (ESS mode) on sbc0 unknown10: ESS0001 at port 0x201 on isa0 I would like to get rid of all the unknowns caused by the PNPBIOS option. If anyone has any ideas I am game to try. Sorry for the cross-post TIA -- --- Ron Rosson ... and a UNIX user said ... The InSaNe One rm -rf * [EMAIL PROTECTED]and all was /dev/null and *void() --- Errors have been made others will be blamed To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: New sound driver and Linux games
On 19-Dec-99 Brian W. Buchanan wrote: (and hence its sound system) in mind, not portability. snes9x plays a half second of audio for me, then loops it a few times before either SIGBUS or SIGSEGV. I've tried rebuilding it in case it had something to do with include file changes, but no dice. Does it mmap() the DMA sound buffers? I know Quake 2 does this, and preusmably so does Q3.. I have noticed that the new pcm driver doesn't seem to do mmap()'d audio very well :( --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: New sound driver and Linux games
On Sat, Dec 18, 1999 at 05:59:14PM -0800, Brian W. Buchanan wrote: The new sound driver (I'm using pcm0 and sbc0) seems to break a lot of Linux-centric games. Quake2, Q3Test, and snes9x (built from ports) all not a linux binary. I noticed snes9x's sound acting really weird too earlier today. -Chris -- [EMAIL PROTECTED] [EMAIL PROTECTED] Abbotsford, BC, Canada To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: New sound driver and Linux games
On Sat, 18 Dec 1999, Chris Piazza wrote: On Sat, Dec 18, 1999 at 05:59:14PM -0800, Brian W. Buchanan wrote: The new sound driver (I'm using pcm0 and sbc0) seems to break a lot of Linux-centric games. Quake2, Q3Test, and snes9x (built from ports) all not a linux binary. I noticed snes9x's sound acting really weird too earlier today. Yeah, I know snes9x isn't a linux binary, but it was written with Linux (and hence its sound system) in mind, not portability. snes9x plays about a half second of audio for me, then loops it a few times before dying with either SIGBUS or SIGSEGV. I've tried rebuilding it in case it had something to do with include file changes, but no dice. -- Brian Buchanan [EMAIL PROTECTED] -- FreeBSD - The Power to Serve! http://www.freebsd.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: New sound driver and Linux games
On Sat, 18 Dec 1999, Chris Piazza wrote: On Sat, Dec 18, 1999 at 05:59:14PM -0800, Brian W. Buchanan wrote: The new sound driver (I'm using pcm0 and sbc0) seems to break a lot of Linux-centric games. Quake2, Q3Test, and snes9x (built from ports) all not a linux binary. I noticed snes9x's sound acting really weird too earlier today. Yeah, I know snes9x isn't a linux binary, but it was written with Linux (and hence its sound system) in mind, not portability. snes9x plays about a half second of audio for me, then loops it a few times before dying with either SIGBUS or SIGSEGV. I've tried rebuilding it in case it had something to do with include file changes, but no dice. I don't think the looping/flangy audio in Q3Test is entirely the FreeBSD sound driver's problem. I have a friend who runs Linux and uses the ALSA (Advanced Linux Sound Architecture) driver. According to him, the ALSA driver suffers from the same symtoms our sbc/pcm combo does when playing Q3Test. I don't know if he's tried running Q2 or snes9x using ALSA drivers though. It could be that the OSS Voxware driver does something "unintentional" that some programmers are relying on. Unreal Tournament and XMAME audio works fine under newpcm, for instance. Strange. -jake To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: New sound driver and Linux games
It could be that the OSS Voxware driver does something "unintentional" that some programmers are relying on. Unreal Tournament and XMAME audio works fine under newpcm, for instance. Strange. Not really . Just go to http://www.opensound.com and look at their api in addition you have the old voxware sound driver in the kernel to look at . I made Quake and Quake 2 work with the voxware sound driver and it was not that hard . -- Amancio Hasty [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
pcm sound driver crashes at boot time.
I haven't been able to track down exactly where this is occuring, but disabling pcm allows eliminates the crash. The build is current as of Sun 18th. The one strange thing about this box, it has two sounds cards. A build in Yamaha OPL-3 (really really crappy) and Ensoniq AudioPCI 1371 (very hacked driver, So the problem may be my fault). But I guessing it has more to do with the newbus stuff. disk1s3a: boot -cv BIOS basemem (639K) != RTC basemem (640K), setting to BIOS value Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #7: Sun Apr 18 16:48:43 CDT 1999 catte...@lupo.thebarn.com:/export/cyan/src/sys/compile/LUPO Calibrating clock(s) ... TSC clock: 333005093 Hz, i8254 clock: 1193009 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter i8254 frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium II/Xeon/Celeron (333.05-MHz 686-class CPU) Origin = GenuineIntel Id = 0x652 Stepping=2 Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x1000 - 0x0009efff, 647168 bytes (158 pages) 0x00306000 - 0x03ffdfff, 63930368 bytes (15608 pages) avail memory = 62156800 (60700K bytes) Found BIOS32 Service Directory header at 0xc00fdb60 Entry = 0xfdb70 (0xc00fdb70) Rev = 0 Len = 1 PCI BIOS entry at 0xdb91 DMI header at 0xc00f6ab0 Version 0.0 Table at 0xf6b8d, 32 entries, 999 bytes Other BIOS signatures found: ACPI: $PnP: 000f7a60 Preloaded elf kernel kernel at 0xc02f1000. Pentium Pro MTRR support enabled, default memory type is uncacheable Math emulator present Initializing PnP override table Probing for PnP devices: Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 PnP: CSN 1 COMP_DEVICE_ID = 0x2fb0d041 CSN 1 Vendor ID: YMH0802 [0x0208a865] Serial 0x Comp ID: PNPb02f [0x2fb0d041] Called nullpnp_probe with tag 0x0001, type 0x0208a865 Called nullpnp_probe with tag 0x0001, type 0x2fb0d041 pci_open(1):mode 1 addr port (0x0cf8) is 0x80003b40 pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=71808086) pci_open(1):mode 1 addr port (0x0cf8) is 0x pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=71808086) npx0: math processor on motherboard npx0: INT 16 interface apm0: APM BIOS on motherboard apm: found APM BIOS version 1.2 pcib0: PCI host bus adapter on motherboard found- vendor=0x8086, dev=0x7180, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 map[0]: type 3, range 32, base e000, size 28 found- vendor=0x8086, dev=0x7181, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1secondarybus=1 found- vendor=0x8086, dev=0x7110, revid=0x01 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0secondarybus=0 found- vendor=0x8086, dev=0x7111, revid=0x01 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 map[0]: type 4, range 32, base ffa0, size 4 found- vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=d, irq=0 map[0]: type 4, range 32, base ef80, size 5 found- vendor=0x8086, dev=0x7113, revid=0x01 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 found- vendor=0x105d, dev=0x2339, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=a, irq=11 map[0]: type 3, range 32, base fd40, size 22 map[1]: type 3, range 32, base fd00, size 22 map[2]: type 1, range 32, base fe80, size 22 map[3]: type 1, range 32, base fe40, size 22 map[4]: type 1, range 32, base fe3f, size 16 map[5]: type 4, range 32, base ec00, size 8 found- vendor=0x10b7, dev=0x9055, revid=0x24 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=a, irq=11 map[0]: type 4, range 32, base e480, size 7 map[1]: type 1, range 32, base fe3e6f80, size 7 found- vendor=0x1274, dev=0x1371, revid=0x02 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=a, irq=11 map[0]: type 4, range 32, base ef00, size 6 found- vendor=0x9004, dev=0x7895, revid=0x03 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0secondarybus=0 intpin=a, irq=9 map[0]: type 4, range 32, base e000, size 8 map[1]: type 1, range 32, base
Re: pcm sound driver crashes at boot time.
Russell Cattelan wrote: I haven't been able to track down exactly where this is occuring, but disabling pcm allows eliminates the crash. The build is current as of Sun 18th. The one strange thing about this box, it has two sounds cards. A build in Yamaha OPL-3 (really really crappy) and Ensoniq AudioPCI 1371 (very hacked driver, So the problem may be my fault). But I guessing it has more to do with the newbus stuff. Ok I finally tracked down what was going wrong, I'm not saying I found the problem of how to fix it correctly. The cause: pcmprobe gets called after es_pci_attach (which has setup the snddev_info structure), the first thing pcmprobe does is bzero that structure. Which of course cause a page fault the next time that structure is access. (by es_intr in this case) The really QD fix was to just return from pcmprobe. int pcmprobe(struct isa_device * dev) { DEB(printf(pcmprobe dev:0x%x name:%s\n,dev, (pcm_info[dev-id_unit]).name)); /* The AudioPCI probe stuff was done already */ if(!(strncmp ((pcm_info[dev-id_unit]).name, ES1371,strlen(ES1371{ return 1; } bzero(pcm_info[dev-id_unit], sizeof(pcm_info[dev-id_unit]) ); return generic_snd_probe(dev, pcm_devslist, pcm) ? 1 : 0 ; } -- Russell Cattelan catte...@thebarn.com To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message