Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 06:22:20 -0700
From:      "Peter Kurpis" <kurpis@drizzle.com>
To:        <freebsd-questions@freebsd.org>
Cc:        mobile@freebsd.org
Subject:   Fw: problems reconfiguring kernel for sound
Message-ID:  <000d01c42223$850f7900$68c1a2d8@dale2>

next in thread | raw e-mail | index | archive | help
Sorry about the duplicate and cross post, but I am really stuck and have =
had no responses.

The probe of my sound device on my laptop doesn't work -- it picks up =
the wrong device (the USB bus controller).  Can anyone point me in the =
right direction, at least?

I don't mind reading through source code, but I don't know where to =
start...  Thanks!

----- Original Message -----=20
From: Peter Kurpis=20
To: freebsd-questions@freebsd.org=20
Sent: Thursday, April 08, 2004 10:20 PM
Subject: problems reconfiguring kernel for sound


I have a strange problem installing 4.7 on my Toshiba 1135 laptop.  (I =
need 4.7 for compatibility reasons.)

To add support for my Avance AC97 audio hardware, I added the following =
lines:

device pcm
device sbc0 at isa? irq 17 port 0x18C0 flags 0
options PNPBIOS

(and tried various other permutations).  The irq and port are from =
Windows, flags is 0 because there is apparently no DMA.

When I reboot, it seems that my USB controller has taken over /dev/pcm ! =
=20

dmesg | pcm=20
pcm0: <Intel 82801DB (ICH4)> port 0x18c0-0x18ff,0x1c00-0x1cff mem =
0xe0100800-0xe01008ff,0xe0100c00-0xe0100dff irq 10 at device 31.5 on =
pci0

Note that the IO port and memory addresses are right, but the IRQ is =
wrong (should be 17).  I don't know what device 31.5 is, and don't know =
how to look it up.  ?

After  cd /dev; sh MAKEDEV snd0 , if I try cat someAudioFile.au > =
/dev/audio, it prints gibberish on the screen, and I can't recover =
control.

What's even weirder is that when I comment out all the USB support lines =
(as well as the smbus, ichsmb, and smb device lines I added for the =
82801) in the configuration file, and rebuild the kernel, the devices =
uhci0 through uhci2 and usb0 through usb2 *still* show up on bootup (and =
in dmesg)!

Can anyone help with ideas of what could be wrong, or where to start =
troubleshooting?  Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000d01c42223$850f7900$68c1a2d8>