snd_mss problem
Zahemszky Gábor
Gabor at Zahemszky.HU
Tue Jan 3 15:20:29 PST 2006
Hi!
I've got a problem with FreeBSD6's sound system. In my machine, there is
a working CMI8738-card - it's pcm0, and a builtin soundchip. In
5-STABLE, it's recognised by the snd-mss module. If I kldload it, I got:
pcm1: <CS423x> at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 0,1
on isa0
with verbose mode, the next few lines, too:
ioapic0: routing intpin 5 (ISA IRQ 5) to cluster 0
pcm1: [GIANT-LOCKED]
pcm1: sndbuf_setmap ff1000,1000; 0xda77c000 -> ff1000
pcm1: sndbuf_setmap ff1000,1000; 0xda77d000 -> ff0000
But on FreeBSD6, the builtin chip "locks" the machine. If I kldload
snd_mss (with verbose mode), I got the following lines:
pcm1: <CS423x> at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq 1,0
on isa0
AD_WAIT_INIT_FAILED 201000 0xff
AD_WAIT_INIT_FAILED 1002000 0xff
AD_WAIT_INIT_FAILED 203000 0xff
AD_WAIT_INIT_FAILED 1002000 0xff
AD_WAIT_INIT_FAILED 1000000 0xff
AD_WAIT_INIT_FAILED 1000000 0xff
mss: Auto calibration timed out (1)
AD_WAIT_INIT_FAILED 201000 0xff
And the last line repeats forever. The machine doesn't recognise any
keypress - neither the Caps/Scrool/Num - Lock keys, nor the
Goto-Debugger key.
I doesn't know, is it OK, that in FBSD5, in the port line there is port
0x534, but in FBSD6, it's 0x600. And in FBSD5, drq 0,1 but in FBSD6,
it's drq 1,0 (they are the same DRQ lines, so maybe doesn't matter).
So my trivial question is: are there any possibilities, to use my
machine's builtin soundchip in FreeBSD6? (The machine is a Dell
Precision WS210, 2x P-III-550.)
Bye,
Gabor Zahemszky < Gabor at Zahemszky dot HU >
PS: this lockup is in both the new - and the old - sound driver (my
system is 6-stable from Jan 2.)
--
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ
';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ???
]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ???
]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set --
$Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j
$i";typeset +l i;};print "$j"
More information about the freebsd-multimedia
mailing list