From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 14 06:24:34 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D38D416A4CE; Wed, 14 Apr 2004 06:24:34 -0700 (PDT) Received: from jetspin.drizzle.com (jetspin.drizzle.com [216.162.192.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AB8543D3F; Wed, 14 Apr 2004 06:24:34 -0700 (PDT) (envelope-from kurpis@drizzle.com) Received: from dale2 (ava41.drizzle.com [216.162.193.104]) by jetspin.drizzle.com (8.12.8/8.12.8) with SMTP id i3EDOR4w002277; Wed, 14 Apr 2004 06:24:27 -0700 Message-ID: <000d01c42223$850f7900$68c1a2d8@dale2> From: "Peter Kurpis" To: Date: Wed, 14 Apr 2004 06:22:20 -0700 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: mobile@freebsd.org Subject: Fw: problems reconfiguring kernel for sound X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 13:24:35 -0000 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: 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!