Date: Tue, 16 Dec 2003 09:22:41 -0600 (CST) From: pseniura@techie.com To: freebsd-questions@freebsd.org Cc: pseniura@techie.com Subject: narrowed down but still not working (Re: Having problems with 'pcm' and on-board Crystal Sound) Message-ID: <20031216152241.3A7DA5C29@techpc04.okladot.state.ok.us> In-Reply-To: <3FDF02F8.10708@synthexp.net> References: <20031215231806.EEE945C0E@techpc04.okladot.state.ok.us> <966592E2-2F61-11D8-8A38-000393BB56F2@HiWAAY.net> <3FDF02F8.10708@synthexp.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for helping. I'm getting this problem narrowed down. I'm using the custom kernel w/o any sound drivers compiled-in. Having loader.conf do both (and only these): snd_csa_load="YES" snd_pcm_load="YES" dmesg shows these getting loaded ahead of the kernel booting, but the sound chips do not get detected at all e.g. those "unknown <WSS/SB>" lines in dmesg I included in my previous e-mail. When I have loader.conf do snd_driver_load="YES", I see that 'mss' is saying 0x530 is busy while booting (I know about the old-style 4-bytes-before i/o port address it is trying to find), but later on we see 'pcm' can detect the sound chips. At this time 'cat /dev/sndstat' shows: >>>> FreeBSD Audio Driver (newpcm) Installed devices: pcm0: <CS423x-PCI> at io 0x534 irq 11 drq 1:0 bufsz 4096 (1p/1r/0v channels duplex default) <<<< which agrees with IBM's specs for this model 300PL. I then use the 'play' app to test this with a .wav file (say, one that SDL installs), and we get the msg on the console: >>>> pcm0:play:0: play interrupt timeout, channel dead <<<< Okay at least I know what to put into loader.conf now: snd_mss_load="YES" snd_pcm_load="YES" 'cat /dev/sndstat' still shows the same info as above. But the console also shows the timeout problem each & every time something wants to play thru it. There is no man page for mss, but the man for pcm suggests that these particular Crystal Audio chips are directly supported, and now it seems I need mss also to get the hooks in right. OSS works with the same 'play' app and SDL .wav file, so I'm quite sure we have a problem in mss/pcm somewhere. I'm not afraid of hacking some code if someone can give me some hints. ;) I really appreciate it. -- Paul Seniura System Specialist State of Okla. D.O.T.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031216152241.3A7DA5C29>