Hi,

I upgraded from an early December -current to a current -current
(CVSupped yesterday, buildworld took 16 hours).  Works fine,
except that the soundcard (ISA PnP, Avance Logic ALS100+, SB16-
compatible) does not work anymore.  It worked fine before.

(``Does not work anymore'' == it just blocks when I try to play
something, and half of the mixer settings aren't recognized
anymore.  I can't get a single beep from the boxes.  Yes, I do
have ``device sbc0'' in my kernel.)

Early December dmesg says:

   pcm0: <Avance Asound 100> at port 0x220-0x22f irq 5 drq 5,1 on isa0

And current dmesg says:

   pcm0: <CMI8330> at port 0x220-0x22f irq 5 drq 5,1 on isa

Obviously, the card is probed as something completely different,
which is wrong.  No wonder that it doesn't work.

The following patch fixes it, and the soundcard works just like
before, but...


--- src/sys/dev/sound/isa/mss.c.orig    Thu Jan 13 07:11:32 2000
+++ src/sys/dev/sound/isa/mss.c Mon Jan 24 00:38:08 2000
@@ -1328,7 +1328,9 @@
 static struct isa_pnp_id pnpmss_ids[] = {
        {0x0000630e, "CS423x"},                         /* CSC0000 */
        {0x0001630e, "CS423x-PCI"},                     /* CSC0100 */
-       {0x01000000, "CMI8330"},                        /* @@@0001 */
+#if 0
+       {0x01000000, "CMI8330"},                        /* @@@0001 */
+#endif
        {0x2100a865, "Yamaha OPL-SAx"},                 /* YMH0021 */
        {0x1110d315, "ENSONIQ SoundscapeVIVO"},         /* ENS1011 */
        {0x1093143e, "OPTi931"},                        /* OPT9310 */
--- src/sys/dev/sound/isa/sbc.c.orig    Wed Jan 12 12:16:23 2000
+++ src/sys/dev/sound/isa/sbc.c Mon Jan 24 00:44:28 2000
@@ -202,6 +202,7 @@
        {0x44008c0e, "Creative SB AWE64 Gold"},         /* CTL0044 */
        {0x45008c0e, "Creative SB AWE64"},              /* CTL0045 */
 
+       {0x01000000, "Avance Logic ALS100+"},           /* @@@0001 */
        {0x01100000, "Avance Asound 110"},              /* @@@1001 */
        {0x01200000, "Avance Logic ALS120"},            /* @@@2001 */
 

... of course, now a real ``CMI8330'' would probably not be
detected correctly anymore.  I don't have such a card (and I've
never heard of it before).  If it really has the same device ID
as the ALS100+, we're in trouble, I guess.

BTW, with the above patch, my card is probed like this:

   sbc0: <Avance ALS100+> at port 0x220-0x22f irq 5 drq 5,1 on isa0
   sbc0: setting card to irq 5, drq 5, 1
   pcm0: <SB DSP 4.02> on sbc0

and works happily.

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to