snd_mss problem

Ariff Abdullah ariff at FreeBSD.org
Wed Jan 4 04:11:20 PST 2006


On Wed, 04 Jan 2006 00:26:45 +0100
Zahemszky Gábor <Gabor at Zahemszky.HU> wrote:
> 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:
> 

Can you replace (and recompile) /usr/src/sys/dev/sound/isa/mss.c with
this one:

   http://people.freebsd.org/~ariff/test/mss.c


> 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.)
> 


--
Ariff Abdullah
FreeBSD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20060104/c52ff917/attachment.bin


More information about the freebsd-multimedia mailing list