Date: Wed, 16 Aug 2000 18:45:13 +0300 From: Roman Shterenzon <roman@harmonic.co.il> To: <freebsd-stable@freebsd.org> Subject: Strange pcm behaviour Message-ID: <966440713.399ab70931f6e@webmail.harmonic.co.il>
next in thread | raw e-mail | index | archive | help
Hello, Perhaps this should go to mobile, but I'm not sure. I'm running FreeBSD 4.1-STABLE (of 14/08/2000) on IBM ThinkPad 600E . I have the following lines in the configuration file: options PNPBIOS device pcm and the weird thing is that the device works randomly, e.g. after some boot I see: pcm0: <CS461x PCM Audio> at irq 11 (1p/1r channels duplex) pcm1: <CS423x-PCI> at io 0x530 irq 5 drq 1:0 (1p/1r channels duplex) and both don't work. pcm1: play interrupt timeout, channel dead pcm0: play interrupt timeout, channel dead Sometimes I see pcm0 (only) on io 0x530 and it WORKS, sometimes I see pcm1 (only) on io 0x530 and it WORKS too. For the two latter things I created a script which does: cd /dev; sh MAKEDEV snd`cat /dev/sndstat | grep 0x530 | awk '{print substr($1,4,1)}'` But when it doesn't work, I need to power-off the computer and then hope that on this boot it will work. Here's dmesg log which is relevant to pcm (this time, it DOESN'T work): pcm0: <CS461x PCM Audio> on csa0 pcm0: ac97 codec reports dac not ready pcm1: <CS423x-PCI> at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq 1,0 on isa0 This is from the boot it DID work (as pcm1): pcm0: <CS461x PCM Audio> on csa0 pcm0: ac97 codec invalid or not present (id == 0) device_probe_and_attach: pcm0 attach returned 6 pcm1: <CS423x-PCI> at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq 1,0 on isa0 This random nature is very confusing, as I'm afraid to experiment with other options. Please advise, --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?966440713.399ab70931f6e>